glu32: Load libGLU dynamically.
[wine.git] / configure
blob3436af42f1cd382bcbdbde11a0b1ece7eaefde60
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.5.
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.5'
584 PACKAGE_STRING='Wine 2.5'
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 LDEXECFLAGS
727 LDRPATH_LOCAL
728 LDRPATH_INSTALL
729 DLLFLAGS
730 dlldir
732 OPENGL_LIBS
733 ICOTOOL
734 CONVERT
735 RSVG
736 FONTFORGE
737 PKG_CONFIG
738 MSGFMT
739 LDCONFIG
740 EGREP
741 GREP
742 LN_S
743 RANLIB
744 ARFLAGS
745 STRIP
746 ac_ct_AR
748 BISON
749 FLEX
750 TOOLSDIR
751 TARGETFLAGS
753 CPPBIN
754 ac_ct_CXX
755 CXXFLAGS
757 OBJEXT
758 EXEEXT
759 ac_ct_CC
760 CPPFLAGS
761 LDFLAGS
762 CFLAGS
764 SET_MAKE
765 host_os
766 host_vendor
767 host_cpu
768 host
769 build_os
770 build_vendor
771 build_cpu
772 build
773 target_alias
774 host_alias
775 build_alias
776 LIBS
777 ECHO_T
778 ECHO_N
779 ECHO_C
780 DEFS
781 mandir
782 localedir
783 libdir
784 psdir
785 pdfdir
786 dvidir
787 htmldir
788 infodir
789 docdir
790 oldincludedir
791 includedir
792 runstatedir
793 localstatedir
794 sharedstatedir
795 sysconfdir
796 datadir
797 datarootdir
798 libexecdir
799 sbindir
800 bindir
801 program_transform_name
802 prefix
803 exec_prefix
804 PACKAGE_URL
805 PACKAGE_BUGREPORT
806 PACKAGE_STRING
807 PACKAGE_VERSION
808 PACKAGE_TARNAME
809 PACKAGE_NAME
810 PATH_SEPARATOR
811 SHELL'
812 ac_subst_files=''
813 ac_user_opts='
814 enable_option_checking
815 enable_win16
816 enable_win64
817 enable_tests
818 enable_maintainer_mode
819 with_alsa
820 with_capi
821 with_cms
822 with_coreaudio
823 with_cups
824 with_curses
825 with_dbus
826 with_fontconfig
827 with_freetype
828 with_gettext
829 with_gettextpo
830 with_gphoto
831 with_glu
832 with_gnutls
833 with_gsm
834 with_gstreamer
835 with_hal
836 with_jpeg
837 with_ldap
838 with_mpg123
839 with_netapi
840 with_openal
841 with_opencl
842 with_opengl
843 with_osmesa
844 with_oss
845 with_pcap
846 with_png
847 with_pthread
848 with_pulse
849 with_sane
850 with_tiff
851 with_udev
852 with_v4l
853 with_xcomposite
854 with_xcursor
855 with_xinerama
856 with_xinput
857 with_xinput2
858 with_xml
859 with_xrandr
860 with_xrender
861 with_xshape
862 with_xshm
863 with_xslt
864 with_xxf86vm
865 with_zlib
866 with_wine_tools
867 with_wine64
868 enable_largefile
869 with_x
870 enable_acledit
871 enable_aclui
872 enable_activeds
873 enable_actxprxy
874 enable_advapi32
875 enable_advpack
876 enable_amstream
877 enable_api_ms_win_appmodel_identity_l1_1_0
878 enable_api_ms_win_appmodel_runtime_l1_1_1
879 enable_api_ms_win_core_apiquery_l1_1_0
880 enable_api_ms_win_core_appcompat_l1_1_1
881 enable_api_ms_win_core_appinit_l1_1_0
882 enable_api_ms_win_core_atoms_l1_1_0
883 enable_api_ms_win_core_bem_l1_1_0
884 enable_api_ms_win_core_com_l1_1_0
885 enable_api_ms_win_core_com_l1_1_1
886 enable_api_ms_win_core_com_private_l1_1_0
887 enable_api_ms_win_core_console_l1_1_0
888 enable_api_ms_win_core_console_l2_1_0
889 enable_api_ms_win_core_datetime_l1_1_0
890 enable_api_ms_win_core_datetime_l1_1_1
891 enable_api_ms_win_core_debug_l1_1_0
892 enable_api_ms_win_core_debug_l1_1_1
893 enable_api_ms_win_core_delayload_l1_1_0
894 enable_api_ms_win_core_delayload_l1_1_1
895 enable_api_ms_win_core_errorhandling_l1_1_0
896 enable_api_ms_win_core_errorhandling_l1_1_1
897 enable_api_ms_win_core_errorhandling_l1_1_2
898 enable_api_ms_win_core_fibers_l1_1_0
899 enable_api_ms_win_core_fibers_l1_1_1
900 enable_api_ms_win_core_file_l1_1_0
901 enable_api_ms_win_core_file_l1_2_0
902 enable_api_ms_win_core_file_l1_2_1
903 enable_api_ms_win_core_file_l2_1_0
904 enable_api_ms_win_core_file_l2_1_1
905 enable_api_ms_win_core_handle_l1_1_0
906 enable_api_ms_win_core_heap_l1_1_0
907 enable_api_ms_win_core_heap_l1_2_0
908 enable_api_ms_win_core_heap_obsolete_l1_1_0
909 enable_api_ms_win_core_interlocked_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_2_0
911 enable_api_ms_win_core_io_l1_1_0
912 enable_api_ms_win_core_io_l1_1_1
913 enable_api_ms_win_core_job_l1_1_0
914 enable_api_ms_win_core_job_l2_1_0
915 enable_api_ms_win_core_kernel32_legacy_l1_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_1
917 enable_api_ms_win_core_kernel32_private_l1_1_1
918 enable_api_ms_win_core_libraryloader_l1_1_0
919 enable_api_ms_win_core_libraryloader_l1_1_1
920 enable_api_ms_win_core_libraryloader_l1_2_0
921 enable_api_ms_win_core_libraryloader_l1_2_2
922 enable_api_ms_win_core_localization_l1_1_0
923 enable_api_ms_win_core_localization_l1_2_0
924 enable_api_ms_win_core_localization_l1_2_1
925 enable_api_ms_win_core_localization_l2_1_0
926 enable_api_ms_win_core_localization_obsolete_l1_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_2_0
928 enable_api_ms_win_core_localization_private_l1_1_0
929 enable_api_ms_win_core_localregistry_l1_1_0
930 enable_api_ms_win_core_memory_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_1
932 enable_api_ms_win_core_memory_l1_1_2
933 enable_api_ms_win_core_misc_l1_1_0
934 enable_api_ms_win_core_namedpipe_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_2_0
936 enable_api_ms_win_core_namespace_l1_1_0
937 enable_api_ms_win_core_normalization_l1_1_0
938 enable_api_ms_win_core_path_l1_1_0
939 enable_api_ms_win_core_privateprofile_l1_1_1
940 enable_api_ms_win_core_processenvironment_l1_1_0
941 enable_api_ms_win_core_processenvironment_l1_2_0
942 enable_api_ms_win_core_processthreads_l1_1_0
943 enable_api_ms_win_core_processthreads_l1_1_1
944 enable_api_ms_win_core_processthreads_l1_1_2
945 enable_api_ms_win_core_profile_l1_1_0
946 enable_api_ms_win_core_psapi_l1_1_0
947 enable_api_ms_win_core_psapi_obsolete_l1_1_0
948 enable_api_ms_win_core_quirks_l1_1_0
949 enable_api_ms_win_core_realtime_l1_1_0
950 enable_api_ms_win_core_registry_l1_1_0
951 enable_api_ms_win_core_registry_l2_1_0
952 enable_api_ms_win_core_registryuserspecific_l1_1_0
953 enable_api_ms_win_core_rtlsupport_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_2_0
955 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
956 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
957 enable_api_ms_win_core_sidebyside_l1_1_0
958 enable_api_ms_win_core_string_l1_1_0
959 enable_api_ms_win_core_string_l2_1_0
960 enable_api_ms_win_core_string_obsolete_l1_1_0
961 enable_api_ms_win_core_stringansi_l1_1_0
962 enable_api_ms_win_core_synch_l1_1_0
963 enable_api_ms_win_core_synch_l1_2_0
964 enable_api_ms_win_core_sysinfo_l1_1_0
965 enable_api_ms_win_core_sysinfo_l1_2_0
966 enable_api_ms_win_core_sysinfo_l1_2_1
967 enable_api_ms_win_core_threadpool_l1_1_0
968 enable_api_ms_win_core_threadpool_l1_2_0
969 enable_api_ms_win_core_threadpool_legacy_l1_1_0
970 enable_api_ms_win_core_threadpool_private_l1_1_0
971 enable_api_ms_win_core_timezone_l1_1_0
972 enable_api_ms_win_core_toolhelp_l1_1_0
973 enable_api_ms_win_core_url_l1_1_0
974 enable_api_ms_win_core_util_l1_1_0
975 enable_api_ms_win_core_version_l1_1_0
976 enable_api_ms_win_core_version_private_l1_1_0
977 enable_api_ms_win_core_versionansi_l1_1_0
978 enable_api_ms_win_core_windowserrorreporting_l1_1_0
979 enable_api_ms_win_core_winrt_error_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_1
981 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
982 enable_api_ms_win_core_winrt_l1_1_0
983 enable_api_ms_win_core_winrt_registration_l1_1_0
984 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
985 enable_api_ms_win_core_winrt_string_l1_1_0
986 enable_api_ms_win_core_wow64_l1_1_0
987 enable_api_ms_win_core_xstate_l1_1_0
988 enable_api_ms_win_core_xstate_l2_1_0
989 enable_api_ms_win_crt_conio_l1_1_0
990 enable_api_ms_win_crt_convert_l1_1_0
991 enable_api_ms_win_crt_environment_l1_1_0
992 enable_api_ms_win_crt_filesystem_l1_1_0
993 enable_api_ms_win_crt_heap_l1_1_0
994 enable_api_ms_win_crt_locale_l1_1_0
995 enable_api_ms_win_crt_math_l1_1_0
996 enable_api_ms_win_crt_multibyte_l1_1_0
997 enable_api_ms_win_crt_private_l1_1_0
998 enable_api_ms_win_crt_process_l1_1_0
999 enable_api_ms_win_crt_runtime_l1_1_0
1000 enable_api_ms_win_crt_stdio_l1_1_0
1001 enable_api_ms_win_crt_string_l1_1_0
1002 enable_api_ms_win_crt_time_l1_1_0
1003 enable_api_ms_win_crt_utility_l1_1_0
1004 enable_api_ms_win_devices_config_l1_1_1
1005 enable_api_ms_win_devices_query_l1_1_1
1006 enable_api_ms_win_downlevel_advapi32_l1_1_0
1007 enable_api_ms_win_downlevel_advapi32_l2_1_0
1008 enable_api_ms_win_downlevel_normaliz_l1_1_0
1009 enable_api_ms_win_downlevel_ole32_l1_1_0
1010 enable_api_ms_win_downlevel_shell32_l1_1_0
1011 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1013 enable_api_ms_win_downlevel_user32_l1_1_0
1014 enable_api_ms_win_downlevel_version_l1_1_0
1015 enable_api_ms_win_dx_d3dkmt_l1_1_0
1016 enable_api_ms_win_eventing_classicprovider_l1_1_0
1017 enable_api_ms_win_eventing_consumer_l1_1_0
1018 enable_api_ms_win_eventing_controller_l1_1_0
1019 enable_api_ms_win_eventing_provider_l1_1_0
1020 enable_api_ms_win_eventlog_legacy_l1_1_0
1021 enable_api_ms_win_mm_misc_l1_1_1
1022 enable_api_ms_win_mm_mme_l1_1_0
1023 enable_api_ms_win_ntuser_dc_access_l1_1_0
1024 enable_api_ms_win_power_base_l1_1_0
1025 enable_api_ms_win_power_setting_l1_1_0
1026 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1027 enable_api_ms_win_security_audit_l1_1_1
1028 enable_api_ms_win_security_base_l1_1_0
1029 enable_api_ms_win_security_base_l1_2_0
1030 enable_api_ms_win_security_base_private_l1_1_1
1031 enable_api_ms_win_security_grouppolicy_l1_1_0
1032 enable_api_ms_win_security_lsalookup_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_1
1034 enable_api_ms_win_security_lsalookup_l2_1_1
1035 enable_api_ms_win_security_lsapolicy_l1_1_0
1036 enable_api_ms_win_security_sddl_l1_1_0
1037 enable_api_ms_win_security_systemfunctions_l1_1_0
1038 enable_api_ms_win_service_core_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_1
1040 enable_api_ms_win_service_management_l1_1_0
1041 enable_api_ms_win_service_management_l2_1_0
1042 enable_api_ms_win_service_private_l1_1_1
1043 enable_api_ms_win_service_winsvc_l1_1_0
1044 enable_api_ms_win_service_winsvc_l1_2_0
1045 enable_api_ms_win_shell_shellcom_l1_1_0
1046 enable_api_ms_win_shell_shellfolders_l1_1_0
1047 enable_apphelp
1048 enable_appwiz_cpl
1049 enable_atl
1050 enable_atl100
1051 enable_atl110
1052 enable_atl80
1053 enable_atl90
1054 enable_authz
1055 enable_avicap32
1056 enable_avifil32
1057 enable_avrt
1058 enable_bcrypt
1059 enable_bluetoothapis
1060 enable_browseui
1061 enable_bthprops_cpl
1062 enable_cabinet
1063 enable_capi2032
1064 enable_cards
1065 enable_cfgmgr32
1066 enable_clusapi
1067 enable_combase
1068 enable_comcat
1069 enable_comctl32
1070 enable_comdlg32
1071 enable_compstui
1072 enable_comsvcs
1073 enable_concrt140
1074 enable_connect
1075 enable_credui
1076 enable_crtdll
1077 enable_crypt32
1078 enable_cryptdlg
1079 enable_cryptdll
1080 enable_cryptext
1081 enable_cryptnet
1082 enable_cryptui
1083 enable_ctapi32
1084 enable_ctl3d32
1085 enable_d2d1
1086 enable_d3d10
1087 enable_d3d10_1
1088 enable_d3d10core
1089 enable_d3d11
1090 enable_d3d8
1091 enable_d3d9
1092 enable_d3dcompiler_33
1093 enable_d3dcompiler_34
1094 enable_d3dcompiler_35
1095 enable_d3dcompiler_36
1096 enable_d3dcompiler_37
1097 enable_d3dcompiler_38
1098 enable_d3dcompiler_39
1099 enable_d3dcompiler_40
1100 enable_d3dcompiler_41
1101 enable_d3dcompiler_42
1102 enable_d3dcompiler_43
1103 enable_d3dcompiler_46
1104 enable_d3dcompiler_47
1105 enable_d3dim
1106 enable_d3drm
1107 enable_d3dx10_33
1108 enable_d3dx10_34
1109 enable_d3dx10_35
1110 enable_d3dx10_36
1111 enable_d3dx10_37
1112 enable_d3dx10_38
1113 enable_d3dx10_39
1114 enable_d3dx10_40
1115 enable_d3dx10_41
1116 enable_d3dx10_42
1117 enable_d3dx10_43
1118 enable_d3dx11_42
1119 enable_d3dx11_43
1120 enable_d3dx9_24
1121 enable_d3dx9_25
1122 enable_d3dx9_26
1123 enable_d3dx9_27
1124 enable_d3dx9_28
1125 enable_d3dx9_29
1126 enable_d3dx9_30
1127 enable_d3dx9_31
1128 enable_d3dx9_32
1129 enable_d3dx9_33
1130 enable_d3dx9_34
1131 enable_d3dx9_35
1132 enable_d3dx9_36
1133 enable_d3dx9_37
1134 enable_d3dx9_38
1135 enable_d3dx9_39
1136 enable_d3dx9_40
1137 enable_d3dx9_41
1138 enable_d3dx9_42
1139 enable_d3dx9_43
1140 enable_d3dxof
1141 enable_davclnt
1142 enable_dbgeng
1143 enable_dbghelp
1144 enable_dciman32
1145 enable_ddraw
1146 enable_ddrawex
1147 enable_devenum
1148 enable_dhcpcsvc
1149 enable_difxapi
1150 enable_dinput
1151 enable_dinput8
1152 enable_dispex
1153 enable_dmband
1154 enable_dmcompos
1155 enable_dmime
1156 enable_dmloader
1157 enable_dmscript
1158 enable_dmstyle
1159 enable_dmsynth
1160 enable_dmusic
1161 enable_dmusic32
1162 enable_dnsapi
1163 enable_dplay
1164 enable_dplayx
1165 enable_dpnaddr
1166 enable_dpnet
1167 enable_dpnhpast
1168 enable_dpnlobby
1169 enable_dpvoice
1170 enable_dpwsockx
1171 enable_drmclien
1172 enable_dsound
1173 enable_dssenh
1174 enable_dswave
1175 enable_dwmapi
1176 enable_dwrite
1177 enable_dxdiagn
1178 enable_dxgi
1179 enable_dxva2
1180 enable_esent
1181 enable_evr
1182 enable_explorerframe
1183 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1184 enable_ext_ms_win_gdi_dc_create_l1_1_1
1185 enable_ext_ms_win_gdi_dc_l1_2_0
1186 enable_ext_ms_win_gdi_devcaps_l1_1_0
1187 enable_ext_ms_win_gdi_draw_l1_1_1
1188 enable_ext_ms_win_gdi_render_l1_1_0
1189 enable_ext_ms_win_kernel32_package_current_l1_1_0
1190 enable_ext_ms_win_ntuser_message_l1_1_1
1191 enable_ext_ms_win_ntuser_private_l1_1_1
1192 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1193 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1194 enable_ext_ms_win_ntuser_window_l1_1_1
1195 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1196 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1197 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1198 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1200 enable_faultrep
1201 enable_fltlib
1202 enable_fltmgr_sys
1203 enable_fntcache
1204 enable_fontsub
1205 enable_fusion
1206 enable_fwpuclnt
1207 enable_gameux
1208 enable_gdi32
1209 enable_gdiplus
1210 enable_glu32
1211 enable_gphoto2_ds
1212 enable_gpkcsp
1213 enable_hal
1214 enable_hhctrl_ocx
1215 enable_hid
1216 enable_hidclass_sys
1217 enable_hlink
1218 enable_hnetcfg
1219 enable_httpapi
1220 enable_iccvid
1221 enable_icmp
1222 enable_ieframe
1223 enable_imaadp32_acm
1224 enable_imagehlp
1225 enable_imm32
1226 enable_inetcomm
1227 enable_inetcpl_cpl
1228 enable_inetmib1
1229 enable_infosoft
1230 enable_initpki
1231 enable_inkobj
1232 enable_inseng
1233 enable_iphlpapi
1234 enable_iprop
1235 enable_irprops_cpl
1236 enable_itircl
1237 enable_itss
1238 enable_joy_cpl
1239 enable_jscript
1240 enable_jsproxy
1241 enable_kernel32
1242 enable_kernelbase
1243 enable_ksuser
1244 enable_ktmw32
1245 enable_loadperf
1246 enable_localspl
1247 enable_localui
1248 enable_lz32
1249 enable_mapi32
1250 enable_mapistub
1251 enable_mciavi32
1252 enable_mcicda
1253 enable_mciqtz32
1254 enable_mciseq
1255 enable_mciwave
1256 enable_mf
1257 enable_mf3216
1258 enable_mfplat
1259 enable_mfreadwrite
1260 enable_mgmtapi
1261 enable_midimap
1262 enable_mlang
1263 enable_mmcndmgr
1264 enable_mmdevapi
1265 enable_mountmgr_sys
1266 enable_mpr
1267 enable_mprapi
1268 enable_msacm32_drv
1269 enable_msacm32
1270 enable_msadp32_acm
1271 enable_msasn1
1272 enable_mscat32
1273 enable_mscms
1274 enable_mscoree
1275 enable_msctf
1276 enable_msctfp
1277 enable_msdaps
1278 enable_msdelta
1279 enable_msdmo
1280 enable_msdrm
1281 enable_msftedit
1282 enable_msg711_acm
1283 enable_msgsm32_acm
1284 enable_mshtml_tlb
1285 enable_mshtml
1286 enable_msi
1287 enable_msident
1288 enable_msimg32
1289 enable_msimsg
1290 enable_msimtf
1291 enable_msisip
1292 enable_msisys_ocx
1293 enable_msls31
1294 enable_msnet32
1295 enable_mspatcha
1296 enable_msports
1297 enable_msrle32
1298 enable_msscript_ocx
1299 enable_mssign32
1300 enable_mssip32
1301 enable_mstask
1302 enable_msvcirt
1303 enable_msvcm80
1304 enable_msvcm90
1305 enable_msvcp100
1306 enable_msvcp110
1307 enable_msvcp120
1308 enable_msvcp120_app
1309 enable_msvcp140
1310 enable_msvcp60
1311 enable_msvcp70
1312 enable_msvcp71
1313 enable_msvcp80
1314 enable_msvcp90
1315 enable_msvcr100
1316 enable_msvcr110
1317 enable_msvcr120
1318 enable_msvcr120_app
1319 enable_msvcr70
1320 enable_msvcr71
1321 enable_msvcr80
1322 enable_msvcr90
1323 enable_msvcrt
1324 enable_msvcrt20
1325 enable_msvcrt40
1326 enable_msvcrtd
1327 enable_msvfw32
1328 enable_msvidc32
1329 enable_mswsock
1330 enable_msxml
1331 enable_msxml2
1332 enable_msxml3
1333 enable_msxml4
1334 enable_msxml6
1335 enable_ncrypt
1336 enable_nddeapi
1337 enable_ndis_sys
1338 enable_netapi32
1339 enable_netcfgx
1340 enable_netprofm
1341 enable_newdev
1342 enable_normaliz
1343 enable_npmshtml
1344 enable_npptools
1345 enable_ntdll
1346 enable_ntdsapi
1347 enable_ntoskrnl_exe
1348 enable_ntprint
1349 enable_objsel
1350 enable_odbc32
1351 enable_odbccp32
1352 enable_odbccu32
1353 enable_ole32
1354 enable_oleacc
1355 enable_oleaut32
1356 enable_olecli32
1357 enable_oledb32
1358 enable_oledlg
1359 enable_olepro32
1360 enable_olesvr32
1361 enable_olethk32
1362 enable_openal32
1363 enable_opencl
1364 enable_opengl32
1365 enable_packager
1366 enable_pdh
1367 enable_photometadatahandler
1368 enable_pidgen
1369 enable_powrprof
1370 enable_printui
1371 enable_prntvpt
1372 enable_propsys
1373 enable_psapi
1374 enable_pstorec
1375 enable_qcap
1376 enable_qedit
1377 enable_qmgr
1378 enable_qmgrprxy
1379 enable_quartz
1380 enable_query
1381 enable_rasapi32
1382 enable_rasdlg
1383 enable_regapi
1384 enable_resutils
1385 enable_riched20
1386 enable_riched32
1387 enable_rpcrt4
1388 enable_rsabase
1389 enable_rsaenh
1390 enable_rstrtmgr
1391 enable_rtutils
1392 enable_samlib
1393 enable_sane_ds
1394 enable_scarddlg
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_secur32
1402 enable_security
1403 enable_sensapi
1404 enable_serialui
1405 enable_setupapi
1406 enable_sfc
1407 enable_sfc_os
1408 enable_shdoclc
1409 enable_shdocvw
1410 enable_shell32
1411 enable_shfolder
1412 enable_shlwapi
1413 enable_slbcsp
1414 enable_slc
1415 enable_snmpapi
1416 enable_softpub
1417 enable_spoolss
1418 enable_sspicli
1419 enable_stdole2_tlb
1420 enable_stdole32_tlb
1421 enable_sti
1422 enable_svrapi
1423 enable_sxs
1424 enable_t2embed
1425 enable_tapi32
1426 enable_taskschd
1427 enable_tdi_sys
1428 enable_traffic
1429 enable_twain_32
1430 enable_ucrtbase
1431 enable_uiautomationcore
1432 enable_unicows
1433 enable_updspapi
1434 enable_url
1435 enable_urlmon
1436 enable_usbd_sys
1437 enable_user32
1438 enable_userenv
1439 enable_usp10
1440 enable_uxtheme
1441 enable_vbscript
1442 enable_vcomp
1443 enable_vcomp100
1444 enable_vcomp110
1445 enable_vcomp120
1446 enable_vcomp140
1447 enable_vcomp90
1448 enable_vcruntime140
1449 enable_vdmdbg
1450 enable_version
1451 enable_virtdisk
1452 enable_vssapi
1453 enable_wbemdisp
1454 enable_wbemprox
1455 enable_webservices
1456 enable_wer
1457 enable_wevtapi
1458 enable_wiaservc
1459 enable_wimgapi
1460 enable_windowscodecs
1461 enable_windowscodecsext
1462 enable_winealsa_drv
1463 enable_winebus_sys
1464 enable_winecoreaudio_drv
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winejoystick_drv
1469 enable_winemac_drv
1470 enable_winemapi
1471 enable_winemp3_acm
1472 enable_wineoss_drv
1473 enable_wineps_drv
1474 enable_winepulse_drv
1475 enable_wineqtdecoder
1476 enable_winex11_drv
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winscard
1483 enable_winspool_drv
1484 enable_winsta
1485 enable_wintab32
1486 enable_wintrust
1487 enable_winusb
1488 enable_wlanapi
1489 enable_wldap32
1490 enable_wmasf
1491 enable_wmi
1492 enable_wmiutils
1493 enable_wmp
1494 enable_wmvcore
1495 enable_wnaspi32
1496 enable_wpc
1497 enable_wpcap
1498 enable_ws2_32
1499 enable_wsdapi
1500 enable_wshom_ocx
1501 enable_wsnmp32
1502 enable_wsock32
1503 enable_wtsapi32
1504 enable_wuapi
1505 enable_wuaueng
1506 enable_x3daudio1_0
1507 enable_x3daudio1_1
1508 enable_x3daudio1_2
1509 enable_x3daudio1_3
1510 enable_x3daudio1_4
1511 enable_x3daudio1_5
1512 enable_x3daudio1_6
1513 enable_x3daudio1_7
1514 enable_xapofx1_1
1515 enable_xapofx1_2
1516 enable_xapofx1_3
1517 enable_xapofx1_4
1518 enable_xapofx1_5
1519 enable_xaudio2_0
1520 enable_xaudio2_1
1521 enable_xaudio2_2
1522 enable_xaudio2_3
1523 enable_xaudio2_4
1524 enable_xaudio2_5
1525 enable_xaudio2_6
1526 enable_xaudio2_7
1527 enable_xaudio2_8
1528 enable_xaudio2_9
1529 enable_xinput1_1
1530 enable_xinput1_2
1531 enable_xinput1_3
1532 enable_xinput1_4
1533 enable_xinput9_1_0
1534 enable_xmllite
1535 enable_xolehlp
1536 enable_xpsprint
1537 enable_xpssvcs
1538 enable_fonts
1539 enable_include
1540 enable_libs_port
1541 enable_libs_wine
1542 enable_libs_wpp
1543 enable_loader
1544 enable_po
1545 enable_arp
1546 enable_aspnet_regiis
1547 enable_attrib
1548 enable_cabarc
1549 enable_cacls
1550 enable_clock
1551 enable_cmd
1552 enable_conhost
1553 enable_control
1554 enable_cscript
1555 enable_dpnsvr
1556 enable_dxdiag
1557 enable_eject
1558 enable_expand
1559 enable_explorer
1560 enable_extrac32
1561 enable_findstr
1562 enable_fsutil
1563 enable_hh
1564 enable_hostname
1565 enable_icacls
1566 enable_icinfo
1567 enable_iexplore
1568 enable_ipconfig
1569 enable_lodctr
1570 enable_mofcomp
1571 enable_mshta
1572 enable_msiexec
1573 enable_msinfo32
1574 enable_net
1575 enable_netsh
1576 enable_netstat
1577 enable_ngen
1578 enable_notepad
1579 enable_oleview
1580 enable_ping
1581 enable_plugplay
1582 enable_presentationfontcache
1583 enable_progman
1584 enable_reg
1585 enable_regasm
1586 enable_regedit
1587 enable_regsvcs
1588 enable_regsvr32
1589 enable_rpcss
1590 enable_rundll32
1591 enable_sc
1592 enable_schtasks
1593 enable_sdbinst
1594 enable_secedit
1595 enable_servicemodelreg
1596 enable_services
1597 enable_shutdown
1598 enable_spoolsv
1599 enable_start
1600 enable_subst
1601 enable_svchost
1602 enable_systeminfo
1603 enable_taskkill
1604 enable_tasklist
1605 enable_taskmgr
1606 enable_termsv
1607 enable_uninstaller
1608 enable_unlodctr
1609 enable_view
1610 enable_wevtutil
1611 enable_wineboot
1612 enable_winebrowser
1613 enable_winecfg
1614 enable_wineconsole
1615 enable_winedbg
1616 enable_winedevice
1617 enable_winefile
1618 enable_winemenubuilder
1619 enable_winemine
1620 enable_winemsibuilder
1621 enable_winepath
1622 enable_winetest
1623 enable_winhlp32
1624 enable_winver
1625 enable_wmic
1626 enable_wmplayer
1627 enable_wordpad
1628 enable_write
1629 enable_wscript
1630 enable_wusa
1631 enable_xcopy
1632 enable_server
1633 enable_tools
1635 ac_precious_vars='build_alias
1636 host_alias
1637 target_alias
1639 CFLAGS
1640 LDFLAGS
1641 LIBS
1642 CPPFLAGS
1644 CXXFLAGS
1647 XMKMF
1648 XML2_CFLAGS
1649 XML2_LIBS
1650 XSLT_CFLAGS
1651 XSLT_LIBS
1652 DBUS_CFLAGS
1653 DBUS_LIBS
1654 HAL_CFLAGS
1655 HAL_LIBS
1656 GNUTLS_CFLAGS
1657 GNUTLS_LIBS
1658 SANE_CFLAGS
1659 SANE_LIBS
1660 GPHOTO2_CFLAGS
1661 GPHOTO2_LIBS
1662 GPHOTO2_PORT_CFLAGS
1663 GPHOTO2_PORT_LIBS
1664 LCMS2_CFLAGS
1665 LCMS2_LIBS
1666 FREETYPE_CFLAGS
1667 FREETYPE_LIBS
1668 PULSE_CFLAGS
1669 PULSE_LIBS
1670 GSTREAMER_CFLAGS
1671 GSTREAMER_LIBS
1672 UDEV_CFLAGS
1673 UDEV_LIBS
1674 CAPI20_CFLAGS
1675 CAPI20_LIBS
1676 FONTCONFIG_CFLAGS
1677 FONTCONFIG_LIBS
1678 JPEG_CFLAGS
1679 JPEG_LIBS
1680 PNG_CFLAGS
1681 PNG_LIBS
1682 TIFF_CFLAGS
1683 TIFF_LIBS
1684 MPG123_CFLAGS
1685 MPG123_LIBS
1686 NETAPI_CFLAGS
1687 NETAPI_LIBS'
1690 # Initialize some variables set by options.
1691 ac_init_help=
1692 ac_init_version=false
1693 ac_unrecognized_opts=
1694 ac_unrecognized_sep=
1695 # The variables have the same names as the options, with
1696 # dashes changed to underlines.
1697 cache_file=/dev/null
1698 exec_prefix=NONE
1699 no_create=
1700 no_recursion=
1701 prefix=NONE
1702 program_prefix=NONE
1703 program_suffix=NONE
1704 program_transform_name=s,x,x,
1705 silent=
1706 site=
1707 srcdir=
1708 verbose=
1709 x_includes=NONE
1710 x_libraries=NONE
1712 # Installation directory options.
1713 # These are left unexpanded so users can "make install exec_prefix=/foo"
1714 # and all the variables that are supposed to be based on exec_prefix
1715 # by default will actually change.
1716 # Use braces instead of parens because sh, perl, etc. also accept them.
1717 # (The list follows the same order as the GNU Coding Standards.)
1718 bindir='${exec_prefix}/bin'
1719 sbindir='${exec_prefix}/sbin'
1720 libexecdir='${exec_prefix}/libexec'
1721 datarootdir='${prefix}/share'
1722 datadir='${datarootdir}'
1723 sysconfdir='${prefix}/etc'
1724 sharedstatedir='${prefix}/com'
1725 localstatedir='${prefix}/var'
1726 runstatedir='${localstatedir}/run'
1727 includedir='${prefix}/include'
1728 oldincludedir='/usr/include'
1729 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1730 infodir='${datarootdir}/info'
1731 htmldir='${docdir}'
1732 dvidir='${docdir}'
1733 pdfdir='${docdir}'
1734 psdir='${docdir}'
1735 libdir='${exec_prefix}/lib'
1736 localedir='${datarootdir}/locale'
1737 mandir='${datarootdir}/man'
1739 ac_prev=
1740 ac_dashdash=
1741 for ac_option
1743 # If the previous option needs an argument, assign it.
1744 if test -n "$ac_prev"; then
1745 eval $ac_prev=\$ac_option
1746 ac_prev=
1747 continue
1750 case $ac_option in
1751 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1752 *=) ac_optarg= ;;
1753 *) ac_optarg=yes ;;
1754 esac
1756 # Accept the important Cygnus configure options, so we can diagnose typos.
1758 case $ac_dashdash$ac_option in
1760 ac_dashdash=yes ;;
1762 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1763 ac_prev=bindir ;;
1764 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1765 bindir=$ac_optarg ;;
1767 -build | --build | --buil | --bui | --bu)
1768 ac_prev=build_alias ;;
1769 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1770 build_alias=$ac_optarg ;;
1772 -cache-file | --cache-file | --cache-fil | --cache-fi \
1773 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1774 ac_prev=cache_file ;;
1775 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1776 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1777 cache_file=$ac_optarg ;;
1779 --config-cache | -C)
1780 cache_file=config.cache ;;
1782 -datadir | --datadir | --datadi | --datad)
1783 ac_prev=datadir ;;
1784 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1785 datadir=$ac_optarg ;;
1787 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1788 | --dataroo | --dataro | --datar)
1789 ac_prev=datarootdir ;;
1790 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1791 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1792 datarootdir=$ac_optarg ;;
1794 -disable-* | --disable-*)
1795 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1796 # Reject names that are not valid shell variable names.
1797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1798 as_fn_error $? "invalid feature name: $ac_useropt"
1799 ac_useropt_orig=$ac_useropt
1800 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1801 case $ac_user_opts in
1803 "enable_$ac_useropt"
1804 "*) ;;
1805 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1806 ac_unrecognized_sep=', ';;
1807 esac
1808 eval enable_$ac_useropt=no ;;
1810 -docdir | --docdir | --docdi | --doc | --do)
1811 ac_prev=docdir ;;
1812 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1813 docdir=$ac_optarg ;;
1815 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1816 ac_prev=dvidir ;;
1817 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1818 dvidir=$ac_optarg ;;
1820 -enable-* | --enable-*)
1821 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1822 # Reject names that are not valid shell variable names.
1823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1824 as_fn_error $? "invalid feature name: $ac_useropt"
1825 ac_useropt_orig=$ac_useropt
1826 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1827 case $ac_user_opts in
1829 "enable_$ac_useropt"
1830 "*) ;;
1831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1832 ac_unrecognized_sep=', ';;
1833 esac
1834 eval enable_$ac_useropt=\$ac_optarg ;;
1836 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1837 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1838 | --exec | --exe | --ex)
1839 ac_prev=exec_prefix ;;
1840 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1841 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1842 | --exec=* | --exe=* | --ex=*)
1843 exec_prefix=$ac_optarg ;;
1845 -gas | --gas | --ga | --g)
1846 # Obsolete; use --with-gas.
1847 with_gas=yes ;;
1849 -help | --help | --hel | --he | -h)
1850 ac_init_help=long ;;
1851 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1852 ac_init_help=recursive ;;
1853 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1854 ac_init_help=short ;;
1856 -host | --host | --hos | --ho)
1857 ac_prev=host_alias ;;
1858 -host=* | --host=* | --hos=* | --ho=*)
1859 host_alias=$ac_optarg ;;
1861 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1862 ac_prev=htmldir ;;
1863 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1864 | --ht=*)
1865 htmldir=$ac_optarg ;;
1867 -includedir | --includedir | --includedi | --included | --include \
1868 | --includ | --inclu | --incl | --inc)
1869 ac_prev=includedir ;;
1870 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1871 | --includ=* | --inclu=* | --incl=* | --inc=*)
1872 includedir=$ac_optarg ;;
1874 -infodir | --infodir | --infodi | --infod | --info | --inf)
1875 ac_prev=infodir ;;
1876 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1877 infodir=$ac_optarg ;;
1879 -libdir | --libdir | --libdi | --libd)
1880 ac_prev=libdir ;;
1881 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1882 libdir=$ac_optarg ;;
1884 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1885 | --libexe | --libex | --libe)
1886 ac_prev=libexecdir ;;
1887 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1888 | --libexe=* | --libex=* | --libe=*)
1889 libexecdir=$ac_optarg ;;
1891 -localedir | --localedir | --localedi | --localed | --locale)
1892 ac_prev=localedir ;;
1893 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1894 localedir=$ac_optarg ;;
1896 -localstatedir | --localstatedir | --localstatedi | --localstated \
1897 | --localstate | --localstat | --localsta | --localst | --locals)
1898 ac_prev=localstatedir ;;
1899 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1900 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1901 localstatedir=$ac_optarg ;;
1903 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1904 ac_prev=mandir ;;
1905 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1906 mandir=$ac_optarg ;;
1908 -nfp | --nfp | --nf)
1909 # Obsolete; use --without-fp.
1910 with_fp=no ;;
1912 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1913 | --no-cr | --no-c | -n)
1914 no_create=yes ;;
1916 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1917 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1918 no_recursion=yes ;;
1920 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1921 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1922 | --oldin | --oldi | --old | --ol | --o)
1923 ac_prev=oldincludedir ;;
1924 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1925 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1926 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1927 oldincludedir=$ac_optarg ;;
1929 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1930 ac_prev=prefix ;;
1931 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1932 prefix=$ac_optarg ;;
1934 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1935 | --program-pre | --program-pr | --program-p)
1936 ac_prev=program_prefix ;;
1937 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1938 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1939 program_prefix=$ac_optarg ;;
1941 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1942 | --program-suf | --program-su | --program-s)
1943 ac_prev=program_suffix ;;
1944 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1945 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1946 program_suffix=$ac_optarg ;;
1948 -program-transform-name | --program-transform-name \
1949 | --program-transform-nam | --program-transform-na \
1950 | --program-transform-n | --program-transform- \
1951 | --program-transform | --program-transfor \
1952 | --program-transfo | --program-transf \
1953 | --program-trans | --program-tran \
1954 | --progr-tra | --program-tr | --program-t)
1955 ac_prev=program_transform_name ;;
1956 -program-transform-name=* | --program-transform-name=* \
1957 | --program-transform-nam=* | --program-transform-na=* \
1958 | --program-transform-n=* | --program-transform-=* \
1959 | --program-transform=* | --program-transfor=* \
1960 | --program-transfo=* | --program-transf=* \
1961 | --program-trans=* | --program-tran=* \
1962 | --progr-tra=* | --program-tr=* | --program-t=*)
1963 program_transform_name=$ac_optarg ;;
1965 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1966 ac_prev=pdfdir ;;
1967 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1968 pdfdir=$ac_optarg ;;
1970 -psdir | --psdir | --psdi | --psd | --ps)
1971 ac_prev=psdir ;;
1972 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1973 psdir=$ac_optarg ;;
1975 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1976 | -silent | --silent | --silen | --sile | --sil)
1977 silent=yes ;;
1979 -runstatedir | --runstatedir | --runstatedi | --runstated \
1980 | --runstate | --runstat | --runsta | --runst | --runs \
1981 | --run | --ru | --r)
1982 ac_prev=runstatedir ;;
1983 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1984 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1985 | --run=* | --ru=* | --r=*)
1986 runstatedir=$ac_optarg ;;
1988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1989 ac_prev=sbindir ;;
1990 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1991 | --sbi=* | --sb=*)
1992 sbindir=$ac_optarg ;;
1994 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1995 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1996 | --sharedst | --shareds | --shared | --share | --shar \
1997 | --sha | --sh)
1998 ac_prev=sharedstatedir ;;
1999 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2000 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2001 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2002 | --sha=* | --sh=*)
2003 sharedstatedir=$ac_optarg ;;
2005 -site | --site | --sit)
2006 ac_prev=site ;;
2007 -site=* | --site=* | --sit=*)
2008 site=$ac_optarg ;;
2010 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2011 ac_prev=srcdir ;;
2012 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2013 srcdir=$ac_optarg ;;
2015 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2016 | --syscon | --sysco | --sysc | --sys | --sy)
2017 ac_prev=sysconfdir ;;
2018 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2019 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2020 sysconfdir=$ac_optarg ;;
2022 -target | --target | --targe | --targ | --tar | --ta | --t)
2023 ac_prev=target_alias ;;
2024 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2025 target_alias=$ac_optarg ;;
2027 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2028 verbose=yes ;;
2030 -version | --version | --versio | --versi | --vers | -V)
2031 ac_init_version=: ;;
2033 -with-* | --with-*)
2034 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2035 # Reject names that are not valid shell variable names.
2036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2037 as_fn_error $? "invalid package name: $ac_useropt"
2038 ac_useropt_orig=$ac_useropt
2039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2040 case $ac_user_opts in
2042 "with_$ac_useropt"
2043 "*) ;;
2044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2045 ac_unrecognized_sep=', ';;
2046 esac
2047 eval with_$ac_useropt=\$ac_optarg ;;
2049 -without-* | --without-*)
2050 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2051 # Reject names that are not valid shell variable names.
2052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2053 as_fn_error $? "invalid package name: $ac_useropt"
2054 ac_useropt_orig=$ac_useropt
2055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2056 case $ac_user_opts in
2058 "with_$ac_useropt"
2059 "*) ;;
2060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2061 ac_unrecognized_sep=', ';;
2062 esac
2063 eval with_$ac_useropt=no ;;
2065 --x)
2066 # Obsolete; use --with-x.
2067 with_x=yes ;;
2069 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2070 | --x-incl | --x-inc | --x-in | --x-i)
2071 ac_prev=x_includes ;;
2072 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2073 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2074 x_includes=$ac_optarg ;;
2076 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2077 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2078 ac_prev=x_libraries ;;
2079 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2080 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2081 x_libraries=$ac_optarg ;;
2083 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2084 Try \`$0 --help' for more information"
2087 *=*)
2088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2089 # Reject names that are not valid shell variable names.
2090 case $ac_envvar in #(
2091 '' | [0-9]* | *[!_$as_cr_alnum]* )
2092 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2093 esac
2094 eval $ac_envvar=\$ac_optarg
2095 export $ac_envvar ;;
2098 # FIXME: should be removed in autoconf 3.0.
2099 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2100 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2101 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2102 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2105 esac
2106 done
2108 if test -n "$ac_prev"; then
2109 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2110 as_fn_error $? "missing argument to $ac_option"
2113 if test -n "$ac_unrecognized_opts"; then
2114 case $enable_option_checking in
2115 no) ;;
2116 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2117 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2118 esac
2121 # Check all directory arguments for consistency.
2122 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2123 datadir sysconfdir sharedstatedir localstatedir includedir \
2124 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2125 libdir localedir mandir runstatedir
2127 eval ac_val=\$$ac_var
2128 # Remove trailing slashes.
2129 case $ac_val in
2130 */ )
2131 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2132 eval $ac_var=\$ac_val;;
2133 esac
2134 # Be sure to have absolute directory names.
2135 case $ac_val in
2136 [\\/$]* | ?:[\\/]* ) continue;;
2137 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2138 esac
2139 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2140 done
2142 # There might be people who depend on the old broken behavior: `$host'
2143 # used to hold the argument of --host etc.
2144 # FIXME: To remove some day.
2145 build=$build_alias
2146 host=$host_alias
2147 target=$target_alias
2149 # FIXME: To remove some day.
2150 if test "x$host_alias" != x; then
2151 if test "x$build_alias" = x; then
2152 cross_compiling=maybe
2153 elif test "x$build_alias" != "x$host_alias"; then
2154 cross_compiling=yes
2158 ac_tool_prefix=
2159 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2161 test "$silent" = yes && exec 6>/dev/null
2164 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2165 ac_ls_di=`ls -di .` &&
2166 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2167 as_fn_error $? "working directory cannot be determined"
2168 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2169 as_fn_error $? "pwd does not report name of working directory"
2172 # Find the source files, if location was not specified.
2173 if test -z "$srcdir"; then
2174 ac_srcdir_defaulted=yes
2175 # Try the directory containing this script, then the parent directory.
2176 ac_confdir=`$as_dirname -- "$as_myself" ||
2177 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2178 X"$as_myself" : 'X\(//\)[^/]' \| \
2179 X"$as_myself" : 'X\(//\)$' \| \
2180 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2181 $as_echo X"$as_myself" |
2182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2183 s//\1/
2186 /^X\(\/\/\)[^/].*/{
2187 s//\1/
2190 /^X\(\/\/\)$/{
2191 s//\1/
2194 /^X\(\/\).*/{
2195 s//\1/
2198 s/.*/./; q'`
2199 srcdir=$ac_confdir
2200 if test ! -r "$srcdir/$ac_unique_file"; then
2201 srcdir=..
2203 else
2204 ac_srcdir_defaulted=no
2206 if test ! -r "$srcdir/$ac_unique_file"; then
2207 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2208 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2211 ac_abs_confdir=`(
2212 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2213 pwd)`
2214 # When building in place, set srcdir=.
2215 if test "$ac_abs_confdir" = "$ac_pwd"; then
2216 srcdir=.
2218 # Remove unnecessary trailing slashes from srcdir.
2219 # Double slashes in file names in object file debugging info
2220 # mess up M-x gdb in Emacs.
2221 case $srcdir in
2222 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2223 esac
2224 for ac_var in $ac_precious_vars; do
2225 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2226 eval ac_env_${ac_var}_value=\$${ac_var}
2227 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2228 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2229 done
2232 # Report the --help message.
2234 if test "$ac_init_help" = "long"; then
2235 # Omit some internal or obsolete options to make the list less imposing.
2236 # This message is too long to be a string in the A/UX 3.1 sh.
2237 cat <<_ACEOF
2238 \`configure' configures Wine 2.5 to adapt to many kinds of systems.
2240 Usage: $0 [OPTION]... [VAR=VALUE]...
2242 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2243 VAR=VALUE. See below for descriptions of some of the useful variables.
2245 Defaults for the options are specified in brackets.
2247 Configuration:
2248 -h, --help display this help and exit
2249 --help=short display options specific to this package
2250 --help=recursive display the short help of all the included packages
2251 -V, --version display version information and exit
2252 -q, --quiet, --silent do not print \`checking ...' messages
2253 --cache-file=FILE cache test results in FILE [disabled]
2254 -C, --config-cache alias for \`--cache-file=config.cache'
2255 -n, --no-create do not create output files
2256 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2258 Installation directories:
2259 --prefix=PREFIX install architecture-independent files in PREFIX
2260 [$ac_default_prefix]
2261 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2262 [PREFIX]
2264 By default, \`make install' will install all the files in
2265 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2266 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2267 for instance \`--prefix=\$HOME'.
2269 For better control, use the options below.
2271 Fine tuning of the installation directories:
2272 --bindir=DIR user executables [EPREFIX/bin]
2273 --sbindir=DIR system admin executables [EPREFIX/sbin]
2274 --libexecdir=DIR program executables [EPREFIX/libexec]
2275 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2276 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2277 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2278 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2279 --libdir=DIR object code libraries [EPREFIX/lib]
2280 --includedir=DIR C header files [PREFIX/include]
2281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2282 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2283 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2284 --infodir=DIR info documentation [DATAROOTDIR/info]
2285 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2286 --mandir=DIR man documentation [DATAROOTDIR/man]
2287 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2288 --htmldir=DIR html documentation [DOCDIR]
2289 --dvidir=DIR dvi documentation [DOCDIR]
2290 --pdfdir=DIR pdf documentation [DOCDIR]
2291 --psdir=DIR ps documentation [DOCDIR]
2292 _ACEOF
2294 cat <<\_ACEOF
2296 X features:
2297 --x-includes=DIR X include files are in DIR
2298 --x-libraries=DIR X library files are in DIR
2300 System types:
2301 --build=BUILD configure for building on BUILD [guessed]
2302 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2303 _ACEOF
2306 if test -n "$ac_init_help"; then
2307 case $ac_init_help in
2308 short | recursive ) echo "Configuration of Wine 2.5:";;
2309 esac
2310 cat <<\_ACEOF
2312 Optional Features:
2313 --disable-option-checking ignore unrecognized --enable/--with options
2314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2316 --disable-win16 do not include Win16 support
2317 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2318 binaries)
2319 --disable-tests do not build the regression tests
2320 --enable-maintainer-mode
2321 enable maintainer-specific build rules
2322 --disable-largefile omit support for large files
2324 Optional Packages:
2325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2327 --without-alsa do not use the Alsa sound support
2328 --without-capi do not use CAPI (ISDN support)
2329 --without-cms do not use CMS (color management support)
2330 --without-coreaudio do not use the CoreAudio sound support
2331 --without-cups do not use CUPS
2332 --without-curses do not use (n)curses
2333 --without-dbus do not use DBus (dynamic device support)
2334 --without-fontconfig do not use fontconfig
2335 --without-freetype do not use the FreeType library
2336 --without-gettext do not use gettext
2337 --with-gettextpo use the GetTextPO library to rebuild po files
2338 --without-gphoto do not use gphoto (Digital Camera support)
2339 --without-glu do not use the GLU library
2340 --without-gnutls do not use GnuTLS (schannel support)
2341 --without-gsm do not use libgsm (GSM 06.10 codec support)
2342 --without-gstreamer do not use GStreamer (codecs support)
2343 --without-hal do not use HAL (dynamic device support)
2344 --without-jpeg do not use JPEG
2345 --without-ldap do not use LDAP
2346 --without-mpg123 do not use the mpg123 library
2347 --without-netapi do not use the Samba NetAPI library
2348 --without-openal do not use OpenAL
2349 --without-opencl do not use OpenCL
2350 --without-opengl do not use OpenGL
2351 --without-osmesa do not use the OSMesa library
2352 --without-oss do not use the OSS sound support
2353 --without-pcap do not use the Packet Capture library
2354 --without-png do not use PNG
2355 --without-pthread do not use the pthread library
2356 --without-pulse do not use PulseAudio sound support
2357 --without-sane do not use SANE (scanner support)
2358 --without-tiff do not use TIFF
2359 --without-udev do not use udev (plug and play support)
2360 --without-v4l do not use v4l1 (v4l support)
2361 --without-xcomposite do not use the Xcomposite extension
2362 --without-xcursor do not use the Xcursor extension
2363 --without-xinerama do not use Xinerama (multi-monitor support)
2364 --without-xinput do not use the Xinput extension
2365 --without-xinput2 do not use the Xinput 2 extension
2366 --without-xml do not use XML
2367 --without-xrandr do not use Xrandr (resolution changes)
2368 --without-xrender do not use the Xrender extension
2369 --without-xshape do not use the Xshape extension
2370 --without-xshm do not use XShm (shared memory extension)
2371 --without-xslt do not use XSLT
2372 --without-xxf86vm do not use XFree video mode extension
2373 --without-zlib do not use Zlib (data compression)
2374 --with-wine-tools=DIR use Wine tools from directory DIR
2375 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2376 --with-x use the X Window System
2378 Some influential environment variables:
2379 CC C compiler command
2380 CFLAGS C compiler flags
2381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2382 nonstandard directory <lib dir>
2383 LIBS libraries to pass to the linker, e.g. -l<library>
2384 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2385 you have headers in a nonstandard directory <include dir>
2386 CXX C++ compiler command
2387 CXXFLAGS C++ compiler flags
2388 CPP C preprocessor
2389 XMKMF Path to xmkmf, Makefile generator for X Window System
2390 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2391 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2392 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2393 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2394 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2395 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2396 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2397 HAL_LIBS Linker flags for hal, overriding pkg-config
2398 GNUTLS_CFLAGS
2399 C compiler flags for gnutls, overriding pkg-config
2400 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2401 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2402 SANE_LIBS Linker flags for libsane, overriding pkg-config
2403 GPHOTO2_CFLAGS
2404 C compiler flags for libgphoto2, overriding pkg-config
2405 GPHOTO2_LIBS
2406 Linker flags for libgphoto2, overriding pkg-config
2407 GPHOTO2_PORT_CFLAGS
2408 C compiler flags for libgphoto2_port, overriding pkg-config
2409 GPHOTO2_PORT_LIBS
2410 Linker flags for libgphoto2_port, overriding pkg-config
2411 LCMS2_CFLAGS
2412 C compiler flags for lcms2, overriding pkg-config
2413 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2414 FREETYPE_CFLAGS
2415 C compiler flags for freetype2, overriding pkg-config
2416 FREETYPE_LIBS
2417 Linker flags for freetype2, overriding pkg-config
2418 PULSE_CFLAGS
2419 C compiler flags for libpulse, overriding pkg-config
2420 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2421 GSTREAMER_CFLAGS
2422 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2423 gstreamer-audio-1.0, overriding pkg-config
2424 GSTREAMER_LIBS
2425 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2426 gstreamer-audio-1.0, overriding pkg-config
2427 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2428 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2429 CAPI20_CFLAGS
2430 C compiler flags for capi20, overriding pkg-config
2431 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2432 FONTCONFIG_CFLAGS
2433 C compiler flags for fontconfig, overriding pkg-config
2434 FONTCONFIG_LIBS
2435 Linker flags for fontconfig, overriding pkg-config
2436 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2437 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2438 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2439 PNG_LIBS Linker flags for libpng, overriding pkg-config
2440 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2441 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2442 MPG123_CFLAGS
2443 C compiler flags for libmpg123, overriding pkg-config
2444 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2445 NETAPI_CFLAGS
2446 C compiler flags for netapi, overriding pkg-config
2447 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2449 Use these variables to override the choices made by `configure' or to help
2450 it to find libraries and programs with nonstandard names/locations.
2452 Report bugs to <wine-devel@winehq.org>.
2453 Wine home page: <http://www.winehq.org>.
2454 _ACEOF
2455 ac_status=$?
2458 if test "$ac_init_help" = "recursive"; then
2459 # If there are subdirs, report their specific --help.
2460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2461 test -d "$ac_dir" ||
2462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2463 continue
2464 ac_builddir=.
2466 case "$ac_dir" in
2467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2470 # A ".." for each directory in $ac_dir_suffix.
2471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2472 case $ac_top_builddir_sub in
2473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2475 esac ;;
2476 esac
2477 ac_abs_top_builddir=$ac_pwd
2478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2479 # for backward compatibility:
2480 ac_top_builddir=$ac_top_build_prefix
2482 case $srcdir in
2483 .) # We are building in place.
2484 ac_srcdir=.
2485 ac_top_srcdir=$ac_top_builddir_sub
2486 ac_abs_top_srcdir=$ac_pwd ;;
2487 [\\/]* | ?:[\\/]* ) # Absolute name.
2488 ac_srcdir=$srcdir$ac_dir_suffix;
2489 ac_top_srcdir=$srcdir
2490 ac_abs_top_srcdir=$srcdir ;;
2491 *) # Relative name.
2492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2493 ac_top_srcdir=$ac_top_build_prefix$srcdir
2494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2495 esac
2496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2498 cd "$ac_dir" || { ac_status=$?; continue; }
2499 # Check for guested configure.
2500 if test -f "$ac_srcdir/configure.gnu"; then
2501 echo &&
2502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2503 elif test -f "$ac_srcdir/configure"; then
2504 echo &&
2505 $SHELL "$ac_srcdir/configure" --help=recursive
2506 else
2507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2508 fi || ac_status=$?
2509 cd "$ac_pwd" || { ac_status=$?; break; }
2510 done
2513 test -n "$ac_init_help" && exit $ac_status
2514 if $ac_init_version; then
2515 cat <<\_ACEOF
2516 Wine configure 2.5
2517 generated by GNU Autoconf 2.69
2519 Copyright (C) 2012 Free Software Foundation, Inc.
2520 This configure script is free software; the Free Software Foundation
2521 gives unlimited permission to copy, distribute and modify it.
2522 _ACEOF
2523 exit
2526 ## ------------------------ ##
2527 ## Autoconf initialization. ##
2528 ## ------------------------ ##
2530 # ac_fn_c_try_compile LINENO
2531 # --------------------------
2532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2533 ac_fn_c_try_compile ()
2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2536 rm -f conftest.$ac_objext
2537 if { { ac_try="$ac_compile"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2543 $as_echo "$ac_try_echo"; } >&5
2544 (eval "$ac_compile") 2>conftest.err
2545 ac_status=$?
2546 if test -s conftest.err; then
2547 grep -v '^ *+' conftest.err >conftest.er1
2548 cat conftest.er1 >&5
2549 mv -f conftest.er1 conftest.err
2551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2552 test $ac_status = 0; } && {
2553 test -z "$ac_c_werror_flag" ||
2554 test ! -s conftest.err
2555 } && test -s conftest.$ac_objext; then :
2556 ac_retval=0
2557 else
2558 $as_echo "$as_me: failed program was:" >&5
2559 sed 's/^/| /' conftest.$ac_ext >&5
2561 ac_retval=1
2563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2564 as_fn_set_status $ac_retval
2566 } # ac_fn_c_try_compile
2568 # ac_fn_cxx_try_compile LINENO
2569 # ----------------------------
2570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2571 ac_fn_cxx_try_compile ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 rm -f conftest.$ac_objext
2575 if { { ac_try="$ac_compile"
2576 case "(($ac_try" in
2577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2578 *) ac_try_echo=$ac_try;;
2579 esac
2580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2581 $as_echo "$ac_try_echo"; } >&5
2582 (eval "$ac_compile") 2>conftest.err
2583 ac_status=$?
2584 if test -s conftest.err; then
2585 grep -v '^ *+' conftest.err >conftest.er1
2586 cat conftest.er1 >&5
2587 mv -f conftest.er1 conftest.err
2589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2590 test $ac_status = 0; } && {
2591 test -z "$ac_cxx_werror_flag" ||
2592 test ! -s conftest.err
2593 } && test -s conftest.$ac_objext; then :
2594 ac_retval=0
2595 else
2596 $as_echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 ac_retval=1
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2602 as_fn_set_status $ac_retval
2604 } # ac_fn_cxx_try_compile
2606 # ac_fn_c_try_link LINENO
2607 # -----------------------
2608 # Try to link conftest.$ac_ext, and return whether this succeeded.
2609 ac_fn_c_try_link ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 rm -f conftest.$ac_objext conftest$ac_exeext
2613 if { { ac_try="$ac_link"
2614 case "(($ac_try" in
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2617 esac
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_link") 2>conftest.err
2621 ac_status=$?
2622 if test -s conftest.err; then
2623 grep -v '^ *+' conftest.err >conftest.er1
2624 cat conftest.er1 >&5
2625 mv -f conftest.er1 conftest.err
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; } && {
2629 test -z "$ac_c_werror_flag" ||
2630 test ! -s conftest.err
2631 } && test -s conftest$ac_exeext && {
2632 test "$cross_compiling" = yes ||
2633 test -x conftest$ac_exeext
2634 }; then :
2635 ac_retval=0
2636 else
2637 $as_echo "$as_me: failed program was:" >&5
2638 sed 's/^/| /' conftest.$ac_ext >&5
2640 ac_retval=1
2642 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2643 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2644 # interfere with the next link command; also delete a directory that is
2645 # left behind by Apple's compiler. We do this before executing the actions.
2646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648 as_fn_set_status $ac_retval
2650 } # ac_fn_c_try_link
2652 # ac_fn_c_try_cpp LINENO
2653 # ----------------------
2654 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2655 ac_fn_c_try_cpp ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 if { { ac_try="$ac_cpp conftest.$ac_ext"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2666 ac_status=$?
2667 if test -s conftest.err; then
2668 grep -v '^ *+' conftest.err >conftest.er1
2669 cat conftest.er1 >&5
2670 mv -f conftest.er1 conftest.err
2672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2673 test $ac_status = 0; } > conftest.i && {
2674 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2675 test ! -s conftest.err
2676 }; then :
2677 ac_retval=0
2678 else
2679 $as_echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2682 ac_retval=1
2684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 as_fn_set_status $ac_retval
2687 } # ac_fn_c_try_cpp
2689 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2690 # -------------------------------------------------------
2691 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2692 # the include files in INCLUDES and setting the cache variable VAR
2693 # accordingly.
2694 ac_fn_c_check_header_mongrel ()
2696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2697 if eval \${$3+:} false; then :
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2699 $as_echo_n "checking for $2... " >&6; }
2700 if eval \${$3+:} false; then :
2701 $as_echo_n "(cached) " >&6
2703 eval ac_res=\$$3
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2705 $as_echo "$ac_res" >&6; }
2706 else
2707 # Is the header compilable?
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2709 $as_echo_n "checking $2 usability... " >&6; }
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2713 #include <$2>
2714 _ACEOF
2715 if ac_fn_c_try_compile "$LINENO"; then :
2716 ac_header_compiler=yes
2717 else
2718 ac_header_compiler=no
2720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2722 $as_echo "$ac_header_compiler" >&6; }
2724 # Is the header present?
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2726 $as_echo_n "checking $2 presence... " >&6; }
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2729 #include <$2>
2730 _ACEOF
2731 if ac_fn_c_try_cpp "$LINENO"; then :
2732 ac_header_preproc=yes
2733 else
2734 ac_header_preproc=no
2736 rm -f conftest.err conftest.i conftest.$ac_ext
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2738 $as_echo "$ac_header_preproc" >&6; }
2740 # So? What about this header?
2741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2742 yes:no: )
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2744 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2748 no:yes:* )
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2750 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2752 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2754 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2756 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2759 ( $as_echo "## ------------------------------------ ##
2760 ## Report this to wine-devel@winehq.org ##
2761 ## ------------------------------------ ##"
2762 ) | sed "s/^/$as_me: WARNING: /" >&2
2764 esac
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \${$3+:} false; then :
2768 $as_echo_n "(cached) " >&6
2769 else
2770 eval "$3=\$ac_header_compiler"
2772 eval ac_res=\$$3
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2774 $as_echo "$ac_res" >&6; }
2776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2778 } # ac_fn_c_check_header_mongrel
2780 # ac_fn_c_try_run LINENO
2781 # ----------------------
2782 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2783 # that executables *can* be run.
2784 ac_fn_c_try_run ()
2786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2787 if { { ac_try="$ac_link"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2793 $as_echo "$ac_try_echo"; } >&5
2794 (eval "$ac_link") 2>&5
2795 ac_status=$?
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2798 { { case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_try") 2>&5
2805 ac_status=$?
2806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807 test $ac_status = 0; }; }; then :
2808 ac_retval=0
2809 else
2810 $as_echo "$as_me: program exited with status $ac_status" >&5
2811 $as_echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2814 ac_retval=$ac_status
2816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_run
2822 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2823 # -------------------------------------------------------
2824 # Tests whether HEADER exists and can be compiled using the include files in
2825 # INCLUDES, setting the cache variable VAR accordingly.
2826 ac_fn_c_check_header_compile ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2837 #include <$2>
2838 _ACEOF
2839 if ac_fn_c_try_compile "$LINENO"; then :
2840 eval "$3=yes"
2841 else
2842 eval "$3=no"
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2846 eval ac_res=\$$3
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2848 $as_echo "$ac_res" >&6; }
2849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 } # ac_fn_c_check_header_compile
2853 # ac_fn_c_check_func LINENO FUNC VAR
2854 # ----------------------------------
2855 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2856 ac_fn_c_check_func ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2860 $as_echo_n "checking for $2... " >&6; }
2861 if eval \${$3+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863 else
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2866 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2868 #define $2 innocuous_$2
2870 /* System header to define __stub macros and hopefully few prototypes,
2871 which can conflict with char $2 (); below.
2872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2873 <limits.h> exists even on freestanding compilers. */
2875 #ifdef __STDC__
2876 # include <limits.h>
2877 #else
2878 # include <assert.h>
2879 #endif
2881 #undef $2
2883 /* Override any GCC internal prototype to avoid an error.
2884 Use char because int might match the return type of a GCC
2885 builtin and then its argument prototype would still apply. */
2886 #ifdef __cplusplus
2887 extern "C"
2888 #endif
2889 char $2 ();
2890 /* The GNU C library defines this for functions which it implements
2891 to always fail with ENOSYS. Some functions are actually named
2892 something starting with __ and the normal name is an alias. */
2893 #if defined __stub_$2 || defined __stub___$2
2894 choke me
2895 #endif
2898 main ()
2900 return $2 ();
2902 return 0;
2904 _ACEOF
2905 if ac_fn_c_try_link "$LINENO"; then :
2906 eval "$3=yes"
2907 else
2908 eval "$3=no"
2910 rm -f core conftest.err conftest.$ac_objext \
2911 conftest$ac_exeext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_func
2920 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2921 # ----------------------------------------------------
2922 # Tries to find if the field MEMBER exists in type AGGR, after including
2923 # INCLUDES, setting cache variable VAR accordingly.
2924 ac_fn_c_check_member ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2928 $as_echo_n "checking for $2.$3... " >&6; }
2929 if eval \${$4+:} false; then :
2930 $as_echo_n "(cached) " >&6
2931 else
2932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2933 /* end confdefs.h. */
2936 main ()
2938 static $2 ac_aggr;
2939 if (ac_aggr.$3)
2940 return 0;
2942 return 0;
2944 _ACEOF
2945 if ac_fn_c_try_compile "$LINENO"; then :
2946 eval "$4=yes"
2947 else
2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2949 /* end confdefs.h. */
2952 main ()
2954 static $2 ac_aggr;
2955 if (sizeof ac_aggr.$3)
2956 return 0;
2958 return 0;
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 eval "$4=yes"
2963 else
2964 eval "$4=no"
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 eval ac_res=\$$4
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2972 $as_echo "$ac_res" >&6; }
2973 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975 } # ac_fn_c_check_member
2977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2978 # -------------------------------------------
2979 # Tests whether TYPE exists after having included INCLUDES, setting cache
2980 # variable VAR accordingly.
2981 ac_fn_c_check_type ()
2983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2985 $as_echo_n "checking for $2... " >&6; }
2986 if eval \${$3+:} false; then :
2987 $as_echo_n "(cached) " >&6
2988 else
2989 eval "$3=no"
2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2991 /* end confdefs.h. */
2994 main ()
2996 if (sizeof ($2))
2997 return 0;
2999 return 0;
3001 _ACEOF
3002 if ac_fn_c_try_compile "$LINENO"; then :
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main ()
3009 if (sizeof (($2)))
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3017 else
3018 eval "$3=yes"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_type
3030 cat >config.log <<_ACEOF
3031 This file contains any messages produced by compilers while
3032 running configure, to aid debugging if configure makes a mistake.
3034 It was created by Wine $as_me 2.5, which was
3035 generated by GNU Autoconf 2.69. Invocation command line was
3037 $ $0 $@
3039 _ACEOF
3040 exec 5>>config.log
3042 cat <<_ASUNAME
3043 ## --------- ##
3044 ## Platform. ##
3045 ## --------- ##
3047 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3048 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3049 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3050 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3051 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3053 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3054 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3056 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3057 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3058 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3059 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3060 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3061 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3062 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3064 _ASUNAME
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 for as_dir in $PATH
3069 IFS=$as_save_IFS
3070 test -z "$as_dir" && as_dir=.
3071 $as_echo "PATH: $as_dir"
3072 done
3073 IFS=$as_save_IFS
3075 } >&5
3077 cat >&5 <<_ACEOF
3080 ## ----------- ##
3081 ## Core tests. ##
3082 ## ----------- ##
3084 _ACEOF
3087 # Keep a trace of the command line.
3088 # Strip out --no-create and --no-recursion so they do not pile up.
3089 # Strip out --silent because we don't want to record it for future runs.
3090 # Also quote any args containing shell meta-characters.
3091 # Make two passes to allow for proper duplicate-argument suppression.
3092 ac_configure_args=
3093 ac_configure_args0=
3094 ac_configure_args1=
3095 ac_must_keep_next=false
3096 for ac_pass in 1 2
3098 for ac_arg
3100 case $ac_arg in
3101 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3103 | -silent | --silent | --silen | --sile | --sil)
3104 continue ;;
3105 *\'*)
3106 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3107 esac
3108 case $ac_pass in
3109 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3111 as_fn_append ac_configure_args1 " '$ac_arg'"
3112 if test $ac_must_keep_next = true; then
3113 ac_must_keep_next=false # Got value, back to normal.
3114 else
3115 case $ac_arg in
3116 *=* | --config-cache | -C | -disable-* | --disable-* \
3117 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3118 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3119 | -with-* | --with-* | -without-* | --without-* | --x)
3120 case "$ac_configure_args0 " in
3121 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3122 esac
3124 -* ) ac_must_keep_next=true ;;
3125 esac
3127 as_fn_append ac_configure_args " '$ac_arg'"
3129 esac
3130 done
3131 done
3132 { ac_configure_args0=; unset ac_configure_args0;}
3133 { ac_configure_args1=; unset ac_configure_args1;}
3135 # When interrupted or exit'd, cleanup temporary files, and complete
3136 # config.log. We remove comments because anyway the quotes in there
3137 # would cause problems or look ugly.
3138 # WARNING: Use '\'' to represent an apostrophe within the trap.
3139 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3140 trap 'exit_status=$?
3141 # Save into config.log some information that might help in debugging.
3143 echo
3145 $as_echo "## ---------------- ##
3146 ## Cache variables. ##
3147 ## ---------------- ##"
3148 echo
3149 # The following way of writing the cache mishandles newlines in values,
3151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3152 eval ac_val=\$$ac_var
3153 case $ac_val in #(
3154 *${as_nl}*)
3155 case $ac_var in #(
3156 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3157 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3158 esac
3159 case $ac_var in #(
3160 _ | IFS | as_nl) ;; #(
3161 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3162 *) { eval $ac_var=; unset $ac_var;} ;;
3163 esac ;;
3164 esac
3165 done
3166 (set) 2>&1 |
3167 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3168 *${as_nl}ac_space=\ *)
3169 sed -n \
3170 "s/'\''/'\''\\\\'\'''\''/g;
3171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3172 ;; #(
3174 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3176 esac |
3177 sort
3179 echo
3181 $as_echo "## ----------------- ##
3182 ## Output variables. ##
3183 ## ----------------- ##"
3184 echo
3185 for ac_var in $ac_subst_vars
3187 eval ac_val=\$$ac_var
3188 case $ac_val in
3189 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3190 esac
3191 $as_echo "$ac_var='\''$ac_val'\''"
3192 done | sort
3193 echo
3195 if test -n "$ac_subst_files"; then
3196 $as_echo "## ------------------- ##
3197 ## File substitutions. ##
3198 ## ------------------- ##"
3199 echo
3200 for ac_var in $ac_subst_files
3202 eval ac_val=\$$ac_var
3203 case $ac_val in
3204 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3205 esac
3206 $as_echo "$ac_var='\''$ac_val'\''"
3207 done | sort
3208 echo
3211 if test -s confdefs.h; then
3212 $as_echo "## ----------- ##
3213 ## confdefs.h. ##
3214 ## ----------- ##"
3215 echo
3216 cat confdefs.h
3217 echo
3219 test "$ac_signal" != 0 &&
3220 $as_echo "$as_me: caught signal $ac_signal"
3221 $as_echo "$as_me: exit $exit_status"
3222 } >&5
3223 rm -f core *.core core.conftest.* &&
3224 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3225 exit $exit_status
3227 for ac_signal in 1 2 13 15; do
3228 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3229 done
3230 ac_signal=0
3232 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3233 rm -f -r conftest* confdefs.h
3235 $as_echo "/* confdefs.h */" > confdefs.h
3237 # Predefined preprocessor variables.
3239 cat >>confdefs.h <<_ACEOF
3240 #define PACKAGE_NAME "$PACKAGE_NAME"
3241 _ACEOF
3243 cat >>confdefs.h <<_ACEOF
3244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3245 _ACEOF
3247 cat >>confdefs.h <<_ACEOF
3248 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3249 _ACEOF
3251 cat >>confdefs.h <<_ACEOF
3252 #define PACKAGE_STRING "$PACKAGE_STRING"
3253 _ACEOF
3255 cat >>confdefs.h <<_ACEOF
3256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3257 _ACEOF
3259 cat >>confdefs.h <<_ACEOF
3260 #define PACKAGE_URL "$PACKAGE_URL"
3261 _ACEOF
3264 # Let the site file select an alternate cache file if it wants to.
3265 # Prefer an explicitly selected file to automatically selected ones.
3266 ac_site_file1=NONE
3267 ac_site_file2=NONE
3268 if test -n "$CONFIG_SITE"; then
3269 # We do not want a PATH search for config.site.
3270 case $CONFIG_SITE in #((
3271 -*) ac_site_file1=./$CONFIG_SITE;;
3272 */*) ac_site_file1=$CONFIG_SITE;;
3273 *) ac_site_file1=./$CONFIG_SITE;;
3274 esac
3275 elif test "x$prefix" != xNONE; then
3276 ac_site_file1=$prefix/share/config.site
3277 ac_site_file2=$prefix/etc/config.site
3278 else
3279 ac_site_file1=$ac_default_prefix/share/config.site
3280 ac_site_file2=$ac_default_prefix/etc/config.site
3282 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3284 test "x$ac_site_file" = xNONE && continue
3285 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3287 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3288 sed 's/^/| /' "$ac_site_file" >&5
3289 . "$ac_site_file" \
3290 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3292 as_fn_error $? "failed to load site script $ac_site_file
3293 See \`config.log' for more details" "$LINENO" 5; }
3295 done
3297 if test -r "$cache_file"; then
3298 # Some versions of bash will fail to source /dev/null (special files
3299 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3300 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3302 $as_echo "$as_me: loading cache $cache_file" >&6;}
3303 case $cache_file in
3304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3305 *) . "./$cache_file";;
3306 esac
3308 else
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3310 $as_echo "$as_me: creating cache $cache_file" >&6;}
3311 >$cache_file
3314 # Check that the precious variables saved in the cache have kept the same
3315 # value.
3316 ac_cache_corrupted=false
3317 for ac_var in $ac_precious_vars; do
3318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3319 eval ac_new_set=\$ac_env_${ac_var}_set
3320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3321 eval ac_new_val=\$ac_env_${ac_var}_value
3322 case $ac_old_set,$ac_new_set in
3323 set,)
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3325 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3326 ac_cache_corrupted=: ;;
3327 ,set)
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3329 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3330 ac_cache_corrupted=: ;;
3331 ,);;
3333 if test "x$ac_old_val" != "x$ac_new_val"; then
3334 # differences in whitespace do not lead to failure.
3335 ac_old_val_w=`echo x $ac_old_val`
3336 ac_new_val_w=`echo x $ac_new_val`
3337 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3339 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3340 ac_cache_corrupted=:
3341 else
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3343 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3344 eval $ac_var=\$ac_old_val
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3347 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3349 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3350 fi;;
3351 esac
3352 # Pass precious variables to config.status.
3353 if test "$ac_new_set" = set; then
3354 case $ac_new_val in
3355 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3356 *) ac_arg=$ac_var=$ac_new_val ;;
3357 esac
3358 case " $ac_configure_args " in
3359 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3360 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3361 esac
3363 done
3364 if $ac_cache_corrupted; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3368 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3369 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3371 ## -------------------- ##
3372 ## Main body of script. ##
3373 ## -------------------- ##
3375 ac_ext=c
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3383 ac_config_headers="$ac_config_headers include/config.h"
3385 ac_aux_dir=
3386 for ac_dir in tools "$srcdir"/tools; do
3387 if test -f "$ac_dir/install-sh"; then
3388 ac_aux_dir=$ac_dir
3389 ac_install_sh="$ac_aux_dir/install-sh -c"
3390 break
3391 elif test -f "$ac_dir/install.sh"; then
3392 ac_aux_dir=$ac_dir
3393 ac_install_sh="$ac_aux_dir/install.sh -c"
3394 break
3395 elif test -f "$ac_dir/shtool"; then
3396 ac_aux_dir=$ac_dir
3397 ac_install_sh="$ac_aux_dir/shtool install -c"
3398 break
3400 done
3401 if test -z "$ac_aux_dir"; then
3402 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3405 # These three variables are undocumented and unsupported,
3406 # and are intended to be withdrawn in a future Autoconf release.
3407 # They can cause serious problems if a builder's source tree is in a directory
3408 # whose full name contains unusual characters.
3409 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3410 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3411 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3415 libwine_version="1.0"
3419 # Check whether --enable-win16 was given.
3420 if test "${enable_win16+set}" = set; then :
3421 enableval=$enable_win16;
3424 # Check whether --enable-win64 was given.
3425 if test "${enable_win64+set}" = set; then :
3426 enableval=$enable_win64;
3429 # Check whether --enable-tests was given.
3430 if test "${enable_tests+set}" = set; then :
3431 enableval=$enable_tests;
3434 # Check whether --enable-maintainer-mode was given.
3435 if test "${enable_maintainer_mode+set}" = set; then :
3436 enableval=$enable_maintainer_mode;
3441 # Check whether --with-alsa was given.
3442 if test "${with_alsa+set}" = set; then :
3443 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3447 # Check whether --with-capi was given.
3448 if test "${with_capi+set}" = set; then :
3449 withval=$with_capi;
3453 # Check whether --with-cms was given.
3454 if test "${with_cms+set}" = set; then :
3455 withval=$with_cms;
3459 # Check whether --with-coreaudio was given.
3460 if test "${with_coreaudio+set}" = set; then :
3461 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3465 # Check whether --with-cups was given.
3466 if test "${with_cups+set}" = set; then :
3467 withval=$with_cups;
3471 # Check whether --with-curses was given.
3472 if test "${with_curses+set}" = set; then :
3473 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3477 # Check whether --with-dbus was given.
3478 if test "${with_dbus+set}" = set; then :
3479 withval=$with_dbus;
3483 # Check whether --with-fontconfig was given.
3484 if test "${with_fontconfig+set}" = set; then :
3485 withval=$with_fontconfig;
3489 # Check whether --with-freetype was given.
3490 if test "${with_freetype+set}" = set; then :
3491 withval=$with_freetype;
3495 # Check whether --with-gettext was given.
3496 if test "${with_gettext+set}" = set; then :
3497 withval=$with_gettext;
3501 # Check whether --with-gettextpo was given.
3502 if test "${with_gettextpo+set}" = set; then :
3503 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3507 # Check whether --with-gphoto was given.
3508 if test "${with_gphoto+set}" = set; then :
3509 withval=$with_gphoto;
3513 # Check whether --with-glu was given.
3514 if test "${with_glu+set}" = set; then :
3515 withval=$with_glu;
3519 # Check whether --with-gnutls was given.
3520 if test "${with_gnutls+set}" = set; then :
3521 withval=$with_gnutls;
3525 # Check whether --with-gsm was given.
3526 if test "${with_gsm+set}" = set; then :
3527 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3531 # Check whether --with-gstreamer was given.
3532 if test "${with_gstreamer+set}" = set; then :
3533 withval=$with_gstreamer;
3537 # Check whether --with-hal was given.
3538 if test "${with_hal+set}" = set; then :
3539 withval=$with_hal;
3543 # Check whether --with-jpeg was given.
3544 if test "${with_jpeg+set}" = set; then :
3545 withval=$with_jpeg;
3549 # Check whether --with-ldap was given.
3550 if test "${with_ldap+set}" = set; then :
3551 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3555 # Check whether --with-mpg123 was given.
3556 if test "${with_mpg123+set}" = set; then :
3557 withval=$with_mpg123;
3561 # Check whether --with-netapi was given.
3562 if test "${with_netapi+set}" = set; then :
3563 withval=$with_netapi;
3567 # Check whether --with-openal was given.
3568 if test "${with_openal+set}" = set; then :
3569 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3573 # Check whether --with-opencl was given.
3574 if test "${with_opencl+set}" = set; then :
3575 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3579 # Check whether --with-opengl was given.
3580 if test "${with_opengl+set}" = set; then :
3581 withval=$with_opengl;
3585 # Check whether --with-osmesa was given.
3586 if test "${with_osmesa+set}" = set; then :
3587 withval=$with_osmesa;
3591 # Check whether --with-oss was given.
3592 if test "${with_oss+set}" = set; then :
3593 withval=$with_oss;
3597 # Check whether --with-pcap was given.
3598 if test "${with_pcap+set}" = set; then :
3599 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3603 # Check whether --with-png was given.
3604 if test "${with_png+set}" = set; then :
3605 withval=$with_png;
3609 # Check whether --with-pthread was given.
3610 if test "${with_pthread+set}" = set; then :
3611 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3615 # Check whether --with-pulse was given.
3616 if test "${with_pulse+set}" = set; then :
3617 withval=$with_pulse;
3621 # Check whether --with-sane was given.
3622 if test "${with_sane+set}" = set; then :
3623 withval=$with_sane;
3627 # Check whether --with-tiff was given.
3628 if test "${with_tiff+set}" = set; then :
3629 withval=$with_tiff;
3633 # Check whether --with-udev was given.
3634 if test "${with_udev+set}" = set; then :
3635 withval=$with_udev;
3639 # Check whether --with-v4l was given.
3640 if test "${with_v4l+set}" = set; then :
3641 withval=$with_v4l;
3645 # Check whether --with-xcomposite was given.
3646 if test "${with_xcomposite+set}" = set; then :
3647 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3651 # Check whether --with-xcursor was given.
3652 if test "${with_xcursor+set}" = set; then :
3653 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3657 # Check whether --with-xinerama was given.
3658 if test "${with_xinerama+set}" = set; then :
3659 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3663 # Check whether --with-xinput was given.
3664 if test "${with_xinput+set}" = set; then :
3665 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3669 # Check whether --with-xinput2 was given.
3670 if test "${with_xinput2+set}" = set; then :
3671 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3675 # Check whether --with-xml was given.
3676 if test "${with_xml+set}" = set; then :
3677 withval=$with_xml;
3681 # Check whether --with-xrandr was given.
3682 if test "${with_xrandr+set}" = set; then :
3683 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3687 # Check whether --with-xrender was given.
3688 if test "${with_xrender+set}" = set; then :
3689 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3693 # Check whether --with-xshape was given.
3694 if test "${with_xshape+set}" = set; then :
3695 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3699 # Check whether --with-xshm was given.
3700 if test "${with_xshm+set}" = set; then :
3701 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3705 # Check whether --with-xslt was given.
3706 if test "${with_xslt+set}" = set; then :
3707 withval=$with_xslt;
3711 # Check whether --with-xxf86vm was given.
3712 if test "${with_xxf86vm+set}" = set; then :
3713 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
3717 # Check whether --with-zlib was given.
3718 if test "${with_zlib+set}" = set; then :
3719 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3724 # Check whether --with-wine-tools was given.
3725 if test "${with_wine_tools+set}" = set; then :
3726 withval=$with_wine_tools;
3730 # Check whether --with-wine64 was given.
3731 if test "${with_wine64+set}" = set; then :
3732 withval=$with_wine64;
3736 # Make sure we can run config.sub.
3737 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3738 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3741 $as_echo_n "checking build system type... " >&6; }
3742 if ${ac_cv_build+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 ac_build_alias=$build_alias
3746 test "x$ac_build_alias" = x &&
3747 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3748 test "x$ac_build_alias" = x &&
3749 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3750 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3751 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3755 $as_echo "$ac_cv_build" >&6; }
3756 case $ac_cv_build in
3757 *-*-*) ;;
3758 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3759 esac
3760 build=$ac_cv_build
3761 ac_save_IFS=$IFS; IFS='-'
3762 set x $ac_cv_build
3763 shift
3764 build_cpu=$1
3765 build_vendor=$2
3766 shift; shift
3767 # Remember, the first character of IFS is used to create $*,
3768 # except with old shells:
3769 build_os=$*
3770 IFS=$ac_save_IFS
3771 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3775 $as_echo_n "checking host system type... " >&6; }
3776 if ${ac_cv_host+:} false; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test "x$host_alias" = x; then
3780 ac_cv_host=$ac_cv_build
3781 else
3782 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3783 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3788 $as_echo "$ac_cv_host" >&6; }
3789 case $ac_cv_host in
3790 *-*-*) ;;
3791 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3792 esac
3793 host=$ac_cv_host
3794 ac_save_IFS=$IFS; IFS='-'
3795 set x $ac_cv_host
3796 shift
3797 host_cpu=$1
3798 host_vendor=$2
3799 shift; shift
3800 # Remember, the first character of IFS is used to create $*,
3801 # except with old shells:
3802 host_os=$*
3803 IFS=$ac_save_IFS
3804 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3808 case "$srcdir" in
3809 .) ;;
3810 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3811 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3812 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3813 fi ;;
3814 esac
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3819 set x ${MAKE-make}
3820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3822 $as_echo_n "(cached) " >&6
3823 else
3824 cat >conftest.make <<\_ACEOF
3825 SHELL = /bin/sh
3826 all:
3827 @echo '@@@%%%=$(MAKE)=@@@%%%'
3828 _ACEOF
3829 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3831 *@@@%%%=?*=@@@%%%*)
3832 eval ac_cv_prog_make_${ac_make}_set=yes;;
3834 eval ac_cv_prog_make_${ac_make}_set=no;;
3835 esac
3836 rm -f conftest.make
3838 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3840 $as_echo "yes" >&6; }
3841 SET_MAKE=
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3845 SET_MAKE="MAKE=${MAKE-make}"
3848 ac_ext=c
3849 ac_cpp='$CPP $CPPFLAGS'
3850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3853 if test -n "$ac_tool_prefix"; then
3854 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3855 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3857 $as_echo_n "checking for $ac_word... " >&6; }
3858 if ${ac_cv_prog_CC+:} false; then :
3859 $as_echo_n "(cached) " >&6
3860 else
3861 if test -n "$CC"; then
3862 ac_cv_prog_CC="$CC" # Let the user override the test.
3863 else
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 for as_dir in $PATH
3867 IFS=$as_save_IFS
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 break 2
3875 done
3876 done
3877 IFS=$as_save_IFS
3881 CC=$ac_cv_prog_CC
3882 if test -n "$CC"; then
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3884 $as_echo "$CC" >&6; }
3885 else
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3887 $as_echo "no" >&6; }
3892 if test -z "$ac_cv_prog_CC"; then
3893 ac_ct_CC=$CC
3894 # Extract the first word of "gcc", so it can be a program name with args.
3895 set dummy gcc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$ac_ct_CC"; then
3902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_ac_ct_CC="gcc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3915 done
3916 done
3917 IFS=$as_save_IFS
3921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3922 if test -n "$ac_ct_CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3924 $as_echo "$ac_ct_CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3930 if test "x$ac_ct_CC" = x; then
3931 CC=""
3932 else
3933 case $cross_compiling:$ac_tool_warned in
3934 yes:)
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3937 ac_tool_warned=yes ;;
3938 esac
3939 CC=$ac_ct_CC
3941 else
3942 CC="$ac_cv_prog_CC"
3945 if test -z "$CC"; then
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}cc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}cc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3986 if test -z "$CC"; then
3987 # Extract the first word of "cc", so it can be a program name with args.
3988 set dummy cc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC="$CC" # Let the user override the test.
3996 else
3997 ac_prog_rejected=no
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4001 IFS=$as_save_IFS
4002 test -z "$as_dir" && as_dir=.
4003 for ac_exec_ext in '' $ac_executable_extensions; do
4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4005 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4006 ac_prog_rejected=yes
4007 continue
4009 ac_cv_prog_CC="cc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 break 2
4013 done
4014 done
4015 IFS=$as_save_IFS
4017 if test $ac_prog_rejected = yes; then
4018 # We found a bogon in the path, so make sure we never use it.
4019 set dummy $ac_cv_prog_CC
4020 shift
4021 if test $# != 0; then
4022 # We chose a different compiler from the bogus one.
4023 # However, it has the same basename, so the bogon will be chosen
4024 # first if we set CC to just the basename; use the full file name.
4025 shift
4026 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4031 CC=$ac_cv_prog_CC
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4034 $as_echo "$CC" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4042 if test -z "$CC"; then
4043 if test -n "$ac_tool_prefix"; then
4044 for ac_prog in cl.exe
4046 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4047 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_prog_CC+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 if test -n "$CC"; then
4054 ac_cv_prog_CC="$CC" # Let the user override the test.
4055 else
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 for as_dir in $PATH
4059 IFS=$as_save_IFS
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 break 2
4067 done
4068 done
4069 IFS=$as_save_IFS
4073 CC=$ac_cv_prog_CC
4074 if test -n "$CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4083 test -n "$CC" && break
4084 done
4086 if test -z "$CC"; then
4087 ac_ct_CC=$CC
4088 for ac_prog in cl.exe
4090 # Extract the first word of "$ac_prog", so it can be a program name with args.
4091 set dummy $ac_prog; ac_word=$2
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4093 $as_echo_n "checking for $ac_word... " >&6; }
4094 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 if test -n "$ac_ct_CC"; then
4098 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4099 else
4100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101 for as_dir in $PATH
4103 IFS=$as_save_IFS
4104 test -z "$as_dir" && as_dir=.
4105 for ac_exec_ext in '' $ac_executable_extensions; do
4106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4107 ac_cv_prog_ac_ct_CC="$ac_prog"
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 break 2
4111 done
4112 done
4113 IFS=$as_save_IFS
4117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4118 if test -n "$ac_ct_CC"; then
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4120 $as_echo "$ac_ct_CC" >&6; }
4121 else
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4123 $as_echo "no" >&6; }
4127 test -n "$ac_ct_CC" && break
4128 done
4130 if test "x$ac_ct_CC" = x; then
4131 CC=""
4132 else
4133 case $cross_compiling:$ac_tool_warned in
4134 yes:)
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4137 ac_tool_warned=yes ;;
4138 esac
4139 CC=$ac_ct_CC
4146 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error $? "no acceptable C compiler found in \$PATH
4149 See \`config.log' for more details" "$LINENO" 5; }
4151 # Provide some information about the compiler.
4152 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4153 set X $ac_compile
4154 ac_compiler=$2
4155 for ac_option in --version -v -V -qversion; do
4156 { { ac_try="$ac_compiler $ac_option >&5"
4157 case "(($ac_try" in
4158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4159 *) ac_try_echo=$ac_try;;
4160 esac
4161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4162 $as_echo "$ac_try_echo"; } >&5
4163 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4164 ac_status=$?
4165 if test -s conftest.err; then
4166 sed '10a\
4167 ... rest of stderr output deleted ...
4168 10q' conftest.err >conftest.er1
4169 cat conftest.er1 >&5
4171 rm -f conftest.er1 conftest.err
4172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173 test $ac_status = 0; }
4174 done
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4180 main ()
4184 return 0;
4186 _ACEOF
4187 ac_clean_files_save=$ac_clean_files
4188 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4189 # Try to create an executable without -o first, disregard a.out.
4190 # It will help us diagnose broken compilers, and finding out an intuition
4191 # of exeext.
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4193 $as_echo_n "checking whether the C compiler works... " >&6; }
4194 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4196 # The possible output files:
4197 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4199 ac_rmfiles=
4200 for ac_file in $ac_files
4202 case $ac_file in
4203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4204 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4205 esac
4206 done
4207 rm -f $ac_rmfiles
4209 if { { ac_try="$ac_link_default"
4210 case "(($ac_try" in
4211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212 *) ac_try_echo=$ac_try;;
4213 esac
4214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215 $as_echo "$ac_try_echo"; } >&5
4216 (eval "$ac_link_default") 2>&5
4217 ac_status=$?
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }; then :
4220 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4221 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4222 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4223 # so that the user can short-circuit this test for compilers unknown to
4224 # Autoconf.
4225 for ac_file in $ac_files ''
4227 test -f "$ac_file" || continue
4228 case $ac_file in
4229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4231 [ab].out )
4232 # We found the default executable, but exeext='' is most
4233 # certainly right.
4234 break;;
4235 *.* )
4236 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4237 then :; else
4238 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4240 # We set ac_cv_exeext here because the later test for it is not
4241 # safe: cross compilers may not add the suffix if given an `-o'
4242 # argument, so we may need to know it at that point already.
4243 # Even if this section looks crufty: it has the advantage of
4244 # actually working.
4245 break;;
4247 break;;
4248 esac
4249 done
4250 test "$ac_cv_exeext" = no && ac_cv_exeext=
4252 else
4253 ac_file=''
4255 if test -z "$ac_file"; then :
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4258 $as_echo "$as_me: failed program was:" >&5
4259 sed 's/^/| /' conftest.$ac_ext >&5
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error 77 "C compiler cannot create executables
4264 See \`config.log' for more details" "$LINENO" 5; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4267 $as_echo "yes" >&6; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4270 $as_echo_n "checking for C compiler default output file name... " >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4272 $as_echo "$ac_file" >&6; }
4273 ac_exeext=$ac_cv_exeext
4275 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4276 ac_clean_files=$ac_clean_files_save
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4278 $as_echo_n "checking for suffix of executables... " >&6; }
4279 if { { ac_try="$ac_link"
4280 case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4283 esac
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_link") 2>&5
4287 ac_status=$?
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; }; then :
4290 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4291 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4292 # work properly (i.e., refer to `conftest.exe'), while it won't with
4293 # `rm'.
4294 for ac_file in conftest.exe conftest conftest.*; do
4295 test -f "$ac_file" || continue
4296 case $ac_file in
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4298 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4299 break;;
4300 * ) break;;
4301 esac
4302 done
4303 else
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest conftest$ac_cv_exeext
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4311 $as_echo "$ac_cv_exeext" >&6; }
4313 rm -f conftest.$ac_ext
4314 EXEEXT=$ac_cv_exeext
4315 ac_exeext=$EXEEXT
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4318 #include <stdio.h>
4320 main ()
4322 FILE *f = fopen ("conftest.out", "w");
4323 return ferror (f) || fclose (f) != 0;
4326 return 0;
4328 _ACEOF
4329 ac_clean_files="$ac_clean_files conftest.out"
4330 # Check that the compiler produces executables we can run. If not, either
4331 # the compiler is broken, or we cross compile.
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4333 $as_echo_n "checking whether we are cross compiling... " >&6; }
4334 if test "$cross_compiling" != yes; then
4335 { { ac_try="$ac_link"
4336 case "(($ac_try" in
4337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4338 *) ac_try_echo=$ac_try;;
4339 esac
4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4341 $as_echo "$ac_try_echo"; } >&5
4342 (eval "$ac_link") 2>&5
4343 ac_status=$?
4344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4345 test $ac_status = 0; }
4346 if { ac_try='./conftest$ac_cv_exeext'
4347 { { case "(($ac_try" in
4348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4349 *) ac_try_echo=$ac_try;;
4350 esac
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4352 $as_echo "$ac_try_echo"; } >&5
4353 (eval "$ac_try") 2>&5
4354 ac_status=$?
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4356 test $ac_status = 0; }; }; then
4357 cross_compiling=no
4358 else
4359 if test "$cross_compiling" = maybe; then
4360 cross_compiling=yes
4361 else
4362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4364 as_fn_error $? "cannot run C compiled programs.
4365 If you meant to cross compile, use \`--host'.
4366 See \`config.log' for more details" "$LINENO" 5; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4371 $as_echo "$cross_compiling" >&6; }
4373 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4374 ac_clean_files=$ac_clean_files_save
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4376 $as_echo_n "checking for suffix of object files... " >&6; }
4377 if ${ac_cv_objext+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4384 main ()
4388 return 0;
4390 _ACEOF
4391 rm -f conftest.o conftest.obj
4392 if { { ac_try="$ac_compile"
4393 case "(($ac_try" in
4394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395 *) ac_try_echo=$ac_try;;
4396 esac
4397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4398 $as_echo "$ac_try_echo"; } >&5
4399 (eval "$ac_compile") 2>&5
4400 ac_status=$?
4401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4402 test $ac_status = 0; }; then :
4403 for ac_file in conftest.o conftest.obj conftest.*; do
4404 test -f "$ac_file" || continue;
4405 case $ac_file in
4406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4407 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4408 break;;
4409 esac
4410 done
4411 else
4412 $as_echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.$ac_ext >&5
4415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4417 as_fn_error $? "cannot compute suffix of object files: cannot compile
4418 See \`config.log' for more details" "$LINENO" 5; }
4420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4423 $as_echo "$ac_cv_objext" >&6; }
4424 OBJEXT=$ac_cv_objext
4425 ac_objext=$OBJEXT
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4427 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4428 if ${ac_cv_c_compiler_gnu+:} false; then :
4429 $as_echo_n "(cached) " >&6
4430 else
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 /* end confdefs.h. */
4435 main ()
4437 #ifndef __GNUC__
4438 choke me
4439 #endif
4442 return 0;
4444 _ACEOF
4445 if ac_fn_c_try_compile "$LINENO"; then :
4446 ac_compiler_gnu=yes
4447 else
4448 ac_compiler_gnu=no
4450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4451 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4455 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4456 if test $ac_compiler_gnu = yes; then
4457 GCC=yes
4458 else
4459 GCC=
4461 ac_test_CFLAGS=${CFLAGS+set}
4462 ac_save_CFLAGS=$CFLAGS
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4464 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4465 if ${ac_cv_prog_cc_g+:} false; then :
4466 $as_echo_n "(cached) " >&6
4467 else
4468 ac_save_c_werror_flag=$ac_c_werror_flag
4469 ac_c_werror_flag=yes
4470 ac_cv_prog_cc_g=no
4471 CFLAGS="-g"
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4476 main ()
4480 return 0;
4482 _ACEOF
4483 if ac_fn_c_try_compile "$LINENO"; then :
4484 ac_cv_prog_cc_g=yes
4485 else
4486 CFLAGS=""
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4491 main ()
4495 return 0;
4497 _ACEOF
4498 if ac_fn_c_try_compile "$LINENO"; then :
4500 else
4501 ac_c_werror_flag=$ac_save_c_werror_flag
4502 CFLAGS="-g"
4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h. */
4507 main ()
4511 return 0;
4513 _ACEOF
4514 if ac_fn_c_try_compile "$LINENO"; then :
4515 ac_cv_prog_cc_g=yes
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 ac_c_werror_flag=$ac_save_c_werror_flag
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4525 $as_echo "$ac_cv_prog_cc_g" >&6; }
4526 if test "$ac_test_CFLAGS" = set; then
4527 CFLAGS=$ac_save_CFLAGS
4528 elif test $ac_cv_prog_cc_g = yes; then
4529 if test "$GCC" = yes; then
4530 CFLAGS="-g -O2"
4531 else
4532 CFLAGS="-g"
4534 else
4535 if test "$GCC" = yes; then
4536 CFLAGS="-O2"
4537 else
4538 CFLAGS=
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4542 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4543 if ${ac_cv_prog_cc_c89+:} false; then :
4544 $as_echo_n "(cached) " >&6
4545 else
4546 ac_cv_prog_cc_c89=no
4547 ac_save_CC=$CC
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <stdarg.h>
4551 #include <stdio.h>
4552 struct stat;
4553 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4554 struct buf { int x; };
4555 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4556 static char *e (p, i)
4557 char **p;
4558 int i;
4560 return p[i];
4562 static char *f (char * (*g) (char **, int), char **p, ...)
4564 char *s;
4565 va_list v;
4566 va_start (v,p);
4567 s = g (p, va_arg (v,int));
4568 va_end (v);
4569 return s;
4572 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4573 function prototypes and stuff, but not '\xHH' hex character constants.
4574 These don't provoke an error unfortunately, instead are silently treated
4575 as 'x'. The following induces an error, until -std is added to get
4576 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4577 array size at least. It's necessary to write '\x00'==0 to get something
4578 that's true only with -std. */
4579 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4581 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4582 inside strings and character constants. */
4583 #define FOO(x) 'x'
4584 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4586 int test (int i, double x);
4587 struct s1 {int (*f) (int a);};
4588 struct s2 {int (*f) (double a);};
4589 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4590 int argc;
4591 char **argv;
4593 main ()
4595 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4597 return 0;
4599 _ACEOF
4600 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4601 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4603 CC="$ac_save_CC $ac_arg"
4604 if ac_fn_c_try_compile "$LINENO"; then :
4605 ac_cv_prog_cc_c89=$ac_arg
4607 rm -f core conftest.err conftest.$ac_objext
4608 test "x$ac_cv_prog_cc_c89" != "xno" && break
4609 done
4610 rm -f conftest.$ac_ext
4611 CC=$ac_save_CC
4614 # AC_CACHE_VAL
4615 case "x$ac_cv_prog_cc_c89" in
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4618 $as_echo "none needed" >&6; } ;;
4619 xno)
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4621 $as_echo "unsupported" >&6; } ;;
4623 CC="$CC $ac_cv_prog_cc_c89"
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4625 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4626 esac
4627 if test "x$ac_cv_prog_cc_c89" != xno; then :
4631 ac_ext=c
4632 ac_cpp='$CPP $CPPFLAGS'
4633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 ac_ext=cpp
4638 ac_cpp='$CXXCPP $CPPFLAGS'
4639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4642 if test -z "$CXX"; then
4643 if test -n "$CCC"; then
4644 CXX=$CCC
4645 else
4646 if test -n "$ac_tool_prefix"; then
4647 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4650 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_CXX+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$CXX"; then
4657 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 CXX=$ac_cv_prog_CXX
4677 if test -n "$CXX"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4679 $as_echo "$CXX" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$CXX" && break
4687 done
4689 if test -z "$CXX"; then
4690 ac_ct_CXX=$CXX
4691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4693 # Extract the first word of "$ac_prog", so it can be a program name with args.
4694 set dummy $ac_prog; ac_word=$2
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 if test -n "$ac_ct_CXX"; then
4701 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4702 else
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 for as_dir in $PATH
4706 IFS=$as_save_IFS
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_prog_ac_ct_CXX="$ac_prog"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 break 2
4714 done
4715 done
4716 IFS=$as_save_IFS
4720 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4721 if test -n "$ac_ct_CXX"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4723 $as_echo "$ac_ct_CXX" >&6; }
4724 else
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4726 $as_echo "no" >&6; }
4730 test -n "$ac_ct_CXX" && break
4731 done
4733 if test "x$ac_ct_CXX" = x; then
4734 CXX="g++"
4735 else
4736 case $cross_compiling:$ac_tool_warned in
4737 yes:)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4741 esac
4742 CXX=$ac_ct_CXX
4748 # Provide some information about the compiler.
4749 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4750 set X $ac_compile
4751 ac_compiler=$2
4752 for ac_option in --version -v -V -qversion; do
4753 { { ac_try="$ac_compiler $ac_option >&5"
4754 case "(($ac_try" in
4755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4756 *) ac_try_echo=$ac_try;;
4757 esac
4758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4759 $as_echo "$ac_try_echo"; } >&5
4760 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761 ac_status=$?
4762 if test -s conftest.err; then
4763 sed '10a\
4764 ... rest of stderr output deleted ...
4765 10q' conftest.err >conftest.er1
4766 cat conftest.er1 >&5
4768 rm -f conftest.er1 conftest.err
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }
4771 done
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4774 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4775 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779 /* end confdefs.h. */
4782 main ()
4784 #ifndef __GNUC__
4785 choke me
4786 #endif
4789 return 0;
4791 _ACEOF
4792 if ac_fn_cxx_try_compile "$LINENO"; then :
4793 ac_compiler_gnu=yes
4794 else
4795 ac_compiler_gnu=no
4797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4798 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4802 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4803 if test $ac_compiler_gnu = yes; then
4804 GXX=yes
4805 else
4806 GXX=
4808 ac_test_CXXFLAGS=${CXXFLAGS+set}
4809 ac_save_CXXFLAGS=$CXXFLAGS
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4811 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4812 if ${ac_cv_prog_cxx_g+:} false; then :
4813 $as_echo_n "(cached) " >&6
4814 else
4815 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4816 ac_cxx_werror_flag=yes
4817 ac_cv_prog_cxx_g=no
4818 CXXFLAGS="-g"
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4823 main ()
4827 return 0;
4829 _ACEOF
4830 if ac_fn_cxx_try_compile "$LINENO"; then :
4831 ac_cv_prog_cxx_g=yes
4832 else
4833 CXXFLAGS=""
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4838 main ()
4842 return 0;
4844 _ACEOF
4845 if ac_fn_cxx_try_compile "$LINENO"; then :
4847 else
4848 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4849 CXXFLAGS="-g"
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 /* end confdefs.h. */
4854 main ()
4858 return 0;
4860 _ACEOF
4861 if ac_fn_cxx_try_compile "$LINENO"; then :
4862 ac_cv_prog_cxx_g=yes
4864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4872 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4873 if test "$ac_test_CXXFLAGS" = set; then
4874 CXXFLAGS=$ac_save_CXXFLAGS
4875 elif test $ac_cv_prog_cxx_g = yes; then
4876 if test "$GXX" = yes; then
4877 CXXFLAGS="-g -O2"
4878 else
4879 CXXFLAGS="-g"
4881 else
4882 if test "$GXX" = yes; then
4883 CXXFLAGS="-O2"
4884 else
4885 CXXFLAGS=
4888 ac_ext=c
4889 ac_cpp='$CPP $CPPFLAGS'
4890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4896 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_CPPBIN+:} false; then :
4900 $as_echo_n "(cached) " >&6
4901 else
4902 if test -n "$CPPBIN"; then
4903 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4904 else
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4906 for as_dir in $PATH
4908 IFS=$as_save_IFS
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 CPPBIN=$ac_cv_prog_CPPBIN
4923 if test -n "$CPPBIN"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4925 $as_echo "$CPPBIN" >&6; }
4926 else
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$ac_cv_prog_CPPBIN"; then
4934 ac_ct_CPPBIN=$CPPBIN
4935 # Extract the first word of "cpp", so it can be a program name with args.
4936 set dummy cpp; ac_word=$2
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4938 $as_echo_n "checking for $ac_word... " >&6; }
4939 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 if test -n "$ac_ct_CPPBIN"; then
4943 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4944 else
4945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4946 for as_dir in $PATH
4948 IFS=$as_save_IFS
4949 test -z "$as_dir" && as_dir=.
4950 for ac_exec_ext in '' $ac_executable_extensions; do
4951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4952 ac_cv_prog_ac_ct_CPPBIN="cpp"
4953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 break 2
4956 done
4957 done
4958 IFS=$as_save_IFS
4962 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4963 if test -n "$ac_ct_CPPBIN"; then
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4965 $as_echo "$ac_ct_CPPBIN" >&6; }
4966 else
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4968 $as_echo "no" >&6; }
4971 if test "x$ac_ct_CPPBIN" = x; then
4972 CPPBIN="cpp"
4973 else
4974 case $cross_compiling:$ac_tool_warned in
4975 yes:)
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned=yes ;;
4979 esac
4980 CPPBIN=$ac_ct_CPPBIN
4982 else
4983 CPPBIN="$ac_cv_prog_CPPBIN"
4987 cat >>confdefs.h <<_ACEOF
4988 #define EXEEXT "$ac_exeext"
4989 _ACEOF
4991 if test -n "$ac_tool_prefix"; then
4992 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4993 set dummy ${ac_tool_prefix}ld; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_LD+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 if test -n "$LD"; then
5000 ac_cv_prog_LD="$LD" # Let the user override the test.
5001 else
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5003 for as_dir in $PATH
5005 IFS=$as_save_IFS
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_LD="${ac_tool_prefix}ld"
5010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 LD=$ac_cv_prog_LD
5020 if test -n "$LD"; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5022 $as_echo "$LD" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5030 if test -z "$ac_cv_prog_LD"; then
5031 ac_ct_LD=$LD
5032 # Extract the first word of "ld", so it can be a program name with args.
5033 set dummy ld; ac_word=$2
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 $as_echo_n "checking for $ac_word... " >&6; }
5036 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 if test -n "$ac_ct_LD"; then
5040 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5041 else
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 for as_dir in $PATH
5045 IFS=$as_save_IFS
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_ac_ct_LD="ld"
5050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 break 2
5053 done
5054 done
5055 IFS=$as_save_IFS
5059 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5060 if test -n "$ac_ct_LD"; then
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5062 $as_echo "$ac_ct_LD" >&6; }
5063 else
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065 $as_echo "no" >&6; }
5068 if test "x$ac_ct_LD" = x; then
5069 LD=""
5070 else
5071 case $cross_compiling:$ac_tool_warned in
5072 yes:)
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5075 ac_tool_warned=yes ;;
5076 esac
5077 LD=$ac_ct_LD
5079 else
5080 LD="$ac_cv_prog_LD"
5084 case $host in
5085 *-darwin*)
5086 with_fontconfig=${with_fontconfig:-no}
5088 *-mingw32*|*-cygwin*)
5089 enable_win16=${enable_win16:-no}
5090 CFLAGS="$CFLAGS -D_WIN32"
5092 esac
5094 case $host in
5095 x86_64*|amd64*)
5096 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5097 then
5098 CC="$CC -m32"
5099 CXX="$CXX -m32"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5101 $as_echo_n "checking whether $CC works... " >&6; }
5103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104 /* end confdefs.h. */
5107 main ()
5111 return 0;
5113 _ACEOF
5114 if ac_fn_c_try_link "$LINENO"; then :
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5116 $as_echo "yes" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5122 rm -f core conftest.err conftest.$ac_objext \
5123 conftest$ac_exeext conftest.$ac_ext
5124 host_cpu="i386"
5125 notice_platform="32-bit "
5126 TARGETFLAGS="-m32"
5128 enable_win16=${enable_win16:-yes}
5129 else
5130 if test "x${GCC}" = "xyes"
5131 then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5133 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5136 #include <stdarg.h>
5138 main ()
5140 void func(__builtin_ms_va_list *args);
5142 return 0;
5144 _ACEOF
5145 if ac_fn_c_try_compile "$LINENO"; then :
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5147 $as_echo "yes" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5151 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155 CC="$CC -m64"
5156 CXX="$CXX -m64"
5157 host_cpu="x86_64"
5158 notice_platform="64-bit "
5159 TARGETFLAGS="-m64"
5163 arm*)
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5165 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5168 int ac_test(int i) { return i; }
5170 main ()
5172 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5174 return 0;
5176 _ACEOF
5177 if ac_fn_c_try_link "$LINENO"; then :
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5179 $as_echo "yes" >&6; }
5180 else
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5182 $as_echo "no" >&6; }
5183 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5185 rm -f core conftest.err conftest.$ac_objext \
5186 conftest$ac_exeext conftest.$ac_ext
5187 CFLAGS="$CFLAGS -marm"
5188 TARGETFLAGS="-marm"
5191 i[3456789]86*)
5192 enable_win16=${enable_win16:-yes}
5194 esac
5196 enable_win16=${enable_win16:-no}
5197 enable_win64=${enable_win64:-no}
5199 enable_winetest=${enable_winetest:-$enable_tests}
5201 if test -n "$with_wine64"
5202 then
5203 if test "x$enable_win64" = "xyes"
5204 then
5205 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5206 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5208 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5209 You should create a separate build directory and run configure from there." "$LINENO" 5
5210 enable_fonts=${enable_fonts:-no}
5211 enable_server=${enable_server:-no}
5212 elif test "x$enable_win64" = "xyes"
5213 then
5214 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5218 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5219 if ${wine_cv_toolsdir+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 wine_cv_toolsdir="$with_wine_tools"
5223 if test -z "$with_wine_tools"; then
5224 if test "$cross_compiling" = "yes"; then
5225 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5226 elif test -n "$with_wine64"; then
5227 wine_cv_toolsdir="$with_wine64"
5230 if test -z "$wine_cv_toolsdir"; then
5231 wine_makedep=tools/makedep
5232 wine_cv_toolsdir="\$(top_builddir)"
5233 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5234 wine_makedep=$wine_cv_toolsdir/tools/makedep
5235 case "$wine_cv_toolsdir" in
5236 /*) ;;
5237 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5238 esac
5239 enable_tools=${enable_tools:-no}
5240 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5241 else
5242 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5246 $as_echo "$wine_cv_toolsdir" >&6; }
5247 TOOLSDIR=$wine_cv_toolsdir
5249 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5250 then
5251 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5255 for ac_prog in flex
5257 # Extract the first word of "$ac_prog", so it can be a program name with args.
5258 set dummy $ac_prog; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_prog_FLEX+:} false; then :
5262 $as_echo_n "(cached) " >&6
5263 else
5264 if test -n "$FLEX"; then
5265 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5266 else
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 for as_dir in $PATH
5270 IFS=$as_save_IFS
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5274 ac_cv_prog_FLEX="$ac_prog"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 break 2
5278 done
5279 done
5280 IFS=$as_save_IFS
5284 FLEX=$ac_cv_prog_FLEX
5285 if test -n "$FLEX"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5287 $as_echo "$FLEX" >&6; }
5288 else
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5294 test -n "$FLEX" && break
5295 done
5296 test -n "$FLEX" || FLEX="none"
5298 if test "$FLEX" = "none"
5299 then
5300 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5303 $as_echo_n "checking whether flex is recent enough... " >&6; }
5304 cat >conftest.l <<EOF
5305 %top{
5306 #include "prediluvian.h"
5310 if $FLEX -t conftest.l >/dev/null 2>&5
5311 then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5313 $as_echo "yes" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5317 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5320 for ac_prog in bison
5322 # Extract the first word of "$ac_prog", so it can be a program name with args.
5323 set dummy $ac_prog; ac_word=$2
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325 $as_echo_n "checking for $ac_word... " >&6; }
5326 if ${ac_cv_prog_BISON+:} false; then :
5327 $as_echo_n "(cached) " >&6
5328 else
5329 if test -n "$BISON"; then
5330 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5331 else
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_BISON="$ac_prog"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5349 BISON=$ac_cv_prog_BISON
5350 if test -n "$BISON"; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5352 $as_echo "$BISON" >&6; }
5353 else
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5355 $as_echo "no" >&6; }
5359 test -n "$BISON" && break
5360 done
5361 test -n "$BISON" || BISON="none"
5363 if test "$BISON" = "none"
5364 then
5365 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5368 if test -n "$ac_tool_prefix"; then
5369 for ac_prog in ar gar
5371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5372 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_AR+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$AR"; then
5379 ac_cv_prog_AR="$AR" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 AR=$ac_cv_prog_AR
5399 if test -n "$AR"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5401 $as_echo "$AR" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5408 test -n "$AR" && break
5409 done
5411 if test -z "$AR"; then
5412 ac_ct_AR=$AR
5413 for ac_prog in ar gar
5415 # Extract the first word of "$ac_prog", so it can be a program name with args.
5416 set dummy $ac_prog; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$ac_ct_AR"; then
5423 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_ac_ct_AR="$ac_prog"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5443 if test -n "$ac_ct_AR"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5445 $as_echo "$ac_ct_AR" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 test -n "$ac_ct_AR" && break
5453 done
5455 if test "x$ac_ct_AR" = x; then
5456 AR="ar"
5457 else
5458 case $cross_compiling:$ac_tool_warned in
5459 yes:)
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5461 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5462 ac_tool_warned=yes ;;
5463 esac
5464 AR=$ac_ct_AR
5468 if test -n "$ac_tool_prefix"; then
5469 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5470 set dummy ${ac_tool_prefix}strip; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_STRIP+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$STRIP"; then
5477 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 STRIP=$ac_cv_prog_STRIP
5497 if test -n "$STRIP"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5499 $as_echo "$STRIP" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5507 if test -z "$ac_cv_prog_STRIP"; then
5508 ac_ct_STRIP=$STRIP
5509 # Extract the first word of "strip", so it can be a program name with args.
5510 set dummy strip; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5514 $as_echo_n "(cached) " >&6
5515 else
5516 if test -n "$ac_ct_STRIP"; then
5517 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526 ac_cv_prog_ac_ct_STRIP="strip"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5537 if test -n "$ac_ct_STRIP"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5539 $as_echo "$ac_ct_STRIP" >&6; }
5540 else
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5545 if test "x$ac_ct_STRIP" = x; then
5546 STRIP="strip"
5547 else
5548 case $cross_compiling:$ac_tool_warned in
5549 yes:)
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5552 ac_tool_warned=yes ;;
5553 esac
5554 STRIP=$ac_ct_STRIP
5556 else
5557 STRIP="$ac_cv_prog_STRIP"
5560 ARFLAGS=rc
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5564 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_RANLIB+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$RANLIB"; then
5571 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 RANLIB=$ac_cv_prog_RANLIB
5591 if test -n "$RANLIB"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5593 $as_echo "$RANLIB" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_RANLIB"; then
5602 ac_ct_RANLIB=$RANLIB
5603 # Extract the first word of "ranlib", so it can be a program name with args.
5604 set dummy ranlib; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$ac_ct_RANLIB"; then
5611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_RANLIB="ranlib"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5631 if test -n "$ac_ct_RANLIB"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5633 $as_echo "$ac_ct_RANLIB" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_RANLIB" = x; then
5640 RANLIB=":"
5641 else
5642 case $cross_compiling:$ac_tool_warned in
5643 yes:)
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned=yes ;;
5647 esac
5648 RANLIB=$ac_ct_RANLIB
5650 else
5651 RANLIB="$ac_cv_prog_RANLIB"
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5655 $as_echo_n "checking whether ln -s works... " >&6; }
5656 LN_S=$as_ln_s
5657 if test "$LN_S" = "ln -s"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5659 $as_echo "yes" >&6; }
5660 else
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5662 $as_echo "no, using $LN_S" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5666 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5667 if ${ac_cv_path_GREP+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 if test -z "$GREP"; then
5671 ac_path_GREP_found=false
5672 # Loop through the user's path and test for each of PROGNAME-LIST
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5676 IFS=$as_save_IFS
5677 test -z "$as_dir" && as_dir=.
5678 for ac_prog in grep ggrep; do
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5681 as_fn_executable_p "$ac_path_GREP" || continue
5682 # Check for GNU ac_path_GREP and select it if it is found.
5683 # Check for GNU $ac_path_GREP
5684 case `"$ac_path_GREP" --version 2>&1` in
5685 *GNU*)
5686 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5688 ac_count=0
5689 $as_echo_n 0123456789 >"conftest.in"
5690 while :
5692 cat "conftest.in" "conftest.in" >"conftest.tmp"
5693 mv "conftest.tmp" "conftest.in"
5694 cp "conftest.in" "conftest.nl"
5695 $as_echo 'GREP' >> "conftest.nl"
5696 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5698 as_fn_arith $ac_count + 1 && ac_count=$as_val
5699 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5700 # Best one so far, save it but keep looking for a better one
5701 ac_cv_path_GREP="$ac_path_GREP"
5702 ac_path_GREP_max=$ac_count
5704 # 10*(2^10) chars as input seems more than enough
5705 test $ac_count -gt 10 && break
5706 done
5707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5708 esac
5710 $ac_path_GREP_found && break 3
5711 done
5712 done
5713 done
5714 IFS=$as_save_IFS
5715 if test -z "$ac_cv_path_GREP"; then
5716 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5718 else
5719 ac_cv_path_GREP=$GREP
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5724 $as_echo "$ac_cv_path_GREP" >&6; }
5725 GREP="$ac_cv_path_GREP"
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5729 $as_echo_n "checking for egrep... " >&6; }
5730 if ${ac_cv_path_EGREP+:} false; then :
5731 $as_echo_n "(cached) " >&6
5732 else
5733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5734 then ac_cv_path_EGREP="$GREP -E"
5735 else
5736 if test -z "$EGREP"; then
5737 ac_path_EGREP_found=false
5738 # Loop through the user's path and test for each of PROGNAME-LIST
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_prog in egrep; do
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5747 as_fn_executable_p "$ac_path_EGREP" || continue
5748 # Check for GNU ac_path_EGREP and select it if it is found.
5749 # Check for GNU $ac_path_EGREP
5750 case `"$ac_path_EGREP" --version 2>&1` in
5751 *GNU*)
5752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5754 ac_count=0
5755 $as_echo_n 0123456789 >"conftest.in"
5756 while :
5758 cat "conftest.in" "conftest.in" >"conftest.tmp"
5759 mv "conftest.tmp" "conftest.in"
5760 cp "conftest.in" "conftest.nl"
5761 $as_echo 'EGREP' >> "conftest.nl"
5762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5764 as_fn_arith $ac_count + 1 && ac_count=$as_val
5765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5766 # Best one so far, save it but keep looking for a better one
5767 ac_cv_path_EGREP="$ac_path_EGREP"
5768 ac_path_EGREP_max=$ac_count
5770 # 10*(2^10) chars as input seems more than enough
5771 test $ac_count -gt 10 && break
5772 done
5773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5774 esac
5776 $ac_path_EGREP_found && break 3
5777 done
5778 done
5779 done
5780 IFS=$as_save_IFS
5781 if test -z "$ac_cv_path_EGREP"; then
5782 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5784 else
5785 ac_cv_path_EGREP=$EGREP
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5791 $as_echo "$ac_cv_path_EGREP" >&6; }
5792 EGREP="$ac_cv_path_EGREP"
5795 # Extract the first word of "ldconfig", so it can be a program name with args.
5796 set dummy ldconfig; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_path_LDCONFIG+:} false; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 case $LDCONFIG in
5803 [\\/]* | ?:[\\/]*)
5804 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 for as_dir in /sbin /usr/sbin $PATH
5810 IFS=$as_save_IFS
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 break 2
5818 done
5819 done
5820 IFS=$as_save_IFS
5822 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5824 esac
5826 LDCONFIG=$ac_cv_path_LDCONFIG
5827 if test -n "$LDCONFIG"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5829 $as_echo "$LDCONFIG" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5836 for ac_prog in msgfmt
5838 # Extract the first word of "$ac_prog", so it can be a program name with args.
5839 set dummy $ac_prog; ac_word=$2
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5841 $as_echo_n "checking for $ac_word... " >&6; }
5842 if ${ac_cv_prog_MSGFMT+:} false; then :
5843 $as_echo_n "(cached) " >&6
5844 else
5845 if test -n "$MSGFMT"; then
5846 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5847 else
5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 for as_dir in $PATH
5851 IFS=$as_save_IFS
5852 test -z "$as_dir" && as_dir=.
5853 for ac_exec_ext in '' $ac_executable_extensions; do
5854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5855 ac_cv_prog_MSGFMT="$ac_prog"
5856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5857 break 2
5859 done
5860 done
5861 IFS=$as_save_IFS
5865 MSGFMT=$ac_cv_prog_MSGFMT
5866 if test -n "$MSGFMT"; then
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5868 $as_echo "$MSGFMT" >&6; }
5869 else
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5871 $as_echo "no" >&6; }
5875 test -n "$MSGFMT" && break
5876 done
5877 test -n "$MSGFMT" || MSGFMT="false"
5879 if ${ac_tool_prefix+:} false; then :
5880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5885 $as_echo_n "(cached) " >&6
5886 else
5887 if test -n "$PKG_CONFIG"; then
5888 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5889 else
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 for as_dir in $PATH
5893 IFS=$as_save_IFS
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 break 2
5901 done
5902 done
5903 IFS=$as_save_IFS
5907 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5908 if test -n "$PKG_CONFIG"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5910 $as_echo "$PKG_CONFIG" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5919 if test "x$cross_compiling" = xyes; then :
5921 else
5922 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5923 # Extract the first word of "pkg-config", so it can be a program name with args.
5924 set dummy pkg-config; ac_word=$2
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926 $as_echo_n "checking for $ac_word... " >&6; }
5927 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 if test -n "$PKG_CONFIG"; then
5931 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5932 else
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_prog_PKG_CONFIG="pkg-config"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5951 if test -n "$PKG_CONFIG"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5953 $as_echo "$PKG_CONFIG" >&6; }
5954 else
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 $as_echo "no" >&6; }
5961 else
5962 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5965 if test "x$enable_maintainer_mode" != "xyes"
5966 then
5967 FONTFORGE=""
5968 RSVG=""
5969 CONVERT=""
5970 ICOTOOL=""
5971 else
5972 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5973 for ac_prog in fontforge
5975 # Extract the first word of "$ac_prog", so it can be a program name with args.
5976 set dummy $ac_prog; ac_word=$2
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5978 $as_echo_n "checking for $ac_word... " >&6; }
5979 if ${ac_cv_prog_FONTFORGE+:} false; then :
5980 $as_echo_n "(cached) " >&6
5981 else
5982 if test -n "$FONTFORGE"; then
5983 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5984 else
5985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 for as_dir in $PATH
5988 IFS=$as_save_IFS
5989 test -z "$as_dir" && as_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5992 ac_cv_prog_FONTFORGE="$ac_prog"
5993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5994 break 2
5996 done
5997 done
5998 IFS=$as_save_IFS
6002 FONTFORGE=$ac_cv_prog_FONTFORGE
6003 if test -n "$FONTFORGE"; then
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6005 $as_echo "$FONTFORGE" >&6; }
6006 else
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6008 $as_echo "no" >&6; }
6012 test -n "$FONTFORGE" && break
6013 done
6014 test -n "$FONTFORGE" || FONTFORGE="false"
6016 for ac_prog in rsvg-convert rsvg
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 $as_echo_n "checking for $ac_word... " >&6; }
6022 if ${ac_cv_prog_RSVG+:} false; then :
6023 $as_echo_n "(cached) " >&6
6024 else
6025 if test -n "$RSVG"; then
6026 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6035 ac_cv_prog_RSVG="$ac_prog"
6036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 RSVG=$ac_cv_prog_RSVG
6046 if test -n "$RSVG"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6048 $as_echo "$RSVG" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 test -n "$RSVG" && break
6056 done
6057 test -n "$RSVG" || RSVG="false"
6059 for ac_prog in convert
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_CONVERT+:} false; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 if test -n "$CONVERT"; then
6069 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_CONVERT="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6080 break 2
6082 done
6083 done
6084 IFS=$as_save_IFS
6088 CONVERT=$ac_cv_prog_CONVERT
6089 if test -n "$CONVERT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6091 $as_echo "$CONVERT" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$CONVERT" && break
6099 done
6100 test -n "$CONVERT" || CONVERT="false"
6102 for ac_prog in icotool
6104 # Extract the first word of "$ac_prog", so it can be a program name with args.
6105 set dummy $ac_prog; ac_word=$2
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107 $as_echo_n "checking for $ac_word... " >&6; }
6108 if ${ac_cv_prog_ICOTOOL+:} false; then :
6109 $as_echo_n "(cached) " >&6
6110 else
6111 if test -n "$ICOTOOL"; then
6112 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6113 else
6114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6117 IFS=$as_save_IFS
6118 test -z "$as_dir" && as_dir=.
6119 for ac_exec_ext in '' $ac_executable_extensions; do
6120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6121 ac_cv_prog_ICOTOOL="$ac_prog"
6122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 break 2
6125 done
6126 done
6127 IFS=$as_save_IFS
6131 ICOTOOL=$ac_cv_prog_ICOTOOL
6132 if test -n "$ICOTOOL"; then
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6134 $as_echo "$ICOTOOL" >&6; }
6135 else
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6137 $as_echo "no" >&6; }
6141 test -n "$ICOTOOL" && break
6142 done
6143 test -n "$ICOTOOL" || ICOTOOL="false"
6145 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6146 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6148 if test "$CONVERT" = false
6149 then
6150 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6151 else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6153 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6154 convert_version=`convert --version | head -n1`
6155 if test "x$convert_version" != "x"
6156 then
6157 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6158 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6159 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6160 then
6161 CONVERT=false
6164 if test "$CONVERT" = false
6165 then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6167 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6168 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6171 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6175 if test "$ICOTOOL" = false
6176 then
6177 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6178 else
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6180 $as_echo_n "checking for recent enough icotool... " >&6; }
6181 icotool_version=`icotool --version | head -n1`
6182 if test "x$icotool_version" != "x"
6183 then
6184 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6185 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6186 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6187 then
6188 ICOTOOL=false
6189 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6192 if test "$ICOTOOL" = false
6193 then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6195 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6196 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6199 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6203 with_gettext=yes
6204 with_gettextpo=yes
6205 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6208 test "x$with_gettext" != xno || MSGFMT=false
6209 if test "$MSGFMT" != "false"
6210 then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6212 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6213 cat >conftest.po <<EOF
6214 # comment
6215 msgctxt "ctxt"
6216 msgid "id"
6217 msgstr "str"
6219 if $MSGFMT -o /dev/null conftest.po 2>&5
6220 then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6222 $as_echo "yes" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 MSGFMT=false
6229 if test "$MSGFMT" = false; then :
6230 case "x$with_gettext" in
6231 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6232 xno) ;;
6233 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6234 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6235 esac
6236 enable_po=${enable_po:-no}
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6241 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6242 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6243 $as_echo_n "(cached) " >&6
6244 else
6245 ac_check_lib_save_LIBS=$LIBS
6246 LIBS="-li386 $LIBS"
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 /* Override any GCC internal prototype to avoid an error.
6251 Use char because int might match the return type of a GCC
6252 builtin and then its argument prototype would still apply. */
6253 #ifdef __cplusplus
6254 extern "C"
6255 #endif
6256 char i386_set_ldt ();
6258 main ()
6260 return i386_set_ldt ();
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_link "$LINENO"; then :
6266 ac_cv_lib_i386_i386_set_ldt=yes
6267 else
6268 ac_cv_lib_i386_i386_set_ldt=no
6270 rm -f core conftest.err conftest.$ac_objext \
6271 conftest$ac_exeext conftest.$ac_ext
6272 LIBS=$ac_check_lib_save_LIBS
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6275 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6276 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6277 cat >>confdefs.h <<_ACEOF
6278 #define HAVE_LIBI386 1
6279 _ACEOF
6281 LIBS="-li386 $LIBS"
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6286 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6287 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6288 $as_echo_n "(cached) " >&6
6289 else
6290 ac_check_lib_save_LIBS=$LIBS
6291 LIBS="-lossaudio $LIBS"
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 /* Override any GCC internal prototype to avoid an error.
6296 Use char because int might match the return type of a GCC
6297 builtin and then its argument prototype would still apply. */
6298 #ifdef __cplusplus
6299 extern "C"
6300 #endif
6301 char _oss_ioctl ();
6303 main ()
6305 return _oss_ioctl ();
6307 return 0;
6309 _ACEOF
6310 if ac_fn_c_try_link "$LINENO"; then :
6311 ac_cv_lib_ossaudio__oss_ioctl=yes
6312 else
6313 ac_cv_lib_ossaudio__oss_ioctl=no
6315 rm -f core conftest.err conftest.$ac_objext \
6316 conftest$ac_exeext conftest.$ac_ext
6317 LIBS=$ac_check_lib_save_LIBS
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6320 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6321 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6322 cat >>confdefs.h <<_ACEOF
6323 #define HAVE_LIBOSSAUDIO 1
6324 _ACEOF
6326 LIBS="-lossaudio $LIBS"
6331 OPENGL_LIBS=""
6335 # Check whether --enable-largefile was given.
6336 if test "${enable_largefile+set}" = set; then :
6337 enableval=$enable_largefile;
6340 if test "$enable_largefile" != no; then
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6343 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6344 if ${ac_cv_sys_largefile_CC+:} false; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 ac_cv_sys_largefile_CC=no
6348 if test "$GCC" != yes; then
6349 ac_save_CC=$CC
6350 while :; do
6351 # IRIX 6.2 and later do not support large files by default,
6352 # so use the C compiler's -n32 option if that helps.
6353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6354 /* end confdefs.h. */
6355 #include <sys/types.h>
6356 /* Check that off_t can represent 2**63 - 1 correctly.
6357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6358 since some C++ compilers masquerading as C compilers
6359 incorrectly reject 9223372036854775807. */
6360 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6362 && LARGE_OFF_T % 2147483647 == 1)
6363 ? 1 : -1];
6365 main ()
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_compile "$LINENO"; then :
6373 break
6375 rm -f core conftest.err conftest.$ac_objext
6376 CC="$CC -n32"
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378 ac_cv_sys_largefile_CC=' -n32'; break
6380 rm -f core conftest.err conftest.$ac_objext
6381 break
6382 done
6383 CC=$ac_save_CC
6384 rm -f conftest.$ac_ext
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6388 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6389 if test "$ac_cv_sys_largefile_CC" != no; then
6390 CC=$CC$ac_cv_sys_largefile_CC
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6394 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6395 if ${ac_cv_sys_file_offset_bits+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 while :; do
6399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6400 /* end confdefs.h. */
6401 #include <sys/types.h>
6402 /* Check that off_t can represent 2**63 - 1 correctly.
6403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6404 since some C++ compilers masquerading as C compilers
6405 incorrectly reject 9223372036854775807. */
6406 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6408 && LARGE_OFF_T % 2147483647 == 1)
6409 ? 1 : -1];
6411 main ()
6415 return 0;
6417 _ACEOF
6418 if ac_fn_c_try_compile "$LINENO"; then :
6419 ac_cv_sys_file_offset_bits=no; break
6421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6424 #define _FILE_OFFSET_BITS 64
6425 #include <sys/types.h>
6426 /* Check that off_t can represent 2**63 - 1 correctly.
6427 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6428 since some C++ compilers masquerading as C compilers
6429 incorrectly reject 9223372036854775807. */
6430 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6431 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6432 && LARGE_OFF_T % 2147483647 == 1)
6433 ? 1 : -1];
6435 main ()
6439 return 0;
6441 _ACEOF
6442 if ac_fn_c_try_compile "$LINENO"; then :
6443 ac_cv_sys_file_offset_bits=64; break
6445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6446 ac_cv_sys_file_offset_bits=unknown
6447 break
6448 done
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6451 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6452 case $ac_cv_sys_file_offset_bits in #(
6453 no | unknown) ;;
6455 cat >>confdefs.h <<_ACEOF
6456 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6457 _ACEOF
6459 esac
6460 rm -rf conftest*
6461 if test $ac_cv_sys_file_offset_bits = unknown; then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6463 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6464 if ${ac_cv_sys_large_files+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467 while :; do
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6470 #include <sys/types.h>
6471 /* Check that off_t can represent 2**63 - 1 correctly.
6472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6473 since some C++ compilers masquerading as C compilers
6474 incorrectly reject 9223372036854775807. */
6475 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6477 && LARGE_OFF_T % 2147483647 == 1)
6478 ? 1 : -1];
6480 main ()
6484 return 0;
6486 _ACEOF
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488 ac_cv_sys_large_files=no; break
6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #define _LARGE_FILES 1
6494 #include <sys/types.h>
6495 /* Check that off_t can represent 2**63 - 1 correctly.
6496 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6497 since some C++ compilers masquerading as C compilers
6498 incorrectly reject 9223372036854775807. */
6499 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6500 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6501 && LARGE_OFF_T % 2147483647 == 1)
6502 ? 1 : -1];
6504 main ()
6508 return 0;
6510 _ACEOF
6511 if ac_fn_c_try_compile "$LINENO"; then :
6512 ac_cv_sys_large_files=1; break
6514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6515 ac_cv_sys_large_files=unknown
6516 break
6517 done
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6520 $as_echo "$ac_cv_sys_large_files" >&6; }
6521 case $ac_cv_sys_large_files in #(
6522 no | unknown) ;;
6524 cat >>confdefs.h <<_ACEOF
6525 #define _LARGE_FILES $ac_cv_sys_large_files
6526 _ACEOF
6528 esac
6529 rm -rf conftest*
6536 ac_ext=c
6537 ac_cpp='$CPP $CPPFLAGS'
6538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6542 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6543 # On Suns, sometimes $CPP names a directory.
6544 if test -n "$CPP" && test -d "$CPP"; then
6545 CPP=
6547 if test -z "$CPP"; then
6548 if ${ac_cv_prog_CPP+:} false; then :
6549 $as_echo_n "(cached) " >&6
6550 else
6551 # Double quotes because CPP needs to be expanded
6552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6554 ac_preproc_ok=false
6555 for ac_c_preproc_warn_flag in '' yes
6557 # Use a header file that comes with gcc, so configuring glibc
6558 # with a fresh cross-compiler works.
6559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6560 # <limits.h> exists even on freestanding compilers.
6561 # On the NeXT, cc -E runs the code through the compiler's parser,
6562 # not just through cpp. "Syntax error" is here to catch this case.
6563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6564 /* end confdefs.h. */
6565 #ifdef __STDC__
6566 # include <limits.h>
6567 #else
6568 # include <assert.h>
6569 #endif
6570 Syntax error
6571 _ACEOF
6572 if ac_fn_c_try_cpp "$LINENO"; then :
6574 else
6575 # Broken: fails on valid input.
6576 continue
6578 rm -f conftest.err conftest.i conftest.$ac_ext
6580 # OK, works on sane cases. Now check whether nonexistent headers
6581 # can be detected and how.
6582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h. */
6584 #include <ac_nonexistent.h>
6585 _ACEOF
6586 if ac_fn_c_try_cpp "$LINENO"; then :
6587 # Broken: success on invalid input.
6588 continue
6589 else
6590 # Passes both tests.
6591 ac_preproc_ok=:
6592 break
6594 rm -f conftest.err conftest.i conftest.$ac_ext
6596 done
6597 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6598 rm -f conftest.i conftest.err conftest.$ac_ext
6599 if $ac_preproc_ok; then :
6600 break
6603 done
6604 ac_cv_prog_CPP=$CPP
6607 CPP=$ac_cv_prog_CPP
6608 else
6609 ac_cv_prog_CPP=$CPP
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6612 $as_echo "$CPP" >&6; }
6613 ac_preproc_ok=false
6614 for ac_c_preproc_warn_flag in '' yes
6616 # Use a header file that comes with gcc, so configuring glibc
6617 # with a fresh cross-compiler works.
6618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6619 # <limits.h> exists even on freestanding compilers.
6620 # On the NeXT, cc -E runs the code through the compiler's parser,
6621 # not just through cpp. "Syntax error" is here to catch this case.
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #ifdef __STDC__
6625 # include <limits.h>
6626 #else
6627 # include <assert.h>
6628 #endif
6629 Syntax error
6630 _ACEOF
6631 if ac_fn_c_try_cpp "$LINENO"; then :
6633 else
6634 # Broken: fails on valid input.
6635 continue
6637 rm -f conftest.err conftest.i conftest.$ac_ext
6639 # OK, works on sane cases. Now check whether nonexistent headers
6640 # can be detected and how.
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if ac_fn_c_try_cpp "$LINENO"; then :
6646 # Broken: success on invalid input.
6647 continue
6648 else
6649 # Passes both tests.
6650 ac_preproc_ok=:
6651 break
6653 rm -f conftest.err conftest.i conftest.$ac_ext
6655 done
6656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6657 rm -f conftest.i conftest.err conftest.$ac_ext
6658 if $ac_preproc_ok; then :
6660 else
6661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6663 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6664 See \`config.log' for more details" "$LINENO" 5; }
6667 ac_ext=c
6668 ac_cpp='$CPP $CPPFLAGS'
6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6675 $as_echo_n "checking for ANSI C header files... " >&6; }
6676 if ${ac_cv_header_stdc+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6680 /* end confdefs.h. */
6681 #include <stdlib.h>
6682 #include <stdarg.h>
6683 #include <string.h>
6684 #include <float.h>
6687 main ()
6691 return 0;
6693 _ACEOF
6694 if ac_fn_c_try_compile "$LINENO"; then :
6695 ac_cv_header_stdc=yes
6696 else
6697 ac_cv_header_stdc=no
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 if test $ac_cv_header_stdc = yes; then
6702 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #include <string.h>
6707 _ACEOF
6708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6709 $EGREP "memchr" >/dev/null 2>&1; then :
6711 else
6712 ac_cv_header_stdc=no
6714 rm -f conftest*
6718 if test $ac_cv_header_stdc = yes; then
6719 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6721 /* end confdefs.h. */
6722 #include <stdlib.h>
6724 _ACEOF
6725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6726 $EGREP "free" >/dev/null 2>&1; then :
6728 else
6729 ac_cv_header_stdc=no
6731 rm -f conftest*
6735 if test $ac_cv_header_stdc = yes; then
6736 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6737 if test "$cross_compiling" = yes; then :
6739 else
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <ctype.h>
6743 #include <stdlib.h>
6744 #if ((' ' & 0x0FF) == 0x020)
6745 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6746 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6747 #else
6748 # define ISLOWER(c) \
6749 (('a' <= (c) && (c) <= 'i') \
6750 || ('j' <= (c) && (c) <= 'r') \
6751 || ('s' <= (c) && (c) <= 'z'))
6752 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6753 #endif
6755 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6757 main ()
6759 int i;
6760 for (i = 0; i < 256; i++)
6761 if (XOR (islower (i), ISLOWER (i))
6762 || toupper (i) != TOUPPER (i))
6763 return 2;
6764 return 0;
6766 _ACEOF
6767 if ac_fn_c_try_run "$LINENO"; then :
6769 else
6770 ac_cv_header_stdc=no
6772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6773 conftest.$ac_objext conftest.beam conftest.$ac_ext
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6779 $as_echo "$ac_cv_header_stdc" >&6; }
6780 if test $ac_cv_header_stdc = yes; then
6782 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6786 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6788 inttypes.h stdint.h unistd.h
6789 do :
6790 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6791 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6794 cat >>confdefs.h <<_ACEOF
6795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6796 _ACEOF
6800 done
6803 for ac_header in \
6804 AL/al.h \
6805 ApplicationServices/ApplicationServices.h \
6806 AudioToolbox/AudioConverter.h \
6807 AudioUnit/AudioUnit.h \
6808 AudioUnit/AudioComponent.h \
6809 CL/cl.h \
6810 Carbon/Carbon.h \
6811 CommonCrypto/CommonDigest.h \
6812 CoreAudio/CoreAudio.h \
6813 CoreServices/CoreServices.h \
6814 DiskArbitration/DiskArbitration.h \
6815 IOKit/IOKitLib.h \
6816 IOKit/hid/IOHIDLib.h \
6817 OpenAL/al.h \
6818 OpenCL/opencl.h \
6819 QuickTime/ImageCompression.h \
6820 Security/Security.h \
6821 alias.h \
6822 alsa/asoundlib.h \
6823 arpa/inet.h \
6824 arpa/nameser.h \
6825 asm/types.h \
6826 asm/user.h \
6827 curses.h \
6828 direct.h \
6829 dirent.h \
6830 dlfcn.h \
6831 elf.h \
6832 float.h \
6833 fnmatch.h \
6834 getopt.h \
6835 gettext-po.h \
6836 grp.h \
6837 gsm.h \
6838 gsm/gsm.h \
6839 ieeefp.h \
6840 inet/mib2.h \
6841 io.h \
6842 kstat.h \
6843 lber.h \
6844 ldap.h \
6845 libproc.h \
6846 link.h \
6847 linux/cdrom.h \
6848 linux/compiler.h \
6849 linux/filter.h \
6850 linux/hdreg.h \
6851 linux/hidraw.h \
6852 linux/input.h \
6853 linux/ioctl.h \
6854 linux/joystick.h \
6855 linux/major.h \
6856 linux/param.h \
6857 linux/serial.h \
6858 linux/types.h \
6859 linux/ucdrom.h \
6860 lwp.h \
6861 mach-o/nlist.h \
6862 mach-o/loader.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/sysarch.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 pcap/pcap.h \
6876 poll.h \
6877 port.h \
6878 process.h \
6879 pthread.h \
6880 pwd.h \
6881 sched.h \
6882 scsi/scsi.h \
6883 scsi/scsi_ioctl.h \
6884 scsi/sg.h \
6885 stdbool.h \
6886 stdint.h \
6887 stropts.h \
6888 sys/asoundlib.h \
6889 sys/attr.h \
6890 sys/cdio.h \
6891 sys/elf32.h \
6892 sys/epoll.h \
6893 sys/event.h \
6894 sys/exec_elf.h \
6895 sys/filio.h \
6896 sys/inotify.h \
6897 sys/ioctl.h \
6898 sys/ipc.h \
6899 sys/limits.h \
6900 sys/link.h \
6901 sys/mman.h \
6902 sys/modem.h \
6903 sys/msg.h \
6904 sys/mtio.h \
6905 sys/param.h \
6906 sys/poll.h \
6907 sys/prctl.h \
6908 sys/protosw.h \
6909 sys/ptrace.h \
6910 sys/queue.h \
6911 sys/resource.h \
6912 sys/scsiio.h \
6913 sys/shm.h \
6914 sys/signal.h \
6915 sys/socket.h \
6916 sys/socketvar.h \
6917 sys/sockio.h \
6918 sys/statvfs.h \
6919 sys/strtio.h \
6920 sys/syscall.h \
6921 sys/sysinfo.h \
6922 sys/tihdr.h \
6923 sys/time.h \
6924 sys/timeout.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/user.h \
6928 sys/utsname.h \
6929 sys/vm86.h \
6930 sys/vnode.h \
6931 sys/wait.h \
6932 syscall.h \
6933 termios.h \
6934 unistd.h \
6935 utime.h \
6936 valgrind/memcheck.h \
6937 valgrind/valgrind.h \
6938 zlib.h
6940 do :
6941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6942 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6953 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6954 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6955 $as_echo_n "(cached) " >&6
6956 else
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #include <sys/types.h>
6961 main ()
6963 return makedev(0, 0);
6965 return 0;
6967 _ACEOF
6968 if ac_fn_c_try_link "$LINENO"; then :
6969 ac_cv_header_sys_types_h_makedev=yes
6970 else
6971 ac_cv_header_sys_types_h_makedev=no
6973 rm -f core conftest.err conftest.$ac_objext \
6974 conftest$ac_exeext conftest.$ac_ext
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6978 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6980 if test $ac_cv_header_sys_types_h_makedev = no; then
6981 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6982 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6984 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6990 if test $ac_cv_header_sys_mkdev_h = no; then
6991 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6992 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6994 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7003 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7004 if ${ac_cv_header_stat_broken+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h. */
7009 #include <sys/types.h>
7010 #include <sys/stat.h>
7012 #if defined S_ISBLK && defined S_IFDIR
7013 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7014 #endif
7016 #if defined S_ISBLK && defined S_IFCHR
7017 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7018 #endif
7020 #if defined S_ISLNK && defined S_IFREG
7021 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7022 #endif
7024 #if defined S_ISSOCK && defined S_IFREG
7025 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7026 #endif
7028 _ACEOF
7029 if ac_fn_c_try_compile "$LINENO"; then :
7030 ac_cv_header_stat_broken=no
7031 else
7032 ac_cv_header_stat_broken=yes
7034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7037 $as_echo "$ac_cv_header_stat_broken" >&6; }
7038 if test $ac_cv_header_stat_broken = yes; then
7040 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7046 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7047 do :
7048 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7049 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7050 #ifdef HAVE_SYS_PARAM_H
7051 # include <sys/param.h>
7052 #endif
7054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7055 cat >>confdefs.h <<_ACEOF
7056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7057 _ACEOF
7061 done
7064 for ac_header in \
7065 netinet/ip.h \
7066 net/if.h \
7067 net/if_arp.h \
7068 net/if_dl.h \
7069 net/if_types.h \
7070 net/route.h \
7071 netinet/if_ether.h \
7072 netinet/if_inarp.h \
7073 netinet/in_pcb.h \
7074 netinet/ip_icmp.h \
7075 netinet/ip_var.h \
7076 netinet/udp.h \
7077 netipx/ipx.h \
7078 sys/un.h \
7080 do :
7081 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7082 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7083 #ifdef HAVE_SYS_SOCKET_H
7084 # include <sys/socket.h>
7085 #endif
7086 #ifdef HAVE_SYS_SOCKETVAR_H
7087 # include <sys/socketvar.h>
7088 #endif
7089 #ifdef HAVE_NET_ROUTE_H
7090 # include <net/route.h>
7091 #endif
7092 #ifdef HAVE_NETINET_IN_H
7093 # include <netinet/in.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IN_SYSTM_H
7096 # include <netinet/in_systm.h>
7097 #endif
7098 #ifdef HAVE_NET_IF_H
7099 # include <net/if.h>
7100 #endif
7101 #ifdef HAVE_NETINET_IP_H
7102 # include <netinet/ip.h>
7103 #endif
7105 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7106 cat >>confdefs.h <<_ACEOF
7107 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7108 _ACEOF
7112 done
7115 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7116 do :
7117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7118 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7119 #ifdef HAVE_ALIAS_H
7120 # include <alias.h>
7121 #endif
7122 #ifdef HAVE_SYS_SOCKET_H
7123 # include <sys/socket.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKETVAR_H
7126 # include <sys/socketvar.h>
7127 #endif
7128 #ifdef HAVE_SYS_TIMEOUT_H
7129 # include <sys/timeout.h>
7130 #endif
7131 #ifdef HAVE_NETINET_IN_H
7132 # include <netinet/in.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IN_SYSTM_H
7135 # include <netinet/in_systm.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IP_H
7138 # include <netinet/ip.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_VAR_H
7141 # include <netinet/ip_var.h>
7142 #endif
7143 #ifdef HAVE_NETINET_IP_ICMP_H
7144 # include <netinet/ip_icmp.h>
7145 #endif
7146 #ifdef HAVE_NETINET_UDP_H
7147 # include <netinet/udp.h>
7148 #endif
7149 #ifdef HAVE_NETINET_TCP_H
7150 # include <netinet/tcp.h>
7151 #endif
7152 #ifdef HAVE_NETINET_TCP_TIMER_H
7153 #include <netinet/tcp_timer.h>
7154 #endif
7156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7159 _ACEOF
7163 done
7166 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7167 do :
7168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7170 #ifdef HAVE_ASM_TYPES_H
7171 # include <asm/types.h>
7172 #endif
7173 #ifdef HAVE_SYS_SOCKET_H
7174 # include <sys/socket.h>
7175 #endif
7176 #ifdef HAVE_LINUX_TYPES_H
7177 # include <linux/types.h>
7178 #endif
7180 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7181 cat >>confdefs.h <<_ACEOF
7182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7187 done
7190 for ac_header in mach-o/dyld_images.h
7191 do :
7192 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7193 # include <stdbool.h>
7194 #endif
7195 #ifdef HAVE_STDINT_H
7196 # include <stdint.h>
7197 #endif
7199 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7202 _ACEOF
7206 done
7209 for ac_header in resolv.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7212 #ifdef HAVE_SYS_SOCKET_H
7213 # include <sys/socket.h>
7214 #endif
7215 #ifdef HAVE_NETINET_IN_H
7216 # include <netinet/in.h>
7217 #endif
7218 #ifdef HAVE_ARPA_NAMESER_H
7219 # include <arpa/nameser.h>
7220 #endif
7222 if test "x$ac_cv_header_resolv_h" = xyes; then :
7223 cat >>confdefs.h <<_ACEOF
7224 #define HAVE_RESOLV_H 1
7225 _ACEOF
7229 done
7232 for ac_header in ifaddrs.h
7233 do :
7234 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7236 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7237 cat >>confdefs.h <<_ACEOF
7238 #define HAVE_IFADDRS_H 1
7239 _ACEOF
7243 done
7246 for ac_header in sys/ucontext.h
7247 do :
7248 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7250 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define HAVE_SYS_UCONTEXT_H 1
7253 _ACEOF
7257 done
7260 for ac_header in sys/thr.h
7261 do :
7262 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7263 #ifdef HAVE_SYS_UCONTEXT_H
7264 #include <sys/ucontext.h>
7265 #endif
7267 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7268 cat >>confdefs.h <<_ACEOF
7269 #define HAVE_SYS_THR_H 1
7270 _ACEOF
7274 done
7277 for ac_header in pthread_np.h
7278 do :
7279 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7280 #include <pthread.h>
7281 #endif
7283 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7284 cat >>confdefs.h <<_ACEOF
7285 #define HAVE_PTHREAD_NP_H 1
7286 _ACEOF
7290 done
7293 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7294 do :
7295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7297 #include <sys/time.h>
7298 #endif
7299 #include <sys/types.h>
7300 #ifdef HAVE_ASM_TYPES_H
7301 #include <asm/types.h>
7302 #endif
7304 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7305 cat >>confdefs.h <<_ACEOF
7306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7307 _ACEOF
7311 done
7314 for ac_header in libprocstat.h
7315 do :
7316 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7317 #include <sys/param.h>
7318 #endif
7319 #ifdef HAVE_SYS_QUEUE_H
7320 #include <sys/queue.h>
7321 #endif
7322 #ifdef HAVE_SYS_SOCKET_H
7323 #include <sys/socket.h>
7324 #endif
7326 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_LIBPROCSTAT_H 1
7329 _ACEOF
7333 done
7337 dlldir="\${libdir}/wine"
7339 DLLFLAGS="-D_REENTRANT"
7341 LDRPATH_INSTALL=""
7343 LDRPATH_LOCAL=""
7345 LDEXECFLAGS=""
7347 LIBEXT="so"
7348 DLLEXT=".so"
7349 IMPLIBEXT="def"
7350 # Extract the first word of "ldd", so it can be a program name with args.
7351 set dummy ldd; ac_word=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if ${ac_cv_path_LDD+:} false; then :
7355 $as_echo_n "(cached) " >&6
7356 else
7357 case $LDD in
7358 [\\/]* | ?:[\\/]*)
7359 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 as_dummy="/sbin:/usr/sbin:$PATH"
7364 for as_dir in $as_dummy
7366 IFS=$as_save_IFS
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7372 break 2
7374 done
7375 done
7376 IFS=$as_save_IFS
7378 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7380 esac
7382 LDD=$ac_cv_path_LDD
7383 if test -n "$LDD"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7385 $as_echo "$LDD" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}otool; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_OTOOL+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$OTOOL"; then
7401 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 OTOOL=$ac_cv_prog_OTOOL
7421 if test -n "$OTOOL"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7423 $as_echo "$OTOOL" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_OTOOL"; then
7432 ac_ct_OTOOL=$OTOOL
7433 # Extract the first word of "otool", so it can be a program name with args.
7434 set dummy otool; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$ac_ct_OTOOL"; then
7441 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_OTOOL="otool"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7461 if test -n "$ac_ct_OTOOL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7463 $as_echo "$ac_ct_OTOOL" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_OTOOL" = x; then
7470 OTOOL="otool"
7471 else
7472 case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478 OTOOL=$ac_ct_OTOOL
7480 else
7481 OTOOL="$ac_cv_prog_OTOOL"
7484 if test -n "$ac_tool_prefix"; then
7485 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7486 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7488 $as_echo_n "checking for $ac_word... " >&6; }
7489 if ${ac_cv_prog_READELF+:} false; then :
7490 $as_echo_n "(cached) " >&6
7491 else
7492 if test -n "$READELF"; then
7493 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7494 else
7495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 for as_dir in $PATH
7498 IFS=$as_save_IFS
7499 test -z "$as_dir" && as_dir=.
7500 for ac_exec_ext in '' $ac_executable_extensions; do
7501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7502 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504 break 2
7506 done
7507 done
7508 IFS=$as_save_IFS
7512 READELF=$ac_cv_prog_READELF
7513 if test -n "$READELF"; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7515 $as_echo "$READELF" >&6; }
7516 else
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7518 $as_echo "no" >&6; }
7523 if test -z "$ac_cv_prog_READELF"; then
7524 ac_ct_READELF=$READELF
7525 # Extract the first word of "readelf", so it can be a program name with args.
7526 set dummy readelf; ac_word=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7530 $as_echo_n "(cached) " >&6
7531 else
7532 if test -n "$ac_ct_READELF"; then
7533 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7534 else
7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 for as_dir in $PATH
7538 IFS=$as_save_IFS
7539 test -z "$as_dir" && as_dir=.
7540 for ac_exec_ext in '' $ac_executable_extensions; do
7541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_ac_ct_READELF="readelf"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544 break 2
7546 done
7547 done
7548 IFS=$as_save_IFS
7552 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7553 if test -n "$ac_ct_READELF"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7555 $as_echo "$ac_ct_READELF" >&6; }
7556 else
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7561 if test "x$ac_ct_READELF" = x; then
7562 READELF="true"
7563 else
7564 case $cross_compiling:$ac_tool_warned in
7565 yes:)
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7568 ac_tool_warned=yes ;;
7569 esac
7570 READELF=$ac_ct_READELF
7572 else
7573 READELF="$ac_cv_prog_READELF"
7576 wine_rules_file=conf$$rules.make
7577 rm -f $wine_rules_file
7578 SUBDIRS=""
7580 DISABLED_SUBDIRS=""
7582 CONFIGURE_TARGETS=""
7584 ALL_TEST_RESOURCES=""
7587 wine_fn_append_file ()
7589 as_fn_append $1 " \\$as_nl $2"
7592 wine_fn_append_rule ()
7594 $as_echo "$1" >>$wine_rules_file
7597 wine_fn_has_flag ()
7599 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7602 wine_fn_all_rules ()
7604 wine_fn_append_file SUBDIRS $ac_dir
7605 wine_fn_append_rule \
7606 "all: $ac_dir
7607 .PHONY: $ac_dir
7608 $ac_dir: dummy
7609 @cd $ac_dir && \$(MAKE)"
7612 wine_fn_install_rules ()
7614 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install $ac_dir/uninstall
7618 $ac_dir/install:: $ac_dir
7619 @cd $ac_dir && \$(MAKE) install
7620 $ac_dir/uninstall::
7621 @cd $ac_dir && \$(MAKE) uninstall
7622 install:: $ac_dir/install
7623 __uninstall__: $ac_dir/uninstall"
7625 if wine_fn_has_flag install-lib
7626 then
7627 wine_fn_append_rule \
7628 ".PHONY: $ac_dir/install-lib
7629 $ac_dir/install-lib:: $ac_dir
7630 @cd $ac_dir && \$(MAKE) install-lib
7631 install-lib:: $ac_dir/install-lib"
7634 if wine_fn_has_flag install-dev
7635 then
7636 wine_fn_append_rule \
7637 ".PHONY: $ac_dir/install-dev
7638 $ac_dir/install-dev:: $ac_dir
7639 @cd $ac_dir && \$(MAKE) install-dev
7640 install-dev:: $ac_dir/install-dev"
7644 wine_fn_clean_rules ()
7646 ac_clean=$@
7648 if wine_fn_has_flag clean
7649 then
7650 wine_fn_append_rule \
7651 "$ac_dir/clean: dummy
7652 @cd $ac_dir && \$(MAKE) clean"
7653 else
7654 wine_fn_append_rule \
7655 "$ac_dir/clean: dummy
7656 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7658 wine_fn_append_rule \
7659 "__clean__: $ac_dir/clean
7660 .PHONY: $ac_dir/clean"
7663 wine_fn_disabled_rules ()
7665 ac_clean=$@
7667 wine_fn_append_file SUBDIRS $ac_dir
7668 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7669 wine_fn_append_rule \
7670 "__clean__: $ac_dir/clean
7671 .PHONY: $ac_dir/clean
7672 $ac_dir/clean: dummy
7673 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7676 wine_fn_config_makefile ()
7678 ac_dir=$1
7679 ac_enable=$2
7680 ac_flags=$3
7682 case $ac_dir in
7683 fonts|server) test -z "$with_wine64" || return ;;
7684 esac
7685 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7686 wine_fn_disabled_rules; return
7688 wine_fn_all_rules
7689 wine_fn_install_rules
7690 wine_fn_clean_rules
7693 wine_fn_config_lib ()
7695 ac_name=$1
7696 ac_flags=$2
7697 ac_dir=dlls/$ac_name
7698 ac_deps="include"
7700 if test "x$enable_tools" = xno; then :
7702 else
7703 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7705 wine_fn_all_rules
7706 wine_fn_clean_rules
7708 wine_fn_append_rule \
7709 ".PHONY: $ac_dir/install $ac_dir/uninstall
7710 $ac_dir/install:: $ac_dir
7711 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7712 $ac_dir/uninstall::
7713 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7714 install install-dev:: $ac_dir/install
7715 __uninstall__: $ac_dir/uninstall
7716 __builddeps__: $ac_dir
7717 $ac_dir: $ac_deps"
7720 wine_fn_config_dll ()
7722 ac_name=$1
7723 ac_dir=dlls/$ac_name
7724 ac_enable=$2
7725 ac_flags=$3
7726 ac_implib=${4:-$ac_name}
7727 ac_file=$ac_dir/lib$ac_implib
7728 ac_dll=$ac_name
7729 ac_deps="include"
7730 ac_implibflags=""
7732 if test "x$enable_tools" = xno; then :
7734 else
7735 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7737 case $ac_name in
7738 *.*16) ac_implibflags=" -m16" ;;
7739 *.*) ;;
7740 *) ac_dll=$ac_dll.dll ;;
7741 esac
7743 ac_clean=
7744 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7745 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7747 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7748 if test "$ac_enable" != enable_win16
7749 then
7750 wine_fn_clean_rules $ac_clean
7751 wine_fn_append_file SUBDIRS $ac_dir
7752 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7753 else
7754 wine_fn_disabled_rules $ac_clean
7755 return
7757 else
7758 wine_fn_all_rules
7759 wine_fn_clean_rules $ac_clean
7760 wine_fn_append_rule \
7761 "$ac_dir: __builddeps__
7762 manpages htmlpages sgmlpages xmlpages::
7763 @cd $ac_dir && \$(MAKE) \$@
7764 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7765 install install-lib:: $ac_dir/install-lib
7766 __uninstall__: $ac_dir/uninstall"
7767 if test -n "$DLLEXT"
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install-lib:: $ac_dir
7771 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7772 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7775 else
7776 wine_fn_append_rule \
7777 "$ac_dir/install-lib:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7784 if wine_fn_has_flag staticimplib
7785 then
7786 wine_fn_append_rule \
7787 "__builddeps__: $ac_file.a
7788 $ac_file.a $ac_file.cross.a: $ac_deps
7789 $ac_file.a: dummy
7790 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7791 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7792 $ac_dir/install-dev:: $ac_file.a
7793 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7794 $ac_dir/uninstall::
7795 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7796 install install-dev:: $ac_dir/install-dev
7797 __uninstall__: $ac_dir/uninstall"
7799 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7800 then
7801 wine_fn_append_rule \
7802 "__builddeps__: $ac_file.cross.a
7803 $ac_file.cross.a: dummy
7804 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7807 elif wine_fn_has_flag implib
7808 then
7809 wine_fn_append_rule \
7810 "__builddeps__: $ac_file.$IMPLIBEXT
7811 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7812 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7813 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7814 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7815 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7816 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7817 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7818 $ac_dir/uninstall::
7819 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7820 install install-dev:: $ac_dir/install-dev
7821 __uninstall__: $ac_dir/uninstall"
7822 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7823 then
7824 wine_fn_append_rule \
7825 "__builddeps__: $ac_file.cross.a
7826 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7827 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7832 wine_fn_config_program ()
7834 ac_name=$1
7835 ac_dir=programs/$ac_name
7836 ac_enable=$2
7837 ac_flags=$3
7838 ac_program=$ac_name
7840 case $ac_name in
7841 *.*) ;;
7842 *) ac_program=$ac_program.exe ;;
7843 esac
7845 ac_clean=
7846 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7847 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7849 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7850 wine_fn_disabled_rules $ac_clean; return
7853 wine_fn_all_rules
7854 wine_fn_clean_rules $ac_clean
7855 wine_fn_append_rule "$ac_dir: __builddeps__"
7857 wine_fn_has_flag install || return
7858 wine_fn_append_rule \
7859 ".PHONY: $ac_dir/install $ac_dir/uninstall
7860 install install-lib:: $ac_dir/install
7861 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$DLLEXT"
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install:: $ac_dir
7867 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7868 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7869 $ac_dir/uninstall::
7870 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7872 if test -z "$with_wine64" && wine_fn_has_flag installbin
7873 then
7874 wine_fn_append_rule \
7875 "$ac_dir/install:: __tooldeps__
7876 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7877 $ac_dir/uninstall::
7878 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7880 else
7881 wine_fn_append_rule \
7882 "$ac_dir/install:: $ac_dir
7883 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7884 $ac_dir/uninstall::
7885 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7888 if test -z "$with_wine64" && wine_fn_has_flag manpage
7889 then
7890 wine_fn_append_rule \
7891 "$ac_dir/install:: $ac_dir
7892 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7898 wine_fn_config_test ()
7900 ac_dir=$1
7901 ac_name=$2
7902 ac_flags=$3
7904 ac_clean=
7905 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7906 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7908 if test "x$enable_tests" = xno; then :
7909 wine_fn_disabled_rules $ac_clean; return
7912 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7913 wine_fn_all_rules
7914 wine_fn_clean_rules $ac_clean
7916 wine_fn_append_rule \
7917 "$ac_dir: __builddeps__
7918 programs/winetest: $ac_dir
7919 check test: $ac_dir/test
7920 .PHONY: $ac_dir/test
7921 $ac_dir/test: dummy
7922 @cd $ac_dir && \$(MAKE) test
7923 testclean::
7924 \$(RM) $ac_dir/*.ok"
7926 if test -n "$CROSSTARGET"
7927 then
7928 wine_fn_append_rule \
7929 "crosstest: $ac_dir/crosstest
7930 .PHONY: $ac_dir/crosstest
7931 $ac_dir/crosstest: __builddeps__ dummy
7932 @cd $ac_dir && \$(MAKE) crosstest"
7936 wine_fn_config_tool ()
7938 ac_dir=$1
7939 ac_flags=$2
7940 if test "x$enable_tools" = xno; then :
7941 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7944 wine_fn_all_rules
7945 wine_fn_install_rules
7946 wine_fn_clean_rules
7948 wine_fn_append_rule "__tooldeps__: $ac_dir"
7949 wine_fn_append_rule "$ac_dir: libs/port"
7950 case $ac_dir in
7951 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7952 esac
7955 wine_fn_config_symlink ()
7957 ac_linkdir=
7958 if test "x$1" = "x-d"
7959 then
7960 ac_linkdir=$2
7961 shift; shift
7963 ac_links=$@
7964 wine_fn_append_rule \
7965 "$ac_links:
7966 @./config.status \$@"
7967 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7968 test -n "$ac_linkdir" || return
7969 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7972 wine_binary="wine"
7973 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7974 WINELOADER_PROGRAMS="$wine_binary"
7976 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7978 case $host_os in
7979 cygwin*|mingw32*)
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_DLLTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7987 else
7988 if test -n "$DLLTOOL"; then
7989 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7990 else
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 for as_dir in $PATH
7994 IFS=$as_save_IFS
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8000 break 2
8002 done
8003 done
8004 IFS=$as_save_IFS
8008 DLLTOOL=$ac_cv_prog_DLLTOOL
8009 if test -n "$DLLTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8011 $as_echo "$DLLTOOL" >&6; }
8012 else
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_DLLTOOL"; then
8020 ac_ct_DLLTOOL=$DLLTOOL
8021 # Extract the first word of "dlltool", so it can be a program name with args.
8022 set dummy dlltool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8027 else
8028 if test -n "$ac_ct_DLLTOOL"; then
8029 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8030 else
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8032 for as_dir in $PATH
8034 IFS=$as_save_IFS
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 break 2
8042 done
8043 done
8044 IFS=$as_save_IFS
8048 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8049 if test -n "$ac_ct_DLLTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8051 $as_echo "$ac_ct_DLLTOOL" >&6; }
8052 else
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_DLLTOOL" = x; then
8058 DLLTOOL="false"
8059 else
8060 case $cross_compiling:$ac_tool_warned in
8061 yes:)
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8065 esac
8066 DLLTOOL=$ac_ct_DLLTOOL
8068 else
8069 DLLTOOL="$ac_cv_prog_DLLTOOL"
8072 LIBEXT="dll"
8073 DLLEXT=""
8074 IMPLIBEXT="a"
8075 enable_iphlpapi=${enable_iphlpapi:-no}
8076 enable_kernel32=${enable_kernel32:-no}
8077 enable_msvcrt=${enable_msvcrt:-no}
8078 enable_ntdll=${enable_ntdll:-no}
8079 enable_ws2_32=${enable_ws2_32:-no}
8080 enable_loader=${enable_loader:-no}
8081 enable_server=${enable_server:-no}
8082 with_x=${with_x:-no}
8083 with_pthread=${with_pthread:-no}
8085 crtlibs=""
8086 case $host_os in
8087 mingw32*)
8088 crtlibs="-lmsvcrt"
8089 SOCKET_LIBS="-lws2_32"
8091 esac
8093 LIBWINE_SHAREDLIB="libwine.dll"
8095 LIBWINE_IMPORTLIB="libwine.a"
8097 LIBWINE_INSTALL_LIB="libwine.dll"
8099 LIBWINE_INSTALL_DEV="libwine.a"
8101 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8103 LIBWINE_DEPENDS="wine.def"
8107 darwin*|macosx*)
8108 for ac_header in libunwind.h
8109 do :
8110 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8111 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_LIBUNWIND_H 1
8114 _ACEOF
8118 done
8120 LIBEXT="dylib"
8121 DLLFLAGS="$DLLFLAGS -fPIC"
8122 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8123 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8124 COREFOUNDATION_LIBS="-framework CoreFoundation"
8126 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8128 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8130 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8132 CORESERVICES_LIBS="-framework CoreServices"
8134 APPKIT_LIBS="-framework AppKit"
8136 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8138 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8139 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 ac_wine_try_cflags_saved=$CFLAGS
8143 CFLAGS="$CFLAGS -Wl,-no_pie"
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h. */
8146 int main(int argc, char **argv) { return 0; }
8147 _ACEOF
8148 if ac_fn_c_try_link "$LINENO"; then :
8149 ac_cv_cflags__Wl__no_pie=yes
8150 else
8151 ac_cv_cflags__Wl__no_pie=no
8153 rm -f core conftest.err conftest.$ac_objext \
8154 conftest$ac_exeext conftest.$ac_ext
8155 CFLAGS=$ac_wine_try_cflags_saved
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8158 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8159 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8160 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8162 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8163 then
8164 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8167 if test "$ac_cv_header_Security_Security_h" = "yes"
8168 then
8169 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8171 ac_save_LIBS="$LIBS"
8172 LIBS="$LIBS $SECURITY_LIBS"
8173 for ac_func in SSLCopyPeerCertificates
8174 do :
8175 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8176 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8177 cat >>confdefs.h <<_ACEOF
8178 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8179 _ACEOF
8182 done
8184 LIBS="$ac_save_LIBS"
8185 with_gnutls=${with_gnutls:-no}
8187 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8188 then
8189 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8190 then
8191 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8193 else
8194 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8197 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8198 ac_save_LIBS="$LIBS"
8199 LIBS="$LIBS $COREAUDIO_LIBS"
8200 for ac_func in AUGraphAddNode
8201 do :
8202 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8203 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_AUGRAPHADDNODE 1
8206 _ACEOF
8209 done
8211 LIBS="$ac_save_LIBS"
8213 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8214 then
8215 OPENAL_LIBS="-framework OpenAL"
8218 cat >>confdefs.h <<_ACEOF
8219 #define HAVE_OPENAL 1
8220 _ACEOF
8222 ac_cv_lib_openal=yes
8224 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8225 then
8226 OPENCL_LIBS="-framework OpenCL"
8228 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8230 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8231 then
8232 ac_save_LIBS="$LIBS"
8233 LIBS="$LIBS $IOKIT_LIBS"
8234 for ac_func in IOHIDManagerCreate
8235 do :
8236 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8237 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_IOHIDMANAGERCREATE 1
8240 _ACEOF
8243 done
8245 LIBS="$ac_save_LIBS"
8247 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8248 then
8249 ac_save_LIBS="$LIBS"
8250 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8252 $as_echo_n "checking for the QuickTime framework... " >&6; }
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 #include <QuickTime/ImageCompression.h>
8257 main ()
8259 CodecManagerVersion(NULL);
8261 return 0;
8263 _ACEOF
8264 if ac_fn_c_try_link "$LINENO"; then :
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8266 $as_echo "yes" >&6; }
8267 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8269 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8273 ac_cv_header_QuickTime_ImageCompression_h=no
8275 rm -f core conftest.err conftest.$ac_objext \
8276 conftest$ac_exeext conftest.$ac_ext
8277 LIBS="$ac_save_LIBS"
8279 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8280 then
8281 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8283 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8284 then
8285 CARBON_LIBS="-framework Carbon"
8289 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8290 then
8291 ac_save_LIBS="$LIBS"
8292 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8293 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8294 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8295 enable_winemac_drv=${enable_winemac_drv:-yes}
8298 LIBS="$ac_save_LIBS"
8301 if test "x$enable_win16" = "xyes"
8302 then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8304 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8305 if test "$cross_compiling" = yes; then :
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8307 $as_echo "cross-compiling, assuming yes" >&6; }
8308 else
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 asm(".text\n"
8312 "bad:\tnop;nop\n"
8313 "good:\tnop;nop\n\t"
8314 ".globl _testfunc\n"
8315 "_testfunc:\tcallw good");
8316 extern void testfunc();
8318 main ()
8320 unsigned short *p = (unsigned short *)testfunc;
8321 return p[0] != 0xe866 || p[1] != 0xfffa
8323 return 0;
8325 _ACEOF
8326 if ac_fn_c_try_run "$LINENO"; then :
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8328 $as_echo "yes" >&6; }
8329 else
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331 $as_echo "no" >&6; }
8332 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
8334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8335 conftest.$ac_objext conftest.beam conftest.$ac_ext
8340 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8342 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8344 LIBWINE_INSTALL_DEV="libwine.dylib"
8346 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8348 WINELOADER_DEPENDS="wine_info.plist"
8352 linux-android*)
8353 DLLFLAGS="$DLLFLAGS -fPIC"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8355 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8356 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8367 else
8368 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8375 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8376 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8377 LDEXECFLAGS="-Wl,--export-dynamic"
8379 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8381 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8382 if eval \${$as_ac_var+:} false; then :
8383 $as_echo_n "(cached) " >&6
8384 else
8385 ac_wine_try_cflags_saved=$CFLAGS
8386 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8389 int main(int argc, char **argv) { return 0; }
8390 _ACEOF
8391 if ac_fn_c_try_link "$LINENO"; then :
8392 eval "$as_ac_var=yes"
8393 else
8394 eval "$as_ac_var=no"
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 CFLAGS=$ac_wine_try_cflags_saved
8400 eval ac_res=\$$as_ac_var
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8402 $as_echo "$ac_res" >&6; }
8403 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8404 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8405 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8406 else
8407 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8409 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8410 if eval \${$as_ac_var+:} false; then :
8411 $as_echo_n "(cached) " >&6
8412 else
8413 ac_wine_try_cflags_saved=$CFLAGS
8414 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8417 int main(int argc, char **argv) { return 0; }
8418 _ACEOF
8419 if ac_fn_c_try_link "$LINENO"; then :
8420 eval "$as_ac_var=yes"
8421 else
8422 eval "$as_ac_var=no"
8424 rm -f core conftest.err conftest.$ac_objext \
8425 conftest$ac_exeext conftest.$ac_ext
8426 CFLAGS=$ac_wine_try_cflags_saved
8428 eval ac_res=\$$as_ac_var
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8430 $as_echo "$ac_res" >&6; }
8431 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8432 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8433 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8438 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8439 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8440 $as_echo_n "(cached) " >&6
8441 else
8442 ac_wine_try_cflags_saved=$CFLAGS
8443 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8446 int main(int argc, char **argv) { return 0; }
8447 _ACEOF
8448 if ac_fn_c_try_link "$LINENO"; then :
8449 ac_cv_cflags__Wl___enable_new_dtags=yes
8450 else
8451 ac_cv_cflags__Wl___enable_new_dtags=no
8453 rm -f core conftest.err conftest.$ac_objext \
8454 conftest$ac_exeext conftest.$ac_ext
8455 CFLAGS=$ac_wine_try_cflags_saved
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8458 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8459 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8460 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8463 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8464 if ${ac_cv_cflags__Wl__pie+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -Wl,-pie"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_cflags__Wl__pie=yes
8475 else
8476 ac_cv_cflags__Wl__pie=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8483 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8484 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8485 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8488 LIBWINE_SHAREDLIB="libwine.so"
8490 LIBWINE_INSTALL_LIB="libwine.so"
8492 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8497 DLLFLAGS="$DLLFLAGS -fPIC"
8498 LDEXECFLAGS=""
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8500 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8501 if ${ac_cv_c_dll_gnuelf+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 void myfunc() {}
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_c_dll_gnuelf="yes"
8512 else
8513 ac_cv_c_dll_gnuelf="no"
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8520 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8521 if test "$ac_cv_c_dll_gnuelf" = "yes"
8522 then
8523 LIBWINE_LDFLAGS="-shared"
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8526 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8537 else
8538 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8545 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8546 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8547 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8551 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8562 else
8563 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8570 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8571 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8572 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8576 echo '{ global: *; };' >conftest.map
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8578 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8579 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8590 else
8591 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8598 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8599 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8600 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8602 rm -f conftest.map
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8605 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8606 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8607 $as_echo_n "(cached) " >&6
8608 else
8609 ac_wine_try_cflags_saved=$CFLAGS
8610 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 int main(int argc, char **argv) { return 0; }
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8617 else
8618 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8620 rm -f core conftest.err conftest.$ac_objext \
8621 conftest$ac_exeext conftest.$ac_ext
8622 CFLAGS=$ac_wine_try_cflags_saved
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8625 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8626 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8627 LDEXECFLAGS="-Wl,--export-dynamic"
8630 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8632 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8633 if eval \${$as_ac_var+:} false; then :
8634 $as_echo_n "(cached) " >&6
8635 else
8636 ac_wine_try_cflags_saved=$CFLAGS
8637 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8639 /* end confdefs.h. */
8640 int main(int argc, char **argv) { return 0; }
8641 _ACEOF
8642 if ac_fn_c_try_link "$LINENO"; then :
8643 eval "$as_ac_var=yes"
8644 else
8645 eval "$as_ac_var=no"
8647 rm -f core conftest.err conftest.$ac_objext \
8648 conftest$ac_exeext conftest.$ac_ext
8649 CFLAGS=$ac_wine_try_cflags_saved
8651 eval ac_res=\$$as_ac_var
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8653 $as_echo "$ac_res" >&6; }
8654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8655 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8656 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8657 else
8658 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8660 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8661 if eval \${$as_ac_var+:} false; then :
8662 $as_echo_n "(cached) " >&6
8663 else
8664 ac_wine_try_cflags_saved=$CFLAGS
8665 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8668 int main(int argc, char **argv) { return 0; }
8669 _ACEOF
8670 if ac_fn_c_try_link "$LINENO"; then :
8671 eval "$as_ac_var=yes"
8672 else
8673 eval "$as_ac_var=no"
8675 rm -f core conftest.err conftest.$ac_objext \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 eval ac_res=\$$as_ac_var
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8681 $as_echo "$ac_res" >&6; }
8682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8683 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8684 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8689 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8690 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8691 $as_echo_n "(cached) " >&6
8692 else
8693 ac_wine_try_cflags_saved=$CFLAGS
8694 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 /* end confdefs.h. */
8697 int main(int argc, char **argv) { return 0; }
8698 _ACEOF
8699 if ac_fn_c_try_link "$LINENO"; then :
8700 ac_cv_cflags__Wl___enable_new_dtags=yes
8701 else
8702 ac_cv_cflags__Wl___enable_new_dtags=no
8704 rm -f core conftest.err conftest.$ac_objext \
8705 conftest$ac_exeext conftest.$ac_ext
8706 CFLAGS=$ac_wine_try_cflags_saved
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8709 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8710 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8711 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8714 case $host_cpu in
8715 *i[3456789]86* | x86_64)
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8717 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8718 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8719 $as_echo_n "(cached) " >&6
8720 else
8721 ac_wine_try_cflags_saved=$CFLAGS
8722 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8724 /* end confdefs.h. */
8725 int main(int argc, char **argv) { return 0; }
8726 _ACEOF
8727 if ac_fn_c_try_link "$LINENO"; then :
8728 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8729 else
8730 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8732 rm -f core conftest.err conftest.$ac_objext \
8733 conftest$ac_exeext conftest.$ac_ext
8734 CFLAGS=$ac_wine_try_cflags_saved
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8737 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8738 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8739 case $host_os in
8740 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8741 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8742 esac
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8745 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8746 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 int main(int argc, char **argv) { return 0; }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8757 else
8758 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8765 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8766 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8767 case $host_os in
8768 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8769 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8770 esac
8772 # Extract the first word of "prelink", so it can be a program name with args.
8773 set dummy prelink; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8775 $as_echo_n "checking for $ac_word... " >&6; }
8776 if ${ac_cv_path_PRELINK+:} false; then :
8777 $as_echo_n "(cached) " >&6
8778 else
8779 case $PRELINK in
8780 [\\/]* | ?:[\\/]*)
8781 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 for as_dir in /sbin /usr/sbin $PATH
8787 IFS=$as_save_IFS
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8791 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8793 break 2
8795 done
8796 done
8797 IFS=$as_save_IFS
8799 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8801 esac
8803 PRELINK=$ac_cv_path_PRELINK
8804 if test -n "$PRELINK"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8806 $as_echo "$PRELINK" >&6; }
8807 else
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8813 if test "x$PRELINK" = xfalse
8814 then
8815 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8819 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8820 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 ac_wine_try_cflags_saved=$CFLAGS
8824 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8827 int main(int argc, char **argv) { return 0; }
8828 _ACEOF
8829 if ac_fn_c_try_link "$LINENO"; then :
8830 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8831 else
8832 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8834 rm -f core conftest.err conftest.$ac_objext \
8835 conftest$ac_exeext conftest.$ac_ext
8836 CFLAGS=$ac_wine_try_cflags_saved
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8839 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8840 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8841 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8844 esac
8846 else
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8848 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8849 if ${ac_cv_c_dll_unixware+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 void myfunc() {}
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 ac_cv_c_dll_unixware="yes"
8860 else
8861 ac_cv_c_dll_unixware="no"
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8868 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8869 if test "$ac_cv_c_dll_unixware" = "yes"
8870 then
8871 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8874 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8876 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8878 LIBWINE_INSTALL_DEV="libwine.so"
8880 LIBWINE_DEPENDS="wine.map"
8883 esac
8885 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8886 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8887 enable_winemac_drv=${enable_winemac_drv:-no}
8888 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8890 CROSSTARGET=""
8892 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8893 then
8894 case "$host_cpu" in
8895 arm*)
8896 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8897 i[3456789]86*)
8898 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
8899 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8900 mingw32-gcc" ;;
8901 x86_64)
8902 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
8903 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8905 ac_prefix_list="" ;;
8906 esac
8907 for ac_prog in $ac_prefix_list
8909 # Extract the first word of "$ac_prog", so it can be a program name with args.
8910 set dummy $ac_prog; ac_word=$2
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8912 $as_echo_n "checking for $ac_word... " >&6; }
8913 if ${ac_cv_prog_CROSSCC+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 if test -n "$CROSSCC"; then
8917 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8918 else
8919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 for as_dir in $PATH
8922 IFS=$as_save_IFS
8923 test -z "$as_dir" && as_dir=.
8924 for ac_exec_ext in '' $ac_executable_extensions; do
8925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8926 ac_cv_prog_CROSSCC="$ac_prog"
8927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 break 2
8930 done
8931 done
8932 IFS=$as_save_IFS
8936 CROSSCC=$ac_cv_prog_CROSSCC
8937 if test -n "$CROSSCC"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8939 $as_echo "$CROSSCC" >&6; }
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8946 test -n "$CROSSCC" && break
8947 done
8948 test -n "$CROSSCC" || CROSSCC="false"
8950 if test "$CROSSCC" != "false"
8951 then
8952 ac_save_CC="$CC"
8953 CC="$CROSSCC"
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8955 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8957 /* end confdefs.h. */
8960 main ()
8964 return 0;
8966 _ACEOF
8967 if ac_fn_c_try_compile "$LINENO"; then :
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8969 $as_echo "yes" >&6; }
8970 set x $CROSSCC
8971 shift
8972 while test $# -ge 1
8974 case "$1" in
8975 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8976 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8977 esac
8978 shift
8979 done
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8985 CC="$ac_save_CC"
8990 if test "$ac_cv_header_pthread_h" = "yes"
8991 then
8992 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8993 if test "x$ac_cv_func_pthread_create" = xyes; then :
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8997 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8998 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 ac_check_lib_save_LIBS=$LIBS
9002 LIBS="-lpthread $LIBS"
9003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char pthread_create ();
9014 main ()
9016 return pthread_create ();
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_link "$LINENO"; then :
9022 ac_cv_lib_pthread_pthread_create=yes
9023 else
9024 ac_cv_lib_pthread_pthread_create=no
9026 rm -f core conftest.err conftest.$ac_objext \
9027 conftest$ac_exeext conftest.$ac_ext
9028 LIBS=$ac_check_lib_save_LIBS
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9031 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9032 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9033 PTHREAD_LIBS="-lpthread"
9040 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9041 case "x$with_pthread" in
9042 xno) ;;
9043 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9044 Wine cannot support threads without libpthread.
9045 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9046 esac
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9052 $as_echo_n "checking for X... " >&6; }
9055 # Check whether --with-x was given.
9056 if test "${with_x+set}" = set; then :
9057 withval=$with_x;
9060 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9061 if test "x$with_x" = xno; then
9062 # The user explicitly disabled X.
9063 have_x=disabled
9064 else
9065 case $x_includes,$x_libraries in #(
9066 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9067 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 # One or both of the vars are not set, and there is no cached value.
9071 ac_x_includes=no ac_x_libraries=no
9072 rm -f -r conftest.dir
9073 if mkdir conftest.dir; then
9074 cd conftest.dir
9075 cat >Imakefile <<'_ACEOF'
9076 incroot:
9077 @echo incroot='${INCROOT}'
9078 usrlibdir:
9079 @echo usrlibdir='${USRLIBDIR}'
9080 libdir:
9081 @echo libdir='${LIBDIR}'
9082 _ACEOF
9083 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9084 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9085 for ac_var in incroot usrlibdir libdir; do
9086 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9087 done
9088 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9089 for ac_extension in a so sl dylib la dll; do
9090 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9091 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9092 ac_im_usrlibdir=$ac_im_libdir; break
9094 done
9095 # Screen out bogus values from the imake configuration. They are
9096 # bogus both because they are the default anyway, and because
9097 # using them would break gcc on systems where it needs fixed includes.
9098 case $ac_im_incroot in
9099 /usr/include) ac_x_includes= ;;
9100 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9101 esac
9102 case $ac_im_usrlibdir in
9103 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9104 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9105 esac
9107 cd ..
9108 rm -f -r conftest.dir
9111 # Standard set of common directories for X headers.
9112 # Check X11 before X11Rn because it is often a symlink to the current release.
9113 ac_x_header_dirs='
9114 /usr/X11/include
9115 /usr/X11R7/include
9116 /usr/X11R6/include
9117 /usr/X11R5/include
9118 /usr/X11R4/include
9120 /usr/include/X11
9121 /usr/include/X11R7
9122 /usr/include/X11R6
9123 /usr/include/X11R5
9124 /usr/include/X11R4
9126 /usr/local/X11/include
9127 /usr/local/X11R7/include
9128 /usr/local/X11R6/include
9129 /usr/local/X11R5/include
9130 /usr/local/X11R4/include
9132 /usr/local/include/X11
9133 /usr/local/include/X11R7
9134 /usr/local/include/X11R6
9135 /usr/local/include/X11R5
9136 /usr/local/include/X11R4
9138 /usr/X386/include
9139 /usr/x386/include
9140 /usr/XFree86/include/X11
9142 /usr/include
9143 /usr/local/include
9144 /usr/unsupported/include
9145 /usr/athena/include
9146 /usr/local/x11r5/include
9147 /usr/lpp/Xamples/include
9149 /usr/openwin/include
9150 /usr/openwin/share/include'
9152 if test "$ac_x_includes" = no; then
9153 # Guess where to find include files, by looking for Xlib.h.
9154 # First, try using that file with no special directory specified.
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 #include <X11/Xlib.h>
9158 _ACEOF
9159 if ac_fn_c_try_cpp "$LINENO"; then :
9160 # We can compile using X headers with no special include directory.
9161 ac_x_includes=
9162 else
9163 for ac_dir in $ac_x_header_dirs; do
9164 if test -r "$ac_dir/X11/Xlib.h"; then
9165 ac_x_includes=$ac_dir
9166 break
9168 done
9170 rm -f conftest.err conftest.i conftest.$ac_ext
9171 fi # $ac_x_includes = no
9173 if test "$ac_x_libraries" = no; then
9174 # Check for the libraries.
9175 # See if we find them without any special options.
9176 # Don't add to $LIBS permanently.
9177 ac_save_LIBS=$LIBS
9178 LIBS="-lX11 $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9181 #include <X11/Xlib.h>
9183 main ()
9185 XrmInitialize ()
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 LIBS=$ac_save_LIBS
9192 # We can link X programs with no special library path.
9193 ac_x_libraries=
9194 else
9195 LIBS=$ac_save_LIBS
9196 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9198 # Don't even attempt the hair of trying to link an X program!
9199 for ac_extension in a so sl dylib la dll; do
9200 if test -r "$ac_dir/libX11.$ac_extension"; then
9201 ac_x_libraries=$ac_dir
9202 break 2
9204 done
9205 done
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 fi # $ac_x_libraries = no
9211 case $ac_x_includes,$ac_x_libraries in #(
9212 no,* | *,no | *\'*)
9213 # Didn't find X, or a directory has "'" in its name.
9214 ac_cv_have_x="have_x=no";; #(
9216 # Record where we found X for the cache.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$ac_x_includes'\
9219 ac_x_libraries='$ac_x_libraries'"
9220 esac
9222 ;; #(
9223 *) have_x=yes;;
9224 esac
9225 eval "$ac_cv_have_x"
9226 fi # $with_x != no
9228 if test "$have_x" != yes; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9230 $as_echo "$have_x" >&6; }
9231 no_x=yes
9232 else
9233 # If each of the values was on the command line, it overrides each guess.
9234 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9235 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9236 # Update the cache value to reflect the command line values.
9237 ac_cv_have_x="have_x=yes\
9238 ac_x_includes='$x_includes'\
9239 ac_x_libraries='$x_libraries'"
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9241 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9244 if test "$no_x" = yes; then
9245 # Not all programs may use this symbol, but it does not hurt to define it.
9247 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9249 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9250 else
9251 if test -n "$x_includes"; then
9252 X_CFLAGS="$X_CFLAGS -I$x_includes"
9255 # It would also be nice to do this for all -L options, not just this one.
9256 if test -n "$x_libraries"; then
9257 X_LIBS="$X_LIBS -L$x_libraries"
9258 # For Solaris; some versions of Sun CC require a space after -R and
9259 # others require no space. Words are not sufficient . . . .
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9261 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9262 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9263 ac_xsave_c_werror_flag=$ac_c_werror_flag
9264 ac_c_werror_flag=yes
9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9266 /* end confdefs.h. */
9269 main ()
9273 return 0;
9275 _ACEOF
9276 if ac_fn_c_try_link "$LINENO"; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9279 X_LIBS="$X_LIBS -R$x_libraries"
9280 else
9281 LIBS="$ac_xsave_LIBS -R $x_libraries"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9286 main ()
9290 return 0;
9292 _ACEOF
9293 if ac_fn_c_try_link "$LINENO"; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9295 $as_echo "yes" >&6; }
9296 X_LIBS="$X_LIBS -R $x_libraries"
9297 else
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9299 $as_echo "neither works" >&6; }
9301 rm -f core conftest.err conftest.$ac_objext \
9302 conftest$ac_exeext conftest.$ac_ext
9304 rm -f core conftest.err conftest.$ac_objext \
9305 conftest$ac_exeext conftest.$ac_ext
9306 ac_c_werror_flag=$ac_xsave_c_werror_flag
9307 LIBS=$ac_xsave_LIBS
9310 # Check for system-dependent libraries X programs must link with.
9311 # Do this before checking for the system-independent R6 libraries
9312 # (-lICE), since we may need -lsocket or whatever for X linking.
9314 if test "$ISC" = yes; then
9315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9316 else
9317 # Martyn Johnson says this is needed for Ultrix, if the X
9318 # libraries were built with DECnet support. And Karl Berry says
9319 # the Alpha needs dnet_stub (dnet does not exist).
9320 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9322 /* end confdefs.h. */
9324 /* Override any GCC internal prototype to avoid an error.
9325 Use char because int might match the return type of a GCC
9326 builtin and then its argument prototype would still apply. */
9327 #ifdef __cplusplus
9328 extern "C"
9329 #endif
9330 char XOpenDisplay ();
9332 main ()
9334 return XOpenDisplay ();
9336 return 0;
9338 _ACEOF
9339 if ac_fn_c_try_link "$LINENO"; then :
9341 else
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9343 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9344 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9345 $as_echo_n "(cached) " >&6
9346 else
9347 ac_check_lib_save_LIBS=$LIBS
9348 LIBS="-ldnet $LIBS"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9355 #ifdef __cplusplus
9356 extern "C"
9357 #endif
9358 char dnet_ntoa ();
9360 main ()
9362 return dnet_ntoa ();
9364 return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_lib_dnet_dnet_ntoa=yes
9369 else
9370 ac_cv_lib_dnet_dnet_ntoa=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 LIBS=$ac_check_lib_save_LIBS
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9377 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9378 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9384 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9385 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9386 $as_echo_n "(cached) " >&6
9387 else
9388 ac_check_lib_save_LIBS=$LIBS
9389 LIBS="-ldnet_stub $LIBS"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char dnet_ntoa ();
9401 main ()
9403 return dnet_ntoa ();
9405 return 0;
9407 _ACEOF
9408 if ac_fn_c_try_link "$LINENO"; then :
9409 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9410 else
9411 ac_cv_lib_dnet_stub_dnet_ntoa=no
9413 rm -f core conftest.err conftest.$ac_objext \
9414 conftest$ac_exeext conftest.$ac_ext
9415 LIBS=$ac_check_lib_save_LIBS
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9418 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9419 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9420 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 LIBS="$ac_xsave_LIBS"
9429 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9430 # to get the SysV transport functions.
9431 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9432 # needs -lnsl.
9433 # The nsl library prevents programs from opening the X display
9434 # on Irix 5.2, according to T.E. Dickey.
9435 # The functions gethostbyname, getservbyname, and inet_addr are
9436 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9437 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9438 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9442 if test $ac_cv_func_gethostbyname = no; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9444 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9445 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9446 $as_echo_n "(cached) " >&6
9447 else
9448 ac_check_lib_save_LIBS=$LIBS
9449 LIBS="-lnsl $LIBS"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9456 #ifdef __cplusplus
9457 extern "C"
9458 #endif
9459 char gethostbyname ();
9461 main ()
9463 return gethostbyname ();
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9469 ac_cv_lib_nsl_gethostbyname=yes
9470 else
9471 ac_cv_lib_nsl_gethostbyname=no
9473 rm -f core conftest.err conftest.$ac_objext \
9474 conftest$ac_exeext conftest.$ac_ext
9475 LIBS=$ac_check_lib_save_LIBS
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9478 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9479 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9480 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9483 if test $ac_cv_lib_nsl_gethostbyname = no; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9485 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9486 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lbsd $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char gethostbyname ();
9502 main ()
9504 return gethostbyname ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_bsd_gethostbyname=yes
9511 else
9512 ac_cv_lib_bsd_gethostbyname=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9519 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9520 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9527 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9528 # socket/setsockopt and other routines are undefined under SCO ODT
9529 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9530 # on later versions), says Simon Leinen: it contains gethostby*
9531 # variants that don't use the name server (or something). -lsocket
9532 # must be given before -lnsl if both are needed. We assume that
9533 # if connect needs -lnsl, so does gethostbyname.
9534 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9535 if test "x$ac_cv_func_connect" = xyes; then :
9539 if test $ac_cv_func_connect = no; then
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9541 $as_echo_n "checking for connect in -lsocket... " >&6; }
9542 if ${ac_cv_lib_socket_connect+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char connect ();
9558 main ()
9560 return connect ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_socket_connect=yes
9567 else
9568 ac_cv_lib_socket_connect=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9575 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9576 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9577 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9582 # Guillermo Gomez says -lposix is necessary on A/UX.
9583 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9584 if test "x$ac_cv_func_remove" = xyes; then :
9588 if test $ac_cv_func_remove = no; then
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9590 $as_echo_n "checking for remove in -lposix... " >&6; }
9591 if ${ac_cv_lib_posix_remove+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_check_lib_save_LIBS=$LIBS
9595 LIBS="-lposix $LIBS"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9599 /* Override any GCC internal prototype to avoid an error.
9600 Use char because int might match the return type of a GCC
9601 builtin and then its argument prototype would still apply. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 char remove ();
9607 main ()
9609 return remove ();
9611 return 0;
9613 _ACEOF
9614 if ac_fn_c_try_link "$LINENO"; then :
9615 ac_cv_lib_posix_remove=yes
9616 else
9617 ac_cv_lib_posix_remove=no
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 LIBS=$ac_check_lib_save_LIBS
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9624 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9625 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9626 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9631 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9632 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9633 if test "x$ac_cv_func_shmat" = xyes; then :
9637 if test $ac_cv_func_shmat = no; then
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9639 $as_echo_n "checking for shmat in -lipc... " >&6; }
9640 if ${ac_cv_lib_ipc_shmat+:} false; then :
9641 $as_echo_n "(cached) " >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lipc $LIBS"
9645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char shmat ();
9656 main ()
9658 return shmat ();
9660 return 0;
9662 _ACEOF
9663 if ac_fn_c_try_link "$LINENO"; then :
9664 ac_cv_lib_ipc_shmat=yes
9665 else
9666 ac_cv_lib_ipc_shmat=no
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_lib_save_LIBS
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9673 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9674 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9681 # Check for libraries that X11R6 Xt/Xaw programs need.
9682 ac_save_LDFLAGS=$LDFLAGS
9683 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9685 # check for ICE first), but we must link in the order -lSM -lICE or
9686 # we get undefined symbols. So assume we have SM if we have ICE.
9687 # These have to be linked with before -lX11, unlike the other
9688 # libraries we check for below, so use a different variable.
9689 # John Interrante, Karl Berry
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9691 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9692 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9693 $as_echo_n "(cached) " >&6
9694 else
9695 ac_check_lib_save_LIBS=$LIBS
9696 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698 /* end confdefs.h. */
9700 /* Override any GCC internal prototype to avoid an error.
9701 Use char because int might match the return type of a GCC
9702 builtin and then its argument prototype would still apply. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 #endif
9706 char IceConnectionNumber ();
9708 main ()
9710 return IceConnectionNumber ();
9712 return 0;
9714 _ACEOF
9715 if ac_fn_c_try_link "$LINENO"; then :
9716 ac_cv_lib_ICE_IceConnectionNumber=yes
9717 else
9718 ac_cv_lib_ICE_IceConnectionNumber=no
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_lib_save_LIBS
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9725 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9726 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9727 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9730 LDFLAGS=$ac_save_LDFLAGS
9735 if test "$have_x" = "yes"
9736 then
9737 ac_save_CPPFLAGS="$CPPFLAGS"
9738 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9741 $as_echo_n "checking for -lX11... " >&6; }
9742 if ${ac_cv_lib_soname_X11+:} false; then :
9743 $as_echo_n "(cached) " >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9750 /* Override any GCC internal prototype to avoid an error.
9751 Use char because int might match the return type of a GCC
9752 builtin and then its argument prototype would still apply. */
9753 #ifdef __cplusplus
9754 extern "C"
9755 #endif
9756 char XCreateWindow ();
9758 main ()
9760 return XCreateWindow ();
9762 return 0;
9764 _ACEOF
9765 if ac_fn_c_try_link "$LINENO"; then :
9766 case "$LIBEXT" in
9767 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9768 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'` ;;
9769 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9770 if ${ac_cv_lib_soname_X11:+false} :; then :
9771 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9772 fi ;;
9773 esac
9775 rm -f core conftest.err conftest.$ac_objext \
9776 conftest$ac_exeext conftest.$ac_ext
9777 LIBS=$ac_check_soname_save_LIBS
9779 if ${ac_cv_lib_soname_X11:+false} :; then :
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9781 $as_echo "not found" >&6; }
9783 else
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9785 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9787 cat >>confdefs.h <<_ACEOF
9788 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9789 _ACEOF
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9794 $as_echo_n "checking for -lXext... " >&6; }
9795 if ${ac_cv_lib_soname_Xext+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 ac_check_soname_save_LIBS=$LIBS
9799 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char XextCreateExtension ();
9811 main ()
9813 return XextCreateExtension ();
9815 return 0;
9817 _ACEOF
9818 if ac_fn_c_try_link "$LINENO"; then :
9819 case "$LIBEXT" in
9820 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9821 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'` ;;
9822 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9823 if ${ac_cv_lib_soname_Xext:+false} :; then :
9824 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9825 fi ;;
9826 esac
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_soname_save_LIBS
9832 if ${ac_cv_lib_soname_Xext:+false} :; then :
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9834 $as_echo "not found" >&6; }
9836 else
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9838 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9840 cat >>confdefs.h <<_ACEOF
9841 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9842 _ACEOF
9844 X_LIBS="$X_LIBS -lXext"
9846 X_LIBS="$X_LIBS -lX11"
9848 for ac_header in X11/Xlib.h \
9849 X11/XKBlib.h \
9850 X11/Xutil.h \
9851 X11/Xcursor/Xcursor.h \
9852 X11/extensions/shape.h \
9853 X11/extensions/XInput.h \
9854 X11/extensions/XInput2.h \
9855 X11/extensions/XShm.h \
9856 X11/extensions/Xcomposite.h \
9857 X11/extensions/Xinerama.h \
9858 X11/extensions/Xrandr.h \
9859 X11/extensions/Xrender.h \
9860 X11/extensions/xf86vmode.h \
9861 X11/extensions/xf86vmproto.h
9862 do :
9863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9865 # include <X11/Xlib.h>
9866 #endif
9867 #ifdef HAVE_X11_XUTIL_H
9868 # include <X11/Xutil.h>
9869 #endif
9871 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9872 cat >>confdefs.h <<_ACEOF
9873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9874 _ACEOF
9878 done
9881 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9882 then
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9884 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9885 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9886 $as_echo_n "(cached) " >&6
9887 else
9888 ac_check_lib_save_LIBS=$LIBS
9889 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9893 /* Override any GCC internal prototype to avoid an error.
9894 Use char because int might match the return type of a GCC
9895 builtin and then its argument prototype would still apply. */
9896 #ifdef __cplusplus
9897 extern "C"
9898 #endif
9899 char XkbQueryExtension ();
9901 main ()
9903 return XkbQueryExtension ();
9905 return 0;
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_lib_X11_XkbQueryExtension=yes
9910 else
9911 ac_cv_lib_X11_XkbQueryExtension=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 LIBS=$ac_check_lib_save_LIBS
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9918 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9919 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9921 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9927 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9928 then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9930 $as_echo_n "checking for -lXcursor... " >&6; }
9931 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_check_soname_save_LIBS=$LIBS
9935 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9937 /* end confdefs.h. */
9939 /* Override any GCC internal prototype to avoid an error.
9940 Use char because int might match the return type of a GCC
9941 builtin and then its argument prototype would still apply. */
9942 #ifdef __cplusplus
9943 extern "C"
9944 #endif
9945 char XcursorImageLoadCursor ();
9947 main ()
9949 return XcursorImageLoadCursor ();
9951 return 0;
9953 _ACEOF
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 case "$LIBEXT" in
9956 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9957 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'` ;;
9958 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9959 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9960 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 fi ;;
9962 esac
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 LIBS=$ac_check_soname_save_LIBS
9968 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9970 $as_echo "not found" >&6; }
9972 else
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9974 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9976 cat >>confdefs.h <<_ACEOF
9977 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9978 _ACEOF
9983 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9984 case "x$with_xcursor" in
9985 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9986 xno) ;;
9987 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9988 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9989 esac
9993 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9994 then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9996 $as_echo_n "checking for -lXi... " >&6; }
9997 if ${ac_cv_lib_soname_Xi+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_soname_save_LIBS=$LIBS
10001 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XOpenDevice ();
10013 main ()
10015 return XOpenDevice ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 case "$LIBEXT" in
10022 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10023 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'` ;;
10024 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10025 if ${ac_cv_lib_soname_Xi:+false} :; then :
10026 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10027 fi ;;
10028 esac
10030 rm -f core conftest.err conftest.$ac_objext \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_Xi:+false} :; then :
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 $as_echo "not found" >&6; }
10038 else
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10040 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10042 cat >>confdefs.h <<_ACEOF
10043 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10044 _ACEOF
10049 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10050 case "x$with_xinput" in
10051 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10052 xno) ;;
10053 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10054 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10055 esac
10059 if test "x$ac_cv_lib_soname_Xi" != x
10060 then
10061 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10062 case "x$with_xinput2" in
10063 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10066 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10067 esac
10072 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10073 then
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10075 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10076 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_check_lib_save_LIBS=$LIBS
10080 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10084 /* Override any GCC internal prototype to avoid an error.
10085 Use char because int might match the return type of a GCC
10086 builtin and then its argument prototype would still apply. */
10087 #ifdef __cplusplus
10088 extern "C"
10089 #endif
10090 char XShmQueryExtension ();
10092 main ()
10094 return XShmQueryExtension ();
10096 return 0;
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_lib_Xext_XShmQueryExtension=yes
10101 else
10102 ac_cv_lib_Xext_XShmQueryExtension=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 LIBS=$ac_check_lib_save_LIBS
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10109 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10110 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10112 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10117 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10118 case "x$with_xshm" in
10119 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10120 xno) ;;
10121 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10122 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10123 esac
10127 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10128 then
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10130 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10131 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133 else
10134 ac_check_lib_save_LIBS=$LIBS
10135 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10142 #ifdef __cplusplus
10143 extern "C"
10144 #endif
10145 char XShapeQueryExtension ();
10147 main ()
10149 return XShapeQueryExtension ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"; then :
10155 ac_cv_lib_Xext_XShapeQueryExtension=yes
10156 else
10157 ac_cv_lib_Xext_XShapeQueryExtension=no
10159 rm -f core conftest.err conftest.$ac_objext \
10160 conftest$ac_exeext conftest.$ac_ext
10161 LIBS=$ac_check_lib_save_LIBS
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10164 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10165 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10167 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10172 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10173 case "x$with_xshape" in
10174 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10175 xno) ;;
10176 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10177 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10178 esac
10182 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10183 then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10185 $as_echo_n "checking for -lXxf86vm... " >&6; }
10186 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_check_soname_save_LIBS=$LIBS
10190 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10194 /* Override any GCC internal prototype to avoid an error.
10195 Use char because int might match the return type of a GCC
10196 builtin and then its argument prototype would still apply. */
10197 #ifdef __cplusplus
10198 extern "C"
10199 #endif
10200 char XF86VidModeQueryExtension ();
10202 main ()
10204 return XF86VidModeQueryExtension ();
10206 return 0;
10208 _ACEOF
10209 if ac_fn_c_try_link "$LINENO"; then :
10210 case "$LIBEXT" in
10211 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10215 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 fi ;;
10217 esac
10219 rm -f core conftest.err conftest.$ac_objext \
10220 conftest$ac_exeext conftest.$ac_ext
10221 LIBS=$ac_check_soname_save_LIBS
10223 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10225 $as_echo "not found" >&6; }
10227 else
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10229 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10231 cat >>confdefs.h <<_ACEOF
10232 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10233 _ACEOF
10238 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10239 case "x$with_xxf86vm" in
10240 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10241 xno) ;;
10242 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10243 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10244 esac
10248 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10249 then
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10251 $as_echo_n "checking for -lXrender... " >&6; }
10252 if ${ac_cv_lib_soname_Xrender+:} false; then :
10253 $as_echo_n "(cached) " >&6
10254 else
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 char XRenderQueryExtension ();
10268 main ()
10270 return XRenderQueryExtension ();
10272 return 0;
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 case "$LIBEXT" in
10277 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10281 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10282 fi ;;
10283 esac
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10293 else
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10295 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10299 _ACEOF
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10302 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10303 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10314 #ifdef __cplusplus
10315 extern "C"
10316 #endif
10317 char XRenderSetPictureTransform ();
10319 main ()
10321 return XRenderSetPictureTransform ();
10323 return 0;
10325 _ACEOF
10326 if ac_fn_c_try_link "$LINENO"; then :
10327 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10328 else
10329 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10331 rm -f core conftest.err conftest.$ac_objext \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10336 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10337 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10339 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10344 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10345 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10346 $as_echo_n "(cached) " >&6
10347 else
10348 ac_check_lib_save_LIBS=$LIBS
10349 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10353 /* Override any GCC internal prototype to avoid an error.
10354 Use char because int might match the return type of a GCC
10355 builtin and then its argument prototype would still apply. */
10356 #ifdef __cplusplus
10357 extern "C"
10358 #endif
10359 char XRenderCreateLinearGradient ();
10361 main ()
10363 return XRenderCreateLinearGradient ();
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"; then :
10369 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10370 else
10371 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10373 rm -f core conftest.err conftest.$ac_objext \
10374 conftest$ac_exeext conftest.$ac_ext
10375 LIBS=$ac_check_lib_save_LIBS
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10378 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10379 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10381 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10388 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10389 case "x$with_xrender" in
10390 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10391 xno) ;;
10392 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10393 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10394 esac
10398 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10399 then
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 #include <X11/Xlib.h>
10403 #include <X11/extensions/Xrandr.h>
10405 main ()
10407 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10409 return 0;
10411 _ACEOF
10412 if ac_fn_c_try_compile "$LINENO"; then :
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10414 $as_echo_n "checking for -lXrandr... " >&6; }
10415 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10416 $as_echo_n "(cached) " >&6
10417 else
10418 ac_check_soname_save_LIBS=$LIBS
10419 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10423 /* Override any GCC internal prototype to avoid an error.
10424 Use char because int might match the return type of a GCC
10425 builtin and then its argument prototype would still apply. */
10426 #ifdef __cplusplus
10427 extern "C"
10428 #endif
10429 char XRRQueryExtension ();
10431 main ()
10433 return XRRQueryExtension ();
10435 return 0;
10437 _ACEOF
10438 if ac_fn_c_try_link "$LINENO"; then :
10439 case "$LIBEXT" in
10440 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10441 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'` ;;
10442 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10443 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10444 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10445 fi ;;
10446 esac
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 LIBS=$ac_check_soname_save_LIBS
10452 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10454 $as_echo "not found" >&6; }
10456 else
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10458 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10460 cat >>confdefs.h <<_ACEOF
10461 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10462 _ACEOF
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 #include <X11/Xlib.h>
10467 #include <X11/extensions/Xrandr.h>
10469 main ()
10471 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10473 return 0;
10475 _ACEOF
10476 if ac_fn_c_try_compile "$LINENO"; then :
10478 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10486 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10487 case "x$with_xrandr" in
10488 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10489 xno) ;;
10490 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10491 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10492 esac
10496 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10497 then
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10500 #include <X11/Xlib.h>
10501 #include <X11/extensions/Xinerama.h>
10503 main ()
10505 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_compile "$LINENO"; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10512 $as_echo_n "checking for -lXinerama... " >&6; }
10513 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10514 $as_echo_n "(cached) " >&6
10515 else
10516 ac_check_soname_save_LIBS=$LIBS
10517 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10524 #ifdef __cplusplus
10525 extern "C"
10526 #endif
10527 char XineramaQueryScreens ();
10529 main ()
10531 return XineramaQueryScreens ();
10533 return 0;
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 case "$LIBEXT" in
10538 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10539 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'` ;;
10540 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10541 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10542 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10543 fi ;;
10544 esac
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LIBS=$ac_check_soname_save_LIBS
10550 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10552 $as_echo "not found" >&6; }
10554 else
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10556 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10558 cat >>confdefs.h <<_ACEOF
10559 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10560 _ACEOF
10565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10567 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10568 case "x$with_xinerama" in
10569 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10570 xno) ;;
10571 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10572 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10573 esac
10577 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10578 then
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10580 $as_echo_n "checking for -lXcomposite... " >&6; }
10581 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10582 $as_echo_n "(cached) " >&6
10583 else
10584 ac_check_soname_save_LIBS=$LIBS
10585 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h. */
10589 /* Override any GCC internal prototype to avoid an error.
10590 Use char because int might match the return type of a GCC
10591 builtin and then its argument prototype would still apply. */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char XCompositeRedirectWindow ();
10597 main ()
10599 return XCompositeRedirectWindow ();
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605 case "$LIBEXT" in
10606 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10607 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'` ;;
10608 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10609 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10610 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10611 fi ;;
10612 esac
10614 rm -f core conftest.err conftest.$ac_objext \
10615 conftest$ac_exeext conftest.$ac_ext
10616 LIBS=$ac_check_soname_save_LIBS
10618 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10620 $as_echo "not found" >&6; }
10622 else
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10624 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10626 cat >>confdefs.h <<_ACEOF
10627 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10628 _ACEOF
10633 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10634 case "x$with_xcomposite" in
10635 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10636 xno) ;;
10637 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10638 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10639 esac
10643 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10644 #include <X11/Xlib.h>
10645 #endif
10647 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10649 cat >>confdefs.h <<_ACEOF
10650 #define HAVE_XICCALLBACK_CALLBACK 1
10651 _ACEOF
10655 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10656 #include <X11/Xlib.h>
10657 #endif
10659 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10661 cat >>confdefs.h <<_ACEOF
10662 #define HAVE_XEVENT_XCOOKIE 1
10663 _ACEOF
10670 opengl_msg=""
10671 if test "x$with_opengl" != "xno"
10672 then
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10674 $as_echo_n "checking for -lGL... " >&6; }
10675 if ${ac_cv_lib_soname_GL+:} false; then :
10676 $as_echo_n "(cached) " >&6
10677 else
10678 ac_check_soname_save_LIBS=$LIBS
10679 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10681 /* end confdefs.h. */
10683 /* Override any GCC internal prototype to avoid an error.
10684 Use char because int might match the return type of a GCC
10685 builtin and then its argument prototype would still apply. */
10686 #ifdef __cplusplus
10687 extern "C"
10688 #endif
10689 char glXCreateContext ();
10691 main ()
10693 return glXCreateContext ();
10695 return 0;
10697 _ACEOF
10698 if ac_fn_c_try_link "$LINENO"; then :
10699 case "$LIBEXT" in
10700 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10701 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'` ;;
10702 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10703 if ${ac_cv_lib_soname_GL:+false} :; then :
10704 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10705 fi ;;
10706 esac
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_soname_save_LIBS
10712 if ${ac_cv_lib_soname_GL:+false} :; then :
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10714 $as_echo "not found" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10716 $as_echo_n "checking for -lGL... " >&6; }
10717 if ${ac_cv_lib_soname_GL+:} false; then :
10718 $as_echo_n "(cached) " >&6
10719 else
10720 ac_check_soname_save_LIBS=$LIBS
10721 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"
10722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char glXCreateContext ();
10733 main ()
10735 return glXCreateContext ();
10737 return 0;
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"; then :
10741 case "$LIBEXT" in
10742 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10743 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'` ;;
10744 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10745 if ${ac_cv_lib_soname_GL:+false} :; then :
10746 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10747 fi ;;
10748 esac
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 LIBS=$ac_check_soname_save_LIBS
10754 if ${ac_cv_lib_soname_GL:+false} :; then :
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10756 $as_echo "not found" >&6; }
10757 if test -f /usr/X11R6/lib/libGL.a
10758 then
10759 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10760 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10761 else
10762 opengl_msg="No OpenGL library found on this system."
10764 else
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10766 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10768 cat >>confdefs.h <<_ACEOF
10769 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10770 _ACEOF
10772 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"
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10776 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10780 _ACEOF
10782 OPENGL_LIBS="-lGL"
10784 if test "x$with_glu" != "xno"
10785 then
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10787 $as_echo_n "checking for -lGLU... " >&6; }
10788 if ${ac_cv_lib_soname_GLU+:} false; then :
10789 $as_echo_n "(cached) " >&6
10790 else
10791 ac_check_soname_save_LIBS=$LIBS
10792 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $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 gluLookAt ();
10804 main ()
10806 return gluLookAt ();
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 case "$LIBEXT" in
10813 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10814 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'` ;;
10815 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10816 if ${ac_cv_lib_soname_GLU:+false} :; then :
10817 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$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_GLU:+false} :; then :
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10827 $as_echo "not found" >&6; }
10829 else
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10831 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10833 cat >>confdefs.h <<_ACEOF
10834 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10835 _ACEOF
10839 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10840 case "x$with_glu" in
10841 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10842 xno) ;;
10843 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10844 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10845 esac
10850 if test "x$with_osmesa" != "xno"
10851 then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10853 $as_echo_n "checking for -lOSMesa... " >&6; }
10854 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_soname_save_LIBS=$LIBS
10858 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char glAccum ();
10870 main ()
10872 return glAccum ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 case "$LIBEXT" in
10879 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10880 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'` ;;
10881 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10882 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10883 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10884 fi ;;
10885 esac
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_soname_save_LIBS
10891 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10895 else
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10897 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10899 cat >>confdefs.h <<_ACEOF
10900 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10901 _ACEOF
10905 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10906 case "x$with_osmesa" in
10907 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10908 xno) ;;
10909 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10910 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10911 esac
10916 if test -n "$opengl_msg"; then :
10917 case "x$with_opengl" in
10918 x) as_fn_append wine_warnings "|$opengl_msg
10919 OpenGL and Direct3D won't be supported." ;;
10920 xno) ;;
10921 *) as_fn_error $? "$opengl_msg
10922 OpenGL and Direct3D won't be supported.
10923 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10924 esac
10928 CPPFLAGS="$ac_save_CPPFLAGS"
10929 else
10930 X_CFLAGS=""
10931 X_LIBS=""
10933 if test "x$X_LIBS" = "x"; then :
10934 case "x$with_x" in
10935 xno) ;;
10936 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10937 without X support, which probably isn't what you want. You will need
10938 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10939 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10940 esac
10941 enable_winex11_drv=${enable_winex11_drv:-no}
10944 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
10946 if test "$ac_cv_header_CL_cl_h" = "yes"
10947 then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10949 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10950 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10951 $as_echo_n "(cached) " >&6
10952 else
10953 ac_check_lib_save_LIBS=$LIBS
10954 LIBS="-lOpenCL $LIBS"
10955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10958 /* Override any GCC internal prototype to avoid an error.
10959 Use char because int might match the return type of a GCC
10960 builtin and then its argument prototype would still apply. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 char clGetPlatformInfo ();
10966 main ()
10968 return clGetPlatformInfo ();
10970 return 0;
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10975 else
10976 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10978 rm -f core conftest.err conftest.$ac_objext \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LIBS=$ac_check_lib_save_LIBS
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10983 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10984 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10985 OPENCL_LIBS="-lOpenCL"
10990 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10991 case "x$with_opencl" in
10992 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10993 xno) ;;
10994 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10995 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10996 esac
10997 enable_opencl=${enable_opencl:-no}
11000 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11001 then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11003 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11004 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lpcap $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char pcap_create ();
11020 main ()
11022 return pcap_create ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_pcap_pcap_create=yes
11029 else
11030 ac_cv_lib_pcap_pcap_create=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11037 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11038 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11039 PCAP_LIBS="-lpcap"
11044 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11045 case "x$with_pcap" in
11046 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11047 xno) ;;
11048 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11049 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11050 esac
11051 enable_wpcap=${enable_wpcap:-no}
11055 if test "x$with_xml" != "xno"
11056 then
11057 if ${XML2_CFLAGS:+false} :; then :
11058 if ${PKG_CONFIG+:} false; then :
11059 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11062 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11063 if ${XML2_LIBS:+false} :; then :
11064 if ${PKG_CONFIG+:} false; then :
11065 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11068 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11069 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11070 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11071 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11072 ac_save_CPPFLAGS=$CPPFLAGS
11073 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11074 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11075 do :
11076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11077 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11078 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11079 cat >>confdefs.h <<_ACEOF
11080 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11081 _ACEOF
11085 done
11087 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"
11088 then
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11090 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11091 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11092 $as_echo_n "(cached) " >&6
11093 else
11094 ac_check_lib_save_LIBS=$LIBS
11095 LIBS="-lxml2 $XML2_LIBS $LIBS"
11096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11097 /* end confdefs.h. */
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11102 #ifdef __cplusplus
11103 extern "C"
11104 #endif
11105 char xmlParseMemory ();
11107 main ()
11109 return xmlParseMemory ();
11111 return 0;
11113 _ACEOF
11114 if ac_fn_c_try_link "$LINENO"; then :
11115 ac_cv_lib_xml2_xmlParseMemory=yes
11116 else
11117 ac_cv_lib_xml2_xmlParseMemory=no
11119 rm -f core conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 LIBS=$ac_check_lib_save_LIBS
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11124 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11125 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11127 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11129 else
11130 XML2_LIBS=""
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11134 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11135 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11136 $as_echo_n "(cached) " >&6
11137 else
11138 ac_check_lib_save_LIBS=$LIBS
11139 LIBS="-lxml2 $XML2_LIBS $LIBS"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11143 /* Override any GCC internal prototype to avoid an error.
11144 Use char because int might match the return type of a GCC
11145 builtin and then its argument prototype would still apply. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 char xmlReadMemory ();
11151 main ()
11153 return xmlReadMemory ();
11155 return 0;
11157 _ACEOF
11158 if ac_fn_c_try_link "$LINENO"; then :
11159 ac_cv_lib_xml2_xmlReadMemory=yes
11160 else
11161 ac_cv_lib_xml2_xmlReadMemory=no
11163 rm -f core conftest.err conftest.$ac_objext \
11164 conftest$ac_exeext conftest.$ac_ext
11165 LIBS=$ac_check_lib_save_LIBS
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11168 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11169 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11171 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11176 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11177 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11178 $as_echo_n "(cached) " >&6
11179 else
11180 ac_check_lib_save_LIBS=$LIBS
11181 LIBS="-lxml2 $XML2_LIBS $LIBS"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char xmlNewDocPI ();
11193 main ()
11195 return xmlNewDocPI ();
11197 return 0;
11199 _ACEOF
11200 if ac_fn_c_try_link "$LINENO"; then :
11201 ac_cv_lib_xml2_xmlNewDocPI=yes
11202 else
11203 ac_cv_lib_xml2_xmlNewDocPI=no
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_lib_save_LIBS
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11210 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11211 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11213 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11218 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11219 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11220 $as_echo_n "(cached) " >&6
11221 else
11222 ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-lxml2 $XML2_LIBS $LIBS"
11224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11225 /* end confdefs.h. */
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11230 #ifdef __cplusplus
11231 extern "C"
11232 #endif
11233 char xmlSchemaSetParserStructuredErrors ();
11235 main ()
11237 return xmlSchemaSetParserStructuredErrors ();
11239 return 0;
11241 _ACEOF
11242 if ac_fn_c_try_link "$LINENO"; then :
11243 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11244 else
11245 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11247 rm -f core conftest.err conftest.$ac_objext \
11248 conftest$ac_exeext conftest.$ac_ext
11249 LIBS=$ac_check_lib_save_LIBS
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11252 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11253 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11255 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11260 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11261 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lxml2 $XML2_LIBS $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char xmlSchemaSetValidStructuredErrors ();
11277 main ()
11279 return xmlSchemaSetValidStructuredErrors ();
11281 return 0;
11283 _ACEOF
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11286 else
11287 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11294 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11295 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11297 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11302 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11303 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11304 $as_echo_n "(cached) " >&6
11305 else
11306 ac_check_lib_save_LIBS=$LIBS
11307 LIBS="-lxml2 $XML2_LIBS $LIBS"
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char xmlFirstElementChild ();
11319 main ()
11321 return xmlFirstElementChild ();
11323 return 0;
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_xml2_xmlFirstElementChild=yes
11328 else
11329 ac_cv_lib_xml2_xmlFirstElementChild=no
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11336 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11337 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11339 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11343 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11345 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11347 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11351 else
11352 XML2_CFLAGS=""
11353 XML2_LIBS=""
11355 CPPFLAGS=$ac_save_CPPFLAGS
11356 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11357 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11360 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11361 case "x$with_xml" in
11362 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11363 xno) ;;
11364 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11365 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11366 esac
11370 if test "x$with_xslt" != "xno"
11371 then
11372 if ${XSLT_CFLAGS:+false} :; then :
11373 if ${PKG_CONFIG+:} false; then :
11374 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11377 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11378 if ${XSLT_LIBS:+false} :; then :
11379 if ${PKG_CONFIG+:} false; then :
11380 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11383 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11384 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11385 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11386 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11387 ac_save_CPPFLAGS=$CPPFLAGS
11388 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11389 for ac_header in libxslt/pattern.h libxslt/transform.h
11390 do :
11391 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11392 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11393 # include <libxslt/pattern.h>
11394 #endif
11396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11397 cat >>confdefs.h <<_ACEOF
11398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11399 _ACEOF
11403 done
11405 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11406 then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11408 $as_echo_n "checking for -lxslt... " >&6; }
11409 if ${ac_cv_lib_soname_xslt+:} false; then :
11410 $as_echo_n "(cached) " >&6
11411 else
11412 ac_check_soname_save_LIBS=$LIBS
11413 LIBS="-lxslt $XSLT_LIBS $LIBS"
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11420 #ifdef __cplusplus
11421 extern "C"
11422 #endif
11423 char xsltCompilePattern ();
11425 main ()
11427 return xsltCompilePattern ();
11429 return 0;
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"; then :
11433 case "$LIBEXT" in
11434 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11435 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'` ;;
11436 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11437 if ${ac_cv_lib_soname_xslt:+false} :; then :
11438 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11439 fi ;;
11440 esac
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_soname_save_LIBS
11446 if ${ac_cv_lib_soname_xslt:+false} :; then :
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11448 $as_echo "not found" >&6; }
11450 else
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11452 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11454 cat >>confdefs.h <<_ACEOF
11455 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11456 _ACEOF
11460 else
11461 XSLT_CFLAGS=""
11463 CPPFLAGS=$ac_save_CPPFLAGS
11464 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11465 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11468 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11469 case "x$with_xslt" in
11470 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11471 xno) ;;
11472 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11473 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11474 esac
11478 if test "x$with_dbus" != "xno"
11479 then
11480 if ${DBUS_CFLAGS:+false} :; then :
11481 if ${PKG_CONFIG+:} false; then :
11482 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11486 if ${DBUS_LIBS:+false} :; then :
11487 if ${PKG_CONFIG+:} false; then :
11488 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11493 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11494 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11495 ac_save_CPPFLAGS=$CPPFLAGS
11496 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11497 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11498 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11500 $as_echo_n "checking for -ldbus-1... " >&6; }
11501 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char dbus_connection_close ();
11517 main ()
11519 return dbus_connection_close ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) 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'`
11529 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11530 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11541 DBUS_CFLAGS=""
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11544 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11548 _ACEOF
11552 else
11553 DBUS_CFLAGS=""
11557 CPPFLAGS=$ac_save_CPPFLAGS
11558 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11559 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11562 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11563 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11564 case "x$with_dbus" in
11565 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11566 xno) ;;
11567 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11568 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11569 esac
11573 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11574 then
11575 if ${HAL_CFLAGS:+false} :; then :
11576 if ${PKG_CONFIG+:} false; then :
11577 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11581 if ${HAL_LIBS:+false} :; then :
11582 if ${PKG_CONFIG+:} false; then :
11583 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11587 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11588 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11589 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11590 ac_save_CPPFLAGS=$CPPFLAGS
11591 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11592 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11593 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11595 $as_echo_n "checking for -lhal... " >&6; }
11596 if ${ac_cv_lib_soname_hal+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_soname_save_LIBS=$LIBS
11600 LIBS="-lhal $HAL_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char libhal_ctx_new ();
11612 main ()
11614 return libhal_ctx_new ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 case "$LIBEXT" in
11621 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11622 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'` ;;
11623 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11624 if ${ac_cv_lib_soname_hal:+false} :; then :
11625 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11626 fi ;;
11627 esac
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_soname_save_LIBS
11633 if ${ac_cv_lib_soname_hal:+false} :; then :
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11635 $as_echo "not found" >&6; }
11636 HAL_CFLAGS=""
11637 else
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11639 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11641 cat >>confdefs.h <<_ACEOF
11642 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11643 _ACEOF
11647 else
11648 HAL_CFLAGS=""
11652 CPPFLAGS=$ac_save_CPPFLAGS
11653 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11654 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11656 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11657 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11658 case "x$with_hal" in
11659 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11660 xno) ;;
11661 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11662 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11663 esac
11668 if test "x$with_gnutls" != "xno"
11669 then
11670 if ${GNUTLS_CFLAGS:+false} :; then :
11671 if ${PKG_CONFIG+:} false; then :
11672 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11676 if ${GNUTLS_LIBS:+false} :; then :
11677 if ${PKG_CONFIG+:} false; then :
11678 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11683 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11684 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11685 ac_save_CPPFLAGS=$CPPFLAGS
11686 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11687 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11688 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 #include <gnutls/gnutls.h>
11692 #include <gnutls/crypto.h>
11694 main ()
11696 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_compile "$LINENO"; then :
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11703 $as_echo_n "checking for -lgnutls... " >&6; }
11704 if ${ac_cv_lib_soname_gnutls+:} false; then :
11705 $as_echo_n "(cached) " >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11712 /* Override any GCC internal prototype to avoid an error.
11713 Use char because int might match the return type of a GCC
11714 builtin and then its argument prototype would still apply. */
11715 #ifdef __cplusplus
11716 extern "C"
11717 #endif
11718 char gnutls_global_init ();
11720 main ()
11722 return gnutls_global_init ();
11724 return 0;
11726 _ACEOF
11727 if ac_fn_c_try_link "$LINENO"; then :
11728 case "$LIBEXT" in
11729 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11730 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'` ;;
11731 *) 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'`
11732 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11733 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'`
11734 fi ;;
11735 esac
11737 rm -f core conftest.err conftest.$ac_objext \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_soname_save_LIBS
11741 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11743 $as_echo "not found" >&6; }
11744 GNUTLS_CFLAGS=""
11745 else
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11747 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11749 cat >>confdefs.h <<_ACEOF
11750 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11751 _ACEOF
11755 ac_wine_check_funcs_save_LIBS="$LIBS"
11756 LIBS="$LIBS $GNUTLS_LIBS"
11757 for ac_func in gnutls_hash
11758 do :
11759 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11760 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11761 cat >>confdefs.h <<_ACEOF
11762 #define HAVE_GNUTLS_HASH 1
11763 _ACEOF
11765 else
11766 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11768 done
11770 LIBS="$ac_wine_check_funcs_save_LIBS"
11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11773 else
11774 GNUTLS_CFLAGS=""
11778 CPPFLAGS=$ac_save_CPPFLAGS
11779 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11780 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11783 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11784 case "x$with_gnutls" in
11785 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11786 xno) ;;
11787 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11788 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11789 esac
11793 CURSES_LIBS=""
11794 if test "$ac_cv_header_ncurses_h" = "yes"
11795 then
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11797 $as_echo_n "checking for -lncurses... " >&6; }
11798 if ${ac_cv_lib_soname_ncurses+:} false; then :
11799 $as_echo_n "(cached) " >&6
11800 else
11801 ac_check_soname_save_LIBS=$LIBS
11802 LIBS="-lncurses $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 char waddch ();
11814 main ()
11816 return waddch ();
11818 return 0;
11820 _ACEOF
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 case "$LIBEXT" in
11823 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11824 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'` ;;
11825 *) 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'`
11826 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11827 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11828 fi ;;
11829 esac
11831 rm -f core conftest.err conftest.$ac_objext \
11832 conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_soname_save_LIBS
11835 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11837 $as_echo "not found" >&6; }
11839 else
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11841 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11843 cat >>confdefs.h <<_ACEOF
11844 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11845 _ACEOF
11847 CURSES_LIBS="-lncurses"
11849 elif test "$ac_cv_header_curses_h" = "yes"
11850 then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11852 $as_echo_n "checking for -lcurses... " >&6; }
11853 if ${ac_cv_lib_soname_curses+:} false; then :
11854 $as_echo_n "(cached) " >&6
11855 else
11856 ac_check_soname_save_LIBS=$LIBS
11857 LIBS="-lcurses $LIBS"
11858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11859 /* end confdefs.h. */
11861 /* Override any GCC internal prototype to avoid an error.
11862 Use char because int might match the return type of a GCC
11863 builtin and then its argument prototype would still apply. */
11864 #ifdef __cplusplus
11865 extern "C"
11866 #endif
11867 char waddch ();
11869 main ()
11871 return waddch ();
11873 return 0;
11875 _ACEOF
11876 if ac_fn_c_try_link "$LINENO"; then :
11877 case "$LIBEXT" in
11878 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11879 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'` ;;
11880 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11881 if ${ac_cv_lib_soname_curses:+false} :; then :
11882 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11883 fi ;;
11884 esac
11886 rm -f core conftest.err conftest.$ac_objext \
11887 conftest$ac_exeext conftest.$ac_ext
11888 LIBS=$ac_check_soname_save_LIBS
11890 if ${ac_cv_lib_soname_curses:+false} :; then :
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11892 $as_echo "not found" >&6; }
11894 else
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11896 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11898 cat >>confdefs.h <<_ACEOF
11899 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11900 _ACEOF
11902 CURSES_LIBS="-lcurses"
11905 ac_save_LIBS="$LIBS"
11906 LIBS="$LIBS $CURSES_LIBS"
11907 for ac_func in mousemask
11908 do :
11909 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11910 if test "x$ac_cv_func_mousemask" = xyes; then :
11911 cat >>confdefs.h <<_ACEOF
11912 #define HAVE_MOUSEMASK 1
11913 _ACEOF
11916 done
11918 LIBS="$ac_save_LIBS"
11919 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11920 case "x$with_curses" in
11921 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11924 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "x$with_sane" != "xno"
11930 then
11931 if ${SANE_CFLAGS:+false} :; then :
11932 if ${PKG_CONFIG+:} false; then :
11933 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11936 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11937 if ${SANE_LIBS:+false} :; then :
11938 if ${PKG_CONFIG+:} false; then :
11939 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11942 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11944 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11945 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11946 ac_save_CPPFLAGS=$CPPFLAGS
11947 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11948 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11949 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11951 $as_echo_n "checking for -lsane... " >&6; }
11952 if ${ac_cv_lib_soname_sane+:} false; then :
11953 $as_echo_n "(cached) " >&6
11954 else
11955 ac_check_soname_save_LIBS=$LIBS
11956 LIBS="-lsane $SANE_LIBS $LIBS"
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11960 /* Override any GCC internal prototype to avoid an error.
11961 Use char because int might match the return type of a GCC
11962 builtin and then its argument prototype would still apply. */
11963 #ifdef __cplusplus
11964 extern "C"
11965 #endif
11966 char sane_init ();
11968 main ()
11970 return sane_init ();
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_link "$LINENO"; then :
11976 case "$LIBEXT" in
11977 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11978 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'` ;;
11979 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11980 if ${ac_cv_lib_soname_sane:+false} :; then :
11981 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11982 fi ;;
11983 esac
11985 rm -f core conftest.err conftest.$ac_objext \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_soname_save_LIBS
11989 if ${ac_cv_lib_soname_sane:+false} :; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11991 $as_echo "not found" >&6; }
11992 SANE_CFLAGS=""
11993 else
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11995 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11999 _ACEOF
12003 else
12004 SANE_CFLAGS=""
12008 CPPFLAGS=$ac_save_CPPFLAGS
12009 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12010 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12013 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12014 case "x$with_sane" in
12015 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12016 xno) ;;
12017 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12018 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12019 esac
12023 if test "x$with_v4l" != "xno"
12024 then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12026 $as_echo_n "checking for -lv4l1... " >&6; }
12027 if ${ac_cv_lib_soname_v4l1+:} false; then :
12028 $as_echo_n "(cached) " >&6
12029 else
12030 ac_check_soname_save_LIBS=$LIBS
12031 LIBS="-lv4l1 $LIBS"
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h. */
12035 /* Override any GCC internal prototype to avoid an error.
12036 Use char because int might match the return type of a GCC
12037 builtin and then its argument prototype would still apply. */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char v4l1_open ();
12043 main ()
12045 return v4l1_open ();
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051 case "$LIBEXT" in
12052 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12053 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'` ;;
12054 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12055 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12056 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12057 fi ;;
12058 esac
12060 rm -f core conftest.err conftest.$ac_objext \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_soname_save_LIBS
12064 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12066 $as_echo "not found" >&6; }
12068 else
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12070 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12072 cat >>confdefs.h <<_ACEOF
12073 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12074 _ACEOF
12079 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12080 case "x$with_v4l" in
12081 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12082 xno) ;;
12083 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12084 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12085 esac
12089 if test "x$with_gphoto" != "xno"
12090 then
12091 if ${GPHOTO2_CFLAGS:+false} :; then :
12092 if ${PKG_CONFIG+:} false; then :
12093 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12096 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12097 if ${GPHOTO2_LIBS:+false} :; then :
12098 if ${PKG_CONFIG+:} false; then :
12099 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12102 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12103 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12104 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12105 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12106 ac_save_CPPFLAGS=$CPPFLAGS
12107 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12108 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12109 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12111 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12112 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12113 $as_echo_n "(cached) " >&6
12114 else
12115 ac_check_lib_save_LIBS=$LIBS
12116 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12120 /* Override any GCC internal prototype to avoid an error.
12121 Use char because int might match the return type of a GCC
12122 builtin and then its argument prototype would still apply. */
12123 #ifdef __cplusplus
12124 extern "C"
12125 #endif
12126 char gp_camera_new ();
12128 main ()
12130 return gp_camera_new ();
12132 return 0;
12134 _ACEOF
12135 if ac_fn_c_try_link "$LINENO"; then :
12136 ac_cv_lib_gphoto2_gp_camera_new=yes
12137 else
12138 ac_cv_lib_gphoto2_gp_camera_new=no
12140 rm -f core conftest.err conftest.$ac_objext \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_lib_save_LIBS
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12145 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12146 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12148 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12150 else
12151 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12154 else
12155 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12159 CPPFLAGS=$ac_save_CPPFLAGS
12160 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12161 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12163 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12164 if ${PKG_CONFIG+:} false; then :
12165 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12168 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12169 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12170 if ${PKG_CONFIG+:} false; then :
12171 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12174 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12175 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12176 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12177 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12178 ac_save_CPPFLAGS=$CPPFLAGS
12179 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12180 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12181 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12183 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12184 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12185 $as_echo_n "(cached) " >&6
12186 else
12187 ac_check_lib_save_LIBS=$LIBS
12188 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12195 #ifdef __cplusplus
12196 extern "C"
12197 #endif
12198 char gp_port_info_list_new ();
12200 main ()
12202 return gp_port_info_list_new ();
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_link "$LINENO"; then :
12208 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12209 else
12210 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12212 rm -f core conftest.err conftest.$ac_objext \
12213 conftest$ac_exeext conftest.$ac_ext
12214 LIBS=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12217 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12218 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12220 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12222 else
12223 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12226 else
12227 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12232 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12233 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12236 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12237 case "x$with_gphoto" in
12238 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12239 xno) ;;
12240 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12241 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12242 esac
12245 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12246 case "x$with_gphoto" in
12247 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12248 xno) ;;
12249 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12250 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12251 esac
12256 if test "$ac_cv_header_resolv_h" = "yes"
12257 then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12259 $as_echo_n "checking for resolver library... " >&6; }
12260 if ${ac_cv_have_resolv+:} false; then :
12261 $as_echo_n "(cached) " >&6
12262 else
12263 ac_save_LIBS="$LIBS"
12264 for lib in '' -lresolv
12266 LIBS="$lib $ac_save_LIBS"
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #ifdef HAVE_NETINET_IN_H
12270 #include <netinet/in.h>
12271 #endif
12272 #include <resolv.h>
12274 main ()
12276 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12278 return 0;
12280 _ACEOF
12281 if ac_fn_c_try_link "$LINENO"; then :
12282 ac_cv_have_resolv=${lib:-"none required"}
12283 else
12284 ac_cv_have_resolv="not found"
12286 rm -f core conftest.err conftest.$ac_objext \
12287 conftest$ac_exeext conftest.$ac_ext
12288 test "x$ac_cv_have_resolv" = "xnot found" || break
12289 done
12290 LIBS="$ac_save_LIBS"
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12293 $as_echo "$ac_cv_have_resolv" >&6; }
12295 case "$ac_cv_have_resolv" in
12296 "not found") ;;
12297 "none required")
12299 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12302 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12304 RESOLV_LIBS=$ac_cv_have_resolv
12306 esac
12309 if test "x$with_cms" != "xno"
12310 then
12311 if ${LCMS2_CFLAGS:+false} :; then :
12312 if ${PKG_CONFIG+:} false; then :
12313 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12317 if ${LCMS2_LIBS:+false} :; then :
12318 if ${PKG_CONFIG+:} false; then :
12319 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12323 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12324 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12325 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12326 ac_save_CPPFLAGS=$CPPFLAGS
12327 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12328 for ac_header in lcms2.h
12329 do :
12330 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12331 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12332 cat >>confdefs.h <<_ACEOF
12333 #define HAVE_LCMS2_H 1
12334 _ACEOF
12338 done
12340 if test "$ac_cv_header_lcms2_h" = "yes"
12341 then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12343 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12344 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12345 $as_echo_n "(cached) " >&6
12346 else
12347 ac_check_lib_save_LIBS=$LIBS
12348 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 /* Override any GCC internal prototype to avoid an error.
12353 Use char because int might match the return type of a GCC
12354 builtin and then its argument prototype would still apply. */
12355 #ifdef __cplusplus
12356 extern "C"
12357 #endif
12358 char cmsOpenProfileFromFile ();
12360 main ()
12362 return cmsOpenProfileFromFile ();
12364 return 0;
12366 _ACEOF
12367 if ac_fn_c_try_link "$LINENO"; then :
12368 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12369 else
12370 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12372 rm -f core conftest.err conftest.$ac_objext \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_lib_save_LIBS
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12377 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12378 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12380 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12382 else
12383 LCMS2_LIBS=""
12386 else
12387 LCMS2_CFLAGS=""
12388 LCMS2_LIBS=""
12390 CPPFLAGS=$ac_save_CPPFLAGS
12391 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12392 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12395 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12396 case "x$with_cms" in
12397 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12398 xno) ;;
12399 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12400 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12401 esac
12405 if test "x$with_freetype" != "xno"
12406 then
12407 if ${FREETYPE_CFLAGS:+false} :; then :
12408 if ${PKG_CONFIG+:} false; then :
12409 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12412 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12413 if ${FREETYPE_LIBS:+false} :; then :
12414 if ${PKG_CONFIG+:} false; then :
12415 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12418 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12419 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12420 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12421 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12422 ac_save_CPPFLAGS=$CPPFLAGS
12423 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12424 for ac_header in ft2build.h
12425 do :
12426 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12427 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_FT2BUILD_H 1
12430 _ACEOF
12434 done
12436 if test "$ac_cv_header_ft2build_h" = "yes"
12437 then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12439 $as_echo_n "checking for -lfreetype... " >&6; }
12440 if ${ac_cv_lib_soname_freetype+:} false; then :
12441 $as_echo_n "(cached) " >&6
12442 else
12443 ac_check_soname_save_LIBS=$LIBS
12444 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12451 #ifdef __cplusplus
12452 extern "C"
12453 #endif
12454 char FT_Init_FreeType ();
12456 main ()
12458 return FT_Init_FreeType ();
12460 return 0;
12462 _ACEOF
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 case "$LIBEXT" in
12465 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12466 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'` ;;
12467 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12468 if ${ac_cv_lib_soname_freetype:+false} :; then :
12469 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12470 fi ;;
12471 esac
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_soname_save_LIBS
12477 if ${ac_cv_lib_soname_freetype:+false} :; then :
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12479 $as_echo "not found" >&6; }
12480 FREETYPE_LIBS=""
12481 else
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12483 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12485 cat >>confdefs.h <<_ACEOF
12486 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12487 _ACEOF
12490 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12492 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12493 #include FT_MODULE_H
12495 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12497 cat >>confdefs.h <<_ACEOF
12498 #define HAVE_FT_TRUETYPEENGINETYPE 1
12499 _ACEOF
12505 else
12506 FREETYPE_CFLAGS=""
12507 FREETYPE_LIBS=""
12509 CPPFLAGS=$ac_save_CPPFLAGS
12510 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12511 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12514 if test "x$ac_cv_lib_soname_freetype" = x; then :
12515 case "x$with_freetype" in
12516 xno) ;;
12517 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12518 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12519 esac
12520 enable_fonts=${enable_fonts:-no}
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12524 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12525 if ${ac_cv_c_ppdev+:} false; then :
12526 $as_echo_n "(cached) " >&6
12527 else
12528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12529 /* end confdefs.h. */
12530 #ifdef HAVE_SYS_IOCTL_H
12531 # include <sys/ioctl.h>
12532 #endif
12533 #include <linux/ppdev.h>
12535 main ()
12537 ioctl (1,PPCLAIM,0)
12539 return 0;
12541 _ACEOF
12542 if ac_fn_c_try_compile "$LINENO"; then :
12543 ac_cv_c_ppdev="yes"
12544 else
12545 ac_cv_c_ppdev="no"
12547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12550 $as_echo "$ac_cv_c_ppdev" >&6; }
12551 if test "$ac_cv_c_ppdev" = "yes"
12552 then
12554 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12558 ac_wine_check_funcs_save_LIBS="$LIBS"
12559 LIBS="$LIBS $PTHREAD_LIBS"
12560 for ac_func in \
12561 pthread_attr_get_np \
12562 pthread_getattr_np \
12563 pthread_getthreadid_np \
12564 pthread_get_stackaddr_np \
12565 pthread_get_stacksize_np
12566 do :
12567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12569 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12570 cat >>confdefs.h <<_ACEOF
12571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12572 _ACEOF
12575 done
12577 LIBS="$ac_wine_check_funcs_save_LIBS"
12579 if test "$ac_cv_header_zlib_h" = "yes"
12580 then
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12582 $as_echo_n "checking for inflate in -lz... " >&6; }
12583 if ${ac_cv_lib_z_inflate+:} false; then :
12584 $as_echo_n "(cached) " >&6
12585 else
12586 ac_check_lib_save_LIBS=$LIBS
12587 LIBS="-lz $LIBS"
12588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12589 /* end confdefs.h. */
12591 /* Override any GCC internal prototype to avoid an error.
12592 Use char because int might match the return type of a GCC
12593 builtin and then its argument prototype would still apply. */
12594 #ifdef __cplusplus
12595 extern "C"
12596 #endif
12597 char inflate ();
12599 main ()
12601 return inflate ();
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_link "$LINENO"; then :
12607 ac_cv_lib_z_inflate=yes
12608 else
12609 ac_cv_lib_z_inflate=no
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 LIBS=$ac_check_lib_save_LIBS
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12616 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12617 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12619 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12621 Z_LIBS="-lz"
12626 if test "x$Z_LIBS" = "x"; then :
12627 case "x$with_zlib" in
12628 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12629 xno) ;;
12630 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12631 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12632 esac
12636 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12637 then
12638 if test "$ac_cv_header_gettext_po_h" = "yes"
12639 then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12641 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12642 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12643 $as_echo_n "(cached) " >&6
12644 else
12645 ac_check_lib_save_LIBS=$LIBS
12646 LIBS="-lgettextpo $LIBS"
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12653 #ifdef __cplusplus
12654 extern "C"
12655 #endif
12656 char po_message_msgctxt ();
12658 main ()
12660 return po_message_msgctxt ();
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"; then :
12666 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12667 else
12668 ac_cv_lib_gettextpo_po_message_msgctxt=no
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_lib_save_LIBS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12675 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12676 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12678 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12680 GETTEXTPO_LIBS="-lgettextpo"
12685 if test "x$GETTEXTPO_LIBS" = "x"; then :
12686 case "x$with_gettextpo" in
12687 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12688 xno) ;;
12689 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12690 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12691 esac
12694 if test "$srcdir" != .; then :
12695 case "x$with_gettextpo" in
12696 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12697 xno) ;;
12698 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12699 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12700 esac
12705 if test "x$with_pulse" != "xno";
12706 then
12707 if ${PULSE_CFLAGS:+false} :; then :
12708 if ${PKG_CONFIG+:} false; then :
12709 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12713 if ${PULSE_LIBS:+false} :; then :
12714 if ${PKG_CONFIG+:} false; then :
12715 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12720 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12721 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12724 for ac_header in pulse/pulseaudio.h
12725 do :
12726 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12727 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12728 cat >>confdefs.h <<_ACEOF
12729 #define HAVE_PULSE_PULSEAUDIO_H 1
12730 _ACEOF
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12732 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12733 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12734 $as_echo_n "(cached) " >&6
12735 else
12736 ac_check_lib_save_LIBS=$LIBS
12737 LIBS="-lpulse $PULSE_LIBS $LIBS"
12738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12739 /* end confdefs.h. */
12741 /* Override any GCC internal prototype to avoid an error.
12742 Use char because int might match the return type of a GCC
12743 builtin and then its argument prototype would still apply. */
12744 #ifdef __cplusplus
12745 extern "C"
12746 #endif
12747 char pa_stream_is_corked ();
12749 main ()
12751 return pa_stream_is_corked ();
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_link "$LINENO"; then :
12757 ac_cv_lib_pulse_pa_stream_is_corked=yes
12758 else
12759 ac_cv_lib_pulse_pa_stream_is_corked=no
12761 rm -f core conftest.err conftest.$ac_objext \
12762 conftest$ac_exeext conftest.$ac_ext
12763 LIBS=$ac_check_lib_save_LIBS
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12766 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12767 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12769 else
12770 PULSE_LIBS=""
12773 else
12774 PULSE_LIBS=""
12777 done
12779 CPPFLAGS=$ac_save_CPPFLAGS
12780 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12781 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12784 if test -z "$PULSE_LIBS"; then :
12785 case "x$with_pulse" in
12786 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12787 xno) ;;
12788 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12789 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12790 esac
12791 enable_winepulse_drv=${enable_winepulse_drv:-no}
12794 if test "x$with_gstreamer" != "xno"
12795 then
12796 if ${GSTREAMER_CFLAGS:+false} :; then :
12797 if ${PKG_CONFIG+:} false; then :
12798 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12802 if ${GSTREAMER_LIBS:+false} :; then :
12803 if ${PKG_CONFIG+:} false; then :
12804 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12809 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12810 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12811 ac_save_CPPFLAGS=$CPPFLAGS
12812 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12813 ac_gst_incl=""
12814 for i in $GSTREAMER_CFLAGS
12816 case "$i" in
12817 -I*) ac_gst_incl="$ac_gst_incl $i";;
12818 esac
12819 done
12820 GSTREAMER_CFLAGS=$ac_gst_incl
12821 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12822 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12823 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12825 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12828 #include <gst/gst.h>
12830 main ()
12832 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12834 return 0;
12836 _ACEOF
12837 if ac_fn_c_try_compile "$LINENO"; then :
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12839 $as_echo "yes" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12841 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12842 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char gst_pad_new ();
12858 main ()
12860 return gst_pad_new ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12867 else
12868 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12875 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12876 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12880 else
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12883 ac_glib2_broken=yes
12884 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 CPPFLAGS=$ac_save_CPPFLAGS
12891 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12892 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12895 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 :
12896 case "x$with_gstreamer" in
12897 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12898 xno) ;;
12899 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12900 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12901 esac
12904 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12906 ALSA_LIBS=""
12908 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12909 then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12911 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12912 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12913 $as_echo_n "(cached) " >&6
12914 else
12915 ac_check_lib_save_LIBS=$LIBS
12916 LIBS="-lasound $LIBS"
12917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12918 /* end confdefs.h. */
12920 /* Override any GCC internal prototype to avoid an error.
12921 Use char because int might match the return type of a GCC
12922 builtin and then its argument prototype would still apply. */
12923 #ifdef __cplusplus
12924 extern "C"
12925 #endif
12926 char snd_pcm_hw_params_get_access_mask ();
12928 main ()
12930 return snd_pcm_hw_params_get_access_mask ();
12932 return 0;
12934 _ACEOF
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12937 else
12938 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 LIBS=$ac_check_lib_save_LIBS
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12945 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12946 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12949 #ifdef HAVE_ALSA_ASOUNDLIB_H
12950 #include <alsa/asoundlib.h>
12951 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12952 #include <sys/asoundlib.h>
12953 #endif
12955 main ()
12957 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12959 return 0;
12961 _ACEOF
12962 if ac_fn_c_try_compile "$LINENO"; then :
12963 ALSA_LIBS="-lasound"
12965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12969 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12971 if test "x$with_oss" != xno
12972 then
12973 ac_save_CPPFLAGS="$CPPFLAGS"
12974 if test -f /etc/oss.conf
12975 then
12976 . /etc/oss.conf
12978 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12979 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12980 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12981 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12982 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12984 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12988 _ACEOF
12990 OSS4_CFLAGS="$ac_oss_incl"
12997 CPPFLAGS="$ac_save_CPPFLAGS"
12999 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13000 case "x$with_oss" in
13001 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13002 xno) ;;
13003 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13004 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13005 esac
13006 enable_wineoss_drv=${enable_wineoss_drv:-no}
13009 if test "x$with_udev" != "xno"
13010 then
13011 if ${UDEV_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13017 if ${UDEV_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13023 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13024 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13026 ac_save_CPPFLAGS=$CPPFLAGS
13027 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13028 for ac_header in libudev.h
13029 do :
13030 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_libudev_h" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_LIBUDEV_H 1
13034 _ACEOF
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13036 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13037 if ${ac_cv_lib_udev_udev_new+:} false; then :
13038 $as_echo_n "(cached) " >&6
13039 else
13040 ac_check_lib_save_LIBS=$LIBS
13041 LIBS="-ludev $UDEV_LIBS $LIBS"
13042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043 /* end confdefs.h. */
13045 /* Override any GCC internal prototype to avoid an error.
13046 Use char because int might match the return type of a GCC
13047 builtin and then its argument prototype would still apply. */
13048 #ifdef __cplusplus
13049 extern "C"
13050 #endif
13051 char udev_new ();
13053 main ()
13055 return udev_new ();
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_link "$LINENO"; then :
13061 ac_cv_lib_udev_udev_new=yes
13062 else
13063 ac_cv_lib_udev_udev_new=no
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_lib_save_LIBS
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13070 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13071 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13073 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13075 else
13076 UDEV_LIBS=""
13079 else
13080 UDEV_LIBS=""
13083 done
13085 CPPFLAGS=$ac_save_CPPFLAGS
13086 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13087 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13090 if test "x$UDEV_LIBS" = "x"; then :
13091 case "x$with_udev" in
13092 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13093 xno) ;;
13094 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13095 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13096 esac
13100 if test "x$with_capi" != "xno"
13101 then
13102 if ${CAPI20_CFLAGS:+false} :; then :
13103 if ${PKG_CONFIG+:} false; then :
13104 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13108 if ${CAPI20_LIBS:+false} :; then :
13109 if ${PKG_CONFIG+:} false; then :
13110 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13115 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13116 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13119 for ac_header in capi20.h linux/capi.h
13120 do :
13121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13122 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13125 cat >>confdefs.h <<_ACEOF
13126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13127 _ACEOF
13131 done
13133 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13134 then
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13136 $as_echo_n "checking for -lcapi20... " >&6; }
13137 if ${ac_cv_lib_soname_capi20+:} false; then :
13138 $as_echo_n "(cached) " >&6
13139 else
13140 ac_check_soname_save_LIBS=$LIBS
13141 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13143 /* end confdefs.h. */
13145 /* Override any GCC internal prototype to avoid an error.
13146 Use char because int might match the return type of a GCC
13147 builtin and then its argument prototype would still apply. */
13148 #ifdef __cplusplus
13149 extern "C"
13150 #endif
13151 char capi20_register ();
13153 main ()
13155 return capi20_register ();
13157 return 0;
13159 _ACEOF
13160 if ac_fn_c_try_link "$LINENO"; then :
13161 case "$LIBEXT" in
13162 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13163 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'` ;;
13164 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13165 if ${ac_cv_lib_soname_capi20:+false} :; then :
13166 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13167 fi ;;
13168 esac
13170 rm -f core conftest.err conftest.$ac_objext \
13171 conftest$ac_exeext conftest.$ac_ext
13172 LIBS=$ac_check_soname_save_LIBS
13174 if ${ac_cv_lib_soname_capi20:+false} :; then :
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13176 $as_echo "not found" >&6; }
13178 else
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13180 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13182 cat >>confdefs.h <<_ACEOF
13183 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13184 _ACEOF
13189 CPPFLAGS=$ac_save_CPPFLAGS
13190 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13191 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13194 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13195 case "x$with_capi" in
13196 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13197 xno) ;;
13198 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13199 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13200 esac
13204 CUPS_CFLAGS=""
13206 if test "x$with_cups" != "xno"
13207 then
13208 ac_save_CPPFLAGS="$CPPFLAGS"
13209 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13210 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13211 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13212 for ac_header in cups/cups.h
13213 do :
13214 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13215 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13216 cat >>confdefs.h <<_ACEOF
13217 #define HAVE_CUPS_CUPS_H 1
13218 _ACEOF
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13220 $as_echo_n "checking for -lcups... " >&6; }
13221 if ${ac_cv_lib_soname_cups+:} false; then :
13222 $as_echo_n "(cached) " >&6
13223 else
13224 ac_check_soname_save_LIBS=$LIBS
13225 LIBS="-lcups $ac_cups_libs $LIBS"
13226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13232 #ifdef __cplusplus
13233 extern "C"
13234 #endif
13235 char cupsGetDefault ();
13237 main ()
13239 return cupsGetDefault ();
13241 return 0;
13243 _ACEOF
13244 if ac_fn_c_try_link "$LINENO"; then :
13245 case "$LIBEXT" in
13246 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13247 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'` ;;
13248 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13249 if ${ac_cv_lib_soname_cups:+false} :; then :
13250 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13251 fi ;;
13252 esac
13254 rm -f core conftest.err conftest.$ac_objext \
13255 conftest$ac_exeext conftest.$ac_ext
13256 LIBS=$ac_check_soname_save_LIBS
13258 if ${ac_cv_lib_soname_cups:+false} :; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13260 $as_echo "not found" >&6; }
13262 else
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13264 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13266 cat >>confdefs.h <<_ACEOF
13267 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13268 _ACEOF
13270 CUPS_CFLAGS="$ac_cups_cflags"
13272 for ac_header in cups/ppd.h
13273 do :
13274 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13275 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13276 cat >>confdefs.h <<_ACEOF
13277 #define HAVE_CUPS_PPD_H 1
13278 _ACEOF
13282 done
13286 done
13288 CPPFLAGS="$ac_save_CPPFLAGS"
13290 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13291 case "x$with_cups" in
13292 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13293 xno) ;;
13294 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13295 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13296 esac
13300 if test "x$with_fontconfig" != "xno"
13301 then
13302 if ${FONTCONFIG_CFLAGS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13307 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13308 if ${FONTCONFIG_LIBS:+false} :; then :
13309 if ${PKG_CONFIG+:} false; then :
13310 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13313 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13315 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13316 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13317 ac_save_CPPFLAGS=$CPPFLAGS
13318 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13319 for ac_header in fontconfig/fontconfig.h
13320 do :
13321 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13322 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13323 cat >>confdefs.h <<_ACEOF
13324 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13325 _ACEOF
13329 done
13331 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13332 then
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13334 $as_echo_n "checking for -lfontconfig... " >&6; }
13335 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13336 $as_echo_n "(cached) " >&6
13337 else
13338 ac_check_soname_save_LIBS=$LIBS
13339 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 #ifdef __cplusplus
13347 extern "C"
13348 #endif
13349 char FcInit ();
13351 main ()
13353 return FcInit ();
13355 return 0;
13357 _ACEOF
13358 if ac_fn_c_try_link "$LINENO"; then :
13359 case "$LIBEXT" in
13360 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13361 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'` ;;
13362 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13363 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13364 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13365 fi ;;
13366 esac
13368 rm -f core conftest.err conftest.$ac_objext \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_soname_save_LIBS
13372 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13374 $as_echo "not found" >&6; }
13375 FONTCONFIG_CFLAGS=""
13376 else
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13378 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13380 cat >>confdefs.h <<_ACEOF
13381 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13382 _ACEOF
13386 else
13387 FONTCONFIG_CFLAGS=""
13389 CPPFLAGS=$ac_save_CPPFLAGS
13390 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13391 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13394 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13395 case "x$with_fontconfig" in
13396 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13397 xno) ;;
13398 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13399 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13400 esac
13404 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13405 then
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13407 $as_echo_n "checking for -lgsm... " >&6; }
13408 if ${ac_cv_lib_soname_gsm+:} false; then :
13409 $as_echo_n "(cached) " >&6
13410 else
13411 ac_check_soname_save_LIBS=$LIBS
13412 LIBS="-lgsm $LIBS"
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13416 /* Override any GCC internal prototype to avoid an error.
13417 Use char because int might match the return type of a GCC
13418 builtin and then its argument prototype would still apply. */
13419 #ifdef __cplusplus
13420 extern "C"
13421 #endif
13422 char gsm_create ();
13424 main ()
13426 return gsm_create ();
13428 return 0;
13430 _ACEOF
13431 if ac_fn_c_try_link "$LINENO"; then :
13432 case "$LIBEXT" in
13433 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13434 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'` ;;
13435 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13436 if ${ac_cv_lib_soname_gsm:+false} :; then :
13437 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13438 fi ;;
13439 esac
13441 rm -f core conftest.err conftest.$ac_objext \
13442 conftest$ac_exeext conftest.$ac_ext
13443 LIBS=$ac_check_soname_save_LIBS
13445 if ${ac_cv_lib_soname_gsm:+false} :; then :
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13447 $as_echo "not found" >&6; }
13449 else
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13451 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13453 cat >>confdefs.h <<_ACEOF
13454 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13455 _ACEOF
13460 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13461 case "x$with_gsm" in
13462 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13463 xno) ;;
13464 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13465 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13466 esac
13470 if test "x$with_jpeg" != "xno"
13471 then
13472 if ${JPEG_CFLAGS:+false} :; then :
13473 if ${PKG_CONFIG+:} false; then :
13474 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13478 if ${JPEG_LIBS:+false} :; then :
13479 if ${PKG_CONFIG+:} false; then :
13480 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13485 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13486 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13487 ac_save_CPPFLAGS=$CPPFLAGS
13488 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13489 for ac_header in jpeglib.h
13490 do :
13491 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13492 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_JPEGLIB_H 1
13495 _ACEOF
13499 done
13501 if test "$ac_cv_header_jpeglib_h" = "yes"
13502 then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13504 $as_echo_n "checking for -ljpeg... " >&6; }
13505 if ${ac_cv_lib_soname_jpeg+:} false; then :
13506 $as_echo_n "(cached) " >&6
13507 else
13508 ac_check_soname_save_LIBS=$LIBS
13509 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13513 /* Override any GCC internal prototype to avoid an error.
13514 Use char because int might match the return type of a GCC
13515 builtin and then its argument prototype would still apply. */
13516 #ifdef __cplusplus
13517 extern "C"
13518 #endif
13519 char jpeg_start_decompress ();
13521 main ()
13523 return jpeg_start_decompress ();
13525 return 0;
13527 _ACEOF
13528 if ac_fn_c_try_link "$LINENO"; then :
13529 case "$LIBEXT" in
13530 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13531 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'` ;;
13532 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13533 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13534 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13535 fi ;;
13536 esac
13538 rm -f core conftest.err conftest.$ac_objext \
13539 conftest$ac_exeext conftest.$ac_ext
13540 LIBS=$ac_check_soname_save_LIBS
13542 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13544 $as_echo "not found" >&6; }
13545 JPEG_CFLAGS=""
13546 else
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13548 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13550 cat >>confdefs.h <<_ACEOF
13551 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13552 _ACEOF
13556 else
13557 JPEG_CFLAGS=""
13559 CPPFLAGS=$ac_save_CPPFLAGS
13560 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13561 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13564 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13565 case "x$with_jpeg" in
13566 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13567 xno) ;;
13568 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13569 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13570 esac
13574 if test "x$with_png" != "xno"
13575 then
13576 if ${PNG_CFLAGS:+false} :; then :
13577 if ${PKG_CONFIG+:} false; then :
13578 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13581 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13582 if ${PNG_LIBS:+false} :; then :
13583 if ${PKG_CONFIG+:} false; then :
13584 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13587 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13589 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13590 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13591 ac_save_CPPFLAGS=$CPPFLAGS
13592 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13593 for ac_header in png.h
13594 do :
13595 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13596 if test "x$ac_cv_header_png_h" = xyes; then :
13597 cat >>confdefs.h <<_ACEOF
13598 #define HAVE_PNG_H 1
13599 _ACEOF
13603 done
13605 if test "$ac_cv_header_png_h" = "yes"
13606 then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13608 $as_echo_n "checking for -lpng... " >&6; }
13609 if ${ac_cv_lib_soname_png+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_check_soname_save_LIBS=$LIBS
13613 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char png_create_read_struct ();
13625 main ()
13627 return png_create_read_struct ();
13629 return 0;
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 case "$LIBEXT" in
13634 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13635 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'` ;;
13636 *) 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'`
13637 if ${ac_cv_lib_soname_png:+false} :; then :
13638 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13639 fi ;;
13640 esac
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_soname_save_LIBS
13646 if ${ac_cv_lib_soname_png:+false} :; then :
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13648 $as_echo "not found" >&6; }
13649 PNG_CFLAGS=""
13650 else
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13652 $as_echo "$ac_cv_lib_soname_png" >&6; }
13654 cat >>confdefs.h <<_ACEOF
13655 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13656 _ACEOF
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13660 #include <png.h>
13662 main ()
13664 typeof(png_set_expand_gray_1_2_4_to_8) *p
13666 return 0;
13668 _ACEOF
13669 if ac_fn_c_try_compile "$LINENO"; then :
13671 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13676 else
13677 PNG_CFLAGS=""
13679 CPPFLAGS=$ac_save_CPPFLAGS
13680 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13681 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13684 if test "x$ac_cv_lib_soname_png" = "x"; then :
13685 case "x$with_png" in
13686 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13687 xno) ;;
13688 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13689 This is an error since --with-png was requested." "$LINENO" 5 ;;
13690 esac
13694 if test "x$with_tiff" != "xno"
13695 then
13696 if ${TIFF_CFLAGS:+false} :; then :
13697 if ${PKG_CONFIG+:} false; then :
13698 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13702 if ${TIFF_LIBS:+false} :; then :
13703 if ${PKG_CONFIG+:} false; then :
13704 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13709 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13710 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13711 ac_save_CPPFLAGS=$CPPFLAGS
13712 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13713 for ac_header in tiffio.h
13714 do :
13715 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13716 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13717 cat >>confdefs.h <<_ACEOF
13718 #define HAVE_TIFFIO_H 1
13719 _ACEOF
13723 done
13725 if test "$ac_cv_header_tiffio_h" = "yes"
13726 then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13728 $as_echo_n "checking for -ltiff... " >&6; }
13729 if ${ac_cv_lib_soname_tiff+:} false; then :
13730 $as_echo_n "(cached) " >&6
13731 else
13732 ac_check_soname_save_LIBS=$LIBS
13733 LIBS="-ltiff $TIFF_LIBS $LIBS"
13734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13735 /* end confdefs.h. */
13737 /* Override any GCC internal prototype to avoid an error.
13738 Use char because int might match the return type of a GCC
13739 builtin and then its argument prototype would still apply. */
13740 #ifdef __cplusplus
13741 extern "C"
13742 #endif
13743 char TIFFClientOpen ();
13745 main ()
13747 return TIFFClientOpen ();
13749 return 0;
13751 _ACEOF
13752 if ac_fn_c_try_link "$LINENO"; then :
13753 case "$LIBEXT" in
13754 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13755 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'` ;;
13756 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13757 if ${ac_cv_lib_soname_tiff:+false} :; then :
13758 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13759 fi ;;
13760 esac
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_soname_save_LIBS
13766 if ${ac_cv_lib_soname_tiff:+false} :; then :
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13768 $as_echo "not found" >&6; }
13770 else
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13772 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13774 cat >>confdefs.h <<_ACEOF
13775 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13776 _ACEOF
13781 CPPFLAGS=$ac_save_CPPFLAGS
13782 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13783 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13786 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13787 case "x$with_tiff" in
13788 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13789 xno) ;;
13790 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13791 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13792 esac
13796 if test "x$with_mpg123" != "xno"
13797 then
13798 if ${MPG123_CFLAGS:+false} :; then :
13799 if ${PKG_CONFIG+:} false; then :
13800 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13804 if ${MPG123_LIBS:+false} :; then :
13805 if ${PKG_CONFIG+:} false; then :
13806 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13810 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13811 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13813 ac_save_CPPFLAGS=$CPPFLAGS
13814 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13815 for ac_header in mpg123.h
13816 do :
13817 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13818 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13819 cat >>confdefs.h <<_ACEOF
13820 #define HAVE_MPG123_H 1
13821 _ACEOF
13825 done
13827 if test "$ac_cv_header_mpg123_h" = "yes"
13828 then
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13830 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13831 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13832 $as_echo_n "(cached) " >&6
13833 else
13834 ac_check_lib_save_LIBS=$LIBS
13835 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13837 /* end confdefs.h. */
13839 /* Override any GCC internal prototype to avoid an error.
13840 Use char because int might match the return type of a GCC
13841 builtin and then its argument prototype would still apply. */
13842 #ifdef __cplusplus
13843 extern "C"
13844 #endif
13845 char mpg123_feed ();
13847 main ()
13849 return mpg123_feed ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"; then :
13855 ac_cv_lib_mpg123_mpg123_feed=yes
13856 else
13857 ac_cv_lib_mpg123_mpg123_feed=no
13859 rm -f core conftest.err conftest.$ac_objext \
13860 conftest$ac_exeext conftest.$ac_ext
13861 LIBS=$ac_check_lib_save_LIBS
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13864 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13865 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13867 else
13868 MPG123_LIBS=""
13871 else
13872 MPG123_CFLAGS=""
13873 MPG123_LIBS=""
13875 CPPFLAGS=$ac_save_CPPFLAGS
13876 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13877 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13880 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13881 case "x$with_mpg123" in
13882 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13883 xno) ;;
13884 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13885 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13886 esac
13887 enable_winemp3_acm=${enable_winemp3_acm:-no}
13890 if test "$ac_cv_header_AL_al_h" = "yes"
13891 then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13893 $as_echo_n "checking for -lopenal... " >&6; }
13894 if ${ac_cv_lib_soname_openal+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_check_soname_save_LIBS=$LIBS
13898 LIBS="-lopenal $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 #ifdef __cplusplus
13906 extern "C"
13907 #endif
13908 char alGetSource3i ();
13910 main ()
13912 return alGetSource3i ();
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 case "$LIBEXT" in
13919 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13920 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'` ;;
13921 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13922 if ${ac_cv_lib_soname_openal:+false} :; then :
13923 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13924 fi ;;
13925 esac
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13929 LIBS=$ac_check_soname_save_LIBS
13931 if ${ac_cv_lib_soname_openal:+false} :; then :
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13933 $as_echo "not found" >&6; }
13935 else
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13937 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13939 cat >>confdefs.h <<_ACEOF
13940 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13941 _ACEOF
13943 OPENAL_LIBS="-lopenal"
13945 ac_cv_lib_openal=yes
13947 cat >>confdefs.h <<_ACEOF
13948 #define HAVE_OPENAL 1
13949 _ACEOF
13953 if test "x$ac_cv_lib_openal" != xyes; then :
13954 case "x$with_openal" in
13955 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13956 xno) ;;
13957 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13958 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13959 esac
13960 enable_openal32=${enable_openal32:-no}
13963 if test "x$ac_cv_lib_openal" = xyes
13964 then
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13966 $as_echo_n "checking for openal-soft... " >&6; }
13967 if ${ac_cv_have_openalsoft+:} false; then :
13968 $as_echo_n "(cached) " >&6
13969 else
13970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13971 /* end confdefs.h. */
13972 #include <AL/al.h>
13973 #include <AL/alc.h>
13974 #include <AL/alext.h>
13975 LPALCRENDERSAMPLESSOFT x;
13977 main ()
13981 return 0;
13983 _ACEOF
13984 if ac_fn_c_try_compile "$LINENO"; then :
13985 ac_cv_have_openalsoft=yes
13986 else
13987 ac_cv_have_openalsoft=no
13989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13992 $as_echo "$ac_cv_have_openalsoft" >&6; }
13994 if test "x$ac_cv_have_openalsoft" != xyes
13995 then
13996 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13997 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13998 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13999 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14000 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14001 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14002 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14003 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14004 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14005 enable_xapofx1_1=${enable_xapofx1_1:-no}
14006 enable_xapofx1_2=${enable_xapofx1_2:-no}
14007 enable_xapofx1_3=${enable_xapofx1_3:-no}
14008 enable_xapofx1_4=${enable_xapofx1_4:-no}
14009 enable_xapofx1_5=${enable_xapofx1_5:-no}
14010 enable_xaudio2_0=${enable_xaudio2_0:-no}
14011 enable_xaudio2_1=${enable_xaudio2_1:-no}
14012 enable_xaudio2_2=${enable_xaudio2_2:-no}
14013 enable_xaudio2_3=${enable_xaudio2_3:-no}
14014 enable_xaudio2_4=${enable_xaudio2_4:-no}
14015 enable_xaudio2_5=${enable_xaudio2_5:-no}
14016 enable_xaudio2_6=${enable_xaudio2_6:-no}
14017 enable_xaudio2_7=${enable_xaudio2_7:-no}
14018 enable_xaudio2_8=${enable_xaudio2_8:-no}
14019 enable_xaudio2_9=${enable_xaudio2_9:-no}
14022 if test "$ac_cv_header_kstat_h" = "yes"
14023 then
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14025 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14026 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 ac_check_lib_save_LIBS=$LIBS
14030 LIBS="-lkstat $LIBS"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14034 /* Override any GCC internal prototype to avoid an error.
14035 Use char because int might match the return type of a GCC
14036 builtin and then its argument prototype would still apply. */
14037 #ifdef __cplusplus
14038 extern "C"
14039 #endif
14040 char kstat_open ();
14042 main ()
14044 return kstat_open ();
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"; then :
14050 ac_cv_lib_kstat_kstat_open=yes
14051 else
14052 ac_cv_lib_kstat_kstat_open=no
14054 rm -f core conftest.err conftest.$ac_objext \
14055 conftest$ac_exeext conftest.$ac_ext
14056 LIBS=$ac_check_lib_save_LIBS
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14059 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14060 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14062 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14064 KSTAT_LIBS="-lkstat"
14070 if test "$ac_cv_header_libprocstat_h" = "yes"
14071 then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14073 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14074 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_check_lib_save_LIBS=$LIBS
14078 LIBS="-lprocstat $LIBS"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14082 /* Override any GCC internal prototype to avoid an error.
14083 Use char because int might match the return type of a GCC
14084 builtin and then its argument prototype would still apply. */
14085 #ifdef __cplusplus
14086 extern "C"
14087 #endif
14088 char procstat_open_sysctl ();
14090 main ()
14092 return procstat_open_sysctl ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_lib_procstat_procstat_open_sysctl=yes
14099 else
14100 ac_cv_lib_procstat_procstat_open_sysctl=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 LIBS=$ac_check_lib_save_LIBS
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14107 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14108 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14110 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14112 PROCSTAT_LIBS="-lprocstat"
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14119 $as_echo_n "checking for -lodbc... " >&6; }
14120 if ${ac_cv_lib_soname_odbc+:} false; then :
14121 $as_echo_n "(cached) " >&6
14122 else
14123 ac_check_soname_save_LIBS=$LIBS
14124 LIBS="-lodbc $LIBS"
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14128 /* Override any GCC internal prototype to avoid an error.
14129 Use char because int might match the return type of a GCC
14130 builtin and then its argument prototype would still apply. */
14131 #ifdef __cplusplus
14132 extern "C"
14133 #endif
14134 char SQLConnect ();
14136 main ()
14138 return SQLConnect ();
14140 return 0;
14142 _ACEOF
14143 if ac_fn_c_try_link "$LINENO"; then :
14144 case "$LIBEXT" in
14145 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14146 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'` ;;
14147 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14148 if ${ac_cv_lib_soname_odbc:+false} :; then :
14149 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14150 fi ;;
14151 esac
14153 rm -f core conftest.err conftest.$ac_objext \
14154 conftest$ac_exeext conftest.$ac_ext
14155 LIBS=$ac_check_soname_save_LIBS
14157 if ${ac_cv_lib_soname_odbc:+false} :; then :
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14159 $as_echo "not found" >&6; }
14160 cat >>confdefs.h <<_ACEOF
14161 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14162 _ACEOF
14164 else
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14166 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14168 cat >>confdefs.h <<_ACEOF
14169 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14170 _ACEOF
14175 if test "x$with_netapi" != "xno"
14176 then
14177 if ${NETAPI_CFLAGS:+false} :; then :
14178 if ${PKG_CONFIG+:} false; then :
14179 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14183 if ${NETAPI_LIBS:+false} :; then :
14184 if ${PKG_CONFIG+:} false; then :
14185 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14190 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14191 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14192 ac_save_CPPFLAGS=$CPPFLAGS
14193 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14195 $as_echo_n "checking for -lnetapi... " >&6; }
14196 if ${ac_cv_lib_soname_netapi+:} false; then :
14197 $as_echo_n "(cached) " >&6
14198 else
14199 ac_check_soname_save_LIBS=$LIBS
14200 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 /* end confdefs.h. */
14204 /* Override any GCC internal prototype to avoid an error.
14205 Use char because int might match the return type of a GCC
14206 builtin and then its argument prototype would still apply. */
14207 #ifdef __cplusplus
14208 extern "C"
14209 #endif
14210 char libnetapi_init ();
14212 main ()
14214 return libnetapi_init ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 case "$LIBEXT" in
14221 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14222 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'` ;;
14223 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14224 if ${ac_cv_lib_soname_netapi:+false} :; then :
14225 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14226 fi ;;
14227 esac
14229 rm -f core conftest.err conftest.$ac_objext \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_soname_save_LIBS
14233 if ${ac_cv_lib_soname_netapi:+false} :; then :
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14235 $as_echo "not found" >&6; }
14236 cat >>confdefs.h <<_ACEOF
14237 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14238 _ACEOF
14240 else
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14242 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14244 cat >>confdefs.h <<_ACEOF
14245 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14246 _ACEOF
14250 CPPFLAGS=$ac_save_CPPFLAGS
14251 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14252 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14256 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14257 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14258 then
14259 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14263 EXTRACFLAGS=""
14265 if test "x${GCC}" = "xyes"
14266 then
14267 EXTRACFLAGS="-Wall -pipe"
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14270 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14271 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14272 $as_echo_n "(cached) " >&6
14273 else
14274 if test "$cross_compiling" = yes; then :
14275 ac_cv_c_gcc_strength_bug="no"
14276 else
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14279 int L[4] = {0,1,2,3};
14281 main ()
14283 static int Array[3];
14284 unsigned int B = 3;
14285 int i;
14286 for(i=0; i<B; i++) Array[i] = i - 3;
14287 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14288 L[i] = 4;
14289 return (Array[1] != -2 || L[2] != 3)
14291 return 0;
14293 _ACEOF
14294 if ac_fn_c_try_run "$LINENO"; then :
14295 ac_cv_c_gcc_strength_bug="no"
14296 else
14297 ac_cv_c_gcc_strength_bug="yes"
14299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14300 conftest.$ac_objext conftest.beam conftest.$ac_ext
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14305 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14306 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14307 then
14308 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14312 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14313 if ${ac_cv_cflags__fno_builtin+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -fno-builtin"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 int main(int argc, char **argv) { return 0; }
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_cflags__fno_builtin=yes
14324 else
14325 ac_cv_cflags__fno_builtin=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 CFLAGS=$ac_wine_try_cflags_saved
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14332 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14333 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14334 BUILTINFLAG="-fno-builtin"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14338 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14339 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -fno-strict-aliasing"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__fno_strict_aliasing=yes
14350 else
14351 ac_cv_cflags__fno_strict_aliasing=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14358 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14359 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14360 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14363 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14364 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 ac_wine_try_cflags_saved=$CFLAGS
14368 CFLAGS="$CFLAGS -fexcess-precision=standard"
14369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 /* end confdefs.h. */
14371 int main(int argc, char **argv) { return 0; }
14372 _ACEOF
14373 if ac_fn_c_try_link "$LINENO"; then :
14374 ac_cv_cflags__fexcess_precision_standard=yes
14375 else
14376 ac_cv_cflags__fexcess_precision_standard=no
14378 rm -f core conftest.err conftest.$ac_objext \
14379 conftest$ac_exeext conftest.$ac_ext
14380 CFLAGS=$ac_wine_try_cflags_saved
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14383 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14384 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14385 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14388 saved_CFLAGS=$CFLAGS
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14390 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14391 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_wine_try_cflags_saved=$CFLAGS
14395 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14398 int main(int argc, char **argv) { return 0; }
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_cflags__Werror_unknown_warning_option=yes
14402 else
14403 ac_cv_cflags__Werror_unknown_warning_option=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 CFLAGS=$ac_wine_try_cflags_saved
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14410 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14411 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14412 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14415 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14416 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_wine_try_cflags_saved=$CFLAGS
14420 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 int main(int argc, char **argv) { return 0; }
14424 _ACEOF
14425 if ac_fn_c_try_link "$LINENO"; then :
14426 ac_cv_cflags__Wdeclaration_after_statement=yes
14427 else
14428 ac_cv_cflags__Wdeclaration_after_statement=no
14430 rm -f core conftest.err conftest.$ac_objext \
14431 conftest$ac_exeext conftest.$ac_ext
14432 CFLAGS=$ac_wine_try_cflags_saved
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14435 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14436 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14437 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14440 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14441 if ${ac_cv_cflags__Wempty_body+:} false; then :
14442 $as_echo_n "(cached) " >&6
14443 else
14444 ac_wine_try_cflags_saved=$CFLAGS
14445 CFLAGS="$CFLAGS -Wempty-body"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14448 int main(int argc, char **argv) { return 0; }
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_cflags__Wempty_body=yes
14452 else
14453 ac_cv_cflags__Wempty_body=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 CFLAGS=$ac_wine_try_cflags_saved
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14460 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14461 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14462 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14465 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14466 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 ac_wine_try_cflags_saved=$CFLAGS
14470 CFLAGS="$CFLAGS -Wignored-qualifiers"
14471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14472 /* end confdefs.h. */
14473 int main(int argc, char **argv) { return 0; }
14474 _ACEOF
14475 if ac_fn_c_try_link "$LINENO"; then :
14476 ac_cv_cflags__Wignored_qualifiers=yes
14477 else
14478 ac_cv_cflags__Wignored_qualifiers=no
14480 rm -f core conftest.err conftest.$ac_objext \
14481 conftest$ac_exeext conftest.$ac_ext
14482 CFLAGS=$ac_wine_try_cflags_saved
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14485 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14486 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14487 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14490 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14491 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14492 $as_echo_n "(cached) " >&6
14493 else
14494 ac_wine_try_cflags_saved=$CFLAGS
14495 CFLAGS="$CFLAGS -Wshift-overflow=2"
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int main(int argc, char **argv) { return 0; }
14499 _ACEOF
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_cflags__Wshift_overflow_2=yes
14502 else
14503 ac_cv_cflags__Wshift_overflow_2=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 CFLAGS=$ac_wine_try_cflags_saved
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14510 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14511 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14512 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14515 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14516 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14517 $as_echo_n "(cached) " >&6
14518 else
14519 ac_wine_try_cflags_saved=$CFLAGS
14520 CFLAGS="$CFLAGS -Wstrict-prototypes"
14521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14522 /* end confdefs.h. */
14523 int main(int argc, char **argv) { return 0; }
14524 _ACEOF
14525 if ac_fn_c_try_link "$LINENO"; then :
14526 ac_cv_cflags__Wstrict_prototypes=yes
14527 else
14528 ac_cv_cflags__Wstrict_prototypes=no
14530 rm -f core conftest.err conftest.$ac_objext \
14531 conftest$ac_exeext conftest.$ac_ext
14532 CFLAGS=$ac_wine_try_cflags_saved
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14535 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14536 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14537 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14540 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14541 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14542 $as_echo_n "(cached) " >&6
14543 else
14544 ac_wine_try_cflags_saved=$CFLAGS
14545 CFLAGS="$CFLAGS -Wtype-limits"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14548 int main(int argc, char **argv) { return 0; }
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_cflags__Wtype_limits=yes
14552 else
14553 ac_cv_cflags__Wtype_limits=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 CFLAGS=$ac_wine_try_cflags_saved
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14560 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14561 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14562 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14565 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14566 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14567 $as_echo_n "(cached) " >&6
14568 else
14569 ac_wine_try_cflags_saved=$CFLAGS
14570 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14573 int main(int argc, char **argv) { return 0; }
14574 _ACEOF
14575 if ac_fn_c_try_link "$LINENO"; then :
14576 ac_cv_cflags__Wunused_but_set_parameter=yes
14577 else
14578 ac_cv_cflags__Wunused_but_set_parameter=no
14580 rm -f core conftest.err conftest.$ac_objext \
14581 conftest$ac_exeext conftest.$ac_ext
14582 CFLAGS=$ac_wine_try_cflags_saved
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14585 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14586 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14587 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14590 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14591 if ${ac_cv_cflags__Wvla+:} false; then :
14592 $as_echo_n "(cached) " >&6
14593 else
14594 ac_wine_try_cflags_saved=$CFLAGS
14595 CFLAGS="$CFLAGS -Wvla"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598 int main(int argc, char **argv) { return 0; }
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 ac_cv_cflags__Wvla=yes
14602 else
14603 ac_cv_cflags__Wvla=no
14605 rm -f core conftest.err conftest.$ac_objext \
14606 conftest$ac_exeext conftest.$ac_ext
14607 CFLAGS=$ac_wine_try_cflags_saved
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14610 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14611 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14612 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14615 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14616 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 ac_wine_try_cflags_saved=$CFLAGS
14620 CFLAGS="$CFLAGS -Wwrite-strings"
14621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14623 int main(int argc, char **argv) { return 0; }
14624 _ACEOF
14625 if ac_fn_c_try_link "$LINENO"; then :
14626 ac_cv_cflags__Wwrite_strings=yes
14627 else
14628 ac_cv_cflags__Wwrite_strings=no
14630 rm -f core conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 CFLAGS=$ac_wine_try_cflags_saved
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14635 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14636 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14637 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14641 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14642 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 ac_wine_try_cflags_saved=$CFLAGS
14646 CFLAGS="$CFLAGS -Wpointer-arith"
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 int main(int argc, char **argv) { return 0; }
14650 _ACEOF
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_cflags__Wpointer_arith=yes
14653 else
14654 ac_cv_cflags__Wpointer_arith=no
14656 rm -f core conftest.err conftest.$ac_objext \
14657 conftest$ac_exeext conftest.$ac_ext
14658 CFLAGS=$ac_wine_try_cflags_saved
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14661 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14662 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14663 saved_string_h_CFLAGS=$CFLAGS
14664 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14666 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14667 if ${ac_cv_c_string_h_warnings+:} false; then :
14668 $as_echo_n "(cached) " >&6
14669 else
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14672 #include <string.h>
14674 main ()
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_compile "$LINENO"; then :
14682 ac_cv_c_string_h_warnings=no
14683 else
14684 ac_cv_c_string_h_warnings=yes
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14689 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14690 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14691 CFLAGS=$saved_string_h_CFLAGS
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14695 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14696 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -Wlogical-op"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__Wlogical_op=yes
14707 else
14708 ac_cv_cflags__Wlogical_op=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14715 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14716 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14717 saved_string_h_CFLAGS=$CFLAGS
14718 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14720 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14721 if ${ac_cv_c_logicalop_noisy+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 #include <string.h>
14727 char*f(const char *h,char n) {return strchr(h,n);}
14729 main ()
14733 return 0;
14735 _ACEOF
14736 if ac_fn_c_try_compile "$LINENO"; then :
14737 ac_cv_c_logicalop_noisy=no
14738 else
14739 ac_cv_c_logicalop_noisy=yes
14741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14744 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14745 CFLAGS=$saved_string_h_CFLAGS
14746 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14749 CFLAGS=$saved_CFLAGS
14751 for ac_flag in $CFLAGS; do
14752 case $ac_flag in
14753 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14754 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14755 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -gdwarf-2"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 int main(int argc, char **argv) { return 0; }
14763 _ACEOF
14764 if ac_fn_c_try_link "$LINENO"; then :
14765 ac_cv_cflags__gdwarf_2=yes
14766 else
14767 ac_cv_cflags__gdwarf_2=no
14769 rm -f core conftest.err conftest.$ac_objext \
14770 conftest$ac_exeext conftest.$ac_ext
14771 CFLAGS=$ac_wine_try_cflags_saved
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14774 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14775 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14776 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14779 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14780 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 ac_wine_try_cflags_saved=$CFLAGS
14784 CFLAGS="$CFLAGS -gstrict-dwarf"
14785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14786 /* end confdefs.h. */
14787 int main(int argc, char **argv) { return 0; }
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_cflags__gstrict_dwarf=yes
14791 else
14792 ac_cv_cflags__gstrict_dwarf=no
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14796 CFLAGS=$ac_wine_try_cflags_saved
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14799 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14800 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14801 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14802 fi ;;
14803 esac
14804 done
14806 case $host_cpu in
14807 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14808 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14809 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14810 $as_echo_n "(cached) " >&6
14811 else
14812 ac_wine_try_cflags_saved=$CFLAGS
14813 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14815 /* end confdefs.h. */
14816 int main(int argc, char **argv) { return 0; }
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_cflags__fno_omit_frame_pointer=yes
14820 else
14821 ac_cv_cflags__fno_omit_frame_pointer=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 CFLAGS=$ac_wine_try_cflags_saved
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14828 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14829 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14830 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14831 fi ;;
14832 esac
14834 case $host in
14835 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14836 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14837 if ${ac_cv_cflags__Wno_format+:} false; then :
14838 $as_echo_n "(cached) " >&6
14839 else
14840 ac_wine_try_cflags_saved=$CFLAGS
14841 CFLAGS="$CFLAGS -Wno-format"
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14844 int main(int argc, char **argv) { return 0; }
14845 _ACEOF
14846 if ac_fn_c_try_link "$LINENO"; then :
14847 ac_cv_cflags__Wno_format=yes
14848 else
14849 ac_cv_cflags__Wno_format=no
14851 rm -f core conftest.err conftest.$ac_objext \
14852 conftest$ac_exeext conftest.$ac_ext
14853 CFLAGS=$ac_wine_try_cflags_saved
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14856 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14857 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14858 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14859 fi ;;
14860 esac
14862 if test "x$enable_maintainer_mode" = "xyes"
14863 then
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14865 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14866 if ${ac_cv_cflags__Werror+:} false; then :
14867 $as_echo_n "(cached) " >&6
14868 else
14869 ac_wine_try_cflags_saved=$CFLAGS
14870 CFLAGS="$CFLAGS -Werror"
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14873 int main(int argc, char **argv) { return 0; }
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"; then :
14876 ac_cv_cflags__Werror=yes
14877 else
14878 ac_cv_cflags__Werror=no
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext conftest.$ac_ext
14882 CFLAGS=$ac_wine_try_cflags_saved
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14885 $as_echo "$ac_cv_cflags__Werror" >&6; }
14886 if test "x$ac_cv_cflags__Werror" = xyes; then :
14887 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14891 saved_CFLAGS="$CFLAGS"
14892 CFLAGS="$CFLAGS -Werror"
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14894 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14895 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14896 $as_echo_n "(cached) " >&6
14897 else
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14902 main ()
14906 return 0;
14908 _ACEOF
14909 if ac_fn_c_try_compile "$LINENO"; then :
14910 ac_cv_have_ms_hook_prologue="yes"
14911 else
14912 ac_cv_have_ms_hook_prologue="no"
14914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14917 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14918 CFLAGS="$saved_CFLAGS"
14919 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14920 then
14922 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14924 else
14925 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14932 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14933 if ${ac_cv_c_fortify_enabled+:} false; then :
14934 $as_echo_n "(cached) " >&6
14935 else
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 #include <string.h>
14940 main ()
14942 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14943 #error Fortify enabled
14944 #endif
14946 return 0;
14948 _ACEOF
14949 if ac_fn_c_try_compile "$LINENO"; then :
14950 ac_cv_c_fortify_enabled=no
14951 else
14952 ac_cv_c_fortify_enabled=yes
14954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14957 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14958 if test "$ac_cv_c_fortify_enabled" = yes
14959 then
14960 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14965 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14966 if ${ac_cv_c_extern_prefix+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14970 /* end confdefs.h. */
14971 extern int ac_test;
14973 main ()
14975 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14977 return 0;
14979 _ACEOF
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_c_extern_prefix="yes"
14982 else
14983 ac_cv_c_extern_prefix="no"
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14989 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14991 case $host_cpu in
14992 *i[3456789]86*)
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14994 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14995 if ${ac_cv_c_stdcall_suffix+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #ifndef _MSC_VER
15001 #define __stdcall __attribute__((__stdcall__))
15002 #endif
15003 int __stdcall ac_test(int i) { return i; }
15005 main ()
15007 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15009 return 0;
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_c_stdcall_suffix="yes"
15014 else
15015 ac_cv_c_stdcall_suffix="no"
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15021 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15022 *) ac_cv_c_stdcall_suffix="no" ;;
15023 esac
15026 if test "$ac_cv_c_extern_prefix" = "yes"
15027 then
15028 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15030 asm_name_prefix="_"
15031 else
15032 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15034 asm_name_prefix=""
15038 if test "$ac_cv_c_stdcall_suffix" = "yes"
15039 then
15040 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15042 else
15043 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15049 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15050 if ${ac_cv_asm_func_def+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15057 main ()
15059 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15061 return 0;
15063 _ACEOF
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_asm_func_def=".def"
15066 else
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15071 main ()
15073 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15075 return 0;
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_asm_func_def=".type @function"
15080 else
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15085 main ()
15087 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"; then :
15093 ac_cv_asm_func_def=".type 2"
15094 else
15095 ac_cv_asm_func_def="unknown"
15097 rm -f core conftest.err conftest.$ac_objext \
15098 conftest$ac_exeext conftest.$ac_ext
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15107 $as_echo "$ac_cv_asm_func_def" >&6; }
15110 case "$ac_cv_asm_func_def" in
15111 ".def")
15112 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15114 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15115 ".type @function")
15116 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15118 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15119 ".type 2")
15120 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15122 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15124 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15126 asm_func_header="" ;;
15127 esac
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15130 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15131 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15132 $as_echo_n "(cached) " >&6
15133 else
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 asm(".text\n\t.long 0");
15138 main ()
15142 return 0;
15144 _ACEOF
15145 if ac_fn_c_try_compile "$LINENO"; then :
15146 ac_cv_c_asm_outside_funcs="yes"
15147 else
15148 ac_cv_c_asm_outside_funcs="no"
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15153 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15156 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15157 if ${ac_cv_c_dot_previous+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15164 main ()
15166 asm(".text\nac_test:\t.long 0\n\t.previous");
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_link "$LINENO"; then :
15172 ac_cv_c_dot_previous="yes"
15173 else
15174 ac_cv_c_dot_previous="no"
15176 rm -f core conftest.err conftest.$ac_objext \
15177 conftest$ac_exeext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15180 $as_echo "$ac_cv_c_dot_previous" >&6; }
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15183 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15184 if ${ac_cv_c_cfi_support+:} false; then :
15185 $as_echo_n "(cached) " >&6
15186 else
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15191 main ()
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_compile "$LINENO"; then :
15199 ac_cv_c_cfi_support="yes"
15200 else
15201 ac_cv_c_cfi_support="no"
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15206 $as_echo "$ac_cv_c_cfi_support" >&6; }
15208 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15209 asm_func_trailer=""
15210 if test "$ac_cv_c_dot_previous" = "yes"
15211 then
15212 asm_func_trailer="\\n\\t.previous"
15214 if test "$ac_cv_c_cfi_support" = "yes"
15215 then
15216 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15217 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15219 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15221 UNWINDFLAGS=-fasynchronous-unwind-tables
15223 else
15224 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15226 if test "x$enable_win64" = "xyes"
15227 then
15228 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15232 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15235 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15236 then
15237 cat >>confdefs.h <<_ACEOF
15238 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15239 _ACEOF
15241 else
15242 cat >>confdefs.h <<_ACEOF
15243 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15244 _ACEOF
15248 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15251 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15255 case $build_os in
15256 cygwin*|mingw32*) TOOLSEXT=".exe"
15258 esac
15260 case $host_os in
15261 linux-android*) ;;
15262 linux*)
15263 case $host_cpu in
15264 *i[3456789]86*|x86_64*)
15265 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15266 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15268 esac
15270 esac
15273 ac_save_CFLAGS="$CFLAGS"
15274 CFLAGS="$CFLAGS $BUILTINFLAG"
15275 for ac_func in \
15276 __res_get_state \
15277 __res_getservers \
15278 _finite \
15279 _isnan \
15280 _pclose \
15281 _popen \
15282 _snprintf \
15283 _spawnvp \
15284 _strdup \
15285 _stricmp \
15286 _strnicmp \
15287 _strtoi64 \
15288 _strtoui64 \
15289 _vsnprintf \
15290 asctime_r \
15291 chsize \
15292 dlopen \
15293 epoll_create \
15294 ffs \
15295 finitef \
15296 fnmatch \
15297 fork \
15298 fpclass \
15299 fstatfs \
15300 fstatvfs \
15301 ftruncate \
15302 futimens \
15303 futimes \
15304 futimesat \
15305 getattrlist \
15306 getopt_long_only \
15307 getpwuid \
15308 gettimeofday \
15309 getuid \
15310 if_nameindex \
15311 isnanf \
15312 kqueue \
15313 lstat \
15314 memmove \
15315 mmap \
15316 pclose \
15317 pipe2 \
15318 poll \
15319 popen \
15320 port_create \
15321 prctl \
15322 pread \
15323 proc_pidinfo \
15324 pwrite \
15325 readdir \
15326 readlink \
15327 sched_yield \
15328 select \
15329 setproctitle \
15330 setprogname \
15331 setrlimit \
15332 settimeofday \
15333 sigaltstack \
15334 sigprocmask \
15335 snprintf \
15336 statfs \
15337 statvfs \
15338 strcasecmp \
15339 strdup \
15340 strerror \
15341 strncasecmp \
15342 strtold \
15343 strtoll \
15344 strtoull \
15345 symlink \
15346 sysinfo \
15347 tcdrain \
15348 thr_kill2 \
15349 timegm \
15350 usleep \
15351 vsnprintf
15353 do :
15354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15356 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15357 cat >>confdefs.h <<_ACEOF
15358 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15359 _ACEOF
15362 done
15364 CFLAGS="$ac_save_CFLAGS"
15366 if test "$ac_cv_func_dlopen" = no
15367 then
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15369 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15370 if ${ac_cv_lib_dl_dlopen+:} false; then :
15371 $as_echo_n "(cached) " >&6
15372 else
15373 ac_check_lib_save_LIBS=$LIBS
15374 LIBS="-ldl $LIBS"
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15381 #ifdef __cplusplus
15382 extern "C"
15383 #endif
15384 char dlopen ();
15386 main ()
15388 return dlopen ();
15390 return 0;
15392 _ACEOF
15393 if ac_fn_c_try_link "$LINENO"; then :
15394 ac_cv_lib_dl_dlopen=yes
15395 else
15396 ac_cv_lib_dl_dlopen=no
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext conftest.$ac_ext
15400 LIBS=$ac_check_lib_save_LIBS
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15403 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15404 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15405 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15406 DL_LIBS="-ldl"
15411 ac_wine_check_funcs_save_LIBS="$LIBS"
15412 LIBS="$LIBS $DL_LIBS"
15413 for ac_func in dladdr
15414 do :
15415 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15416 if test "x$ac_cv_func_dladdr" = xyes; then :
15417 cat >>confdefs.h <<_ACEOF
15418 #define HAVE_DLADDR 1
15419 _ACEOF
15422 done
15424 LIBS="$ac_wine_check_funcs_save_LIBS"
15426 if test "$ac_cv_func_poll" = no
15427 then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15429 $as_echo_n "checking for poll in -lpoll... " >&6; }
15430 if ${ac_cv_lib_poll_poll+:} false; then :
15431 $as_echo_n "(cached) " >&6
15432 else
15433 ac_check_lib_save_LIBS=$LIBS
15434 LIBS="-lpoll $LIBS"
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436 /* end confdefs.h. */
15438 /* Override any GCC internal prototype to avoid an error.
15439 Use char because int might match the return type of a GCC
15440 builtin and then its argument prototype would still apply. */
15441 #ifdef __cplusplus
15442 extern "C"
15443 #endif
15444 char poll ();
15446 main ()
15448 return poll ();
15450 return 0;
15452 _ACEOF
15453 if ac_fn_c_try_link "$LINENO"; then :
15454 ac_cv_lib_poll_poll=yes
15455 else
15456 ac_cv_lib_poll_poll=no
15458 rm -f core conftest.err conftest.$ac_objext \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_lib_save_LIBS
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15463 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15464 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15465 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15466 POLL_LIBS="-lpoll"
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15473 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15474 if ${ac_cv_search_gethostbyname+:} false; then :
15475 $as_echo_n "(cached) " >&6
15476 else
15477 ac_func_search_save_LIBS=$LIBS
15478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15481 /* Override any GCC internal prototype to avoid an error.
15482 Use char because int might match the return type of a GCC
15483 builtin and then its argument prototype would still apply. */
15484 #ifdef __cplusplus
15485 extern "C"
15486 #endif
15487 char gethostbyname ();
15489 main ()
15491 return gethostbyname ();
15493 return 0;
15495 _ACEOF
15496 for ac_lib in '' nsl; do
15497 if test -z "$ac_lib"; then
15498 ac_res="none required"
15499 else
15500 ac_res=-l$ac_lib
15501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15503 if ac_fn_c_try_link "$LINENO"; then :
15504 ac_cv_search_gethostbyname=$ac_res
15506 rm -f core conftest.err conftest.$ac_objext \
15507 conftest$ac_exeext
15508 if ${ac_cv_search_gethostbyname+:} false; then :
15509 break
15511 done
15512 if ${ac_cv_search_gethostbyname+:} false; then :
15514 else
15515 ac_cv_search_gethostbyname=no
15517 rm conftest.$ac_ext
15518 LIBS=$ac_func_search_save_LIBS
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15521 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15522 ac_res=$ac_cv_search_gethostbyname
15523 if test "$ac_res" != no; then :
15524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15530 $as_echo_n "checking for library containing connect... " >&6; }
15531 if ${ac_cv_search_connect+:} false; then :
15532 $as_echo_n "(cached) " >&6
15533 else
15534 ac_func_search_save_LIBS=$LIBS
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char connect ();
15546 main ()
15548 return connect ();
15550 return 0;
15552 _ACEOF
15553 for ac_lib in '' socket; do
15554 if test -z "$ac_lib"; then
15555 ac_res="none required"
15556 else
15557 ac_res=-l$ac_lib
15558 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15560 if ac_fn_c_try_link "$LINENO"; then :
15561 ac_cv_search_connect=$ac_res
15563 rm -f core conftest.err conftest.$ac_objext \
15564 conftest$ac_exeext
15565 if ${ac_cv_search_connect+:} false; then :
15566 break
15568 done
15569 if ${ac_cv_search_connect+:} false; then :
15571 else
15572 ac_cv_search_connect=no
15574 rm conftest.$ac_ext
15575 LIBS=$ac_func_search_save_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15578 $as_echo "$ac_cv_search_connect" >&6; }
15579 ac_res=$ac_cv_search_connect
15580 if test "$ac_res" != no; then :
15581 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15587 $as_echo_n "checking for library containing inet_aton... " >&6; }
15588 if ${ac_cv_search_inet_aton+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 ac_func_search_save_LIBS=$LIBS
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 #ifdef __cplusplus
15599 extern "C"
15600 #endif
15601 char inet_aton ();
15603 main ()
15605 return inet_aton ();
15607 return 0;
15609 _ACEOF
15610 for ac_lib in '' resolv; do
15611 if test -z "$ac_lib"; then
15612 ac_res="none required"
15613 else
15614 ac_res=-l$ac_lib
15615 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15617 if ac_fn_c_try_link "$LINENO"; then :
15618 ac_cv_search_inet_aton=$ac_res
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext
15622 if ${ac_cv_search_inet_aton+:} false; then :
15623 break
15625 done
15626 if ${ac_cv_search_inet_aton+:} false; then :
15628 else
15629 ac_cv_search_inet_aton=no
15631 rm conftest.$ac_ext
15632 LIBS=$ac_func_search_save_LIBS
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15635 $as_echo "$ac_cv_search_inet_aton" >&6; }
15636 ac_res=$ac_cv_search_inet_aton
15637 if test "$ac_res" != no; then :
15638 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15643 for ac_func in \
15644 getaddrinfo \
15645 getnameinfo \
15646 getnetbyname \
15647 getprotobyname \
15648 getprotobynumber \
15649 getservbyport \
15650 inet_addr \
15651 inet_network \
15652 inet_ntop \
15653 inet_pton \
15654 sendmsg \
15655 socketpair \
15657 do :
15658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15661 cat >>confdefs.h <<_ACEOF
15662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15663 _ACEOF
15666 done
15669 ac_save_LIBS=$LIBS
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15671 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15672 if ${ac_cv_search_clock_gettime+:} false; then :
15673 $as_echo_n "(cached) " >&6
15674 else
15675 ac_func_search_save_LIBS=$LIBS
15676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 /* end confdefs.h. */
15679 /* Override any GCC internal prototype to avoid an error.
15680 Use char because int might match the return type of a GCC
15681 builtin and then its argument prototype would still apply. */
15682 #ifdef __cplusplus
15683 extern "C"
15684 #endif
15685 char clock_gettime ();
15687 main ()
15689 return clock_gettime ();
15691 return 0;
15693 _ACEOF
15694 for ac_lib in '' rt; do
15695 if test -z "$ac_lib"; then
15696 ac_res="none required"
15697 else
15698 ac_res=-l$ac_lib
15699 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15701 if ac_fn_c_try_link "$LINENO"; then :
15702 ac_cv_search_clock_gettime=$ac_res
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext
15706 if ${ac_cv_search_clock_gettime+:} false; then :
15707 break
15709 done
15710 if ${ac_cv_search_clock_gettime+:} false; then :
15712 else
15713 ac_cv_search_clock_gettime=no
15715 rm conftest.$ac_ext
15716 LIBS=$ac_func_search_save_LIBS
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15719 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15720 ac_res=$ac_cv_search_clock_gettime
15721 if test "$ac_res" != no; then :
15722 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15724 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15726 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15730 LIBS=$ac_save_LIBS
15732 LDAP_LIBS=""
15734 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15735 then
15736 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15738 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15740 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15741 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15742 $as_echo_n "(cached) " >&6
15743 else
15744 ac_check_lib_save_LIBS=$LIBS
15745 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char ldap_initialize ();
15757 main ()
15759 return ldap_initialize ();
15761 return 0;
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765 ac_cv_lib_ldap_r_ldap_initialize=yes
15766 else
15767 ac_cv_lib_ldap_r_ldap_initialize=no
15769 rm -f core conftest.err conftest.$ac_objext \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_lib_save_LIBS
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15774 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15775 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15777 $as_echo_n "checking for ber_init in -llber... " >&6; }
15778 if ${ac_cv_lib_lber_ber_init+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_check_lib_save_LIBS=$LIBS
15782 LIBS="-llber $PTHREAD_LIBS $LIBS"
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15786 /* Override any GCC internal prototype to avoid an error.
15787 Use char because int might match the return type of a GCC
15788 builtin and then its argument prototype would still apply. */
15789 #ifdef __cplusplus
15790 extern "C"
15791 #endif
15792 char ber_init ();
15794 main ()
15796 return ber_init ();
15798 return 0;
15800 _ACEOF
15801 if ac_fn_c_try_link "$LINENO"; then :
15802 ac_cv_lib_lber_ber_init=yes
15803 else
15804 ac_cv_lib_lber_ber_init=no
15806 rm -f core conftest.err conftest.$ac_objext \
15807 conftest$ac_exeext conftest.$ac_ext
15808 LIBS=$ac_check_lib_save_LIBS
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15811 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15812 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15814 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15816 LDAP_LIBS="-lldap_r -llber"
15823 ac_wine_check_funcs_save_LIBS="$LIBS"
15824 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15825 for ac_func in \
15826 ldap_count_references \
15827 ldap_first_reference \
15828 ldap_next_reference \
15829 ldap_parse_reference \
15830 ldap_parse_sort_control \
15831 ldap_parse_sortresponse_control \
15832 ldap_parse_vlv_control \
15833 ldap_parse_vlvresponse_control
15834 do :
15835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15838 cat >>confdefs.h <<_ACEOF
15839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15840 _ACEOF
15843 done
15845 LIBS="$ac_wine_check_funcs_save_LIBS"
15847 if test "x$LDAP_LIBS" = "x"; then :
15848 case "x$with_ldap" in
15849 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15850 xno) ;;
15851 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15852 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15853 esac
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15858 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15859 if ${wine_cv_one_arg_mkdir+:} false; then :
15860 $as_echo_n "(cached) " >&6
15861 else
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15864 #include <sys/stat.h>
15866 main ()
15868 mkdir("foo");
15870 return 0;
15872 _ACEOF
15873 if ac_fn_c_try_compile "$LINENO"; then :
15874 wine_cv_one_arg_mkdir=yes
15875 else
15876 wine_cv_one_arg_mkdir=no
15878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15881 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15882 if test "$wine_cv_one_arg_mkdir" = "yes"
15883 then
15885 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15890 $as_echo_n "checking for sched_setaffinity... " >&6; }
15891 if ${wine_cv_have_sched_setaffinity+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15895 /* end confdefs.h. */
15896 #define _GNU_SOURCE
15897 #include <sched.h>
15899 main ()
15901 sched_setaffinity(0, 0, 0);
15903 return 0;
15905 _ACEOF
15906 if ac_fn_c_try_link "$LINENO"; then :
15907 wine_cv_have_sched_setaffinity=yes
15908 else
15909 wine_cv_have_sched_setaffinity=no
15911 rm -f core conftest.err conftest.$ac_objext \
15912 conftest$ac_exeext conftest.$ac_ext
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15915 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15916 if test "$wine_cv_have_sched_setaffinity" = "yes"
15917 then
15919 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15924 $as_echo_n "checking for fallocate... " >&6; }
15925 if ${wine_cv_have_fallocate+:} false; then :
15926 $as_echo_n "(cached) " >&6
15927 else
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15930 #define _GNU_SOURCE
15931 #include <fcntl.h>
15933 main ()
15935 fallocate(-1, 0, 0, 0);
15937 return 0;
15939 _ACEOF
15940 if ac_fn_c_try_link "$LINENO"; then :
15941 wine_cv_have_fallocate=yes
15942 else
15943 wine_cv_have_fallocate=no
15945 rm -f core conftest.err conftest.$ac_objext \
15946 conftest$ac_exeext conftest.$ac_ext
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15949 $as_echo "$wine_cv_have_fallocate" >&6; }
15950 if test "$wine_cv_have_fallocate" = "yes"
15951 then
15953 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15959 $as_echo_n "checking for inline... " >&6; }
15960 if ${ac_cv_c_inline+:} false; then :
15961 $as_echo_n "(cached) " >&6
15962 else
15963 ac_cv_c_inline=no
15964 for ac_kw in inline __inline__ __inline; do
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15967 #ifndef __cplusplus
15968 typedef int foo_t;
15969 static $ac_kw foo_t static_foo () {return 0; }
15970 $ac_kw foo_t foo () {return 0; }
15971 #endif
15973 _ACEOF
15974 if ac_fn_c_try_compile "$LINENO"; then :
15975 ac_cv_c_inline=$ac_kw
15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15978 test "$ac_cv_c_inline" != no && break
15979 done
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15983 $as_echo "$ac_cv_c_inline" >&6; }
15985 case $ac_cv_c_inline in
15986 inline | yes) ;;
15988 case $ac_cv_c_inline in
15989 no) ac_val=;;
15990 *) ac_val=$ac_cv_c_inline;;
15991 esac
15992 cat >>confdefs.h <<_ACEOF
15993 #ifndef __cplusplus
15994 #define inline $ac_val
15995 #endif
15996 _ACEOF
15998 esac
16000 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16001 if test "x$ac_cv_type_mode_t" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_MODE_T 1
16005 _ACEOF
16009 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16010 if test "x$ac_cv_type_off_t" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_OFF_T 1
16014 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16019 if test "x$ac_cv_type_pid_t" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_PID_T 1
16023 _ACEOF
16027 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16028 if test "x$ac_cv_type_size_t" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_SIZE_T 1
16032 _ACEOF
16036 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16037 if test "x$ac_cv_type_ssize_t" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_SSIZE_T 1
16041 _ACEOF
16045 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16046 if test "x$ac_cv_type_long_long" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_LONG_LONG 1
16050 _ACEOF
16054 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16055 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_FSBLKCNT_T 1
16059 _ACEOF
16063 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16064 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_FSFILCNT_T 1
16068 _ACEOF
16073 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16074 #include <signal.h>
16076 if test "x$ac_cv_type_sigset_t" = xyes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_SIGSET_T 1
16080 _ACEOF
16085 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16087 if test "x$ac_cv_type_request_sense" = xyes; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define HAVE_REQUEST_SENSE 1
16091 _ACEOF
16097 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16098 #ifdef HAVE_SYS_SOCKET_H
16099 #include <sys/socket.h>
16100 #endif
16101 #ifdef HAVE_SYS_SOCKETVAR_H
16102 #include <sys/socketvar.h>
16103 #endif
16104 #ifdef HAVE_NET_ROUTE_H
16105 #include <net/route.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IN_H
16108 #include <netinet/in.h>
16109 #endif
16110 #ifdef HAVE_NETINET_IN_SYSTM_H
16111 #include <netinet/in_systm.h>
16112 #endif
16113 #ifdef HAVE_NETINET_IP_H
16114 #include <netinet/ip.h>
16115 #endif
16116 #ifdef HAVE_NETINET_IN_PCB_H
16117 #include <netinet/in_pcb.h>
16118 #endif
16120 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_STRUCT_XINPGEN 1
16124 _ACEOF
16130 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16131 #include <link.h>
16132 #endif
16133 #ifdef HAVE_SYS_LINK_H
16134 #include <sys/link.h>
16135 #endif
16137 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16139 cat >>confdefs.h <<_ACEOF
16140 #define HAVE_STRUCT_R_DEBUG 1
16141 _ACEOF
16145 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16146 #include <link.h>
16147 #endif
16148 #ifdef HAVE_SYS_LINK_H
16149 #include <sys/link.h>
16150 #endif
16152 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_LINK_MAP 1
16156 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16163 #include <linux/input.h>
16164 #endif
16166 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16168 cat >>confdefs.h <<_ACEOF
16169 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16170 _ACEOF
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16177 $as_echo_n "checking for sigaddset... " >&6; }
16178 if ${wine_cv_have_sigaddset+:} false; then :
16179 $as_echo_n "(cached) " >&6
16180 else
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #include <signal.h>
16185 main ()
16187 sigset_t set; sigaddset(&set,SIGTERM);
16189 return 0;
16191 _ACEOF
16192 if ac_fn_c_try_link "$LINENO"; then :
16193 wine_cv_have_sigaddset=yes
16194 else
16195 wine_cv_have_sigaddset=no
16197 rm -f core conftest.err conftest.$ac_objext \
16198 conftest$ac_exeext conftest.$ac_ext
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16201 $as_echo "$wine_cv_have_sigaddset" >&6; }
16202 if test "$wine_cv_have_sigaddset" = "yes"
16203 then
16205 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16211 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16212 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16213 $as_echo_n "(cached) " >&6
16214 else
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16217 #include <netdb.h>
16219 main ()
16222 char *name=0;
16223 struct hostent he;
16224 struct hostent *result;
16225 char *buf=0;
16226 int bufsize=0;
16227 int errnr;
16228 char *addr=0;
16229 int addrlen=0;
16230 int addrtype=0;
16231 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16232 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16235 return 0;
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"; then :
16239 wine_cv_linux_gethostbyname_r_6=yes
16240 else
16241 wine_cv_linux_gethostbyname_r_6=no
16244 rm -f core conftest.err conftest.$ac_objext \
16245 conftest$ac_exeext conftest.$ac_ext
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16249 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16250 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16251 then
16253 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16257 if test "$ac_cv_header_linux_joystick_h" = "yes"
16258 then
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16260 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16261 if ${wine_cv_linux_joystick_22_api+:} false; then :
16262 $as_echo_n "(cached) " >&6
16263 else
16264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16265 /* end confdefs.h. */
16267 #include <sys/ioctl.h>
16268 #include <sys/types.h>
16269 #include <linux/joystick.h>
16271 struct js_event blub;
16272 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16273 #error "no 2.2 header"
16274 #endif
16277 main ()
16279 /*empty*/
16281 return 0;
16283 _ACEOF
16284 if ac_fn_c_try_compile "$LINENO"; then :
16285 wine_cv_linux_joystick_22_api=yes
16286 else
16287 wine_cv_linux_joystick_22_api=no
16289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16293 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16294 if test "$wine_cv_linux_joystick_22_api" = "yes"
16295 then
16297 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16303 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16304 #ifdef HAVE_SYS_PARAM_H
16305 # include <sys/param.h>
16306 #endif
16307 #ifdef HAVE_SYS_MOUNT_H
16308 # include <sys/mount.h>
16309 #endif
16310 #ifdef HAVE_SYS_VFS_H
16311 # include <sys/vfs.h>
16312 #endif
16313 #ifdef HAVE_SYS_STATFS_H
16314 # include <sys/statfs.h>
16315 #endif
16317 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_STATFS_F_BFREE 1
16321 _ACEOF
16325 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16326 #ifdef HAVE_SYS_PARAM_H
16327 # include <sys/param.h>
16328 #endif
16329 #ifdef HAVE_SYS_MOUNT_H
16330 # include <sys/mount.h>
16331 #endif
16332 #ifdef HAVE_SYS_VFS_H
16333 # include <sys/vfs.h>
16334 #endif
16335 #ifdef HAVE_SYS_STATFS_H
16336 # include <sys/statfs.h>
16337 #endif
16339 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16341 cat >>confdefs.h <<_ACEOF
16342 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16343 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16348 #ifdef HAVE_SYS_PARAM_H
16349 # include <sys/param.h>
16350 #endif
16351 #ifdef HAVE_SYS_MOUNT_H
16352 # include <sys/mount.h>
16353 #endif
16354 #ifdef HAVE_SYS_VFS_H
16355 # include <sys/vfs.h>
16356 #endif
16357 #ifdef HAVE_SYS_STATFS_H
16358 # include <sys/statfs.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_PARAM_H
16371 # include <sys/param.h>
16372 #endif
16373 #ifdef HAVE_SYS_MOUNT_H
16374 # include <sys/mount.h>
16375 #endif
16376 #ifdef HAVE_SYS_VFS_H
16377 # include <sys/vfs.h>
16378 #endif
16379 #ifdef HAVE_SYS_STATFS_H
16380 # include <sys/statfs.h>
16381 #endif
16383 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_STRUCT_STATFS_F_FFREE 1
16387 _ACEOF
16391 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16392 #ifdef HAVE_SYS_PARAM_H
16393 # include <sys/param.h>
16394 #endif
16395 #ifdef HAVE_SYS_MOUNT_H
16396 # include <sys/mount.h>
16397 #endif
16398 #ifdef HAVE_SYS_VFS_H
16399 # include <sys/vfs.h>
16400 #endif
16401 #ifdef HAVE_SYS_STATFS_H
16402 # include <sys/statfs.h>
16403 #endif
16405 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16407 cat >>confdefs.h <<_ACEOF
16408 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16409 _ACEOF
16413 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16414 #ifdef HAVE_SYS_PARAM_H
16415 # include <sys/param.h>
16416 #endif
16417 #ifdef HAVE_SYS_MOUNT_H
16418 # include <sys/mount.h>
16419 #endif
16420 #ifdef HAVE_SYS_VFS_H
16421 # include <sys/vfs.h>
16422 #endif
16423 #ifdef HAVE_SYS_STATFS_H
16424 # include <sys/statfs.h>
16425 #endif
16427 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16431 _ACEOF
16437 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16438 #include <sys/statvfs.h>
16439 #endif
16441 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16452 #include <dirent.h>
16453 #endif
16455 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16459 _ACEOF
16465 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16466 #ifdef HAVE_SYS_SOCKET_H
16467 # include <sys/socket.h>
16468 #endif
16469 #ifdef HAVE_SYS_UN_H
16470 # include <sys/un.h>
16471 #endif
16473 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16475 cat >>confdefs.h <<_ACEOF
16476 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16477 _ACEOF
16481 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16482 #ifdef HAVE_SYS_SOCKET_H
16483 # include <sys/socket.h>
16484 #endif
16485 #ifdef HAVE_SYS_UN_H
16486 # include <sys/un.h>
16487 #endif
16489 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16493 _ACEOF
16497 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16498 #ifdef HAVE_SYS_SOCKET_H
16499 # include <sys/socket.h>
16500 #endif
16501 #ifdef HAVE_SYS_UN_H
16502 # include <sys/un.h>
16503 #endif
16505 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16509 _ACEOF
16515 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16516 #ifdef HAVE_SCSI_SG_H
16517 #include <scsi/sg.h>
16518 #endif
16520 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16522 cat >>confdefs.h <<_ACEOF
16523 #define HAVE_SCSIREQ_T_CMD 1
16524 _ACEOF
16528 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>
16529 #ifdef HAVE_SCSI_SG_H
16530 #include <scsi/sg.h>
16531 #endif
16533 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16537 _ACEOF
16543 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16545 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_SIGINFO_T_SI_FD 1
16549 _ACEOF
16555 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16556 #ifdef HAVE_SYS_MTIO_H
16557 #include <sys/mtio.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16564 _ACEOF
16568 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16569 #ifdef HAVE_SYS_MTIO_H
16570 #include <sys/mtio.h>
16571 #endif
16573 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16577 _ACEOF
16581 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16582 #ifdef HAVE_SYS_MTIO_H
16583 #include <sys/mtio.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16590 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16597 #include <getopt.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_OPTION_NAME 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16611 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16615 _ACEOF
16619 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16620 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16622 cat >>confdefs.h <<_ACEOF
16623 #define HAVE_STRUCT_STAT_ST_MTIM 1
16624 _ACEOF
16628 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16629 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16633 _ACEOF
16637 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16638 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16640 cat >>confdefs.h <<_ACEOF
16641 #define HAVE_STRUCT_STAT_ST_CTIM 1
16642 _ACEOF
16646 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16647 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16651 _ACEOF
16655 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16656 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_STRUCT_STAT_ST_ATIM 1
16660 _ACEOF
16664 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16665 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16667 cat >>confdefs.h <<_ACEOF
16668 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16669 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16674 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16678 _ACEOF
16682 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16683 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16687 _ACEOF
16691 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16692 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16696 _ACEOF
16700 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16701 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16705 _ACEOF
16709 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16710 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16712 cat >>confdefs.h <<_ACEOF
16713 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16714 _ACEOF
16720 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
16721 #include <sys/types.h>
16722 #endif
16723 #ifdef HAVE_NETINET_IN_H
16724 #include <netinet/in.h>
16725 #endif
16727 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16729 cat >>confdefs.h <<_ACEOF
16730 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16731 _ACEOF
16737 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16738 #include <sys/types.h>
16739 #endif
16740 #ifdef HAVE_NETINET_IN_H
16741 #include <netinet/in.h>
16742 #endif
16743 #ifdef HAVE_RESOLV_H
16744 #include <resolv.h>
16745 #endif
16747 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16749 cat >>confdefs.h <<_ACEOF
16750 #define HAVE_STRUCT___RES_STATE 1
16751 _ACEOF
16757 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
16758 #include <resolv.h>
16759 #endif
16761 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16763 cat >>confdefs.h <<_ACEOF
16764 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16765 _ACEOF
16771 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16772 #include <sys/types.h>
16773 #endif
16774 #ifdef HAVE_NETINET_IN_H
16775 # include <netinet/in.h>
16776 #endif
16777 #ifdef HAVE_ARPA_NAMESER_H
16778 # include <arpa/nameser.h>
16779 #endif
16781 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_NS_MSG__MSG_PTR 1
16785 _ACEOF
16791 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16792 #include <sys/types.h>
16793 #endif
16794 #ifdef HAVE_NETINET_IN_H
16795 #include <netinet/in.h>
16796 #endif
16797 #ifdef HAVE_NETINET_IP_H
16798 #include <netinet/ip.h>
16799 #endif
16800 #ifdef HAVE_NETINET_IP_ICMP_H
16801 #include <netinet/ip_icmp.h>
16802 #endif
16803 #ifdef HAVE_NETINET_ICMP_VAR_H
16804 #include <netinet/icmp_var.h>
16805 #endif
16807 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16811 _ACEOF
16817 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16818 #include <sys/types.h>
16819 #endif
16820 #ifdef HAVE_ALIAS_H
16821 #include <alias.h>
16822 #endif
16823 #ifdef HAVE_SYS_SOCKET_H
16824 #include <sys/socket.h>
16825 #endif
16826 #ifdef HAVE_SYS_SOCKETVAR_H
16827 #include <sys/socketvar.h>
16828 #endif
16829 #ifdef HAVE_SYS_TIMEOUT_H
16830 #include <sys/timeout.h>
16831 #endif
16832 #ifdef HAVE_NETINET_IN_H
16833 #include <netinet/in.h>
16834 #endif
16835 #ifdef HAVE_NETINET_IN_SYSTM_H
16836 #include <netinet/in_systm.h>
16837 #endif
16838 #ifdef HAVE_NETINET_IP_H
16839 #include <netinet/ip.h>
16840 #endif
16841 #ifdef HAVE_NETINET_IP_VAR_H
16842 #include <netinet/ip_var.h>
16843 #endif
16844 #ifdef HAVE_NETINET_IP_ICMP_H
16845 #include <netinet/ip_icmp.h>
16846 #endif
16847 #ifdef HAVE_NETINET_ICMP_VAR_H
16848 #include <netinet/icmp_var.h>
16849 #endif
16851 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16855 _ACEOF
16861 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16862 #include <sys/types.h>
16863 #endif
16864 #ifdef HAVE_SYS_SOCKETVAR_H
16865 #include <sys/socketvar.h>
16866 #endif
16867 #ifdef HAVE_NETINET_IN_H
16868 #include <netinet/in.h>
16869 #endif
16870 #ifdef HAVE_NETINET_IP_VAR_H
16871 #include <netinet/ip_var.h>
16872 #endif
16874 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16876 cat >>confdefs.h <<_ACEOF
16877 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16878 _ACEOF
16884 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
16885 #include <netinet/ip_var.h>
16886 #endif
16888 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16892 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16899 #include <sys/types.h>
16900 #endif
16901 #ifdef HAVE_SYS_SOCKETVAR_H
16902 #include <sys/socketvar.h>
16903 #endif
16904 #ifdef HAVE_NETINET_IN_H
16905 #include <netinet/in.h>
16906 #endif
16907 #ifdef HAVE_NETINET_TCP_H
16908 #include <netinet/tcp.h>
16909 #endif
16910 #ifdef HAVE_NETINET_TCP_VAR_H
16911 #include <netinet/tcp_var.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16918 _ACEOF
16924 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
16925 #include <netinet/tcp_var.h>
16926 #endif
16928 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16932 _ACEOF
16938 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16939 #include <sys/types.h>
16940 #endif
16941 #ifdef HAVE_NETINET_IN_H
16942 #include <netinet/in.h>
16943 #endif
16944 #ifdef HAVE_NETINET_IP_VAR_H
16945 #include <netinet/ip_var.h>
16946 #endif
16947 #ifdef HAVE_NETINET_UDP_H
16948 #include <netinet/udp.h>
16949 #endif
16950 #ifdef HAVE_NETINET_UDP_VAR_H
16951 #include <netinet/udp_var.h>
16952 #endif
16954 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16956 cat >>confdefs.h <<_ACEOF
16957 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16958 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16965 #include <sys/types.h>
16966 #endif
16967 #ifdef HAVE_NET_IF_H
16968 # include <net/if.h>
16969 #endif
16971 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16973 cat >>confdefs.h <<_ACEOF
16974 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16975 _ACEOF
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16982 $as_echo_n "checking for timezone variable... " >&6; }
16983 if ${ac_cv_have_timezone+:} false; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16988 #include <time.h>
16990 main ()
16992 timezone = 1
16994 return 0;
16996 _ACEOF
16997 if ac_fn_c_try_link "$LINENO"; then :
16998 ac_cv_have_timezone="yes"
16999 else
17000 ac_cv_have_timezone="no"
17002 rm -f core conftest.err conftest.$ac_objext \
17003 conftest$ac_exeext conftest.$ac_ext
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17006 $as_echo "$ac_cv_have_timezone" >&6; }
17007 if test "$ac_cv_have_timezone" = "yes"
17008 then
17010 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17014 $as_echo_n "checking for daylight variable... " >&6; }
17015 if ${ac_cv_have_daylight+:} false; then :
17016 $as_echo_n "(cached) " >&6
17017 else
17018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17019 /* end confdefs.h. */
17020 #include <time.h>
17022 main ()
17024 daylight = 1
17026 return 0;
17028 _ACEOF
17029 if ac_fn_c_try_link "$LINENO"; then :
17030 ac_cv_have_daylight="yes"
17031 else
17032 ac_cv_have_daylight="no"
17034 rm -f core conftest.err conftest.$ac_objext \
17035 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17038 $as_echo "$ac_cv_have_daylight" >&6; }
17039 if test "$ac_cv_have_daylight" = "yes"
17040 then
17042 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17046 ac_save_LIBS="$LIBS"
17047 LIBS="$LIBS -lm"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17049 $as_echo_n "checking for isfinite... " >&6; }
17050 if ${ac_cv_have_isfinite+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 #define _GNU_SOURCE
17056 #include <math.h>
17058 main ()
17060 float f = 0.0; return isfinite(f)
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_have_isfinite="yes"
17067 else
17068 ac_cv_have_isfinite="no"
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17074 $as_echo "$ac_cv_have_isfinite" >&6; }
17075 if test "$ac_cv_have_isfinite" = "yes"
17076 then
17078 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17083 $as_echo_n "checking for isinf... " >&6; }
17084 if ${ac_cv_have_isinf+:} false; then :
17085 $as_echo_n "(cached) " >&6
17086 else
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <math.h>
17091 main ()
17093 float f = 0.0; return isinf(f)
17095 return 0;
17097 _ACEOF
17098 if ac_fn_c_try_link "$LINENO"; then :
17099 ac_cv_have_isinf="yes"
17100 else
17101 ac_cv_have_isinf="no"
17103 rm -f core conftest.err conftest.$ac_objext \
17104 conftest$ac_exeext conftest.$ac_ext
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17107 $as_echo "$ac_cv_have_isinf" >&6; }
17108 if test "$ac_cv_have_isinf" = "yes"
17109 then
17111 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17116 $as_echo_n "checking for isnan... " >&6; }
17117 if ${ac_cv_have_isnan+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #include <math.h>
17124 main ()
17126 float f = 0.0; return isnan(f)
17128 return 0;
17130 _ACEOF
17131 if ac_fn_c_try_link "$LINENO"; then :
17132 ac_cv_have_isnan="yes"
17133 else
17134 ac_cv_have_isnan="no"
17136 rm -f core conftest.err conftest.$ac_objext \
17137 conftest$ac_exeext conftest.$ac_ext
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17140 $as_echo "$ac_cv_have_isnan" >&6; }
17141 if test "$ac_cv_have_isnan" = "yes"
17142 then
17144 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17148 for ac_func in \
17149 asinh \
17150 asinhf \
17151 cbrt \
17152 cbrtf \
17153 erf \
17154 erff \
17155 exp2 \
17156 exp2f \
17157 lgamma \
17158 lgammaf \
17159 llrint \
17160 llrintf \
17161 llround \
17162 llroundf \
17163 log2 \
17164 log2f \
17165 lrint \
17166 lrintf \
17167 lround \
17168 lroundf \
17169 nearbyint \
17170 nearbyintf \
17171 powl \
17172 remainder \
17173 remainderf \
17174 rint \
17175 rintf \
17176 round \
17177 roundf \
17178 trunc \
17179 truncf
17181 do :
17182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17184 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17187 _ACEOF
17190 done
17192 LIBS="$ac_save_LIBS"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17195 $as_echo_n "checking for __builtin_clz... " >&6; }
17196 if ${ac_cv_have___builtin_clz+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17200 /* end confdefs.h. */
17203 main ()
17205 return __builtin_clz(1)
17207 return 0;
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_have___builtin_clz="yes"
17212 else
17213 ac_cv_have___builtin_clz="no"
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17219 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17220 if test "$ac_cv_have___builtin_clz" = "yes"
17221 then
17223 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17228 $as_echo_n "checking for __builtin_popcount... " >&6; }
17229 if ${ac_cv_have___builtin_popcount+:} false; then :
17230 $as_echo_n "(cached) " >&6
17231 else
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17236 main ()
17238 return __builtin_popcount(1)
17240 return 0;
17242 _ACEOF
17243 if ac_fn_c_try_link "$LINENO"; then :
17244 ac_cv_have___builtin_popcount="yes"
17245 else
17246 ac_cv_have___builtin_popcount="no"
17248 rm -f core conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17252 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17253 if test "$ac_cv_have___builtin_popcount" = "yes"
17254 then
17256 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17261 case $host_cpu in
17262 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17263 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17264 if ${ac_cv_cpp_def___i386__+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269 #ifndef __i386__
17271 #endif
17272 _ACEOF
17273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17274 $EGREP "yes" >/dev/null 2>&1; then :
17275 ac_cv_cpp_def___i386__=yes
17276 else
17277 ac_cv_cpp_def___i386__=no
17279 rm -f conftest*
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17283 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17284 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17285 CFLAGS="$CFLAGS -D__i386__"
17286 LINTFLAGS="$LINTFLAGS -D__i386__"
17287 fi ;;
17288 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17289 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17290 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17291 $as_echo_n "(cached) " >&6
17292 else
17293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17295 #ifndef __x86_64__
17297 #endif
17298 _ACEOF
17299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17300 $EGREP "yes" >/dev/null 2>&1; then :
17301 ac_cv_cpp_def___x86_64__=yes
17302 else
17303 ac_cv_cpp_def___x86_64__=no
17305 rm -f conftest*
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17309 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17310 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17311 CFLAGS="$CFLAGS -D__x86_64__"
17312 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17313 fi ;;
17314 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17315 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17316 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17317 $as_echo_n "(cached) " >&6
17318 else
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #ifndef __sparc64__
17323 #endif
17324 _ACEOF
17325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17326 $EGREP "yes" >/dev/null 2>&1; then :
17327 ac_cv_cpp_def___sparc64__=yes
17328 else
17329 ac_cv_cpp_def___sparc64__=no
17331 rm -f conftest*
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17335 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17336 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17337 CFLAGS="$CFLAGS -D__sparc64__"
17338 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17339 fi ;;
17340 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17341 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17342 if ${ac_cv_cpp_def___sparc__+:} false; then :
17343 $as_echo_n "(cached) " >&6
17344 else
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #ifndef __sparc__
17349 #endif
17350 _ACEOF
17351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17352 $EGREP "yes" >/dev/null 2>&1; then :
17353 ac_cv_cpp_def___sparc__=yes
17354 else
17355 ac_cv_cpp_def___sparc__=no
17357 rm -f conftest*
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17361 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17362 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17363 CFLAGS="$CFLAGS -D__sparc__"
17364 LINTFLAGS="$LINTFLAGS -D__sparc__"
17365 fi ;;
17366 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17367 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17368 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17372 /* end confdefs.h. */
17373 #ifndef __powerpc64__
17375 #endif
17376 _ACEOF
17377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17378 $EGREP "yes" >/dev/null 2>&1; then :
17379 ac_cv_cpp_def___powerpc64__=yes
17380 else
17381 ac_cv_cpp_def___powerpc64__=no
17383 rm -f conftest*
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17387 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17388 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17389 CFLAGS="$CFLAGS -D__powerpc64__"
17390 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17391 fi ;;
17392 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17393 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17394 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17395 $as_echo_n "(cached) " >&6
17396 else
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #ifndef __powerpc__
17401 #endif
17402 _ACEOF
17403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17404 $EGREP "yes" >/dev/null 2>&1; then :
17405 ac_cv_cpp_def___powerpc__=yes
17406 else
17407 ac_cv_cpp_def___powerpc__=no
17409 rm -f conftest*
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17413 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17414 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17415 CFLAGS="$CFLAGS -D__powerpc__"
17416 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17417 fi ;;
17418 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17419 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17420 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17425 #ifndef __aarch64__
17427 #endif
17428 _ACEOF
17429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17430 $EGREP "yes" >/dev/null 2>&1; then :
17431 ac_cv_cpp_def___aarch64__=yes
17432 else
17433 ac_cv_cpp_def___aarch64__=no
17435 rm -f conftest*
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17439 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17440 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17441 CFLAGS="$CFLAGS -D__aarch64__"
17442 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17443 fi ;;
17444 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17445 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17446 if ${ac_cv_cpp_def___arm__+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 #ifndef __arm__
17453 #endif
17454 _ACEOF
17455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17456 $EGREP "yes" >/dev/null 2>&1; then :
17457 ac_cv_cpp_def___arm__=yes
17458 else
17459 ac_cv_cpp_def___arm__=no
17461 rm -f conftest*
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17465 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17466 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17467 CFLAGS="$CFLAGS -D__arm__"
17468 LINTFLAGS="$LINTFLAGS -D__arm__"
17469 fi ;;
17470 esac
17472 case $host_vendor in
17473 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17474 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17475 if ${ac_cv_cpp_def___sun__+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 #ifndef __sun__
17482 #endif
17483 _ACEOF
17484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17485 $EGREP "yes" >/dev/null 2>&1; then :
17486 ac_cv_cpp_def___sun__=yes
17487 else
17488 ac_cv_cpp_def___sun__=no
17490 rm -f conftest*
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17494 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17495 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17496 CFLAGS="$CFLAGS -D__sun__"
17497 LINTFLAGS="$LINTFLAGS -D__sun__"
17498 fi ;;
17499 esac
17505 ac_config_commands="$ac_config_commands include/stamp-h"
17507 $as_echo_n "creating Makefile rules..." >&6
17509 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17510 SOCKET_LIBS = $SOCKET_LIBS
17511 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17512 IOKIT_LIBS = $IOKIT_LIBS
17513 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17514 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17515 CORESERVICES_LIBS = $CORESERVICES_LIBS
17516 APPKIT_LIBS = $APPKIT_LIBS
17517 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17518 SECURITY_LIBS = $SECURITY_LIBS
17519 COREAUDIO_LIBS = $COREAUDIO_LIBS
17520 OPENAL_LIBS = $OPENAL_LIBS
17521 OPENCL_LIBS = $OPENCL_LIBS
17522 QUICKTIME_LIBS = $QUICKTIME_LIBS
17523 CARBON_LIBS = $CARBON_LIBS
17524 PTHREAD_LIBS = $PTHREAD_LIBS
17525 X_CFLAGS = $X_CFLAGS
17526 X_PRE_LIBS = $X_PRE_LIBS
17527 X_LIBS = $X_LIBS
17528 X_EXTRA_LIBS = $X_EXTRA_LIBS
17529 PCAP_LIBS = $PCAP_LIBS
17530 XML2_CFLAGS = $XML2_CFLAGS
17531 XML2_LIBS = $XML2_LIBS
17532 XSLT_CFLAGS = $XSLT_CFLAGS
17533 XSLT_LIBS = $XSLT_LIBS
17534 DBUS_CFLAGS = $DBUS_CFLAGS
17535 DBUS_LIBS = $DBUS_LIBS
17536 HAL_CFLAGS = $HAL_CFLAGS
17537 HAL_LIBS = $HAL_LIBS
17538 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17539 GNUTLS_LIBS = $GNUTLS_LIBS
17540 SANE_CFLAGS = $SANE_CFLAGS
17541 SANE_LIBS = $SANE_LIBS
17542 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17543 GPHOTO2_LIBS = $GPHOTO2_LIBS
17544 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17545 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17546 RESOLV_LIBS = $RESOLV_LIBS
17547 LCMS2_CFLAGS = $LCMS2_CFLAGS
17548 LCMS2_LIBS = $LCMS2_LIBS
17549 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17550 FREETYPE_LIBS = $FREETYPE_LIBS
17551 Z_LIBS = $Z_LIBS
17552 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17553 PULSE_CFLAGS = $PULSE_CFLAGS
17554 PULSE_LIBS = $PULSE_LIBS
17555 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17556 GSTREAMER_LIBS = $GSTREAMER_LIBS
17557 ALSA_LIBS = $ALSA_LIBS
17558 OSS4_CFLAGS = $OSS4_CFLAGS
17559 UDEV_CFLAGS = $UDEV_CFLAGS
17560 UDEV_LIBS = $UDEV_LIBS
17561 CAPI20_CFLAGS = $CAPI20_CFLAGS
17562 CAPI20_LIBS = $CAPI20_LIBS
17563 CUPS_CFLAGS = $CUPS_CFLAGS
17564 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17565 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17566 JPEG_CFLAGS = $JPEG_CFLAGS
17567 JPEG_LIBS = $JPEG_LIBS
17568 PNG_CFLAGS = $PNG_CFLAGS
17569 PNG_LIBS = $PNG_LIBS
17570 TIFF_CFLAGS = $TIFF_CFLAGS
17571 TIFF_LIBS = $TIFF_LIBS
17572 MPG123_CFLAGS = $MPG123_CFLAGS
17573 MPG123_LIBS = $MPG123_LIBS
17574 KSTAT_LIBS = $KSTAT_LIBS
17575 PROCSTAT_LIBS = $PROCSTAT_LIBS
17576 NETAPI_CFLAGS = $NETAPI_CFLAGS
17577 NETAPI_LIBS = $NETAPI_LIBS
17578 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17579 DL_LIBS = $DL_LIBS
17580 POLL_LIBS = $POLL_LIBS
17581 RT_LIBS = $RT_LIBS
17582 LDAP_LIBS = $LDAP_LIBS
17587 wine_fn_append_rule "
17588 # Rules automatically generated by configure
17590 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17592 .INIT: Makefile
17593 .MAKEFILEDEPS:
17594 all: Makefile
17595 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17596 @./config.status Make.tmp Makefile
17597 depend: \$(MAKEDEP) dummy
17598 \$(MAKEDEP)"
17600 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17601 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17603 if test "x$enable_fonts" != xno; then
17604 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17605 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17606 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17607 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17608 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17609 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17611 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17612 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17613 ac_config_links="$ac_config_links wine:tools/winewrapper"
17614 wine_fn_config_symlink wine
17615 if test "x$enable_win64" != xno; then
17616 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17617 wine_fn_config_symlink wine64
17620 wine_fn_config_dll acledit enable_acledit
17621 wine_fn_config_dll aclui enable_aclui implib
17622 wine_fn_config_dll activeds enable_activeds implib
17623 wine_fn_config_dll actxprxy enable_actxprxy clean
17624 wine_fn_config_lib adsiid
17625 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17626 wine_fn_config_test dlls/advapi32/tests advapi32_test
17627 wine_fn_config_dll advpack enable_advpack implib
17628 wine_fn_config_test dlls/advpack/tests advpack_test
17629 wine_fn_config_dll amstream enable_amstream clean
17630 wine_fn_config_test dlls/amstream/tests amstream_test
17631 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17632 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17633 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17634 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17635 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17636 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17637 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17638 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17639 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17640 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17641 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17642 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17643 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17644 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17645 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17646 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17651 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17652 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17654 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17656 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17657 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17658 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17659 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17661 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17662 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17665 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17667 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17669 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17671 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17672 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17674 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17675 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17676 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17678 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17679 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17680 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17681 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17682 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17683 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17685 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17686 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17687 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17688 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17690 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17694 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17696 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17698 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17699 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17700 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17701 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17704 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17706 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17708 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17709 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17714 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17718 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17720 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17721 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17723 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17728 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17733 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17734 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17735 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17736 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17737 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17738 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17742 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17743 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17744 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17745 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17746 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17747 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17748 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17749 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17750 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17751 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17752 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17753 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17754 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17755 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17756 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17757 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17758 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17759 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17760 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17761 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17762 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17763 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17764 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17765 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17766 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17767 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17768 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17769 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17770 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17771 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17772 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17773 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17774 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17775 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17776 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17777 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17778 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17779 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17780 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17781 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17782 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17783 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17784 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17785 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17786 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17787 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17788 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17789 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17790 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17791 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17792 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17793 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17794 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17795 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17796 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17797 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17798 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17799 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17800 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17801 wine_fn_config_dll apphelp enable_apphelp
17802 wine_fn_config_test dlls/apphelp/tests apphelp_test
17803 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17804 wine_fn_config_dll atl enable_atl clean,implib
17805 wine_fn_config_test dlls/atl/tests atl_test
17806 wine_fn_config_dll atl100 enable_atl100 clean,implib
17807 wine_fn_config_test dlls/atl100/tests atl100_test
17808 wine_fn_config_dll atl110 enable_atl110 clean
17809 wine_fn_config_dll atl80 enable_atl80 clean,implib
17810 wine_fn_config_test dlls/atl80/tests atl80_test
17811 wine_fn_config_dll atl90 enable_atl90 clean
17812 wine_fn_config_dll authz enable_authz
17813 wine_fn_config_dll avicap32 enable_avicap32 implib
17814 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17815 wine_fn_config_test dlls/avifil32/tests avifil32_test
17816 wine_fn_config_dll avifile.dll16 enable_win16
17817 wine_fn_config_dll avrt enable_avrt implib
17818 wine_fn_config_dll bcrypt enable_bcrypt implib
17819 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17820 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17821 wine_fn_config_dll browseui enable_browseui clean
17822 wine_fn_config_test dlls/browseui/tests browseui_test
17823 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17824 wine_fn_config_dll cabinet enable_cabinet implib
17825 wine_fn_config_test dlls/cabinet/tests cabinet_test
17826 wine_fn_config_dll capi2032 enable_capi2032 implib
17827 wine_fn_config_dll cards enable_cards implib
17828 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17829 wine_fn_config_dll clusapi enable_clusapi implib
17830 wine_fn_config_dll combase enable_combase
17831 wine_fn_config_test dlls/combase/tests combase_test
17832 wine_fn_config_dll comcat enable_comcat
17833 wine_fn_config_test dlls/comcat/tests comcat_test
17834 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17835 wine_fn_config_test dlls/comctl32/tests comctl32_test
17836 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17837 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17838 wine_fn_config_dll comm.drv16 enable_win16
17839 wine_fn_config_dll commdlg.dll16 enable_win16
17840 wine_fn_config_dll compobj.dll16 enable_win16
17841 wine_fn_config_dll compstui enable_compstui implib
17842 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17843 wine_fn_config_dll concrt140 enable_concrt140
17844 wine_fn_config_dll connect enable_connect
17845 wine_fn_config_dll credui enable_credui clean,implib
17846 wine_fn_config_test dlls/credui/tests credui_test
17847 wine_fn_config_dll crtdll enable_crtdll
17848 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17849 wine_fn_config_test dlls/crypt32/tests crypt32_test
17850 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17851 wine_fn_config_dll cryptdll enable_cryptdll implib
17852 wine_fn_config_dll cryptext enable_cryptext
17853 wine_fn_config_dll cryptnet enable_cryptnet implib
17854 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17855 wine_fn_config_dll cryptui enable_cryptui clean,implib
17856 wine_fn_config_test dlls/cryptui/tests cryptui_test
17857 wine_fn_config_dll ctapi32 enable_ctapi32
17858 wine_fn_config_dll ctl3d.dll16 enable_win16
17859 wine_fn_config_dll ctl3d32 enable_ctl3d32
17860 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17861 wine_fn_config_dll d2d1 enable_d2d1 implib
17862 wine_fn_config_test dlls/d2d1/tests d2d1_test
17863 wine_fn_config_dll d3d10 enable_d3d10 implib
17864 wine_fn_config_test dlls/d3d10/tests d3d10_test
17865 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17866 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17867 wine_fn_config_dll d3d10core enable_d3d10core implib
17868 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17869 wine_fn_config_dll d3d11 enable_d3d11 implib
17870 wine_fn_config_test dlls/d3d11/tests d3d11_test
17871 wine_fn_config_dll d3d8 enable_d3d8 implib
17872 wine_fn_config_test dlls/d3d8/tests d3d8_test
17873 wine_fn_config_dll d3d9 enable_d3d9 implib
17874 wine_fn_config_test dlls/d3d9/tests d3d9_test
17875 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17876 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17877 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17878 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17879 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17880 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17881 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17882 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17883 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17884 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17885 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17886 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17887 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17888 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17889 wine_fn_config_dll d3dim enable_d3dim
17890 wine_fn_config_dll d3drm enable_d3drm implib
17891 wine_fn_config_test dlls/d3drm/tests d3drm_test
17892 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17893 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17894 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17895 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17896 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17897 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17898 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17899 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17900 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17901 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17902 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17903 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17904 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17905 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17906 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17907 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17908 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17909 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17910 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17911 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17912 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17913 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17914 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17915 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17916 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17917 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17918 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17919 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17920 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17921 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17922 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17923 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17924 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17925 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17926 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17927 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17928 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17929 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17930 wine_fn_config_dll davclnt enable_davclnt
17931 wine_fn_config_dll dbgeng enable_dbgeng implib
17932 wine_fn_config_dll dbghelp enable_dbghelp implib
17933 wine_fn_config_dll dciman32 enable_dciman32 implib
17934 wine_fn_config_dll ddeml.dll16 enable_win16
17935 wine_fn_config_dll ddraw enable_ddraw clean,implib
17936 wine_fn_config_test dlls/ddraw/tests ddraw_test
17937 wine_fn_config_dll ddrawex enable_ddrawex clean
17938 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17939 wine_fn_config_dll devenum enable_devenum clean
17940 wine_fn_config_test dlls/devenum/tests devenum_test
17941 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17942 wine_fn_config_dll difxapi enable_difxapi
17943 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17944 wine_fn_config_test dlls/dinput/tests dinput_test
17945 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17946 wine_fn_config_test dlls/dinput8/tests dinput8_test
17947 wine_fn_config_dll dispdib.dll16 enable_win16
17948 wine_fn_config_dll dispex enable_dispex clean
17949 wine_fn_config_test dlls/dispex/tests dispex_test
17950 wine_fn_config_dll display.drv16 enable_win16
17951 wine_fn_config_dll dmband enable_dmband clean
17952 wine_fn_config_test dlls/dmband/tests dmband_test
17953 wine_fn_config_dll dmcompos enable_dmcompos clean
17954 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17955 wine_fn_config_dll dmime enable_dmime clean
17956 wine_fn_config_test dlls/dmime/tests dmime_test
17957 wine_fn_config_dll dmloader enable_dmloader clean
17958 wine_fn_config_test dlls/dmloader/tests dmloader_test
17959 wine_fn_config_dll dmscript enable_dmscript clean
17960 wine_fn_config_test dlls/dmscript/tests dmscript_test
17961 wine_fn_config_dll dmstyle enable_dmstyle clean
17962 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17963 wine_fn_config_dll dmsynth enable_dmsynth clean
17964 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17965 wine_fn_config_dll dmusic enable_dmusic clean
17966 wine_fn_config_test dlls/dmusic/tests dmusic_test
17967 wine_fn_config_dll dmusic32 enable_dmusic32
17968 wine_fn_config_dll dnsapi enable_dnsapi implib
17969 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17970 wine_fn_config_dll dplay enable_dplay
17971 wine_fn_config_dll dplayx enable_dplayx clean,implib
17972 wine_fn_config_test dlls/dplayx/tests dplayx_test
17973 wine_fn_config_dll dpnaddr enable_dpnaddr
17974 wine_fn_config_dll dpnet enable_dpnet clean,implib
17975 wine_fn_config_test dlls/dpnet/tests dpnet_test
17976 wine_fn_config_dll dpnhpast enable_dpnhpast
17977 wine_fn_config_dll dpnlobby enable_dpnlobby
17978 wine_fn_config_dll dpvoice enable_dpvoice clean
17979 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17980 wine_fn_config_dll dpwsockx enable_dpwsockx
17981 wine_fn_config_dll drmclien enable_drmclien
17982 wine_fn_config_dll dsound enable_dsound clean,implib
17983 wine_fn_config_test dlls/dsound/tests dsound_test
17984 wine_fn_config_dll dssenh enable_dssenh
17985 wine_fn_config_test dlls/dssenh/tests dssenh_test
17986 wine_fn_config_dll dswave enable_dswave clean
17987 wine_fn_config_test dlls/dswave/tests dswave_test
17988 wine_fn_config_dll dwmapi enable_dwmapi implib
17989 wine_fn_config_dll dwrite enable_dwrite implib
17990 wine_fn_config_test dlls/dwrite/tests dwrite_test
17991 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17992 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17993 wine_fn_config_lib dxerr8
17994 wine_fn_config_lib dxerr9
17995 wine_fn_config_dll dxgi enable_dxgi implib
17996 wine_fn_config_test dlls/dxgi/tests dxgi_test
17997 wine_fn_config_lib dxguid
17998 wine_fn_config_dll dxva2 enable_dxva2
17999 wine_fn_config_dll esent enable_esent
18000 wine_fn_config_dll evr enable_evr
18001 wine_fn_config_dll explorerframe enable_explorerframe clean
18002 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18003 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18004 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18005 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18006 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18007 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18008 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18009 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18010 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18011 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18012 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18013 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18014 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18015 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18016 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18017 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
18018 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18019 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18020 wine_fn_config_dll faultrep enable_faultrep implib
18021 wine_fn_config_test dlls/faultrep/tests faultrep_test
18022 wine_fn_config_dll fltlib enable_fltlib
18023 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18024 wine_fn_config_dll fntcache enable_fntcache
18025 wine_fn_config_dll fontsub enable_fontsub
18026 wine_fn_config_dll fusion enable_fusion
18027 wine_fn_config_test dlls/fusion/tests fusion_test
18028 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18029 wine_fn_config_dll gameux enable_gameux clean
18030 wine_fn_config_test dlls/gameux/tests gameux_test
18031 wine_fn_config_dll gdi.exe16 enable_win16
18032 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18033 wine_fn_config_test dlls/gdi32/tests gdi32_test
18034 wine_fn_config_dll gdiplus enable_gdiplus implib
18035 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18036 wine_fn_config_dll glu32 enable_glu32 implib
18037 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18038 wine_fn_config_dll gpkcsp enable_gpkcsp
18039 wine_fn_config_dll hal enable_hal
18040 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18041 wine_fn_config_dll hid enable_hid implib
18042 wine_fn_config_test dlls/hid/tests hid_test
18043 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18044 wine_fn_config_dll hlink enable_hlink clean,implib
18045 wine_fn_config_test dlls/hlink/tests hlink_test
18046 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18047 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18048 wine_fn_config_dll httpapi enable_httpapi
18049 wine_fn_config_dll iccvid enable_iccvid clean
18050 wine_fn_config_dll icmp enable_icmp
18051 wine_fn_config_dll ieframe enable_ieframe clean,implib
18052 wine_fn_config_test dlls/ieframe/tests ieframe_test
18053 wine_fn_config_dll ifsmgr.vxd enable_win16
18054 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18055 wine_fn_config_dll imagehlp enable_imagehlp implib
18056 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18057 wine_fn_config_dll imm.dll16 enable_win16
18058 wine_fn_config_dll imm32 enable_imm32 implib
18059 wine_fn_config_test dlls/imm32/tests imm32_test
18060 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18061 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18062 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18063 wine_fn_config_dll inetmib1 enable_inetmib1
18064 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18065 wine_fn_config_dll infosoft enable_infosoft clean
18066 wine_fn_config_test dlls/infosoft/tests infosoft_test
18067 wine_fn_config_dll initpki enable_initpki
18068 wine_fn_config_dll inkobj enable_inkobj
18069 wine_fn_config_dll inseng enable_inseng clean
18070 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18071 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18072 wine_fn_config_dll iprop enable_iprop
18073 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18074 wine_fn_config_dll itircl enable_itircl
18075 wine_fn_config_dll itss enable_itss clean
18076 wine_fn_config_test dlls/itss/tests itss_test
18077 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18078 wine_fn_config_dll jscript enable_jscript clean
18079 wine_fn_config_test dlls/jscript/tests jscript_test
18080 wine_fn_config_dll jsproxy enable_jsproxy implib
18081 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18082 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18083 wine_fn_config_test dlls/kernel32/tests kernel32_test
18084 wine_fn_config_dll kernelbase enable_kernelbase
18085 wine_fn_config_dll keyboard.drv16 enable_win16
18086 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18087 wine_fn_config_dll ksuser enable_ksuser
18088 wine_fn_config_dll ktmw32 enable_ktmw32
18089 wine_fn_config_dll loadperf enable_loadperf implib
18090 wine_fn_config_dll localspl enable_localspl clean
18091 wine_fn_config_test dlls/localspl/tests localspl_test
18092 wine_fn_config_dll localui enable_localui clean
18093 wine_fn_config_test dlls/localui/tests localui_test
18094 wine_fn_config_dll lz32 enable_lz32 implib
18095 wine_fn_config_test dlls/lz32/tests lz32_test
18096 wine_fn_config_dll lzexpand.dll16 enable_win16
18097 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18098 wine_fn_config_test dlls/mapi32/tests mapi32_test
18099 wine_fn_config_dll mapistub enable_mapistub
18100 wine_fn_config_dll mciavi32 enable_mciavi32
18101 wine_fn_config_dll mcicda enable_mcicda
18102 wine_fn_config_dll mciqtz32 enable_mciqtz32
18103 wine_fn_config_dll mciseq enable_mciseq
18104 wine_fn_config_dll mciwave enable_mciwave
18105 wine_fn_config_dll mf enable_mf
18106 wine_fn_config_dll mf3216 enable_mf3216
18107 wine_fn_config_dll mfplat enable_mfplat
18108 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18109 wine_fn_config_dll mgmtapi enable_mgmtapi
18110 wine_fn_config_dll midimap enable_midimap
18111 wine_fn_config_dll mlang enable_mlang clean,implib
18112 wine_fn_config_test dlls/mlang/tests mlang_test
18113 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18114 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18115 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18116 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18117 wine_fn_config_dll mmdevldr.vxd enable_win16
18118 wine_fn_config_dll mmsystem.dll16 enable_win16
18119 wine_fn_config_dll monodebg.vxd enable_win16
18120 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18121 wine_fn_config_dll mouse.drv16 enable_win16
18122 wine_fn_config_dll mpr enable_mpr clean,implib
18123 wine_fn_config_test dlls/mpr/tests mpr_test
18124 wine_fn_config_dll mprapi enable_mprapi implib
18125 wine_fn_config_dll msacm.dll16 enable_win16
18126 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18127 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18128 wine_fn_config_test dlls/msacm32/tests msacm32_test
18129 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18130 wine_fn_config_dll msasn1 enable_msasn1 implib
18131 wine_fn_config_dll mscat32 enable_mscat32
18132 wine_fn_config_dll mscms enable_mscms implib
18133 wine_fn_config_test dlls/mscms/tests mscms_test
18134 wine_fn_config_dll mscoree enable_mscoree clean
18135 wine_fn_config_test dlls/mscoree/tests mscoree_test
18136 wine_fn_config_dll msctf enable_msctf clean
18137 wine_fn_config_test dlls/msctf/tests msctf_test
18138 wine_fn_config_dll msctfp enable_msctfp clean
18139 wine_fn_config_dll msdaps enable_msdaps clean
18140 wine_fn_config_dll msdelta enable_msdelta
18141 wine_fn_config_dll msdmo enable_msdmo implib
18142 wine_fn_config_test dlls/msdmo/tests msdmo_test
18143 wine_fn_config_dll msdrm enable_msdrm
18144 wine_fn_config_dll msftedit enable_msftedit
18145 wine_fn_config_dll msg711.acm enable_msg711_acm
18146 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18147 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18148 wine_fn_config_dll mshtml enable_mshtml clean,implib
18149 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18150 wine_fn_config_dll msi enable_msi clean,implib
18151 wine_fn_config_test dlls/msi/tests msi_test
18152 wine_fn_config_dll msident enable_msident clean
18153 wine_fn_config_dll msimg32 enable_msimg32 implib
18154 wine_fn_config_dll msimsg enable_msimsg
18155 wine_fn_config_dll msimtf enable_msimtf clean
18156 wine_fn_config_dll msisip enable_msisip
18157 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18158 wine_fn_config_dll msls31 enable_msls31
18159 wine_fn_config_dll msnet32 enable_msnet32
18160 wine_fn_config_dll mspatcha enable_mspatcha implib
18161 wine_fn_config_dll msports enable_msports
18162 wine_fn_config_dll msrle32 enable_msrle32 clean
18163 wine_fn_config_test dlls/msrle32/tests msrle32_test
18164 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18165 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18166 wine_fn_config_dll mssign32 enable_mssign32
18167 wine_fn_config_dll mssip32 enable_mssip32
18168 wine_fn_config_dll mstask enable_mstask clean
18169 wine_fn_config_test dlls/mstask/tests mstask_test
18170 wine_fn_config_dll msvcirt enable_msvcirt
18171 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18172 wine_fn_config_dll msvcm80 enable_msvcm80
18173 wine_fn_config_dll msvcm90 enable_msvcm90
18174 wine_fn_config_dll msvcp100 enable_msvcp100
18175 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18176 wine_fn_config_dll msvcp110 enable_msvcp110
18177 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18178 wine_fn_config_dll msvcp120 enable_msvcp120
18179 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18180 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18181 wine_fn_config_dll msvcp140 enable_msvcp140
18182 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18183 wine_fn_config_dll msvcp60 enable_msvcp60
18184 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18185 wine_fn_config_dll msvcp70 enable_msvcp70
18186 wine_fn_config_dll msvcp71 enable_msvcp71
18187 wine_fn_config_dll msvcp80 enable_msvcp80
18188 wine_fn_config_dll msvcp90 enable_msvcp90
18189 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18190 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18191 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18192 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18193 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18194 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18195 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18196 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18197 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18198 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18199 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18200 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18201 wine_fn_config_dll msvcrt enable_msvcrt implib
18202 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18203 wine_fn_config_dll msvcrt20 enable_msvcrt20
18204 wine_fn_config_dll msvcrt40 enable_msvcrt40
18205 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18206 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18207 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18208 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18209 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18210 wine_fn_config_dll msvideo.dll16 enable_win16
18211 wine_fn_config_dll mswsock enable_mswsock implib
18212 wine_fn_config_dll msxml enable_msxml clean
18213 wine_fn_config_dll msxml2 enable_msxml2 clean
18214 wine_fn_config_dll msxml3 enable_msxml3 clean
18215 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18216 wine_fn_config_dll msxml4 enable_msxml4 clean
18217 wine_fn_config_dll msxml6 enable_msxml6 clean
18218 wine_fn_config_dll ncrypt enable_ncrypt
18219 wine_fn_config_dll nddeapi enable_nddeapi implib
18220 wine_fn_config_dll ndis.sys enable_ndis_sys
18221 wine_fn_config_dll netapi32 enable_netapi32 implib
18222 wine_fn_config_test dlls/netapi32/tests netapi32_test
18223 wine_fn_config_dll netcfgx enable_netcfgx clean
18224 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18225 wine_fn_config_dll netprofm enable_netprofm clean
18226 wine_fn_config_test dlls/netprofm/tests netprofm_test
18227 wine_fn_config_dll newdev enable_newdev implib
18228 wine_fn_config_dll normaliz enable_normaliz implib
18229 wine_fn_config_dll npmshtml enable_npmshtml
18230 wine_fn_config_dll npptools enable_npptools
18231 wine_fn_config_dll ntdll enable_ntdll implib
18232 wine_fn_config_test dlls/ntdll/tests ntdll_test
18233 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18234 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18235 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18236 wine_fn_config_dll ntprint enable_ntprint
18237 wine_fn_config_test dlls/ntprint/tests ntprint_test
18238 wine_fn_config_dll objsel enable_objsel clean
18239 wine_fn_config_dll odbc32 enable_odbc32 implib
18240 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18241 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18242 wine_fn_config_dll odbccu32 enable_odbccu32
18243 wine_fn_config_dll ole2.dll16 enable_win16
18244 wine_fn_config_dll ole2conv.dll16 enable_win16
18245 wine_fn_config_dll ole2disp.dll16 enable_win16
18246 wine_fn_config_dll ole2nls.dll16 enable_win16
18247 wine_fn_config_dll ole2prox.dll16 enable_win16
18248 wine_fn_config_dll ole2thk.dll16 enable_win16
18249 wine_fn_config_dll ole32 enable_ole32 clean,implib
18250 wine_fn_config_test dlls/ole32/tests ole32_test
18251 wine_fn_config_dll oleacc enable_oleacc clean,implib
18252 wine_fn_config_test dlls/oleacc/tests oleacc_test
18253 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18254 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18255 wine_fn_config_dll olecli.dll16 enable_win16
18256 wine_fn_config_dll olecli32 enable_olecli32 implib
18257 wine_fn_config_dll oledb32 enable_oledb32 clean
18258 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18259 wine_fn_config_dll oledlg enable_oledlg clean,implib
18260 wine_fn_config_test dlls/oledlg/tests oledlg_test
18261 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18262 wine_fn_config_dll olesvr.dll16 enable_win16
18263 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18264 wine_fn_config_dll olethk32 enable_olethk32
18265 wine_fn_config_dll openal32 enable_openal32
18266 wine_fn_config_dll opencl enable_opencl
18267 wine_fn_config_dll opengl32 enable_opengl32 implib
18268 wine_fn_config_test dlls/opengl32/tests opengl32_test
18269 wine_fn_config_dll packager enable_packager clean
18270 wine_fn_config_test dlls/packager/tests packager_test
18271 wine_fn_config_dll pdh enable_pdh implib
18272 wine_fn_config_test dlls/pdh/tests pdh_test
18273 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18274 wine_fn_config_dll pidgen enable_pidgen
18275 wine_fn_config_dll powrprof enable_powrprof implib
18276 wine_fn_config_dll printui enable_printui
18277 wine_fn_config_dll prntvpt enable_prntvpt
18278 wine_fn_config_dll propsys enable_propsys clean,implib
18279 wine_fn_config_test dlls/propsys/tests propsys_test
18280 wine_fn_config_dll psapi enable_psapi implib
18281 wine_fn_config_test dlls/psapi/tests psapi_test
18282 wine_fn_config_dll pstorec enable_pstorec clean
18283 wine_fn_config_test dlls/pstorec/tests pstorec_test
18284 wine_fn_config_dll qcap enable_qcap
18285 wine_fn_config_test dlls/qcap/tests qcap_test
18286 wine_fn_config_dll qedit enable_qedit clean
18287 wine_fn_config_test dlls/qedit/tests qedit_test
18288 wine_fn_config_dll qmgr enable_qmgr clean
18289 wine_fn_config_test dlls/qmgr/tests qmgr_test
18290 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18291 wine_fn_config_dll quartz enable_quartz clean,implib
18292 wine_fn_config_test dlls/quartz/tests quartz_test clean
18293 wine_fn_config_dll query enable_query
18294 wine_fn_config_dll rasapi16.dll16 enable_win16
18295 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18296 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18297 wine_fn_config_dll rasdlg enable_rasdlg implib
18298 wine_fn_config_dll regapi enable_regapi
18299 wine_fn_config_dll resutils enable_resutils implib
18300 wine_fn_config_dll riched20 enable_riched20 clean,implib
18301 wine_fn_config_test dlls/riched20/tests riched20_test
18302 wine_fn_config_dll riched32 enable_riched32
18303 wine_fn_config_test dlls/riched32/tests riched32_test
18304 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18305 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18306 wine_fn_config_dll rsabase enable_rsabase
18307 wine_fn_config_dll rsaenh enable_rsaenh implib
18308 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18309 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18310 wine_fn_config_dll rtutils enable_rtutils implib
18311 wine_fn_config_dll samlib enable_samlib
18312 wine_fn_config_dll sane.ds enable_sane_ds clean
18313 wine_fn_config_dll scarddlg enable_scarddlg
18314 wine_fn_config_dll sccbase enable_sccbase
18315 wine_fn_config_dll schannel enable_schannel
18316 wine_fn_config_test dlls/schannel/tests schannel_test
18317 wine_fn_config_dll schedsvc enable_schedsvc clean
18318 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18319 wine_fn_config_dll scrobj enable_scrobj clean
18320 wine_fn_config_dll scrrun enable_scrrun clean
18321 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18322 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18323 wine_fn_config_dll secur32 enable_secur32 implib
18324 wine_fn_config_test dlls/secur32/tests secur32_test
18325 wine_fn_config_dll security enable_security
18326 wine_fn_config_dll sensapi enable_sensapi implib
18327 wine_fn_config_dll serialui enable_serialui clean
18328 wine_fn_config_test dlls/serialui/tests serialui_test
18329 wine_fn_config_dll setupapi enable_setupapi clean,implib
18330 wine_fn_config_test dlls/setupapi/tests setupapi_test
18331 wine_fn_config_dll setupx.dll16 enable_win16
18332 wine_fn_config_dll sfc enable_sfc implib
18333 wine_fn_config_dll sfc_os enable_sfc_os implib
18334 wine_fn_config_dll shdoclc enable_shdoclc clean
18335 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18336 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18337 wine_fn_config_dll shell.dll16 enable_win16
18338 wine_fn_config_dll shell32 enable_shell32 clean,implib
18339 wine_fn_config_test dlls/shell32/tests shell32_test
18340 wine_fn_config_dll shfolder enable_shfolder implib
18341 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18342 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18343 wine_fn_config_dll slbcsp enable_slbcsp
18344 wine_fn_config_dll slc enable_slc implib
18345 wine_fn_config_test dlls/slc/tests slc_test
18346 wine_fn_config_dll snmpapi enable_snmpapi implib
18347 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18348 wine_fn_config_dll softpub enable_softpub
18349 wine_fn_config_dll sound.drv16 enable_win16
18350 wine_fn_config_dll spoolss enable_spoolss implib
18351 wine_fn_config_test dlls/spoolss/tests spoolss_test
18352 wine_fn_config_dll sspicli enable_sspicli
18353 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18354 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18355 wine_fn_config_dll sti enable_sti clean,implib
18356 wine_fn_config_test dlls/sti/tests sti_test
18357 wine_fn_config_dll storage.dll16 enable_win16
18358 wine_fn_config_dll stress.dll16 enable_win16
18359 wine_fn_config_lib strmbase
18360 wine_fn_config_lib strmiids
18361 wine_fn_config_dll svrapi enable_svrapi
18362 wine_fn_config_dll sxs enable_sxs implib
18363 wine_fn_config_test dlls/sxs/tests sxs_test
18364 wine_fn_config_dll system.drv16 enable_win16
18365 wine_fn_config_dll t2embed enable_t2embed implib
18366 wine_fn_config_test dlls/t2embed/tests t2embed_test
18367 wine_fn_config_dll tapi32 enable_tapi32 implib
18368 wine_fn_config_dll taskschd enable_taskschd clean
18369 wine_fn_config_test dlls/taskschd/tests taskschd_test
18370 wine_fn_config_dll tdi.sys enable_tdi_sys
18371 wine_fn_config_dll toolhelp.dll16 enable_win16
18372 wine_fn_config_dll traffic enable_traffic
18373 wine_fn_config_dll twain.dll16 enable_win16
18374 wine_fn_config_dll twain_32 enable_twain_32
18375 wine_fn_config_test dlls/twain_32/tests twain_32_test
18376 wine_fn_config_dll typelib.dll16 enable_win16
18377 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18378 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18379 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18380 wine_fn_config_dll unicows enable_unicows implib
18381 wine_fn_config_dll updspapi enable_updspapi
18382 wine_fn_config_dll url enable_url implib
18383 wine_fn_config_dll urlmon enable_urlmon clean,implib
18384 wine_fn_config_test dlls/urlmon/tests urlmon_test
18385 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18386 wine_fn_config_dll user.exe16 enable_win16
18387 wine_fn_config_dll user32 enable_user32 clean,implib
18388 wine_fn_config_test dlls/user32/tests user32_test
18389 wine_fn_config_dll userenv enable_userenv implib
18390 wine_fn_config_test dlls/userenv/tests userenv_test
18391 wine_fn_config_dll usp10 enable_usp10 implib
18392 wine_fn_config_test dlls/usp10/tests usp10_test
18393 wine_fn_config_lib uuid
18394 wine_fn_config_dll uxtheme enable_uxtheme implib
18395 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18396 wine_fn_config_dll vbscript enable_vbscript clean
18397 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18398 wine_fn_config_dll vcomp enable_vcomp
18399 wine_fn_config_test dlls/vcomp/tests vcomp_test
18400 wine_fn_config_dll vcomp100 enable_vcomp100
18401 wine_fn_config_dll vcomp110 enable_vcomp110
18402 wine_fn_config_dll vcomp120 enable_vcomp120
18403 wine_fn_config_dll vcomp140 enable_vcomp140
18404 wine_fn_config_dll vcomp90 enable_vcomp90
18405 wine_fn_config_dll vcruntime140 enable_vcruntime140
18406 wine_fn_config_dll vdhcp.vxd enable_win16
18407 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18408 wine_fn_config_dll ver.dll16 enable_win16
18409 wine_fn_config_dll version enable_version implib
18410 wine_fn_config_test dlls/version/tests version_test
18411 wine_fn_config_dll virtdisk enable_virtdisk
18412 wine_fn_config_dll vmm.vxd enable_win16
18413 wine_fn_config_dll vnbt.vxd enable_win16
18414 wine_fn_config_dll vnetbios.vxd enable_win16
18415 wine_fn_config_dll vssapi enable_vssapi
18416 wine_fn_config_dll vtdapi.vxd enable_win16
18417 wine_fn_config_dll vwin32.vxd enable_win16
18418 wine_fn_config_dll w32skrnl enable_win16
18419 wine_fn_config_dll w32sys.dll16 enable_win16
18420 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18421 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18422 wine_fn_config_dll wbemprox enable_wbemprox clean
18423 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18424 wine_fn_config_dll webservices enable_webservices implib
18425 wine_fn_config_test dlls/webservices/tests webservices_test
18426 wine_fn_config_dll wer enable_wer implib
18427 wine_fn_config_test dlls/wer/tests wer_test
18428 wine_fn_config_dll wevtapi enable_wevtapi
18429 wine_fn_config_dll wiaservc enable_wiaservc clean
18430 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18431 wine_fn_config_dll wimgapi enable_wimgapi
18432 wine_fn_config_dll win32s16.dll16 enable_win16
18433 wine_fn_config_dll win87em.dll16 enable_win16
18434 wine_fn_config_dll winaspi.dll16 enable_win16
18435 wine_fn_config_dll windebug.dll16 enable_win16
18436 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18437 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18438 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18439 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18440 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18441 wine_fn_config_dll winebus.sys enable_winebus_sys
18442 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18443 wine_fn_config_lib winecrt0
18444 wine_fn_config_dll wined3d enable_wined3d implib
18445 wine_fn_config_dll winegstreamer enable_winegstreamer
18446 wine_fn_config_dll winehid.sys enable_winehid_sys
18447 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18448 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18449 wine_fn_config_dll winemapi enable_winemapi
18450 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18451 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18452 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18453 wine_fn_config_dll wineps16.drv16 enable_win16
18454 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18455 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18456 wine_fn_config_dll winex11.drv enable_winex11_drv
18457 wine_fn_config_dll wing.dll16 enable_win16
18458 wine_fn_config_dll wing32 enable_wing32
18459 wine_fn_config_dll winhttp enable_winhttp clean,implib
18460 wine_fn_config_test dlls/winhttp/tests winhttp_test
18461 wine_fn_config_dll wininet enable_wininet clean,implib
18462 wine_fn_config_test dlls/wininet/tests wininet_test
18463 wine_fn_config_dll winmm enable_winmm clean,implib
18464 wine_fn_config_test dlls/winmm/tests winmm_test
18465 wine_fn_config_dll winnls.dll16 enable_win16
18466 wine_fn_config_dll winnls32 enable_winnls32 implib
18467 wine_fn_config_dll winscard enable_winscard implib
18468 wine_fn_config_dll winsock.dll16 enable_win16
18469 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18470 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18471 wine_fn_config_dll winsta enable_winsta
18472 wine_fn_config_dll wintab.dll16 enable_win16
18473 wine_fn_config_dll wintab32 enable_wintab32 implib
18474 wine_fn_config_test dlls/wintab32/tests wintab32_test
18475 wine_fn_config_dll wintrust enable_wintrust implib
18476 wine_fn_config_test dlls/wintrust/tests wintrust_test
18477 wine_fn_config_dll winusb enable_winusb
18478 wine_fn_config_dll wlanapi enable_wlanapi implib
18479 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18480 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18481 wine_fn_config_test dlls/wldap32/tests wldap32_test
18482 wine_fn_config_dll wmasf enable_wmasf
18483 wine_fn_config_dll wmi enable_wmi
18484 wine_fn_config_dll wmiutils enable_wmiutils clean
18485 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18486 wine_fn_config_dll wmp enable_wmp clean
18487 wine_fn_config_test dlls/wmp/tests wmp_test
18488 wine_fn_config_dll wmvcore enable_wmvcore
18489 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18490 wine_fn_config_dll wow32 enable_win16 implib
18491 wine_fn_config_dll wpc enable_wpc clean
18492 wine_fn_config_test dlls/wpc/tests wpc_test
18493 wine_fn_config_dll wpcap enable_wpcap
18494 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18495 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18496 wine_fn_config_dll wsdapi enable_wsdapi implib
18497 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18498 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18499 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18500 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18501 wine_fn_config_dll wsock32 enable_wsock32 implib
18502 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18503 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18504 wine_fn_config_dll wuapi enable_wuapi clean
18505 wine_fn_config_dll wuaueng enable_wuaueng
18506 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18507 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18508 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18509 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18510 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18511 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18512 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18513 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18514 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18515 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18516 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18517 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18518 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18519 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18520 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18521 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18522 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18523 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18524 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18525 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18526 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18527 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18528 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18529 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18530 wine_fn_config_dll xinput1_1 enable_xinput1_1
18531 wine_fn_config_dll xinput1_2 enable_xinput1_2
18532 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18533 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18534 wine_fn_config_dll xinput1_4 enable_xinput1_4
18535 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18536 wine_fn_config_dll xmllite enable_xmllite implib
18537 wine_fn_config_test dlls/xmllite/tests xmllite_test
18538 wine_fn_config_dll xolehlp enable_xolehlp
18539 wine_fn_config_dll xpsprint enable_xpsprint
18540 wine_fn_config_dll xpssvcs enable_xpssvcs
18541 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18542 wine_fn_config_makefile include enable_include clean,install-dev
18543 wine_fn_config_makefile libs/port enable_libs_port
18544 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18545 wine_fn_config_makefile libs/wpp enable_libs_wpp
18546 wine_fn_config_makefile loader enable_loader clean,install-lib
18547 wine_fn_config_makefile po enable_po clean
18548 wine_fn_config_program arp enable_arp install
18549 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18550 wine_fn_config_program attrib enable_attrib clean,install
18551 wine_fn_config_program cabarc enable_cabarc install
18552 wine_fn_config_program cacls enable_cacls install
18553 wine_fn_config_program clock enable_clock clean,install
18554 wine_fn_config_program cmd enable_cmd clean,install
18555 wine_fn_config_test programs/cmd/tests cmd.exe_test
18556 wine_fn_config_program conhost enable_conhost install
18557 wine_fn_config_program control enable_control install
18558 wine_fn_config_program cscript enable_cscript clean,install
18559 wine_fn_config_program dpnsvr enable_dpnsvr install
18560 wine_fn_config_program dxdiag enable_dxdiag clean,install
18561 wine_fn_config_program eject enable_eject install
18562 wine_fn_config_program expand enable_expand install
18563 wine_fn_config_program explorer enable_explorer clean,install
18564 wine_fn_config_program extrac32 enable_extrac32 install
18565 wine_fn_config_program findstr enable_findstr install
18566 wine_fn_config_program fsutil enable_fsutil install
18567 wine_fn_config_program hh enable_hh install
18568 wine_fn_config_program hostname enable_hostname clean,install
18569 wine_fn_config_program icacls enable_icacls install
18570 wine_fn_config_program icinfo enable_icinfo install
18571 wine_fn_config_program iexplore enable_iexplore install
18572 wine_fn_config_program ipconfig enable_ipconfig clean,install
18573 wine_fn_config_program lodctr enable_lodctr install
18574 wine_fn_config_program mofcomp enable_mofcomp install
18575 wine_fn_config_program mshta enable_mshta install
18576 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18577 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18578 wine_fn_config_program net enable_net clean,install
18579 wine_fn_config_program netsh enable_netsh install
18580 wine_fn_config_program netstat enable_netstat clean,install
18581 wine_fn_config_program ngen enable_ngen install
18582 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18583 wine_fn_config_program oleview enable_oleview clean,install
18584 wine_fn_config_program ping enable_ping install
18585 wine_fn_config_program plugplay enable_plugplay install
18586 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18587 wine_fn_config_program progman enable_progman clean,install
18588 wine_fn_config_program reg enable_reg clean,install
18589 wine_fn_config_test programs/reg/tests reg.exe_test
18590 wine_fn_config_program regasm enable_regasm install
18591 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18592 wine_fn_config_test programs/regedit/tests regedit.exe_test
18593 wine_fn_config_program regsvcs enable_regsvcs install
18594 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18595 wine_fn_config_program rpcss enable_rpcss clean,install
18596 wine_fn_config_program rundll.exe16 enable_win16 install
18597 wine_fn_config_program rundll32 enable_rundll32 install
18598 wine_fn_config_program sc enable_sc install
18599 wine_fn_config_program schtasks enable_schtasks install
18600 wine_fn_config_program sdbinst enable_sdbinst install
18601 wine_fn_config_program secedit enable_secedit install
18602 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18603 wine_fn_config_program services enable_services clean,install
18604 wine_fn_config_test programs/services/tests services.exe_test
18605 wine_fn_config_program shutdown enable_shutdown install
18606 wine_fn_config_program spoolsv enable_spoolsv install
18607 wine_fn_config_program start enable_start clean,install
18608 wine_fn_config_program subst enable_subst install
18609 wine_fn_config_program svchost enable_svchost install
18610 wine_fn_config_program systeminfo enable_systeminfo install
18611 wine_fn_config_program taskkill enable_taskkill clean,install
18612 wine_fn_config_program tasklist enable_tasklist install
18613 wine_fn_config_program taskmgr enable_taskmgr clean,install
18614 wine_fn_config_program termsv enable_termsv install
18615 wine_fn_config_program uninstaller enable_uninstaller clean,install
18616 wine_fn_config_program unlodctr enable_unlodctr install
18617 wine_fn_config_program view enable_view clean,install
18618 wine_fn_config_program wevtutil enable_wevtutil install
18619 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18620 wine_fn_config_program winebrowser enable_winebrowser install
18621 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18622 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18623 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18624 wine_fn_config_program winedevice enable_winedevice install
18625 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18626 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18627 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18628 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18629 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18630 wine_fn_config_program winetest enable_winetest clean
18631 wine_fn_config_program winevdm enable_win16 install
18632 wine_fn_config_program winhelp.exe16 enable_win16 install
18633 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18634 wine_fn_config_program winoldap.mod16 enable_win16 install
18635 wine_fn_config_program winver enable_winver install
18636 wine_fn_config_program wmic enable_wmic clean,install
18637 wine_fn_config_program wmplayer enable_wmplayer install
18638 wine_fn_config_program wordpad enable_wordpad clean,install
18639 wine_fn_config_program write enable_write clean,install
18640 wine_fn_config_program wscript enable_wscript clean,install
18641 wine_fn_config_test programs/wscript/tests wscript.exe_test
18642 wine_fn_config_program wusa enable_wusa install
18643 wine_fn_config_program xcopy enable_xcopy clean,install
18644 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18645 wine_fn_config_makefile server enable_server clean,install-lib
18646 wine_fn_config_tool tools clean
18647 wine_fn_config_tool tools/sfnt2fon clean
18648 wine_fn_config_tool tools/widl clean,install-dev
18649 wine_fn_config_tool tools/winebuild clean,install-dev
18650 wine_fn_config_tool tools/winedump clean,install-dev
18651 wine_fn_config_tool tools/winegcc clean,install-dev
18652 wine_fn_config_tool tools/winemaker clean,install-dev
18653 wine_fn_config_tool tools/wmc clean,install-dev
18654 wine_fn_config_tool tools/wrc clean,install-dev
18657 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18658 wine_fn_append_file CONFIGURE_TARGETS "tags"
18659 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18660 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18661 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18662 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18663 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18664 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18666 if test "x$enable_tools" != xno
18667 then
18668 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18669 ac_config_commands="$ac_config_commands tools/makedep"
18673 ac_config_commands="$ac_config_commands Makefile"
18676 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18680 if test "x$enable_maintainer_mode" = xyes
18681 then
18682 wine_fn_append_rule "configure: configure.ac aclocal.m4
18683 autoconf --warnings=all
18684 include/config.h.in: include/stamp-h.in
18685 include/stamp-h.in: configure.ac aclocal.m4
18686 autoheader --warnings=all
18687 @echo timestamp > \$@"
18690 if test "x$enable_tools" != xno
18691 then
18692 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18693 @./config.status tools/makedep
18694 Makefile: tools/makedep$ac_exeext"
18695 else
18696 wine_fn_append_rule "\$(MAKEDEP):
18697 @echo \"You need to run make in $TOOLSDIR first\" && false"
18700 if test -n "$with_wine64"
18701 then
18702 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18703 fonts server:
18704 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18705 $with_wine64/loader/wine:
18706 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18707 $with_wine64/loader/wine-preloader:
18708 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18709 clean::
18710 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18711 else
18712 WINELOADER_INSTALL="wine.inf"
18714 wine_fn_append_rule "install install-lib::
18715 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18716 uninstall::
18717 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18718 case $host_os in
18719 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18720 *) wine_fn_append_rule "install install-lib::
18721 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18722 uninstall::
18723 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18724 esac
18727 $as_echo " done" >&6
18728 cat >confcache <<\_ACEOF
18729 # This file is a shell script that caches the results of configure
18730 # tests run on this system so they can be shared between configure
18731 # scripts and configure runs, see configure's option --config-cache.
18732 # It is not useful on other systems. If it contains results you don't
18733 # want to keep, you may remove or edit it.
18735 # config.status only pays attention to the cache file if you give it
18736 # the --recheck option to rerun configure.
18738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18740 # following values.
18742 _ACEOF
18744 # The following way of writing the cache mishandles newlines in values,
18745 # but we know of no workaround that is simple, portable, and efficient.
18746 # So, we kill variables containing newlines.
18747 # Ultrix sh set writes to stderr and can't be redirected directly,
18748 # and sets the high bit in the cache file unless we assign to the vars.
18750 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18751 eval ac_val=\$$ac_var
18752 case $ac_val in #(
18753 *${as_nl}*)
18754 case $ac_var in #(
18755 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18756 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18757 esac
18758 case $ac_var in #(
18759 _ | IFS | as_nl) ;; #(
18760 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18761 *) { eval $ac_var=; unset $ac_var;} ;;
18762 esac ;;
18763 esac
18764 done
18766 (set) 2>&1 |
18767 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18768 *${as_nl}ac_space=\ *)
18769 # `set' does not quote correctly, so add quotes: double-quote
18770 # substitution turns \\\\ into \\, and sed turns \\ into \.
18771 sed -n \
18772 "s/'/'\\\\''/g;
18773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18774 ;; #(
18776 # `set' quotes correctly as required by POSIX, so do not add quotes.
18777 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18779 esac |
18780 sort
18782 sed '
18783 /^ac_cv_env_/b end
18784 t clear
18785 :clear
18786 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18787 t end
18788 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18789 :end' >>confcache
18790 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18791 if test -w "$cache_file"; then
18792 if test "x$cache_file" != "x/dev/null"; then
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18794 $as_echo "$as_me: updating cache $cache_file" >&6;}
18795 if test ! -f "$cache_file" || test -h "$cache_file"; then
18796 cat confcache >"$cache_file"
18797 else
18798 case $cache_file in #(
18799 */* | ?:*)
18800 mv -f confcache "$cache_file"$$ &&
18801 mv -f "$cache_file"$$ "$cache_file" ;; #(
18803 mv -f confcache "$cache_file" ;;
18804 esac
18807 else
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18809 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18812 rm -f confcache
18814 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18815 # Let make expand exec_prefix.
18816 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18818 DEFS=-DHAVE_CONFIG_H
18820 ac_libobjs=
18821 ac_ltlibobjs=
18823 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18824 # 1. Remove the extension, and $U if already installed.
18825 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18826 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18827 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18828 # will be set to the directory where LIBOBJS objects are built.
18829 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18830 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18831 done
18832 LIBOBJS=$ac_libobjs
18834 LTLIBOBJS=$ac_ltlibobjs
18838 : "${CONFIG_STATUS=./config.status}"
18839 ac_write_fail=0
18840 ac_clean_files_save=$ac_clean_files
18841 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18843 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18844 as_write_fail=0
18845 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18846 #! $SHELL
18847 # Generated by $as_me.
18848 # Run this file to recreate the current configuration.
18849 # Compiler output produced by configure, useful for debugging
18850 # configure, is in config.log if it exists.
18852 debug=false
18853 ac_cs_recheck=false
18854 ac_cs_silent=false
18856 SHELL=\${CONFIG_SHELL-$SHELL}
18857 export SHELL
18858 _ASEOF
18859 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18860 ## -------------------- ##
18861 ## M4sh Initialization. ##
18862 ## -------------------- ##
18864 # Be more Bourne compatible
18865 DUALCASE=1; export DUALCASE # for MKS sh
18866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18867 emulate sh
18868 NULLCMD=:
18869 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18870 # is contrary to our usage. Disable this feature.
18871 alias -g '${1+"$@"}'='"$@"'
18872 setopt NO_GLOB_SUBST
18873 else
18874 case `(set -o) 2>/dev/null` in #(
18875 *posix*) :
18876 set -o posix ;; #(
18877 *) :
18879 esac
18883 as_nl='
18885 export as_nl
18886 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18887 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18888 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18889 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18890 # Prefer a ksh shell builtin over an external printf program on Solaris,
18891 # but without wasting forks for bash or zsh.
18892 if test -z "$BASH_VERSION$ZSH_VERSION" \
18893 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18894 as_echo='print -r --'
18895 as_echo_n='print -rn --'
18896 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18897 as_echo='printf %s\n'
18898 as_echo_n='printf %s'
18899 else
18900 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18901 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18902 as_echo_n='/usr/ucb/echo -n'
18903 else
18904 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18905 as_echo_n_body='eval
18906 arg=$1;
18907 case $arg in #(
18908 *"$as_nl"*)
18909 expr "X$arg" : "X\\(.*\\)$as_nl";
18910 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18911 esac;
18912 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18914 export as_echo_n_body
18915 as_echo_n='sh -c $as_echo_n_body as_echo'
18917 export as_echo_body
18918 as_echo='sh -c $as_echo_body as_echo'
18921 # The user is always right.
18922 if test "${PATH_SEPARATOR+set}" != set; then
18923 PATH_SEPARATOR=:
18924 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18925 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18926 PATH_SEPARATOR=';'
18931 # IFS
18932 # We need space, tab and new line, in precisely that order. Quoting is
18933 # there to prevent editors from complaining about space-tab.
18934 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18935 # splitting by setting IFS to empty value.)
18936 IFS=" "" $as_nl"
18938 # Find who we are. Look in the path if we contain no directory separator.
18939 as_myself=
18940 case $0 in #((
18941 *[\\/]* ) as_myself=$0 ;;
18942 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18943 for as_dir in $PATH
18945 IFS=$as_save_IFS
18946 test -z "$as_dir" && as_dir=.
18947 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18948 done
18949 IFS=$as_save_IFS
18952 esac
18953 # We did not find ourselves, most probably we were run as `sh COMMAND'
18954 # in which case we are not to be found in the path.
18955 if test "x$as_myself" = x; then
18956 as_myself=$0
18958 if test ! -f "$as_myself"; then
18959 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18960 exit 1
18963 # Unset variables that we do not need and which cause bugs (e.g. in
18964 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18965 # suppresses any "Segmentation fault" message there. '((' could
18966 # trigger a bug in pdksh 5.2.14.
18967 for as_var in BASH_ENV ENV MAIL MAILPATH
18968 do eval test x\${$as_var+set} = xset \
18969 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18970 done
18971 PS1='$ '
18972 PS2='> '
18973 PS4='+ '
18975 # NLS nuisances.
18976 LC_ALL=C
18977 export LC_ALL
18978 LANGUAGE=C
18979 export LANGUAGE
18981 # CDPATH.
18982 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18985 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18986 # ----------------------------------------
18987 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18988 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18989 # script with STATUS, using 1 if that was 0.
18990 as_fn_error ()
18992 as_status=$1; test $as_status -eq 0 && as_status=1
18993 if test "$4"; then
18994 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18995 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18997 $as_echo "$as_me: error: $2" >&2
18998 as_fn_exit $as_status
18999 } # as_fn_error
19002 # as_fn_set_status STATUS
19003 # -----------------------
19004 # Set $? to STATUS, without forking.
19005 as_fn_set_status ()
19007 return $1
19008 } # as_fn_set_status
19010 # as_fn_exit STATUS
19011 # -----------------
19012 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19013 as_fn_exit ()
19015 set +e
19016 as_fn_set_status $1
19017 exit $1
19018 } # as_fn_exit
19020 # as_fn_unset VAR
19021 # ---------------
19022 # Portably unset VAR.
19023 as_fn_unset ()
19025 { eval $1=; unset $1;}
19027 as_unset=as_fn_unset
19028 # as_fn_append VAR VALUE
19029 # ----------------------
19030 # Append the text in VALUE to the end of the definition contained in VAR. Take
19031 # advantage of any shell optimizations that allow amortized linear growth over
19032 # repeated appends, instead of the typical quadratic growth present in naive
19033 # implementations.
19034 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19035 eval 'as_fn_append ()
19037 eval $1+=\$2
19039 else
19040 as_fn_append ()
19042 eval $1=\$$1\$2
19044 fi # as_fn_append
19046 # as_fn_arith ARG...
19047 # ------------------
19048 # Perform arithmetic evaluation on the ARGs, and store the result in the
19049 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19050 # must be portable across $(()) and expr.
19051 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19052 eval 'as_fn_arith ()
19054 as_val=$(( $* ))
19056 else
19057 as_fn_arith ()
19059 as_val=`expr "$@" || test $? -eq 1`
19061 fi # as_fn_arith
19064 if expr a : '\(a\)' >/dev/null 2>&1 &&
19065 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19066 as_expr=expr
19067 else
19068 as_expr=false
19071 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19072 as_basename=basename
19073 else
19074 as_basename=false
19077 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19078 as_dirname=dirname
19079 else
19080 as_dirname=false
19083 as_me=`$as_basename -- "$0" ||
19084 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19085 X"$0" : 'X\(//\)$' \| \
19086 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19087 $as_echo X/"$0" |
19088 sed '/^.*\/\([^/][^/]*\)\/*$/{
19089 s//\1/
19092 /^X\/\(\/\/\)$/{
19093 s//\1/
19096 /^X\/\(\/\).*/{
19097 s//\1/
19100 s/.*/./; q'`
19102 # Avoid depending upon Character Ranges.
19103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19106 as_cr_digits='0123456789'
19107 as_cr_alnum=$as_cr_Letters$as_cr_digits
19109 ECHO_C= ECHO_N= ECHO_T=
19110 case `echo -n x` in #(((((
19111 -n*)
19112 case `echo 'xy\c'` in
19113 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19114 xy) ECHO_C='\c';;
19115 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19116 ECHO_T=' ';;
19117 esac;;
19119 ECHO_N='-n';;
19120 esac
19122 rm -f conf$$ conf$$.exe conf$$.file
19123 if test -d conf$$.dir; then
19124 rm -f conf$$.dir/conf$$.file
19125 else
19126 rm -f conf$$.dir
19127 mkdir conf$$.dir 2>/dev/null
19129 if (echo >conf$$.file) 2>/dev/null; then
19130 if ln -s conf$$.file conf$$ 2>/dev/null; then
19131 as_ln_s='ln -s'
19132 # ... but there are two gotchas:
19133 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19134 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19135 # In both cases, we have to default to `cp -pR'.
19136 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19137 as_ln_s='cp -pR'
19138 elif ln conf$$.file conf$$ 2>/dev/null; then
19139 as_ln_s=ln
19140 else
19141 as_ln_s='cp -pR'
19143 else
19144 as_ln_s='cp -pR'
19146 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19147 rmdir conf$$.dir 2>/dev/null
19150 # as_fn_mkdir_p
19151 # -------------
19152 # Create "$as_dir" as a directory, including parents if necessary.
19153 as_fn_mkdir_p ()
19156 case $as_dir in #(
19157 -*) as_dir=./$as_dir;;
19158 esac
19159 test -d "$as_dir" || eval $as_mkdir_p || {
19160 as_dirs=
19161 while :; do
19162 case $as_dir in #(
19163 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19164 *) as_qdir=$as_dir;;
19165 esac
19166 as_dirs="'$as_qdir' $as_dirs"
19167 as_dir=`$as_dirname -- "$as_dir" ||
19168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19169 X"$as_dir" : 'X\(//\)[^/]' \| \
19170 X"$as_dir" : 'X\(//\)$' \| \
19171 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19172 $as_echo X"$as_dir" |
19173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19174 s//\1/
19177 /^X\(\/\/\)[^/].*/{
19178 s//\1/
19181 /^X\(\/\/\)$/{
19182 s//\1/
19185 /^X\(\/\).*/{
19186 s//\1/
19189 s/.*/./; q'`
19190 test -d "$as_dir" && break
19191 done
19192 test -z "$as_dirs" || eval "mkdir $as_dirs"
19193 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19196 } # as_fn_mkdir_p
19197 if mkdir -p . 2>/dev/null; then
19198 as_mkdir_p='mkdir -p "$as_dir"'
19199 else
19200 test -d ./-p && rmdir ./-p
19201 as_mkdir_p=false
19205 # as_fn_executable_p FILE
19206 # -----------------------
19207 # Test if FILE is an executable regular file.
19208 as_fn_executable_p ()
19210 test -f "$1" && test -x "$1"
19211 } # as_fn_executable_p
19212 as_test_x='test -x'
19213 as_executable_p=as_fn_executable_p
19215 # Sed expression to map a string onto a valid CPP name.
19216 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19218 # Sed expression to map a string onto a valid variable name.
19219 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19222 exec 6>&1
19223 ## ----------------------------------- ##
19224 ## Main body of $CONFIG_STATUS script. ##
19225 ## ----------------------------------- ##
19226 _ASEOF
19227 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19230 # Save the log message, to keep $0 and so on meaningful, and to
19231 # report actual input values of CONFIG_FILES etc. instead of their
19232 # values after options handling.
19233 ac_log="
19234 This file was extended by Wine $as_me 2.5, which was
19235 generated by GNU Autoconf 2.69. Invocation command line was
19237 CONFIG_FILES = $CONFIG_FILES
19238 CONFIG_HEADERS = $CONFIG_HEADERS
19239 CONFIG_LINKS = $CONFIG_LINKS
19240 CONFIG_COMMANDS = $CONFIG_COMMANDS
19241 $ $0 $@
19243 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19246 _ACEOF
19248 case $ac_config_files in *"
19249 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19250 esac
19252 case $ac_config_headers in *"
19253 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19254 esac
19257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19258 # Files that config.status was made for.
19259 config_files="$ac_config_files"
19260 config_headers="$ac_config_headers"
19261 config_links="$ac_config_links"
19262 config_commands="$ac_config_commands"
19264 _ACEOF
19266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19267 ac_cs_usage="\
19268 \`$as_me' instantiates files and other configuration actions
19269 from templates according to the current configuration. Unless the files
19270 and actions are specified as TAGs, all are instantiated by default.
19272 Usage: $0 [OPTION]... [TAG]...
19274 -h, --help print this help, then exit
19275 -V, --version print version number and configuration settings, then exit
19276 --config print configuration, then exit
19277 -q, --quiet, --silent
19278 do not print progress messages
19279 -d, --debug don't remove temporary files
19280 --recheck update $as_me by reconfiguring in the same conditions
19281 --file=FILE[:TEMPLATE]
19282 instantiate the configuration file FILE
19283 --header=FILE[:TEMPLATE]
19284 instantiate the configuration header FILE
19286 Configuration files:
19287 $config_files
19289 Configuration headers:
19290 $config_headers
19292 Configuration links:
19293 $config_links
19295 Configuration commands:
19296 $config_commands
19298 Report bugs to <wine-devel@winehq.org>.
19299 Wine home page: <http://www.winehq.org>."
19301 _ACEOF
19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19303 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19304 ac_cs_version="\\
19305 Wine config.status 2.5
19306 configured by $0, generated by GNU Autoconf 2.69,
19307 with options \\"\$ac_cs_config\\"
19309 Copyright (C) 2012 Free Software Foundation, Inc.
19310 This config.status script is free software; the Free Software Foundation
19311 gives unlimited permission to copy, distribute and modify it."
19313 ac_pwd='$ac_pwd'
19314 srcdir='$srcdir'
19315 test -n "\$AWK" || AWK=awk
19316 _ACEOF
19318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19319 # The default lists apply if the user does not specify any file.
19320 ac_need_defaults=:
19321 while test $# != 0
19323 case $1 in
19324 --*=?*)
19325 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19326 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19327 ac_shift=:
19329 --*=)
19330 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19331 ac_optarg=
19332 ac_shift=:
19335 ac_option=$1
19336 ac_optarg=$2
19337 ac_shift=shift
19339 esac
19341 case $ac_option in
19342 # Handling of the options.
19343 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19344 ac_cs_recheck=: ;;
19345 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19346 $as_echo "$ac_cs_version"; exit ;;
19347 --config | --confi | --conf | --con | --co | --c )
19348 $as_echo "$ac_cs_config"; exit ;;
19349 --debug | --debu | --deb | --de | --d | -d )
19350 debug=: ;;
19351 --file | --fil | --fi | --f )
19352 $ac_shift
19353 case $ac_optarg in
19354 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19355 '') as_fn_error $? "missing file argument" ;;
19356 esac
19357 as_fn_append CONFIG_FILES " '$ac_optarg'"
19358 ac_need_defaults=false;;
19359 --header | --heade | --head | --hea )
19360 $ac_shift
19361 case $ac_optarg in
19362 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19363 esac
19364 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19365 ac_need_defaults=false;;
19366 --he | --h)
19367 # Conflict between --help and --header
19368 as_fn_error $? "ambiguous option: \`$1'
19369 Try \`$0 --help' for more information.";;
19370 --help | --hel | -h )
19371 $as_echo "$ac_cs_usage"; exit ;;
19372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19373 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19374 ac_cs_silent=: ;;
19376 # This is an error.
19377 -*) as_fn_error $? "unrecognized option: \`$1'
19378 Try \`$0 --help' for more information." ;;
19380 *) as_fn_append ac_config_targets " $1"
19381 ac_need_defaults=false ;;
19383 esac
19384 shift
19385 done
19387 ac_configure_extra_args=
19389 if $ac_cs_silent; then
19390 exec 6>/dev/null
19391 ac_configure_extra_args="$ac_configure_extra_args --silent"
19394 _ACEOF
19395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19396 if \$ac_cs_recheck; then
19397 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19398 shift
19399 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19400 CONFIG_SHELL='$SHELL'
19401 export CONFIG_SHELL
19402 exec "\$@"
19405 _ACEOF
19406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19407 exec 5>>config.log
19409 echo
19410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19411 ## Running $as_me. ##
19412 _ASBOX
19413 $as_echo "$ac_log"
19414 } >&5
19416 _ACEOF
19417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19419 # INIT-COMMANDS
19421 wine_fn_output_makedep ()
19423 as_dir=tools; as_fn_mkdir_p
19424 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19426 wine_fn_output_makefile ()
19428 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19429 `cat $wine_rules_file`
19430 _WINE_EOF
19431 as_fn_error $? "could not create Makefile" "$LINENO" 5
19434 _ACEOF
19436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19438 # Handling of arguments.
19439 for ac_config_target in $ac_config_targets
19441 case $ac_config_target in
19442 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19443 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19444 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19445 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19446 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19447 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19448 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19449 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19450 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19451 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19452 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19453 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19454 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19456 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19457 esac
19458 done
19461 # If the user did not use the arguments to specify the items to instantiate,
19462 # then the envvar interface is used. Set only those that are not.
19463 # We use the long form for the default assignment because of an extremely
19464 # bizarre bug on SunOS 4.1.3.
19465 if $ac_need_defaults; then
19466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19468 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19469 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19472 # Have a temporary directory for convenience. Make it in the build tree
19473 # simply because there is no reason against having it here, and in addition,
19474 # creating and moving files from /tmp can sometimes cause problems.
19475 # Hook for its removal unless debugging.
19476 # Note that there is a small window in which the directory will not be cleaned:
19477 # after its creation but before its name has been assigned to `$tmp'.
19478 $debug ||
19480 tmp= ac_tmp=
19481 trap 'exit_status=$?
19482 : "${ac_tmp:=$tmp}"
19483 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19485 trap 'as_fn_exit 1' 1 2 13 15
19487 # Create a (secure) tmp directory for tmp files.
19490 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19491 test -d "$tmp"
19492 } ||
19494 tmp=./conf$$-$RANDOM
19495 (umask 077 && mkdir "$tmp")
19496 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19497 ac_tmp=$tmp
19499 # Set up the scripts for CONFIG_FILES section.
19500 # No need to generate them if there are no CONFIG_FILES.
19501 # This happens for instance with `./config.status config.h'.
19502 if test -n "$CONFIG_FILES"; then
19505 ac_cr=`echo X | tr X '\015'`
19506 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19507 # But we know of no other shell where ac_cr would be empty at this
19508 # point, so we can use a bashism as a fallback.
19509 if test "x$ac_cr" = x; then
19510 eval ac_cr=\$\'\\r\'
19512 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19513 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19514 ac_cs_awk_cr='\\r'
19515 else
19516 ac_cs_awk_cr=$ac_cr
19519 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19520 _ACEOF
19524 echo "cat >conf$$subs.awk <<_ACEOF" &&
19525 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19526 echo "_ACEOF"
19527 } >conf$$subs.sh ||
19528 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19529 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19530 ac_delim='%!_!# '
19531 for ac_last_try in false false false false false :; do
19532 . ./conf$$subs.sh ||
19533 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19535 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19536 if test $ac_delim_n = $ac_delim_num; then
19537 break
19538 elif $ac_last_try; then
19539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19540 else
19541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19543 done
19544 rm -f conf$$subs.sh
19546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19547 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19548 _ACEOF
19549 sed -n '
19551 s/^/S["/; s/!.*/"]=/
19554 s/^[^!]*!//
19555 :repl
19556 t repl
19557 s/'"$ac_delim"'$//
19558 t delim
19561 s/\(.\{148\}\)..*/\1/
19562 t more1
19563 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19566 b repl
19567 :more1
19568 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19571 s/.\{148\}//
19572 t nl
19573 :delim
19575 s/\(.\{148\}\)..*/\1/
19576 t more2
19577 s/["\\]/\\&/g; s/^/"/; s/$/"/
19580 :more2
19581 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19584 s/.\{148\}//
19585 t delim
19586 ' <conf$$subs.awk | sed '
19587 /^[^""]/{
19589 s/\n//
19591 ' >>$CONFIG_STATUS || ac_write_fail=1
19592 rm -f conf$$subs.awk
19593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19594 _ACAWK
19595 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19596 for (key in S) S_is_set[key] = 1
19597 FS = "\a"
19601 line = $ 0
19602 nfields = split(line, field, "@")
19603 substed = 0
19604 len = length(field[1])
19605 for (i = 2; i < nfields; i++) {
19606 key = field[i]
19607 keylen = length(key)
19608 if (S_is_set[key]) {
19609 value = S[key]
19610 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19611 len += length(value) + length(field[++i])
19612 substed = 1
19613 } else
19614 len += 1 + keylen
19617 print line
19620 _ACAWK
19621 _ACEOF
19622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19623 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19624 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19625 else
19627 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19628 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19629 _ACEOF
19631 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19632 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19633 # trailing colons and then remove the whole line if VPATH becomes empty
19634 # (actually we leave an empty line to preserve line numbers).
19635 if test "x$srcdir" = x.; then
19636 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19638 s///
19639 s/^/:/
19640 s/[ ]*$/:/
19641 s/:\$(srcdir):/:/g
19642 s/:\${srcdir}:/:/g
19643 s/:@srcdir@:/:/g
19644 s/^:*//
19645 s/:*$//
19647 s/\(=[ ]*\).*/\1/
19649 s/\n//
19650 s/^[^=]*=[ ]*$//
19654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19655 fi # test -n "$CONFIG_FILES"
19657 # Set up the scripts for CONFIG_HEADERS section.
19658 # No need to generate them if there are no CONFIG_HEADERS.
19659 # This happens for instance with `./config.status Makefile'.
19660 if test -n "$CONFIG_HEADERS"; then
19661 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19662 BEGIN {
19663 _ACEOF
19665 # Transform confdefs.h into an awk script `defines.awk', embedded as
19666 # here-document in config.status, that substitutes the proper values into
19667 # config.h.in to produce config.h.
19669 # Create a delimiter string that does not exist in confdefs.h, to ease
19670 # handling of long lines.
19671 ac_delim='%!_!# '
19672 for ac_last_try in false false :; do
19673 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19674 if test -z "$ac_tt"; then
19675 break
19676 elif $ac_last_try; then
19677 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19678 else
19679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19681 done
19683 # For the awk script, D is an array of macro values keyed by name,
19684 # likewise P contains macro parameters if any. Preserve backslash
19685 # newline sequences.
19687 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19688 sed -n '
19689 s/.\{148\}/&'"$ac_delim"'/g
19690 t rset
19691 :rset
19692 s/^[ ]*#[ ]*define[ ][ ]*/ /
19693 t def
19695 :def
19696 s/\\$//
19697 t bsnl
19698 s/["\\]/\\&/g
19699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19700 D["\1"]=" \3"/p
19701 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19703 :bsnl
19704 s/["\\]/\\&/g
19705 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19706 D["\1"]=" \3\\\\\\n"\\/p
19707 t cont
19708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19709 t cont
19711 :cont
19713 s/.\{148\}/&'"$ac_delim"'/g
19714 t clear
19715 :clear
19716 s/\\$//
19717 t bsnlc
19718 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19720 :bsnlc
19721 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19722 b cont
19723 ' <confdefs.h | sed '
19724 s/'"$ac_delim"'/"\\\
19725 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19728 for (key in D) D_is_set[key] = 1
19729 FS = "\a"
19731 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19732 line = \$ 0
19733 split(line, arg, " ")
19734 if (arg[1] == "#") {
19735 defundef = arg[2]
19736 mac1 = arg[3]
19737 } else {
19738 defundef = substr(arg[1], 2)
19739 mac1 = arg[2]
19741 split(mac1, mac2, "(") #)
19742 macro = mac2[1]
19743 prefix = substr(line, 1, index(line, defundef) - 1)
19744 if (D_is_set[macro]) {
19745 # Preserve the white space surrounding the "#".
19746 print prefix "define", macro P[macro] D[macro]
19747 next
19748 } else {
19749 # Replace #undef with comments. This is necessary, for example,
19750 # in the case of _POSIX_SOURCE, which is predefined and required
19751 # on some systems where configure will not decide to define it.
19752 if (defundef == "undef") {
19753 print "/*", prefix defundef, macro, "*/"
19754 next
19758 { print }
19759 _ACAWK
19760 _ACEOF
19761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19762 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19763 fi # test -n "$CONFIG_HEADERS"
19766 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19767 shift
19768 for ac_tag
19770 case $ac_tag in
19771 :[FHLC]) ac_mode=$ac_tag; continue;;
19772 esac
19773 case $ac_mode$ac_tag in
19774 :[FHL]*:*);;
19775 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19776 :[FH]-) ac_tag=-:-;;
19777 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19778 esac
19779 ac_save_IFS=$IFS
19780 IFS=:
19781 set x $ac_tag
19782 IFS=$ac_save_IFS
19783 shift
19784 ac_file=$1
19785 shift
19787 case $ac_mode in
19788 :L) ac_source=$1;;
19789 :[FH])
19790 ac_file_inputs=
19791 for ac_f
19793 case $ac_f in
19794 -) ac_f="$ac_tmp/stdin";;
19795 *) # Look for the file first in the build tree, then in the source tree
19796 # (if the path is not absolute). The absolute path cannot be DOS-style,
19797 # because $ac_f cannot contain `:'.
19798 test -f "$ac_f" ||
19799 case $ac_f in
19800 [\\/$]*) false;;
19801 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19802 esac ||
19803 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19804 esac
19805 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19806 as_fn_append ac_file_inputs " '$ac_f'"
19807 done
19809 # Let's still pretend it is `configure' which instantiates (i.e., don't
19810 # use $as_me), people would be surprised to read:
19811 # /* config.h. Generated by config.status. */
19812 configure_input='Generated from '`
19813 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19814 `' by configure.'
19815 if test x"$ac_file" != x-; then
19816 configure_input="$ac_file. $configure_input"
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19818 $as_echo "$as_me: creating $ac_file" >&6;}
19820 # Neutralize special characters interpreted by sed in replacement strings.
19821 case $configure_input in #(
19822 *\&* | *\|* | *\\* )
19823 ac_sed_conf_input=`$as_echo "$configure_input" |
19824 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19825 *) ac_sed_conf_input=$configure_input;;
19826 esac
19828 case $ac_tag in
19829 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19830 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19831 esac
19833 esac
19835 ac_dir=`$as_dirname -- "$ac_file" ||
19836 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19837 X"$ac_file" : 'X\(//\)[^/]' \| \
19838 X"$ac_file" : 'X\(//\)$' \| \
19839 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19840 $as_echo X"$ac_file" |
19841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19842 s//\1/
19845 /^X\(\/\/\)[^/].*/{
19846 s//\1/
19849 /^X\(\/\/\)$/{
19850 s//\1/
19853 /^X\(\/\).*/{
19854 s//\1/
19857 s/.*/./; q'`
19858 as_dir="$ac_dir"; as_fn_mkdir_p
19859 ac_builddir=.
19861 case "$ac_dir" in
19862 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19864 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19865 # A ".." for each directory in $ac_dir_suffix.
19866 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19867 case $ac_top_builddir_sub in
19868 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19869 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19870 esac ;;
19871 esac
19872 ac_abs_top_builddir=$ac_pwd
19873 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19874 # for backward compatibility:
19875 ac_top_builddir=$ac_top_build_prefix
19877 case $srcdir in
19878 .) # We are building in place.
19879 ac_srcdir=.
19880 ac_top_srcdir=$ac_top_builddir_sub
19881 ac_abs_top_srcdir=$ac_pwd ;;
19882 [\\/]* | ?:[\\/]* ) # Absolute name.
19883 ac_srcdir=$srcdir$ac_dir_suffix;
19884 ac_top_srcdir=$srcdir
19885 ac_abs_top_srcdir=$srcdir ;;
19886 *) # Relative name.
19887 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19888 ac_top_srcdir=$ac_top_build_prefix$srcdir
19889 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19890 esac
19891 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19894 case $ac_mode in
19897 # CONFIG_FILE
19900 _ACEOF
19902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19903 # If the template does not know about datarootdir, expand it.
19904 # FIXME: This hack should be removed a few years after 2.60.
19905 ac_datarootdir_hack=; ac_datarootdir_seen=
19906 ac_sed_dataroot='
19907 /datarootdir/ {
19911 /@datadir@/p
19912 /@docdir@/p
19913 /@infodir@/p
19914 /@localedir@/p
19915 /@mandir@/p'
19916 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19917 *datarootdir*) ac_datarootdir_seen=yes;;
19918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19920 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19921 _ACEOF
19922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19923 ac_datarootdir_hack='
19924 s&@datadir@&$datadir&g
19925 s&@docdir@&$docdir&g
19926 s&@infodir@&$infodir&g
19927 s&@localedir@&$localedir&g
19928 s&@mandir@&$mandir&g
19929 s&\\\${datarootdir}&$datarootdir&g' ;;
19930 esac
19931 _ACEOF
19933 # Neutralize VPATH when `$srcdir' = `.'.
19934 # Shell code in configure.ac might set extrasub.
19935 # FIXME: do we really want to maintain this feature?
19936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19937 ac_sed_extra="$ac_vpsub
19938 $extrasub
19939 _ACEOF
19940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19942 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19943 s|@configure_input@|$ac_sed_conf_input|;t t
19944 s&@top_builddir@&$ac_top_builddir_sub&;t t
19945 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19946 s&@srcdir@&$ac_srcdir&;t t
19947 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19948 s&@top_srcdir@&$ac_top_srcdir&;t t
19949 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19950 s&@builddir@&$ac_builddir&;t t
19951 s&@abs_builddir@&$ac_abs_builddir&;t t
19952 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19953 $ac_datarootdir_hack
19955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19956 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19959 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19961 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19963 which seems to be undefined. Please make sure it is defined" >&5
19964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19965 which seems to be undefined. Please make sure it is defined" >&2;}
19967 rm -f "$ac_tmp/stdin"
19968 case $ac_file in
19969 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19970 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19971 esac \
19972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19976 # CONFIG_HEADER
19978 if test x"$ac_file" != x-; then
19980 $as_echo "/* $configure_input */" \
19981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19982 } >"$ac_tmp/config.h" \
19983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19984 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19987 else
19988 rm -f "$ac_file"
19989 mv "$ac_tmp/config.h" "$ac_file" \
19990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19992 else
19993 $as_echo "/* $configure_input */" \
19994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19995 || as_fn_error $? "could not create -" "$LINENO" 5
20000 # CONFIG_LINK
20003 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20005 else
20006 # Prefer the file from the source tree if names are identical.
20007 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20008 ac_source=$srcdir/$ac_source
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20012 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20014 if test ! -r "$ac_source"; then
20015 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20017 rm -f "$ac_file"
20019 # Try a relative symlink, then a hard link, then a copy.
20020 case $ac_source in
20021 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20022 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20023 esac
20024 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20025 ln "$ac_source" "$ac_file" 2>/dev/null ||
20026 cp -p "$ac_source" "$ac_file" ||
20027 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20030 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20031 $as_echo "$as_me: executing $ac_file commands" >&6;}
20033 esac
20036 case $ac_file$ac_mode in
20037 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20038 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20039 "Makefile":C) wine_fn_output_makefile Makefile ;;
20041 esac
20042 done # for ac_tag
20045 as_fn_exit 0
20046 _ACEOF
20047 ac_clean_files=$ac_clean_files_save
20049 test $ac_write_fail = 0 ||
20050 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20053 # configure is writing to config.log, and then calls config.status.
20054 # config.status does its own redirection, appending to config.log.
20055 # Unfortunately, on DOS this fails, as config.log is still kept open
20056 # by configure, so config.status won't be able to write to it; its
20057 # output is simply discarded. So we exec the FD to /dev/null,
20058 # effectively closing config.log, so it can be properly (re)opened and
20059 # appended to by config.status. When coming back to configure, we
20060 # need to make the FD available again.
20061 if test "$no_create" != yes; then
20062 ac_cs_success=:
20063 ac_config_status_args=
20064 test "$silent" = yes &&
20065 ac_config_status_args="$ac_config_status_args --quiet"
20066 exec 5>/dev/null
20067 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20068 exec 5>>config.log
20069 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20070 # would make configure fail if this is the last instruction.
20071 $ac_cs_success || as_fn_exit 1
20073 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20075 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20079 if test "$no_create" = "yes"
20080 then
20081 exit 0
20084 ac_save_IFS="$IFS"
20085 if test "x$wine_notices" != x; then
20086 echo >&6
20087 IFS="|"
20088 for msg in $wine_notices; do
20089 IFS="$ac_save_IFS"
20090 if ${msg:+false} :; then :
20092 else
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20094 $as_echo "$as_me: $msg" >&6;}
20096 done
20098 IFS="|"
20099 for msg in $wine_warnings; do
20100 IFS="$ac_save_IFS"
20101 if ${msg:+false} :; then :
20103 else
20104 echo >&2
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20106 $as_echo "$as_me: WARNING: $msg" >&2;}
20108 done
20109 IFS="$ac_save_IFS"
20111 $as_echo "
20112 $as_me: Finished. Do '${ac_make}' to compile Wine.
20113 " >&6