configure: Check for the necessary data structure for if_nameindex().
[wine.git] / configure
blob04d6f5443f2f00e4065876149ad5b64abd3fef84
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.7.
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.7'
584 PACKAGE_STRING='Wine 2.7'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xinerama
857 with_xinput
858 with_xinput2
859 with_xml
860 with_xrandr
861 with_xrender
862 with_xshape
863 with_xshm
864 with_xslt
865 with_xxf86vm
866 with_zlib
867 with_wine_tools
868 with_wine64
869 enable_largefile
870 with_x
871 enable_acledit
872 enable_aclui
873 enable_activeds
874 enable_actxprxy
875 enable_advapi32
876 enable_advpack
877 enable_amstream
878 enable_api_ms_win_appmodel_identity_l1_1_0
879 enable_api_ms_win_appmodel_runtime_l1_1_1
880 enable_api_ms_win_core_apiquery_l1_1_0
881 enable_api_ms_win_core_appcompat_l1_1_1
882 enable_api_ms_win_core_appinit_l1_1_0
883 enable_api_ms_win_core_atoms_l1_1_0
884 enable_api_ms_win_core_bem_l1_1_0
885 enable_api_ms_win_core_com_l1_1_0
886 enable_api_ms_win_core_com_l1_1_1
887 enable_api_ms_win_core_com_private_l1_1_0
888 enable_api_ms_win_core_console_l1_1_0
889 enable_api_ms_win_core_console_l2_1_0
890 enable_api_ms_win_core_datetime_l1_1_0
891 enable_api_ms_win_core_datetime_l1_1_1
892 enable_api_ms_win_core_debug_l1_1_0
893 enable_api_ms_win_core_debug_l1_1_1
894 enable_api_ms_win_core_delayload_l1_1_0
895 enable_api_ms_win_core_delayload_l1_1_1
896 enable_api_ms_win_core_errorhandling_l1_1_0
897 enable_api_ms_win_core_errorhandling_l1_1_1
898 enable_api_ms_win_core_errorhandling_l1_1_2
899 enable_api_ms_win_core_fibers_l1_1_0
900 enable_api_ms_win_core_fibers_l1_1_1
901 enable_api_ms_win_core_file_l1_1_0
902 enable_api_ms_win_core_file_l1_2_0
903 enable_api_ms_win_core_file_l1_2_1
904 enable_api_ms_win_core_file_l2_1_0
905 enable_api_ms_win_core_file_l2_1_1
906 enable_api_ms_win_core_handle_l1_1_0
907 enable_api_ms_win_core_heap_l1_1_0
908 enable_api_ms_win_core_heap_l1_2_0
909 enable_api_ms_win_core_heap_obsolete_l1_1_0
910 enable_api_ms_win_core_interlocked_l1_1_0
911 enable_api_ms_win_core_interlocked_l1_2_0
912 enable_api_ms_win_core_io_l1_1_0
913 enable_api_ms_win_core_io_l1_1_1
914 enable_api_ms_win_core_job_l1_1_0
915 enable_api_ms_win_core_job_l2_1_0
916 enable_api_ms_win_core_kernel32_legacy_l1_1_0
917 enable_api_ms_win_core_kernel32_legacy_l1_1_1
918 enable_api_ms_win_core_kernel32_private_l1_1_1
919 enable_api_ms_win_core_libraryloader_l1_1_0
920 enable_api_ms_win_core_libraryloader_l1_1_1
921 enable_api_ms_win_core_libraryloader_l1_2_0
922 enable_api_ms_win_core_libraryloader_l1_2_2
923 enable_api_ms_win_core_localization_l1_1_0
924 enable_api_ms_win_core_localization_l1_2_0
925 enable_api_ms_win_core_localization_l1_2_1
926 enable_api_ms_win_core_localization_l2_1_0
927 enable_api_ms_win_core_localization_obsolete_l1_1_0
928 enable_api_ms_win_core_localization_obsolete_l1_2_0
929 enable_api_ms_win_core_localization_private_l1_1_0
930 enable_api_ms_win_core_localregistry_l1_1_0
931 enable_api_ms_win_core_memory_l1_1_0
932 enable_api_ms_win_core_memory_l1_1_1
933 enable_api_ms_win_core_memory_l1_1_2
934 enable_api_ms_win_core_misc_l1_1_0
935 enable_api_ms_win_core_namedpipe_l1_1_0
936 enable_api_ms_win_core_namedpipe_l1_2_0
937 enable_api_ms_win_core_namespace_l1_1_0
938 enable_api_ms_win_core_normalization_l1_1_0
939 enable_api_ms_win_core_path_l1_1_0
940 enable_api_ms_win_core_privateprofile_l1_1_1
941 enable_api_ms_win_core_processenvironment_l1_1_0
942 enable_api_ms_win_core_processenvironment_l1_2_0
943 enable_api_ms_win_core_processthreads_l1_1_0
944 enable_api_ms_win_core_processthreads_l1_1_1
945 enable_api_ms_win_core_processthreads_l1_1_2
946 enable_api_ms_win_core_profile_l1_1_0
947 enable_api_ms_win_core_psapi_l1_1_0
948 enable_api_ms_win_core_psapi_obsolete_l1_1_0
949 enable_api_ms_win_core_quirks_l1_1_0
950 enable_api_ms_win_core_realtime_l1_1_0
951 enable_api_ms_win_core_registry_l1_1_0
952 enable_api_ms_win_core_registry_l2_1_0
953 enable_api_ms_win_core_registryuserspecific_l1_1_0
954 enable_api_ms_win_core_rtlsupport_l1_1_0
955 enable_api_ms_win_core_rtlsupport_l1_2_0
956 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
957 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
958 enable_api_ms_win_core_sidebyside_l1_1_0
959 enable_api_ms_win_core_string_l1_1_0
960 enable_api_ms_win_core_string_l2_1_0
961 enable_api_ms_win_core_string_obsolete_l1_1_0
962 enable_api_ms_win_core_stringansi_l1_1_0
963 enable_api_ms_win_core_synch_l1_1_0
964 enable_api_ms_win_core_synch_l1_2_0
965 enable_api_ms_win_core_sysinfo_l1_1_0
966 enable_api_ms_win_core_sysinfo_l1_2_0
967 enable_api_ms_win_core_sysinfo_l1_2_1
968 enable_api_ms_win_core_threadpool_l1_1_0
969 enable_api_ms_win_core_threadpool_l1_2_0
970 enable_api_ms_win_core_threadpool_legacy_l1_1_0
971 enable_api_ms_win_core_threadpool_private_l1_1_0
972 enable_api_ms_win_core_timezone_l1_1_0
973 enable_api_ms_win_core_toolhelp_l1_1_0
974 enable_api_ms_win_core_url_l1_1_0
975 enable_api_ms_win_core_util_l1_1_0
976 enable_api_ms_win_core_version_l1_1_0
977 enable_api_ms_win_core_version_private_l1_1_0
978 enable_api_ms_win_core_versionansi_l1_1_0
979 enable_api_ms_win_core_windowserrorreporting_l1_1_0
980 enable_api_ms_win_core_winrt_error_l1_1_0
981 enable_api_ms_win_core_winrt_error_l1_1_1
982 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
983 enable_api_ms_win_core_winrt_l1_1_0
984 enable_api_ms_win_core_winrt_registration_l1_1_0
985 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
986 enable_api_ms_win_core_winrt_string_l1_1_0
987 enable_api_ms_win_core_wow64_l1_1_0
988 enable_api_ms_win_core_xstate_l1_1_0
989 enable_api_ms_win_core_xstate_l2_1_0
990 enable_api_ms_win_crt_conio_l1_1_0
991 enable_api_ms_win_crt_convert_l1_1_0
992 enable_api_ms_win_crt_environment_l1_1_0
993 enable_api_ms_win_crt_filesystem_l1_1_0
994 enable_api_ms_win_crt_heap_l1_1_0
995 enable_api_ms_win_crt_locale_l1_1_0
996 enable_api_ms_win_crt_math_l1_1_0
997 enable_api_ms_win_crt_multibyte_l1_1_0
998 enable_api_ms_win_crt_private_l1_1_0
999 enable_api_ms_win_crt_process_l1_1_0
1000 enable_api_ms_win_crt_runtime_l1_1_0
1001 enable_api_ms_win_crt_stdio_l1_1_0
1002 enable_api_ms_win_crt_string_l1_1_0
1003 enable_api_ms_win_crt_time_l1_1_0
1004 enable_api_ms_win_crt_utility_l1_1_0
1005 enable_api_ms_win_devices_config_l1_1_1
1006 enable_api_ms_win_devices_query_l1_1_1
1007 enable_api_ms_win_downlevel_advapi32_l1_1_0
1008 enable_api_ms_win_downlevel_advapi32_l2_1_0
1009 enable_api_ms_win_downlevel_normaliz_l1_1_0
1010 enable_api_ms_win_downlevel_ole32_l1_1_0
1011 enable_api_ms_win_downlevel_shell32_l1_1_0
1012 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1013 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1014 enable_api_ms_win_downlevel_user32_l1_1_0
1015 enable_api_ms_win_downlevel_version_l1_1_0
1016 enable_api_ms_win_dx_d3dkmt_l1_1_0
1017 enable_api_ms_win_eventing_classicprovider_l1_1_0
1018 enable_api_ms_win_eventing_consumer_l1_1_0
1019 enable_api_ms_win_eventing_controller_l1_1_0
1020 enable_api_ms_win_eventing_provider_l1_1_0
1021 enable_api_ms_win_eventlog_legacy_l1_1_0
1022 enable_api_ms_win_mm_misc_l1_1_1
1023 enable_api_ms_win_mm_mme_l1_1_0
1024 enable_api_ms_win_ntuser_dc_access_l1_1_0
1025 enable_api_ms_win_power_base_l1_1_0
1026 enable_api_ms_win_power_setting_l1_1_0
1027 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1028 enable_api_ms_win_security_audit_l1_1_1
1029 enable_api_ms_win_security_base_l1_1_0
1030 enable_api_ms_win_security_base_l1_2_0
1031 enable_api_ms_win_security_base_private_l1_1_1
1032 enable_api_ms_win_security_grouppolicy_l1_1_0
1033 enable_api_ms_win_security_lsalookup_l1_1_0
1034 enable_api_ms_win_security_lsalookup_l1_1_1
1035 enable_api_ms_win_security_lsalookup_l2_1_1
1036 enable_api_ms_win_security_lsapolicy_l1_1_0
1037 enable_api_ms_win_security_sddl_l1_1_0
1038 enable_api_ms_win_security_systemfunctions_l1_1_0
1039 enable_api_ms_win_service_core_l1_1_0
1040 enable_api_ms_win_service_core_l1_1_1
1041 enable_api_ms_win_service_management_l1_1_0
1042 enable_api_ms_win_service_management_l2_1_0
1043 enable_api_ms_win_service_private_l1_1_1
1044 enable_api_ms_win_service_winsvc_l1_1_0
1045 enable_api_ms_win_service_winsvc_l1_2_0
1046 enable_api_ms_win_shell_shellcom_l1_1_0
1047 enable_api_ms_win_shell_shellfolders_l1_1_0
1048 enable_apphelp
1049 enable_appwiz_cpl
1050 enable_atl
1051 enable_atl100
1052 enable_atl110
1053 enable_atl80
1054 enable_atl90
1055 enable_authz
1056 enable_avicap32
1057 enable_avifil32
1058 enable_avrt
1059 enable_bcrypt
1060 enable_bluetoothapis
1061 enable_browseui
1062 enable_bthprops_cpl
1063 enable_cabinet
1064 enable_capi2032
1065 enable_cards
1066 enable_cfgmgr32
1067 enable_clusapi
1068 enable_combase
1069 enable_comcat
1070 enable_comctl32
1071 enable_comdlg32
1072 enable_compstui
1073 enable_comsvcs
1074 enable_concrt140
1075 enable_connect
1076 enable_credui
1077 enable_crtdll
1078 enable_crypt32
1079 enable_cryptdlg
1080 enable_cryptdll
1081 enable_cryptext
1082 enable_cryptnet
1083 enable_cryptui
1084 enable_ctapi32
1085 enable_ctl3d32
1086 enable_d2d1
1087 enable_d3d10
1088 enable_d3d10_1
1089 enable_d3d10core
1090 enable_d3d11
1091 enable_d3d8
1092 enable_d3d9
1093 enable_d3dcompiler_33
1094 enable_d3dcompiler_34
1095 enable_d3dcompiler_35
1096 enable_d3dcompiler_36
1097 enable_d3dcompiler_37
1098 enable_d3dcompiler_38
1099 enable_d3dcompiler_39
1100 enable_d3dcompiler_40
1101 enable_d3dcompiler_41
1102 enable_d3dcompiler_42
1103 enable_d3dcompiler_43
1104 enable_d3dcompiler_46
1105 enable_d3dcompiler_47
1106 enable_d3dim
1107 enable_d3drm
1108 enable_d3dx10_33
1109 enable_d3dx10_34
1110 enable_d3dx10_35
1111 enable_d3dx10_36
1112 enable_d3dx10_37
1113 enable_d3dx10_38
1114 enable_d3dx10_39
1115 enable_d3dx10_40
1116 enable_d3dx10_41
1117 enable_d3dx10_42
1118 enable_d3dx10_43
1119 enable_d3dx11_42
1120 enable_d3dx11_43
1121 enable_d3dx9_24
1122 enable_d3dx9_25
1123 enable_d3dx9_26
1124 enable_d3dx9_27
1125 enable_d3dx9_28
1126 enable_d3dx9_29
1127 enable_d3dx9_30
1128 enable_d3dx9_31
1129 enable_d3dx9_32
1130 enable_d3dx9_33
1131 enable_d3dx9_34
1132 enable_d3dx9_35
1133 enable_d3dx9_36
1134 enable_d3dx9_37
1135 enable_d3dx9_38
1136 enable_d3dx9_39
1137 enable_d3dx9_40
1138 enable_d3dx9_41
1139 enable_d3dx9_42
1140 enable_d3dx9_43
1141 enable_d3dxof
1142 enable_davclnt
1143 enable_dbgeng
1144 enable_dbghelp
1145 enable_dciman32
1146 enable_ddraw
1147 enable_ddrawex
1148 enable_devenum
1149 enable_dhcpcsvc
1150 enable_difxapi
1151 enable_dinput
1152 enable_dinput8
1153 enable_dispex
1154 enable_dmband
1155 enable_dmcompos
1156 enable_dmime
1157 enable_dmloader
1158 enable_dmscript
1159 enable_dmstyle
1160 enable_dmsynth
1161 enable_dmusic
1162 enable_dmusic32
1163 enable_dnsapi
1164 enable_dplay
1165 enable_dplayx
1166 enable_dpnaddr
1167 enable_dpnet
1168 enable_dpnhpast
1169 enable_dpnlobby
1170 enable_dpvoice
1171 enable_dpwsockx
1172 enable_drmclien
1173 enable_dsound
1174 enable_dssenh
1175 enable_dswave
1176 enable_dwmapi
1177 enable_dwrite
1178 enable_dxdiagn
1179 enable_dxgi
1180 enable_dxva2
1181 enable_esent
1182 enable_evr
1183 enable_explorerframe
1184 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1185 enable_ext_ms_win_gdi_dc_create_l1_1_1
1186 enable_ext_ms_win_gdi_dc_l1_2_0
1187 enable_ext_ms_win_gdi_devcaps_l1_1_0
1188 enable_ext_ms_win_gdi_draw_l1_1_1
1189 enable_ext_ms_win_gdi_render_l1_1_0
1190 enable_ext_ms_win_kernel32_package_current_l1_1_0
1191 enable_ext_ms_win_ntuser_message_l1_1_1
1192 enable_ext_ms_win_ntuser_private_l1_1_1
1193 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1194 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1195 enable_ext_ms_win_ntuser_window_l1_1_1
1196 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1197 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1198 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1200 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1201 enable_faultrep
1202 enable_fltlib
1203 enable_fltmgr_sys
1204 enable_fntcache
1205 enable_fontsub
1206 enable_fusion
1207 enable_fwpuclnt
1208 enable_gameux
1209 enable_gdi32
1210 enable_gdiplus
1211 enable_glu32
1212 enable_gphoto2_ds
1213 enable_gpkcsp
1214 enable_hal
1215 enable_hhctrl_ocx
1216 enable_hid
1217 enable_hidclass_sys
1218 enable_hlink
1219 enable_hnetcfg
1220 enable_httpapi
1221 enable_iccvid
1222 enable_icmp
1223 enable_ieframe
1224 enable_imaadp32_acm
1225 enable_imagehlp
1226 enable_imm32
1227 enable_inetcomm
1228 enable_inetcpl_cpl
1229 enable_inetmib1
1230 enable_infosoft
1231 enable_initpki
1232 enable_inkobj
1233 enable_inseng
1234 enable_iphlpapi
1235 enable_iprop
1236 enable_irprops_cpl
1237 enable_itircl
1238 enable_itss
1239 enable_joy_cpl
1240 enable_jscript
1241 enable_jsproxy
1242 enable_kernel32
1243 enable_kernelbase
1244 enable_ksuser
1245 enable_ktmw32
1246 enable_loadperf
1247 enable_localspl
1248 enable_localui
1249 enable_lz32
1250 enable_mapi32
1251 enable_mapistub
1252 enable_mciavi32
1253 enable_mcicda
1254 enable_mciqtz32
1255 enable_mciseq
1256 enable_mciwave
1257 enable_mf
1258 enable_mf3216
1259 enable_mfplat
1260 enable_mfreadwrite
1261 enable_mgmtapi
1262 enable_midimap
1263 enable_mlang
1264 enable_mmcndmgr
1265 enable_mmdevapi
1266 enable_mountmgr_sys
1267 enable_mpr
1268 enable_mprapi
1269 enable_msacm32_drv
1270 enable_msacm32
1271 enable_msadp32_acm
1272 enable_msasn1
1273 enable_mscat32
1274 enable_mscms
1275 enable_mscoree
1276 enable_msctf
1277 enable_msctfp
1278 enable_msdaps
1279 enable_msdelta
1280 enable_msdmo
1281 enable_msdrm
1282 enable_msftedit
1283 enable_msg711_acm
1284 enable_msgsm32_acm
1285 enable_mshtml_tlb
1286 enable_mshtml
1287 enable_msi
1288 enable_msident
1289 enable_msimg32
1290 enable_msimsg
1291 enable_msimtf
1292 enable_msisip
1293 enable_msisys_ocx
1294 enable_msls31
1295 enable_msnet32
1296 enable_mspatcha
1297 enable_msports
1298 enable_msrle32
1299 enable_msscript_ocx
1300 enable_mssign32
1301 enable_mssip32
1302 enable_mstask
1303 enable_msvcirt
1304 enable_msvcm80
1305 enable_msvcm90
1306 enable_msvcp100
1307 enable_msvcp110
1308 enable_msvcp120
1309 enable_msvcp120_app
1310 enable_msvcp140
1311 enable_msvcp60
1312 enable_msvcp70
1313 enable_msvcp71
1314 enable_msvcp80
1315 enable_msvcp90
1316 enable_msvcr100
1317 enable_msvcr110
1318 enable_msvcr120
1319 enable_msvcr120_app
1320 enable_msvcr70
1321 enable_msvcr71
1322 enable_msvcr80
1323 enable_msvcr90
1324 enable_msvcrt
1325 enable_msvcrt20
1326 enable_msvcrt40
1327 enable_msvcrtd
1328 enable_msvfw32
1329 enable_msvidc32
1330 enable_mswsock
1331 enable_msxml
1332 enable_msxml2
1333 enable_msxml3
1334 enable_msxml4
1335 enable_msxml6
1336 enable_mtxdm
1337 enable_ncrypt
1338 enable_nddeapi
1339 enable_ndis_sys
1340 enable_netapi32
1341 enable_netcfgx
1342 enable_netprofm
1343 enable_newdev
1344 enable_normaliz
1345 enable_npmshtml
1346 enable_npptools
1347 enable_ntdll
1348 enable_ntdsapi
1349 enable_ntoskrnl_exe
1350 enable_ntprint
1351 enable_objsel
1352 enable_odbc32
1353 enable_odbccp32
1354 enable_odbccu32
1355 enable_ole32
1356 enable_oleacc
1357 enable_oleaut32
1358 enable_olecli32
1359 enable_oledb32
1360 enable_oledlg
1361 enable_olepro32
1362 enable_olesvr32
1363 enable_olethk32
1364 enable_openal32
1365 enable_opencl
1366 enable_opengl32
1367 enable_packager
1368 enable_pdh
1369 enable_photometadatahandler
1370 enable_pidgen
1371 enable_powrprof
1372 enable_printui
1373 enable_prntvpt
1374 enable_propsys
1375 enable_psapi
1376 enable_pstorec
1377 enable_qcap
1378 enable_qedit
1379 enable_qmgr
1380 enable_qmgrprxy
1381 enable_quartz
1382 enable_query
1383 enable_rasapi32
1384 enable_rasdlg
1385 enable_regapi
1386 enable_resutils
1387 enable_riched20
1388 enable_riched32
1389 enable_rpcrt4
1390 enable_rsabase
1391 enable_rsaenh
1392 enable_rstrtmgr
1393 enable_rtutils
1394 enable_samlib
1395 enable_sane_ds
1396 enable_scarddlg
1397 enable_sccbase
1398 enable_schannel
1399 enable_schedsvc
1400 enable_scrobj
1401 enable_scrrun
1402 enable_scsiport_sys
1403 enable_secur32
1404 enable_security
1405 enable_sensapi
1406 enable_serialui
1407 enable_setupapi
1408 enable_sfc
1409 enable_sfc_os
1410 enable_shdoclc
1411 enable_shdocvw
1412 enable_shell32
1413 enable_shfolder
1414 enable_shlwapi
1415 enable_slbcsp
1416 enable_slc
1417 enable_snmpapi
1418 enable_softpub
1419 enable_spoolss
1420 enable_sspicli
1421 enable_stdole2_tlb
1422 enable_stdole32_tlb
1423 enable_sti
1424 enable_svrapi
1425 enable_sxs
1426 enable_t2embed
1427 enable_tapi32
1428 enable_taskschd
1429 enable_tdi_sys
1430 enable_traffic
1431 enable_twain_32
1432 enable_ucrtbase
1433 enable_uiautomationcore
1434 enable_unicows
1435 enable_updspapi
1436 enable_url
1437 enable_urlmon
1438 enable_usbd_sys
1439 enable_user32
1440 enable_userenv
1441 enable_usp10
1442 enable_uxtheme
1443 enable_vbscript
1444 enable_vcomp
1445 enable_vcomp100
1446 enable_vcomp110
1447 enable_vcomp120
1448 enable_vcomp140
1449 enable_vcomp90
1450 enable_vcruntime140
1451 enable_vdmdbg
1452 enable_version
1453 enable_virtdisk
1454 enable_vssapi
1455 enable_wbemdisp
1456 enable_wbemprox
1457 enable_webservices
1458 enable_wer
1459 enable_wevtapi
1460 enable_wiaservc
1461 enable_wimgapi
1462 enable_windowscodecs
1463 enable_windowscodecsext
1464 enable_winealsa_drv
1465 enable_winebus_sys
1466 enable_winecoreaudio_drv
1467 enable_wined3d
1468 enable_winegstreamer
1469 enable_winehid_sys
1470 enable_winejoystick_drv
1471 enable_winemac_drv
1472 enable_winemapi
1473 enable_winemp3_acm
1474 enable_wineoss_drv
1475 enable_wineps_drv
1476 enable_winepulse_drv
1477 enable_wineqtdecoder
1478 enable_winex11_drv
1479 enable_wing32
1480 enable_winhttp
1481 enable_wininet
1482 enable_winmm
1483 enable_winnls32
1484 enable_winscard
1485 enable_winspool_drv
1486 enable_winsta
1487 enable_wintab32
1488 enable_wintrust
1489 enable_winusb
1490 enable_wlanapi
1491 enable_wldap32
1492 enable_wmasf
1493 enable_wmi
1494 enable_wmiutils
1495 enable_wmp
1496 enable_wmvcore
1497 enable_wnaspi32
1498 enable_wpc
1499 enable_wpcap
1500 enable_ws2_32
1501 enable_wsdapi
1502 enable_wshom_ocx
1503 enable_wsnmp32
1504 enable_wsock32
1505 enable_wtsapi32
1506 enable_wuapi
1507 enable_wuaueng
1508 enable_x3daudio1_0
1509 enable_x3daudio1_1
1510 enable_x3daudio1_2
1511 enable_x3daudio1_3
1512 enable_x3daudio1_4
1513 enable_x3daudio1_5
1514 enable_x3daudio1_6
1515 enable_x3daudio1_7
1516 enable_xapofx1_1
1517 enable_xapofx1_2
1518 enable_xapofx1_3
1519 enable_xapofx1_4
1520 enable_xapofx1_5
1521 enable_xaudio2_0
1522 enable_xaudio2_1
1523 enable_xaudio2_2
1524 enable_xaudio2_3
1525 enable_xaudio2_4
1526 enable_xaudio2_5
1527 enable_xaudio2_6
1528 enable_xaudio2_7
1529 enable_xaudio2_8
1530 enable_xaudio2_9
1531 enable_xinput1_1
1532 enable_xinput1_2
1533 enable_xinput1_3
1534 enable_xinput1_4
1535 enable_xinput9_1_0
1536 enable_xmllite
1537 enable_xolehlp
1538 enable_xpsprint
1539 enable_xpssvcs
1540 enable_fonts
1541 enable_include
1542 enable_libs_port
1543 enable_libs_wine
1544 enable_libs_wpp
1545 enable_loader
1546 enable_po
1547 enable_arp
1548 enable_aspnet_regiis
1549 enable_attrib
1550 enable_cabarc
1551 enable_cacls
1552 enable_clock
1553 enable_cmd
1554 enable_conhost
1555 enable_control
1556 enable_cscript
1557 enable_dpnsvr
1558 enable_dxdiag
1559 enable_eject
1560 enable_expand
1561 enable_explorer
1562 enable_extrac32
1563 enable_findstr
1564 enable_fsutil
1565 enable_hh
1566 enable_hostname
1567 enable_icacls
1568 enable_icinfo
1569 enable_iexplore
1570 enable_ipconfig
1571 enable_lodctr
1572 enable_mofcomp
1573 enable_mshta
1574 enable_msiexec
1575 enable_msinfo32
1576 enable_net
1577 enable_netsh
1578 enable_netstat
1579 enable_ngen
1580 enable_notepad
1581 enable_oleview
1582 enable_ping
1583 enable_plugplay
1584 enable_presentationfontcache
1585 enable_progman
1586 enable_reg
1587 enable_regasm
1588 enable_regedit
1589 enable_regsvcs
1590 enable_regsvr32
1591 enable_rpcss
1592 enable_rundll32
1593 enable_sc
1594 enable_schtasks
1595 enable_sdbinst
1596 enable_secedit
1597 enable_servicemodelreg
1598 enable_services
1599 enable_shutdown
1600 enable_spoolsv
1601 enable_start
1602 enable_subst
1603 enable_svchost
1604 enable_systeminfo
1605 enable_taskkill
1606 enable_tasklist
1607 enable_taskmgr
1608 enable_termsv
1609 enable_uninstaller
1610 enable_unlodctr
1611 enable_view
1612 enable_wevtutil
1613 enable_wineboot
1614 enable_winebrowser
1615 enable_winecfg
1616 enable_wineconsole
1617 enable_winedbg
1618 enable_winedevice
1619 enable_winefile
1620 enable_winemenubuilder
1621 enable_winemine
1622 enable_winemsibuilder
1623 enable_winepath
1624 enable_winetest
1625 enable_winhlp32
1626 enable_winver
1627 enable_wmic
1628 enable_wmplayer
1629 enable_wordpad
1630 enable_write
1631 enable_wscript
1632 enable_wusa
1633 enable_xcopy
1634 enable_server
1635 enable_tools
1637 ac_precious_vars='build_alias
1638 host_alias
1639 target_alias
1641 CFLAGS
1642 LDFLAGS
1643 LIBS
1644 CPPFLAGS
1646 CXXFLAGS
1649 XMKMF
1650 XML2_CFLAGS
1651 XML2_LIBS
1652 XSLT_CFLAGS
1653 XSLT_LIBS
1654 DBUS_CFLAGS
1655 DBUS_LIBS
1656 HAL_CFLAGS
1657 HAL_LIBS
1658 GNUTLS_CFLAGS
1659 GNUTLS_LIBS
1660 SANE_CFLAGS
1661 SANE_LIBS
1662 GPHOTO2_CFLAGS
1663 GPHOTO2_LIBS
1664 GPHOTO2_PORT_CFLAGS
1665 GPHOTO2_PORT_LIBS
1666 LCMS2_CFLAGS
1667 LCMS2_LIBS
1668 FREETYPE_CFLAGS
1669 FREETYPE_LIBS
1670 PULSE_CFLAGS
1671 PULSE_LIBS
1672 GSTREAMER_CFLAGS
1673 GSTREAMER_LIBS
1674 UDEV_CFLAGS
1675 UDEV_LIBS
1676 CAPI20_CFLAGS
1677 CAPI20_LIBS
1678 FONTCONFIG_CFLAGS
1679 FONTCONFIG_LIBS
1680 JPEG_CFLAGS
1681 JPEG_LIBS
1682 PNG_CFLAGS
1683 PNG_LIBS
1684 TIFF_CFLAGS
1685 TIFF_LIBS
1686 MPG123_CFLAGS
1687 MPG123_LIBS
1688 NETAPI_CFLAGS
1689 NETAPI_LIBS'
1692 # Initialize some variables set by options.
1693 ac_init_help=
1694 ac_init_version=false
1695 ac_unrecognized_opts=
1696 ac_unrecognized_sep=
1697 # The variables have the same names as the options, with
1698 # dashes changed to underlines.
1699 cache_file=/dev/null
1700 exec_prefix=NONE
1701 no_create=
1702 no_recursion=
1703 prefix=NONE
1704 program_prefix=NONE
1705 program_suffix=NONE
1706 program_transform_name=s,x,x,
1707 silent=
1708 site=
1709 srcdir=
1710 verbose=
1711 x_includes=NONE
1712 x_libraries=NONE
1714 # Installation directory options.
1715 # These are left unexpanded so users can "make install exec_prefix=/foo"
1716 # and all the variables that are supposed to be based on exec_prefix
1717 # by default will actually change.
1718 # Use braces instead of parens because sh, perl, etc. also accept them.
1719 # (The list follows the same order as the GNU Coding Standards.)
1720 bindir='${exec_prefix}/bin'
1721 sbindir='${exec_prefix}/sbin'
1722 libexecdir='${exec_prefix}/libexec'
1723 datarootdir='${prefix}/share'
1724 datadir='${datarootdir}'
1725 sysconfdir='${prefix}/etc'
1726 sharedstatedir='${prefix}/com'
1727 localstatedir='${prefix}/var'
1728 runstatedir='${localstatedir}/run'
1729 includedir='${prefix}/include'
1730 oldincludedir='/usr/include'
1731 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1732 infodir='${datarootdir}/info'
1733 htmldir='${docdir}'
1734 dvidir='${docdir}'
1735 pdfdir='${docdir}'
1736 psdir='${docdir}'
1737 libdir='${exec_prefix}/lib'
1738 localedir='${datarootdir}/locale'
1739 mandir='${datarootdir}/man'
1741 ac_prev=
1742 ac_dashdash=
1743 for ac_option
1745 # If the previous option needs an argument, assign it.
1746 if test -n "$ac_prev"; then
1747 eval $ac_prev=\$ac_option
1748 ac_prev=
1749 continue
1752 case $ac_option in
1753 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1754 *=) ac_optarg= ;;
1755 *) ac_optarg=yes ;;
1756 esac
1758 # Accept the important Cygnus configure options, so we can diagnose typos.
1760 case $ac_dashdash$ac_option in
1762 ac_dashdash=yes ;;
1764 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1765 ac_prev=bindir ;;
1766 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1767 bindir=$ac_optarg ;;
1769 -build | --build | --buil | --bui | --bu)
1770 ac_prev=build_alias ;;
1771 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1772 build_alias=$ac_optarg ;;
1774 -cache-file | --cache-file | --cache-fil | --cache-fi \
1775 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1776 ac_prev=cache_file ;;
1777 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1778 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1779 cache_file=$ac_optarg ;;
1781 --config-cache | -C)
1782 cache_file=config.cache ;;
1784 -datadir | --datadir | --datadi | --datad)
1785 ac_prev=datadir ;;
1786 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1787 datadir=$ac_optarg ;;
1789 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1790 | --dataroo | --dataro | --datar)
1791 ac_prev=datarootdir ;;
1792 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1793 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1794 datarootdir=$ac_optarg ;;
1796 -disable-* | --disable-*)
1797 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1798 # Reject names that are not valid shell variable names.
1799 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1800 as_fn_error $? "invalid feature name: $ac_useropt"
1801 ac_useropt_orig=$ac_useropt
1802 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1803 case $ac_user_opts in
1805 "enable_$ac_useropt"
1806 "*) ;;
1807 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1808 ac_unrecognized_sep=', ';;
1809 esac
1810 eval enable_$ac_useropt=no ;;
1812 -docdir | --docdir | --docdi | --doc | --do)
1813 ac_prev=docdir ;;
1814 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1815 docdir=$ac_optarg ;;
1817 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1818 ac_prev=dvidir ;;
1819 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1820 dvidir=$ac_optarg ;;
1822 -enable-* | --enable-*)
1823 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1824 # Reject names that are not valid shell variable names.
1825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1826 as_fn_error $? "invalid feature name: $ac_useropt"
1827 ac_useropt_orig=$ac_useropt
1828 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1829 case $ac_user_opts in
1831 "enable_$ac_useropt"
1832 "*) ;;
1833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1834 ac_unrecognized_sep=', ';;
1835 esac
1836 eval enable_$ac_useropt=\$ac_optarg ;;
1838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1840 | --exec | --exe | --ex)
1841 ac_prev=exec_prefix ;;
1842 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1843 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1844 | --exec=* | --exe=* | --ex=*)
1845 exec_prefix=$ac_optarg ;;
1847 -gas | --gas | --ga | --g)
1848 # Obsolete; use --with-gas.
1849 with_gas=yes ;;
1851 -help | --help | --hel | --he | -h)
1852 ac_init_help=long ;;
1853 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1854 ac_init_help=recursive ;;
1855 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1856 ac_init_help=short ;;
1858 -host | --host | --hos | --ho)
1859 ac_prev=host_alias ;;
1860 -host=* | --host=* | --hos=* | --ho=*)
1861 host_alias=$ac_optarg ;;
1863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1864 ac_prev=htmldir ;;
1865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1866 | --ht=*)
1867 htmldir=$ac_optarg ;;
1869 -includedir | --includedir | --includedi | --included | --include \
1870 | --includ | --inclu | --incl | --inc)
1871 ac_prev=includedir ;;
1872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1873 | --includ=* | --inclu=* | --incl=* | --inc=*)
1874 includedir=$ac_optarg ;;
1876 -infodir | --infodir | --infodi | --infod | --info | --inf)
1877 ac_prev=infodir ;;
1878 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1879 infodir=$ac_optarg ;;
1881 -libdir | --libdir | --libdi | --libd)
1882 ac_prev=libdir ;;
1883 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1884 libdir=$ac_optarg ;;
1886 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1887 | --libexe | --libex | --libe)
1888 ac_prev=libexecdir ;;
1889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1890 | --libexe=* | --libex=* | --libe=*)
1891 libexecdir=$ac_optarg ;;
1893 -localedir | --localedir | --localedi | --localed | --locale)
1894 ac_prev=localedir ;;
1895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1896 localedir=$ac_optarg ;;
1898 -localstatedir | --localstatedir | --localstatedi | --localstated \
1899 | --localstate | --localstat | --localsta | --localst | --locals)
1900 ac_prev=localstatedir ;;
1901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1903 localstatedir=$ac_optarg ;;
1905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1906 ac_prev=mandir ;;
1907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1908 mandir=$ac_optarg ;;
1910 -nfp | --nfp | --nf)
1911 # Obsolete; use --without-fp.
1912 with_fp=no ;;
1914 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1915 | --no-cr | --no-c | -n)
1916 no_create=yes ;;
1918 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1919 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1920 no_recursion=yes ;;
1922 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1923 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1924 | --oldin | --oldi | --old | --ol | --o)
1925 ac_prev=oldincludedir ;;
1926 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1927 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1928 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1929 oldincludedir=$ac_optarg ;;
1931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1932 ac_prev=prefix ;;
1933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1934 prefix=$ac_optarg ;;
1936 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1937 | --program-pre | --program-pr | --program-p)
1938 ac_prev=program_prefix ;;
1939 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1940 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1941 program_prefix=$ac_optarg ;;
1943 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1944 | --program-suf | --program-su | --program-s)
1945 ac_prev=program_suffix ;;
1946 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1947 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1948 program_suffix=$ac_optarg ;;
1950 -program-transform-name | --program-transform-name \
1951 | --program-transform-nam | --program-transform-na \
1952 | --program-transform-n | --program-transform- \
1953 | --program-transform | --program-transfor \
1954 | --program-transfo | --program-transf \
1955 | --program-trans | --program-tran \
1956 | --progr-tra | --program-tr | --program-t)
1957 ac_prev=program_transform_name ;;
1958 -program-transform-name=* | --program-transform-name=* \
1959 | --program-transform-nam=* | --program-transform-na=* \
1960 | --program-transform-n=* | --program-transform-=* \
1961 | --program-transform=* | --program-transfor=* \
1962 | --program-transfo=* | --program-transf=* \
1963 | --program-trans=* | --program-tran=* \
1964 | --progr-tra=* | --program-tr=* | --program-t=*)
1965 program_transform_name=$ac_optarg ;;
1967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1968 ac_prev=pdfdir ;;
1969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1970 pdfdir=$ac_optarg ;;
1972 -psdir | --psdir | --psdi | --psd | --ps)
1973 ac_prev=psdir ;;
1974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1975 psdir=$ac_optarg ;;
1977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1978 | -silent | --silent | --silen | --sile | --sil)
1979 silent=yes ;;
1981 -runstatedir | --runstatedir | --runstatedi | --runstated \
1982 | --runstate | --runstat | --runsta | --runst | --runs \
1983 | --run | --ru | --r)
1984 ac_prev=runstatedir ;;
1985 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1986 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1987 | --run=* | --ru=* | --r=*)
1988 runstatedir=$ac_optarg ;;
1990 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1991 ac_prev=sbindir ;;
1992 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1993 | --sbi=* | --sb=*)
1994 sbindir=$ac_optarg ;;
1996 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1997 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1998 | --sharedst | --shareds | --shared | --share | --shar \
1999 | --sha | --sh)
2000 ac_prev=sharedstatedir ;;
2001 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2002 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2003 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2004 | --sha=* | --sh=*)
2005 sharedstatedir=$ac_optarg ;;
2007 -site | --site | --sit)
2008 ac_prev=site ;;
2009 -site=* | --site=* | --sit=*)
2010 site=$ac_optarg ;;
2012 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2013 ac_prev=srcdir ;;
2014 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2015 srcdir=$ac_optarg ;;
2017 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2018 | --syscon | --sysco | --sysc | --sys | --sy)
2019 ac_prev=sysconfdir ;;
2020 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2021 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2022 sysconfdir=$ac_optarg ;;
2024 -target | --target | --targe | --targ | --tar | --ta | --t)
2025 ac_prev=target_alias ;;
2026 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2027 target_alias=$ac_optarg ;;
2029 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2030 verbose=yes ;;
2032 -version | --version | --versio | --versi | --vers | -V)
2033 ac_init_version=: ;;
2035 -with-* | --with-*)
2036 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2037 # Reject names that are not valid shell variable names.
2038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2039 as_fn_error $? "invalid package name: $ac_useropt"
2040 ac_useropt_orig=$ac_useropt
2041 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2042 case $ac_user_opts in
2044 "with_$ac_useropt"
2045 "*) ;;
2046 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2047 ac_unrecognized_sep=', ';;
2048 esac
2049 eval with_$ac_useropt=\$ac_optarg ;;
2051 -without-* | --without-*)
2052 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2053 # Reject names that are not valid shell variable names.
2054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2055 as_fn_error $? "invalid package name: $ac_useropt"
2056 ac_useropt_orig=$ac_useropt
2057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2058 case $ac_user_opts in
2060 "with_$ac_useropt"
2061 "*) ;;
2062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2063 ac_unrecognized_sep=', ';;
2064 esac
2065 eval with_$ac_useropt=no ;;
2067 --x)
2068 # Obsolete; use --with-x.
2069 with_x=yes ;;
2071 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2072 | --x-incl | --x-inc | --x-in | --x-i)
2073 ac_prev=x_includes ;;
2074 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2075 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2076 x_includes=$ac_optarg ;;
2078 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2079 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2080 ac_prev=x_libraries ;;
2081 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2082 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2083 x_libraries=$ac_optarg ;;
2085 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2086 Try \`$0 --help' for more information"
2089 *=*)
2090 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2091 # Reject names that are not valid shell variable names.
2092 case $ac_envvar in #(
2093 '' | [0-9]* | *[!_$as_cr_alnum]* )
2094 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2095 esac
2096 eval $ac_envvar=\$ac_optarg
2097 export $ac_envvar ;;
2100 # FIXME: should be removed in autoconf 3.0.
2101 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2102 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2103 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2104 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2107 esac
2108 done
2110 if test -n "$ac_prev"; then
2111 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2112 as_fn_error $? "missing argument to $ac_option"
2115 if test -n "$ac_unrecognized_opts"; then
2116 case $enable_option_checking in
2117 no) ;;
2118 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2119 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2120 esac
2123 # Check all directory arguments for consistency.
2124 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2125 datadir sysconfdir sharedstatedir localstatedir includedir \
2126 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2127 libdir localedir mandir runstatedir
2129 eval ac_val=\$$ac_var
2130 # Remove trailing slashes.
2131 case $ac_val in
2132 */ )
2133 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2134 eval $ac_var=\$ac_val;;
2135 esac
2136 # Be sure to have absolute directory names.
2137 case $ac_val in
2138 [\\/$]* | ?:[\\/]* ) continue;;
2139 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2140 esac
2141 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2142 done
2144 # There might be people who depend on the old broken behavior: `$host'
2145 # used to hold the argument of --host etc.
2146 # FIXME: To remove some day.
2147 build=$build_alias
2148 host=$host_alias
2149 target=$target_alias
2151 # FIXME: To remove some day.
2152 if test "x$host_alias" != x; then
2153 if test "x$build_alias" = x; then
2154 cross_compiling=maybe
2155 elif test "x$build_alias" != "x$host_alias"; then
2156 cross_compiling=yes
2160 ac_tool_prefix=
2161 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2163 test "$silent" = yes && exec 6>/dev/null
2166 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2167 ac_ls_di=`ls -di .` &&
2168 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2169 as_fn_error $? "working directory cannot be determined"
2170 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2171 as_fn_error $? "pwd does not report name of working directory"
2174 # Find the source files, if location was not specified.
2175 if test -z "$srcdir"; then
2176 ac_srcdir_defaulted=yes
2177 # Try the directory containing this script, then the parent directory.
2178 ac_confdir=`$as_dirname -- "$as_myself" ||
2179 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2180 X"$as_myself" : 'X\(//\)[^/]' \| \
2181 X"$as_myself" : 'X\(//\)$' \| \
2182 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2183 $as_echo X"$as_myself" |
2184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2185 s//\1/
2188 /^X\(\/\/\)[^/].*/{
2189 s//\1/
2192 /^X\(\/\/\)$/{
2193 s//\1/
2196 /^X\(\/\).*/{
2197 s//\1/
2200 s/.*/./; q'`
2201 srcdir=$ac_confdir
2202 if test ! -r "$srcdir/$ac_unique_file"; then
2203 srcdir=..
2205 else
2206 ac_srcdir_defaulted=no
2208 if test ! -r "$srcdir/$ac_unique_file"; then
2209 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2210 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2212 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2213 ac_abs_confdir=`(
2214 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2215 pwd)`
2216 # When building in place, set srcdir=.
2217 if test "$ac_abs_confdir" = "$ac_pwd"; then
2218 srcdir=.
2220 # Remove unnecessary trailing slashes from srcdir.
2221 # Double slashes in file names in object file debugging info
2222 # mess up M-x gdb in Emacs.
2223 case $srcdir in
2224 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2225 esac
2226 for ac_var in $ac_precious_vars; do
2227 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2228 eval ac_env_${ac_var}_value=\$${ac_var}
2229 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2230 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2231 done
2234 # Report the --help message.
2236 if test "$ac_init_help" = "long"; then
2237 # Omit some internal or obsolete options to make the list less imposing.
2238 # This message is too long to be a string in the A/UX 3.1 sh.
2239 cat <<_ACEOF
2240 \`configure' configures Wine 2.7 to adapt to many kinds of systems.
2242 Usage: $0 [OPTION]... [VAR=VALUE]...
2244 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2245 VAR=VALUE. See below for descriptions of some of the useful variables.
2247 Defaults for the options are specified in brackets.
2249 Configuration:
2250 -h, --help display this help and exit
2251 --help=short display options specific to this package
2252 --help=recursive display the short help of all the included packages
2253 -V, --version display version information and exit
2254 -q, --quiet, --silent do not print \`checking ...' messages
2255 --cache-file=FILE cache test results in FILE [disabled]
2256 -C, --config-cache alias for \`--cache-file=config.cache'
2257 -n, --no-create do not create output files
2258 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2260 Installation directories:
2261 --prefix=PREFIX install architecture-independent files in PREFIX
2262 [$ac_default_prefix]
2263 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2264 [PREFIX]
2266 By default, \`make install' will install all the files in
2267 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2268 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2269 for instance \`--prefix=\$HOME'.
2271 For better control, use the options below.
2273 Fine tuning of the installation directories:
2274 --bindir=DIR user executables [EPREFIX/bin]
2275 --sbindir=DIR system admin executables [EPREFIX/sbin]
2276 --libexecdir=DIR program executables [EPREFIX/libexec]
2277 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2278 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2279 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2280 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2281 --libdir=DIR object code libraries [EPREFIX/lib]
2282 --includedir=DIR C header files [PREFIX/include]
2283 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2286 --infodir=DIR info documentation [DATAROOTDIR/info]
2287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2288 --mandir=DIR man documentation [DATAROOTDIR/man]
2289 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2290 --htmldir=DIR html documentation [DOCDIR]
2291 --dvidir=DIR dvi documentation [DOCDIR]
2292 --pdfdir=DIR pdf documentation [DOCDIR]
2293 --psdir=DIR ps documentation [DOCDIR]
2294 _ACEOF
2296 cat <<\_ACEOF
2298 X features:
2299 --x-includes=DIR X include files are in DIR
2300 --x-libraries=DIR X library files are in DIR
2302 System types:
2303 --build=BUILD configure for building on BUILD [guessed]
2304 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2305 _ACEOF
2308 if test -n "$ac_init_help"; then
2309 case $ac_init_help in
2310 short | recursive ) echo "Configuration of Wine 2.7:";;
2311 esac
2312 cat <<\_ACEOF
2314 Optional Features:
2315 --disable-option-checking ignore unrecognized --enable/--with options
2316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2318 --disable-win16 do not include Win16 support
2319 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2320 binaries)
2321 --disable-tests do not build the regression tests
2322 --enable-maintainer-mode
2323 enable maintainer-specific build rules
2324 --disable-largefile omit support for large files
2326 Optional Packages:
2327 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2328 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2329 --without-alsa do not use the Alsa sound support
2330 --without-capi do not use CAPI (ISDN support)
2331 --without-cms do not use CMS (color management support)
2332 --without-coreaudio do not use the CoreAudio sound support
2333 --without-cups do not use CUPS
2334 --without-curses do not use (n)curses
2335 --without-dbus do not use DBus (dynamic device support)
2336 --without-fontconfig do not use fontconfig
2337 --without-freetype do not use the FreeType library
2338 --without-gettext do not use gettext
2339 --with-gettextpo use the GetTextPO library to rebuild po files
2340 --without-gphoto do not use gphoto (Digital Camera support)
2341 --without-glu do not use the GLU library
2342 --without-gnutls do not use GnuTLS (schannel support)
2343 --without-gsm do not use libgsm (GSM 06.10 codec support)
2344 --without-gstreamer do not use GStreamer (codecs support)
2345 --without-hal do not use HAL (dynamic device support)
2346 --without-jpeg do not use JPEG
2347 --without-ldap do not use LDAP
2348 --without-mpg123 do not use the mpg123 library
2349 --without-netapi do not use the Samba NetAPI library
2350 --without-openal do not use OpenAL
2351 --without-opencl do not use OpenCL
2352 --without-opengl do not use OpenGL
2353 --without-osmesa do not use the OSMesa library
2354 --without-oss do not use the OSS sound support
2355 --without-pcap do not use the Packet Capture library
2356 --without-png do not use PNG
2357 --without-pthread do not use the pthread library
2358 --without-pulse do not use PulseAudio sound support
2359 --without-sane do not use SANE (scanner support)
2360 --without-tiff do not use TIFF
2361 --without-udev do not use udev (plug and play support)
2362 --without-v4l do not use v4l1 (v4l support)
2363 --without-xcomposite do not use the Xcomposite extension
2364 --without-xcursor do not use the Xcursor extension
2365 --without-xinerama do not use Xinerama (multi-monitor support)
2366 --without-xinput do not use the Xinput extension
2367 --without-xinput2 do not use the Xinput 2 extension
2368 --without-xml do not use XML
2369 --without-xrandr do not use Xrandr (resolution changes)
2370 --without-xrender do not use the Xrender extension
2371 --without-xshape do not use the Xshape extension
2372 --without-xshm do not use XShm (shared memory extension)
2373 --without-xslt do not use XSLT
2374 --without-xxf86vm do not use XFree video mode extension
2375 --without-zlib do not use Zlib (data compression)
2376 --with-wine-tools=DIR use Wine tools from directory DIR
2377 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2378 --with-x use the X Window System
2380 Some influential environment variables:
2381 CC C compiler command
2382 CFLAGS C compiler flags
2383 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2384 nonstandard directory <lib dir>
2385 LIBS libraries to pass to the linker, e.g. -l<library>
2386 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2387 you have headers in a nonstandard directory <include dir>
2388 CXX C++ compiler command
2389 CXXFLAGS C++ compiler flags
2390 CPP C preprocessor
2391 XMKMF Path to xmkmf, Makefile generator for X Window System
2392 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2393 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2394 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2395 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2396 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2397 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2398 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2399 HAL_LIBS Linker flags for hal, overriding pkg-config
2400 GNUTLS_CFLAGS
2401 C compiler flags for gnutls, overriding pkg-config
2402 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2403 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2404 SANE_LIBS Linker flags for libsane, overriding pkg-config
2405 GPHOTO2_CFLAGS
2406 C compiler flags for libgphoto2, overriding pkg-config
2407 GPHOTO2_LIBS
2408 Linker flags for libgphoto2, overriding pkg-config
2409 GPHOTO2_PORT_CFLAGS
2410 C compiler flags for libgphoto2_port, overriding pkg-config
2411 GPHOTO2_PORT_LIBS
2412 Linker flags for libgphoto2_port, overriding pkg-config
2413 LCMS2_CFLAGS
2414 C compiler flags for lcms2, overriding pkg-config
2415 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2416 FREETYPE_CFLAGS
2417 C compiler flags for freetype2, overriding pkg-config
2418 FREETYPE_LIBS
2419 Linker flags for freetype2, overriding pkg-config
2420 PULSE_CFLAGS
2421 C compiler flags for libpulse, overriding pkg-config
2422 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2423 GSTREAMER_CFLAGS
2424 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2425 gstreamer-audio-1.0, overriding pkg-config
2426 GSTREAMER_LIBS
2427 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2428 gstreamer-audio-1.0, overriding pkg-config
2429 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2430 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2431 CAPI20_CFLAGS
2432 C compiler flags for capi20, overriding pkg-config
2433 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2434 FONTCONFIG_CFLAGS
2435 C compiler flags for fontconfig, overriding pkg-config
2436 FONTCONFIG_LIBS
2437 Linker flags for fontconfig, overriding pkg-config
2438 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2439 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2440 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2441 PNG_LIBS Linker flags for libpng, overriding pkg-config
2442 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2443 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2444 MPG123_CFLAGS
2445 C compiler flags for libmpg123, overriding pkg-config
2446 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2447 NETAPI_CFLAGS
2448 C compiler flags for netapi, overriding pkg-config
2449 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2451 Use these variables to override the choices made by `configure' or to help
2452 it to find libraries and programs with nonstandard names/locations.
2454 Report bugs to <wine-devel@winehq.org>.
2455 Wine home page: <http://www.winehq.org>.
2456 _ACEOF
2457 ac_status=$?
2460 if test "$ac_init_help" = "recursive"; then
2461 # If there are subdirs, report their specific --help.
2462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2463 test -d "$ac_dir" ||
2464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2465 continue
2466 ac_builddir=.
2468 case "$ac_dir" in
2469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2471 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2472 # A ".." for each directory in $ac_dir_suffix.
2473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2474 case $ac_top_builddir_sub in
2475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2477 esac ;;
2478 esac
2479 ac_abs_top_builddir=$ac_pwd
2480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2481 # for backward compatibility:
2482 ac_top_builddir=$ac_top_build_prefix
2484 case $srcdir in
2485 .) # We are building in place.
2486 ac_srcdir=.
2487 ac_top_srcdir=$ac_top_builddir_sub
2488 ac_abs_top_srcdir=$ac_pwd ;;
2489 [\\/]* | ?:[\\/]* ) # Absolute name.
2490 ac_srcdir=$srcdir$ac_dir_suffix;
2491 ac_top_srcdir=$srcdir
2492 ac_abs_top_srcdir=$srcdir ;;
2493 *) # Relative name.
2494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2495 ac_top_srcdir=$ac_top_build_prefix$srcdir
2496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2497 esac
2498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2500 cd "$ac_dir" || { ac_status=$?; continue; }
2501 # Check for guested configure.
2502 if test -f "$ac_srcdir/configure.gnu"; then
2503 echo &&
2504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2505 elif test -f "$ac_srcdir/configure"; then
2506 echo &&
2507 $SHELL "$ac_srcdir/configure" --help=recursive
2508 else
2509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2510 fi || ac_status=$?
2511 cd "$ac_pwd" || { ac_status=$?; break; }
2512 done
2515 test -n "$ac_init_help" && exit $ac_status
2516 if $ac_init_version; then
2517 cat <<\_ACEOF
2518 Wine configure 2.7
2519 generated by GNU Autoconf 2.69
2521 Copyright (C) 2012 Free Software Foundation, Inc.
2522 This configure script is free software; the Free Software Foundation
2523 gives unlimited permission to copy, distribute and modify it.
2524 _ACEOF
2525 exit
2528 ## ------------------------ ##
2529 ## Autoconf initialization. ##
2530 ## ------------------------ ##
2532 # ac_fn_c_try_compile LINENO
2533 # --------------------------
2534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2535 ac_fn_c_try_compile ()
2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538 rm -f conftest.$ac_objext
2539 if { { ac_try="$ac_compile"
2540 case "(($ac_try" in
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2543 esac
2544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2545 $as_echo "$ac_try_echo"; } >&5
2546 (eval "$ac_compile") 2>conftest.err
2547 ac_status=$?
2548 if test -s conftest.err; then
2549 grep -v '^ *+' conftest.err >conftest.er1
2550 cat conftest.er1 >&5
2551 mv -f conftest.er1 conftest.err
2553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2554 test $ac_status = 0; } && {
2555 test -z "$ac_c_werror_flag" ||
2556 test ! -s conftest.err
2557 } && test -s conftest.$ac_objext; then :
2558 ac_retval=0
2559 else
2560 $as_echo "$as_me: failed program was:" >&5
2561 sed 's/^/| /' conftest.$ac_ext >&5
2563 ac_retval=1
2565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2566 as_fn_set_status $ac_retval
2568 } # ac_fn_c_try_compile
2570 # ac_fn_cxx_try_compile LINENO
2571 # ----------------------------
2572 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2573 ac_fn_cxx_try_compile ()
2575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2576 rm -f conftest.$ac_objext
2577 if { { ac_try="$ac_compile"
2578 case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2581 esac
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_compile") 2>conftest.err
2585 ac_status=$?
2586 if test -s conftest.err; then
2587 grep -v '^ *+' conftest.err >conftest.er1
2588 cat conftest.er1 >&5
2589 mv -f conftest.er1 conftest.err
2591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2592 test $ac_status = 0; } && {
2593 test -z "$ac_cxx_werror_flag" ||
2594 test ! -s conftest.err
2595 } && test -s conftest.$ac_objext; then :
2596 ac_retval=0
2597 else
2598 $as_echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2601 ac_retval=1
2603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 as_fn_set_status $ac_retval
2606 } # ac_fn_cxx_try_compile
2608 # ac_fn_c_try_link LINENO
2609 # -----------------------
2610 # Try to link conftest.$ac_ext, and return whether this succeeded.
2611 ac_fn_c_try_link ()
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 rm -f conftest.$ac_objext conftest$ac_exeext
2615 if { { ac_try="$ac_link"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2621 $as_echo "$ac_try_echo"; } >&5
2622 (eval "$ac_link") 2>conftest.err
2623 ac_status=$?
2624 if test -s conftest.err; then
2625 grep -v '^ *+' conftest.err >conftest.er1
2626 cat conftest.er1 >&5
2627 mv -f conftest.er1 conftest.err
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; } && {
2631 test -z "$ac_c_werror_flag" ||
2632 test ! -s conftest.err
2633 } && test -s conftest$ac_exeext && {
2634 test "$cross_compiling" = yes ||
2635 test -x conftest$ac_exeext
2636 }; then :
2637 ac_retval=0
2638 else
2639 $as_echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2642 ac_retval=1
2644 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2645 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2646 # interfere with the next link command; also delete a directory that is
2647 # left behind by Apple's compiler. We do this before executing the actions.
2648 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2650 as_fn_set_status $ac_retval
2652 } # ac_fn_c_try_link
2654 # ac_fn_c_try_cpp LINENO
2655 # ----------------------
2656 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2657 ac_fn_c_try_cpp ()
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 if { { ac_try="$ac_cpp conftest.$ac_ext"
2661 case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2666 $as_echo "$ac_try_echo"; } >&5
2667 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2668 ac_status=$?
2669 if test -s conftest.err; then
2670 grep -v '^ *+' conftest.err >conftest.er1
2671 cat conftest.er1 >&5
2672 mv -f conftest.er1 conftest.err
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; } > conftest.i && {
2676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2677 test ! -s conftest.err
2678 }; then :
2679 ac_retval=0
2680 else
2681 $as_echo "$as_me: failed program was:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2684 ac_retval=1
2686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2687 as_fn_set_status $ac_retval
2689 } # ac_fn_c_try_cpp
2691 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2692 # -------------------------------------------------------
2693 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2694 # the include files in INCLUDES and setting the cache variable VAR
2695 # accordingly.
2696 ac_fn_c_check_header_mongrel ()
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699 if eval \${$3+:} false; then :
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2701 $as_echo_n "checking for $2... " >&6; }
2702 if eval \${$3+:} false; then :
2703 $as_echo_n "(cached) " >&6
2705 eval ac_res=\$$3
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 $as_echo "$ac_res" >&6; }
2708 else
2709 # Is the header compilable?
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2711 $as_echo_n "checking $2 usability... " >&6; }
2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713 /* end confdefs.h. */
2715 #include <$2>
2716 _ACEOF
2717 if ac_fn_c_try_compile "$LINENO"; then :
2718 ac_header_compiler=yes
2719 else
2720 ac_header_compiler=no
2722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2724 $as_echo "$ac_header_compiler" >&6; }
2726 # Is the header present?
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2728 $as_echo_n "checking $2 presence... " >&6; }
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2731 #include <$2>
2732 _ACEOF
2733 if ac_fn_c_try_cpp "$LINENO"; then :
2734 ac_header_preproc=yes
2735 else
2736 ac_header_preproc=no
2738 rm -f conftest.err conftest.i conftest.$ac_ext
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2740 $as_echo "$ac_header_preproc" >&6; }
2742 # So? What about this header?
2743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2744 yes:no: )
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2746 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2750 no:yes:* )
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2752 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2754 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2756 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2758 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2761 ( $as_echo "## ------------------------------------ ##
2762 ## Report this to wine-devel@winehq.org ##
2763 ## ------------------------------------ ##"
2764 ) | sed "s/^/$as_me: WARNING: /" >&2
2766 esac
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2768 $as_echo_n "checking for $2... " >&6; }
2769 if eval \${$3+:} false; then :
2770 $as_echo_n "(cached) " >&6
2771 else
2772 eval "$3=\$ac_header_compiler"
2774 eval ac_res=\$$3
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2776 $as_echo "$ac_res" >&6; }
2778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2780 } # ac_fn_c_check_header_mongrel
2782 # ac_fn_c_try_run LINENO
2783 # ----------------------
2784 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2785 # that executables *can* be run.
2786 ac_fn_c_try_run ()
2788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2789 if { { ac_try="$ac_link"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_link") 2>&5
2797 ac_status=$?
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2800 { { case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_try") 2>&5
2807 ac_status=$?
2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; }; }; then :
2810 ac_retval=0
2811 else
2812 $as_echo "$as_me: program exited with status $ac_status" >&5
2813 $as_echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.$ac_ext >&5
2816 ac_retval=$ac_status
2818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 as_fn_set_status $ac_retval
2822 } # ac_fn_c_try_run
2824 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2825 # -------------------------------------------------------
2826 # Tests whether HEADER exists and can be compiled using the include files in
2827 # INCLUDES, setting the cache variable VAR accordingly.
2828 ac_fn_c_check_header_compile ()
2830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2832 $as_echo_n "checking for $2... " >&6; }
2833 if eval \${$3+:} false; then :
2834 $as_echo_n "(cached) " >&6
2835 else
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2839 #include <$2>
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 eval "$3=yes"
2843 else
2844 eval "$3=no"
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 eval ac_res=\$$3
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2850 $as_echo "$ac_res" >&6; }
2851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2853 } # ac_fn_c_check_header_compile
2855 # ac_fn_c_check_func LINENO FUNC VAR
2856 # ----------------------------------
2857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2858 ac_fn_c_check_func ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2862 $as_echo_n "checking for $2... " >&6; }
2863 if eval \${$3+:} false; then :
2864 $as_echo_n "(cached) " >&6
2865 else
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2870 #define $2 innocuous_$2
2872 /* System header to define __stub macros and hopefully few prototypes,
2873 which can conflict with char $2 (); below.
2874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2875 <limits.h> exists even on freestanding compilers. */
2877 #ifdef __STDC__
2878 # include <limits.h>
2879 #else
2880 # include <assert.h>
2881 #endif
2883 #undef $2
2885 /* Override any GCC internal prototype to avoid an error.
2886 Use char because int might match the return type of a GCC
2887 builtin and then its argument prototype would still apply. */
2888 #ifdef __cplusplus
2889 extern "C"
2890 #endif
2891 char $2 ();
2892 /* The GNU C library defines this for functions which it implements
2893 to always fail with ENOSYS. Some functions are actually named
2894 something starting with __ and the normal name is an alias. */
2895 #if defined __stub_$2 || defined __stub___$2
2896 choke me
2897 #endif
2900 main ()
2902 return $2 ();
2904 return 0;
2906 _ACEOF
2907 if ac_fn_c_try_link "$LINENO"; then :
2908 eval "$3=yes"
2909 else
2910 eval "$3=no"
2912 rm -f core conftest.err conftest.$ac_objext \
2913 conftest$ac_exeext conftest.$ac_ext
2915 eval ac_res=\$$3
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2917 $as_echo "$ac_res" >&6; }
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2920 } # ac_fn_c_check_func
2922 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2923 # ----------------------------------------------------
2924 # Tries to find if the field MEMBER exists in type AGGR, after including
2925 # INCLUDES, setting cache variable VAR accordingly.
2926 ac_fn_c_check_member ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2930 $as_echo_n "checking for $2.$3... " >&6; }
2931 if eval \${$4+:} false; then :
2932 $as_echo_n "(cached) " >&6
2933 else
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2938 main ()
2940 static $2 ac_aggr;
2941 if (ac_aggr.$3)
2942 return 0;
2944 return 0;
2946 _ACEOF
2947 if ac_fn_c_try_compile "$LINENO"; then :
2948 eval "$4=yes"
2949 else
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2954 main ()
2956 static $2 ac_aggr;
2957 if (sizeof ac_aggr.$3)
2958 return 0;
2960 return 0;
2962 _ACEOF
2963 if ac_fn_c_try_compile "$LINENO"; then :
2964 eval "$4=yes"
2965 else
2966 eval "$4=no"
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 eval ac_res=\$$4
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2974 $as_echo "$ac_res" >&6; }
2975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2977 } # ac_fn_c_check_member
2979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2980 # -------------------------------------------
2981 # Tests whether TYPE exists after having included INCLUDES, setting cache
2982 # variable VAR accordingly.
2983 ac_fn_c_check_type ()
2985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2987 $as_echo_n "checking for $2... " >&6; }
2988 if eval \${$3+:} false; then :
2989 $as_echo_n "(cached) " >&6
2990 else
2991 eval "$3=no"
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2996 main ()
2998 if (sizeof ($2))
2999 return 0;
3001 return 0;
3003 _ACEOF
3004 if ac_fn_c_try_compile "$LINENO"; then :
3005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3006 /* end confdefs.h. */
3009 main ()
3011 if (sizeof (($2)))
3012 return 0;
3014 return 0;
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"; then :
3019 else
3020 eval "$3=yes"
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026 eval ac_res=\$$3
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 $as_echo "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_type
3032 cat >config.log <<_ACEOF
3033 This file contains any messages produced by compilers while
3034 running configure, to aid debugging if configure makes a mistake.
3036 It was created by Wine $as_me 2.7, which was
3037 generated by GNU Autoconf 2.69. Invocation command line was
3039 $ $0 $@
3041 _ACEOF
3042 exec 5>>config.log
3044 cat <<_ASUNAME
3045 ## --------- ##
3046 ## Platform. ##
3047 ## --------- ##
3049 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3050 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3051 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3052 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3053 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3055 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3056 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3058 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3059 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3060 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3061 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3062 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3063 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3064 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3066 _ASUNAME
3068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3069 for as_dir in $PATH
3071 IFS=$as_save_IFS
3072 test -z "$as_dir" && as_dir=.
3073 $as_echo "PATH: $as_dir"
3074 done
3075 IFS=$as_save_IFS
3077 } >&5
3079 cat >&5 <<_ACEOF
3082 ## ----------- ##
3083 ## Core tests. ##
3084 ## ----------- ##
3086 _ACEOF
3089 # Keep a trace of the command line.
3090 # Strip out --no-create and --no-recursion so they do not pile up.
3091 # Strip out --silent because we don't want to record it for future runs.
3092 # Also quote any args containing shell meta-characters.
3093 # Make two passes to allow for proper duplicate-argument suppression.
3094 ac_configure_args=
3095 ac_configure_args0=
3096 ac_configure_args1=
3097 ac_must_keep_next=false
3098 for ac_pass in 1 2
3100 for ac_arg
3102 case $ac_arg in
3103 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3105 | -silent | --silent | --silen | --sile | --sil)
3106 continue ;;
3107 *\'*)
3108 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3109 esac
3110 case $ac_pass in
3111 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3113 as_fn_append ac_configure_args1 " '$ac_arg'"
3114 if test $ac_must_keep_next = true; then
3115 ac_must_keep_next=false # Got value, back to normal.
3116 else
3117 case $ac_arg in
3118 *=* | --config-cache | -C | -disable-* | --disable-* \
3119 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3120 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3121 | -with-* | --with-* | -without-* | --without-* | --x)
3122 case "$ac_configure_args0 " in
3123 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3124 esac
3126 -* ) ac_must_keep_next=true ;;
3127 esac
3129 as_fn_append ac_configure_args " '$ac_arg'"
3131 esac
3132 done
3133 done
3134 { ac_configure_args0=; unset ac_configure_args0;}
3135 { ac_configure_args1=; unset ac_configure_args1;}
3137 # When interrupted or exit'd, cleanup temporary files, and complete
3138 # config.log. We remove comments because anyway the quotes in there
3139 # would cause problems or look ugly.
3140 # WARNING: Use '\'' to represent an apostrophe within the trap.
3141 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3142 trap 'exit_status=$?
3143 # Save into config.log some information that might help in debugging.
3145 echo
3147 $as_echo "## ---------------- ##
3148 ## Cache variables. ##
3149 ## ---------------- ##"
3150 echo
3151 # The following way of writing the cache mishandles newlines in values,
3153 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3154 eval ac_val=\$$ac_var
3155 case $ac_val in #(
3156 *${as_nl}*)
3157 case $ac_var in #(
3158 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3159 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3160 esac
3161 case $ac_var in #(
3162 _ | IFS | as_nl) ;; #(
3163 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3164 *) { eval $ac_var=; unset $ac_var;} ;;
3165 esac ;;
3166 esac
3167 done
3168 (set) 2>&1 |
3169 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3170 *${as_nl}ac_space=\ *)
3171 sed -n \
3172 "s/'\''/'\''\\\\'\'''\''/g;
3173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3174 ;; #(
3176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3178 esac |
3179 sort
3181 echo
3183 $as_echo "## ----------------- ##
3184 ## Output variables. ##
3185 ## ----------------- ##"
3186 echo
3187 for ac_var in $ac_subst_vars
3189 eval ac_val=\$$ac_var
3190 case $ac_val in
3191 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3192 esac
3193 $as_echo "$ac_var='\''$ac_val'\''"
3194 done | sort
3195 echo
3197 if test -n "$ac_subst_files"; then
3198 $as_echo "## ------------------- ##
3199 ## File substitutions. ##
3200 ## ------------------- ##"
3201 echo
3202 for ac_var in $ac_subst_files
3204 eval ac_val=\$$ac_var
3205 case $ac_val in
3206 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3207 esac
3208 $as_echo "$ac_var='\''$ac_val'\''"
3209 done | sort
3210 echo
3213 if test -s confdefs.h; then
3214 $as_echo "## ----------- ##
3215 ## confdefs.h. ##
3216 ## ----------- ##"
3217 echo
3218 cat confdefs.h
3219 echo
3221 test "$ac_signal" != 0 &&
3222 $as_echo "$as_me: caught signal $ac_signal"
3223 $as_echo "$as_me: exit $exit_status"
3224 } >&5
3225 rm -f core *.core core.conftest.* &&
3226 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3227 exit $exit_status
3229 for ac_signal in 1 2 13 15; do
3230 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3231 done
3232 ac_signal=0
3234 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3235 rm -f -r conftest* confdefs.h
3237 $as_echo "/* confdefs.h */" > confdefs.h
3239 # Predefined preprocessor variables.
3241 cat >>confdefs.h <<_ACEOF
3242 #define PACKAGE_NAME "$PACKAGE_NAME"
3243 _ACEOF
3245 cat >>confdefs.h <<_ACEOF
3246 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3247 _ACEOF
3249 cat >>confdefs.h <<_ACEOF
3250 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3251 _ACEOF
3253 cat >>confdefs.h <<_ACEOF
3254 #define PACKAGE_STRING "$PACKAGE_STRING"
3255 _ACEOF
3257 cat >>confdefs.h <<_ACEOF
3258 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3259 _ACEOF
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_URL "$PACKAGE_URL"
3263 _ACEOF
3266 # Let the site file select an alternate cache file if it wants to.
3267 # Prefer an explicitly selected file to automatically selected ones.
3268 ac_site_file1=NONE
3269 ac_site_file2=NONE
3270 if test -n "$CONFIG_SITE"; then
3271 # We do not want a PATH search for config.site.
3272 case $CONFIG_SITE in #((
3273 -*) ac_site_file1=./$CONFIG_SITE;;
3274 */*) ac_site_file1=$CONFIG_SITE;;
3275 *) ac_site_file1=./$CONFIG_SITE;;
3276 esac
3277 elif test "x$prefix" != xNONE; then
3278 ac_site_file1=$prefix/share/config.site
3279 ac_site_file2=$prefix/etc/config.site
3280 else
3281 ac_site_file1=$ac_default_prefix/share/config.site
3282 ac_site_file2=$ac_default_prefix/etc/config.site
3284 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3286 test "x$ac_site_file" = xNONE && continue
3287 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3289 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3290 sed 's/^/| /' "$ac_site_file" >&5
3291 . "$ac_site_file" \
3292 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3294 as_fn_error $? "failed to load site script $ac_site_file
3295 See \`config.log' for more details" "$LINENO" 5; }
3297 done
3299 if test -r "$cache_file"; then
3300 # Some versions of bash will fail to source /dev/null (special files
3301 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3302 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3304 $as_echo "$as_me: loading cache $cache_file" >&6;}
3305 case $cache_file in
3306 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3307 *) . "./$cache_file";;
3308 esac
3310 else
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3312 $as_echo "$as_me: creating cache $cache_file" >&6;}
3313 >$cache_file
3316 # Check that the precious variables saved in the cache have kept the same
3317 # value.
3318 ac_cache_corrupted=false
3319 for ac_var in $ac_precious_vars; do
3320 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3321 eval ac_new_set=\$ac_env_${ac_var}_set
3322 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3323 eval ac_new_val=\$ac_env_${ac_var}_value
3324 case $ac_old_set,$ac_new_set in
3325 set,)
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3327 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3328 ac_cache_corrupted=: ;;
3329 ,set)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3331 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3332 ac_cache_corrupted=: ;;
3333 ,);;
3335 if test "x$ac_old_val" != "x$ac_new_val"; then
3336 # differences in whitespace do not lead to failure.
3337 ac_old_val_w=`echo x $ac_old_val`
3338 ac_new_val_w=`echo x $ac_new_val`
3339 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3341 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3342 ac_cache_corrupted=:
3343 else
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3345 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3346 eval $ac_var=\$ac_old_val
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3349 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3351 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3352 fi;;
3353 esac
3354 # Pass precious variables to config.status.
3355 if test "$ac_new_set" = set; then
3356 case $ac_new_val in
3357 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3358 *) ac_arg=$ac_var=$ac_new_val ;;
3359 esac
3360 case " $ac_configure_args " in
3361 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3362 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3363 esac
3365 done
3366 if $ac_cache_corrupted; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3370 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3371 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3373 ## -------------------- ##
3374 ## Main body of script. ##
3375 ## -------------------- ##
3377 ac_ext=c
3378 ac_cpp='$CPP $CPPFLAGS'
3379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3385 ac_config_headers="$ac_config_headers include/config.h"
3387 ac_aux_dir=
3388 for ac_dir in tools "$srcdir"/tools; do
3389 if test -f "$ac_dir/install-sh"; then
3390 ac_aux_dir=$ac_dir
3391 ac_install_sh="$ac_aux_dir/install-sh -c"
3392 break
3393 elif test -f "$ac_dir/install.sh"; then
3394 ac_aux_dir=$ac_dir
3395 ac_install_sh="$ac_aux_dir/install.sh -c"
3396 break
3397 elif test -f "$ac_dir/shtool"; then
3398 ac_aux_dir=$ac_dir
3399 ac_install_sh="$ac_aux_dir/shtool install -c"
3400 break
3402 done
3403 if test -z "$ac_aux_dir"; then
3404 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3407 # These three variables are undocumented and unsupported,
3408 # and are intended to be withdrawn in a future Autoconf release.
3409 # They can cause serious problems if a builder's source tree is in a directory
3410 # whose full name contains unusual characters.
3411 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3412 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3413 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3417 libwine_version="1.0"
3421 # Check whether --enable-win16 was given.
3422 if test "${enable_win16+set}" = set; then :
3423 enableval=$enable_win16;
3426 # Check whether --enable-win64 was given.
3427 if test "${enable_win64+set}" = set; then :
3428 enableval=$enable_win64;
3431 # Check whether --enable-tests was given.
3432 if test "${enable_tests+set}" = set; then :
3433 enableval=$enable_tests;
3436 # Check whether --enable-maintainer-mode was given.
3437 if test "${enable_maintainer_mode+set}" = set; then :
3438 enableval=$enable_maintainer_mode;
3443 # Check whether --with-alsa was given.
3444 if test "${with_alsa+set}" = set; then :
3445 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3449 # Check whether --with-capi was given.
3450 if test "${with_capi+set}" = set; then :
3451 withval=$with_capi;
3455 # Check whether --with-cms was given.
3456 if test "${with_cms+set}" = set; then :
3457 withval=$with_cms;
3461 # Check whether --with-coreaudio was given.
3462 if test "${with_coreaudio+set}" = set; then :
3463 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3467 # Check whether --with-cups was given.
3468 if test "${with_cups+set}" = set; then :
3469 withval=$with_cups;
3473 # Check whether --with-curses was given.
3474 if test "${with_curses+set}" = set; then :
3475 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3479 # Check whether --with-dbus was given.
3480 if test "${with_dbus+set}" = set; then :
3481 withval=$with_dbus;
3485 # Check whether --with-fontconfig was given.
3486 if test "${with_fontconfig+set}" = set; then :
3487 withval=$with_fontconfig;
3491 # Check whether --with-freetype was given.
3492 if test "${with_freetype+set}" = set; then :
3493 withval=$with_freetype;
3497 # Check whether --with-gettext was given.
3498 if test "${with_gettext+set}" = set; then :
3499 withval=$with_gettext;
3503 # Check whether --with-gettextpo was given.
3504 if test "${with_gettextpo+set}" = set; then :
3505 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3509 # Check whether --with-gphoto was given.
3510 if test "${with_gphoto+set}" = set; then :
3511 withval=$with_gphoto;
3515 # Check whether --with-glu was given.
3516 if test "${with_glu+set}" = set; then :
3517 withval=$with_glu;
3521 # Check whether --with-gnutls was given.
3522 if test "${with_gnutls+set}" = set; then :
3523 withval=$with_gnutls;
3527 # Check whether --with-gsm was given.
3528 if test "${with_gsm+set}" = set; then :
3529 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3533 # Check whether --with-gstreamer was given.
3534 if test "${with_gstreamer+set}" = set; then :
3535 withval=$with_gstreamer;
3539 # Check whether --with-hal was given.
3540 if test "${with_hal+set}" = set; then :
3541 withval=$with_hal;
3545 # Check whether --with-jpeg was given.
3546 if test "${with_jpeg+set}" = set; then :
3547 withval=$with_jpeg;
3551 # Check whether --with-ldap was given.
3552 if test "${with_ldap+set}" = set; then :
3553 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3557 # Check whether --with-mpg123 was given.
3558 if test "${with_mpg123+set}" = set; then :
3559 withval=$with_mpg123;
3563 # Check whether --with-netapi was given.
3564 if test "${with_netapi+set}" = set; then :
3565 withval=$with_netapi;
3569 # Check whether --with-openal was given.
3570 if test "${with_openal+set}" = set; then :
3571 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3575 # Check whether --with-opencl was given.
3576 if test "${with_opencl+set}" = set; then :
3577 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3581 # Check whether --with-opengl was given.
3582 if test "${with_opengl+set}" = set; then :
3583 withval=$with_opengl;
3587 # Check whether --with-osmesa was given.
3588 if test "${with_osmesa+set}" = set; then :
3589 withval=$with_osmesa;
3593 # Check whether --with-oss was given.
3594 if test "${with_oss+set}" = set; then :
3595 withval=$with_oss;
3599 # Check whether --with-pcap was given.
3600 if test "${with_pcap+set}" = set; then :
3601 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3605 # Check whether --with-png was given.
3606 if test "${with_png+set}" = set; then :
3607 withval=$with_png;
3611 # Check whether --with-pthread was given.
3612 if test "${with_pthread+set}" = set; then :
3613 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3617 # Check whether --with-pulse was given.
3618 if test "${with_pulse+set}" = set; then :
3619 withval=$with_pulse;
3623 # Check whether --with-sane was given.
3624 if test "${with_sane+set}" = set; then :
3625 withval=$with_sane;
3629 # Check whether --with-tiff was given.
3630 if test "${with_tiff+set}" = set; then :
3631 withval=$with_tiff;
3635 # Check whether --with-udev was given.
3636 if test "${with_udev+set}" = set; then :
3637 withval=$with_udev;
3641 # Check whether --with-v4l was given.
3642 if test "${with_v4l+set}" = set; then :
3643 withval=$with_v4l;
3647 # Check whether --with-xcomposite was given.
3648 if test "${with_xcomposite+set}" = set; then :
3649 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3653 # Check whether --with-xcursor was given.
3654 if test "${with_xcursor+set}" = set; then :
3655 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3659 # Check whether --with-xinerama was given.
3660 if test "${with_xinerama+set}" = set; then :
3661 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3665 # Check whether --with-xinput was given.
3666 if test "${with_xinput+set}" = set; then :
3667 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3671 # Check whether --with-xinput2 was given.
3672 if test "${with_xinput2+set}" = set; then :
3673 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3677 # Check whether --with-xml was given.
3678 if test "${with_xml+set}" = set; then :
3679 withval=$with_xml;
3683 # Check whether --with-xrandr was given.
3684 if test "${with_xrandr+set}" = set; then :
3685 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3689 # Check whether --with-xrender was given.
3690 if test "${with_xrender+set}" = set; then :
3691 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3695 # Check whether --with-xshape was given.
3696 if test "${with_xshape+set}" = set; then :
3697 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3701 # Check whether --with-xshm was given.
3702 if test "${with_xshm+set}" = set; then :
3703 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3707 # Check whether --with-xslt was given.
3708 if test "${with_xslt+set}" = set; then :
3709 withval=$with_xslt;
3713 # Check whether --with-xxf86vm was given.
3714 if test "${with_xxf86vm+set}" = set; then :
3715 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
3719 # Check whether --with-zlib was given.
3720 if test "${with_zlib+set}" = set; then :
3721 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3726 # Check whether --with-wine-tools was given.
3727 if test "${with_wine_tools+set}" = set; then :
3728 withval=$with_wine_tools;
3732 # Check whether --with-wine64 was given.
3733 if test "${with_wine64+set}" = set; then :
3734 withval=$with_wine64;
3738 # Make sure we can run config.sub.
3739 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3740 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3743 $as_echo_n "checking build system type... " >&6; }
3744 if ${ac_cv_build+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 ac_build_alias=$build_alias
3748 test "x$ac_build_alias" = x &&
3749 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3750 test "x$ac_build_alias" = x &&
3751 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3752 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3753 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3757 $as_echo "$ac_cv_build" >&6; }
3758 case $ac_cv_build in
3759 *-*-*) ;;
3760 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3761 esac
3762 build=$ac_cv_build
3763 ac_save_IFS=$IFS; IFS='-'
3764 set x $ac_cv_build
3765 shift
3766 build_cpu=$1
3767 build_vendor=$2
3768 shift; shift
3769 # Remember, the first character of IFS is used to create $*,
3770 # except with old shells:
3771 build_os=$*
3772 IFS=$ac_save_IFS
3773 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3777 $as_echo_n "checking host system type... " >&6; }
3778 if ${ac_cv_host+:} false; then :
3779 $as_echo_n "(cached) " >&6
3780 else
3781 if test "x$host_alias" = x; then
3782 ac_cv_host=$ac_cv_build
3783 else
3784 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3785 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3790 $as_echo "$ac_cv_host" >&6; }
3791 case $ac_cv_host in
3792 *-*-*) ;;
3793 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3794 esac
3795 host=$ac_cv_host
3796 ac_save_IFS=$IFS; IFS='-'
3797 set x $ac_cv_host
3798 shift
3799 host_cpu=$1
3800 host_vendor=$2
3801 shift; shift
3802 # Remember, the first character of IFS is used to create $*,
3803 # except with old shells:
3804 host_os=$*
3805 IFS=$ac_save_IFS
3806 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3810 case "$srcdir" in
3811 .) ;;
3812 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3813 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3814 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3815 fi ;;
3816 esac
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3820 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3821 set x ${MAKE-make}
3822 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3823 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3824 $as_echo_n "(cached) " >&6
3825 else
3826 cat >conftest.make <<\_ACEOF
3827 SHELL = /bin/sh
3828 all:
3829 @echo '@@@%%%=$(MAKE)=@@@%%%'
3830 _ACEOF
3831 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3832 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3833 *@@@%%%=?*=@@@%%%*)
3834 eval ac_cv_prog_make_${ac_make}_set=yes;;
3836 eval ac_cv_prog_make_${ac_make}_set=no;;
3837 esac
3838 rm -f conftest.make
3840 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3842 $as_echo "yes" >&6; }
3843 SET_MAKE=
3844 else
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3847 SET_MAKE="MAKE=${MAKE-make}"
3850 ac_ext=c
3851 ac_cpp='$CPP $CPPFLAGS'
3852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3855 if test -n "$ac_tool_prefix"; then
3856 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3857 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_CC+:} false; then :
3861 $as_echo_n "(cached) " >&6
3862 else
3863 if test -n "$CC"; then
3864 ac_cv_prog_CC="$CC" # Let the user override the test.
3865 else
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 for as_dir in $PATH
3869 IFS=$as_save_IFS
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 break 2
3877 done
3878 done
3879 IFS=$as_save_IFS
3883 CC=$ac_cv_prog_CC
3884 if test -n "$CC"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3886 $as_echo "$CC" >&6; }
3887 else
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3894 if test -z "$ac_cv_prog_CC"; then
3895 ac_ct_CC=$CC
3896 # Extract the first word of "gcc", so it can be a program name with args.
3897 set dummy gcc; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$ac_ct_CC"; then
3904 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_ac_ct_CC="gcc"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3917 done
3918 done
3919 IFS=$as_save_IFS
3923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3924 if test -n "$ac_ct_CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3926 $as_echo "$ac_ct_CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3932 if test "x$ac_ct_CC" = x; then
3933 CC=""
3934 else
3935 case $cross_compiling:$ac_tool_warned in
3936 yes:)
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3939 ac_tool_warned=yes ;;
3940 esac
3941 CC=$ac_ct_CC
3943 else
3944 CC="$ac_cv_prog_CC"
3947 if test -z "$CC"; then
3948 if test -n "$ac_tool_prefix"; then
3949 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3950 set dummy ${ac_tool_prefix}cc; ac_word=$2
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952 $as_echo_n "checking for $ac_word... " >&6; }
3953 if ${ac_cv_prog_CC+:} false; then :
3954 $as_echo_n "(cached) " >&6
3955 else
3956 if test -n "$CC"; then
3957 ac_cv_prog_CC="$CC" # Let the user override the test.
3958 else
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3960 for as_dir in $PATH
3962 IFS=$as_save_IFS
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_prog_CC="${ac_tool_prefix}cc"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 break 2
3970 done
3971 done
3972 IFS=$as_save_IFS
3976 CC=$ac_cv_prog_CC
3977 if test -n "$CC"; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3979 $as_echo "$CC" >&6; }
3980 else
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3988 if test -z "$CC"; then
3989 # Extract the first word of "cc", so it can be a program name with args.
3990 set dummy cc; ac_word=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if ${ac_cv_prog_CC+:} false; then :
3994 $as_echo_n "(cached) " >&6
3995 else
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC="$CC" # Let the user override the test.
3998 else
3999 ac_prog_rejected=no
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH
4003 IFS=$as_save_IFS
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4008 ac_prog_rejected=yes
4009 continue
4011 ac_cv_prog_CC="cc"
4012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 break 2
4015 done
4016 done
4017 IFS=$as_save_IFS
4019 if test $ac_prog_rejected = yes; then
4020 # We found a bogon in the path, so make sure we never use it.
4021 set dummy $ac_cv_prog_CC
4022 shift
4023 if test $# != 0; then
4024 # We chose a different compiler from the bogus one.
4025 # However, it has the same basename, so the bogon will be chosen
4026 # first if we set CC to just the basename; use the full file name.
4027 shift
4028 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4033 CC=$ac_cv_prog_CC
4034 if test -n "$CC"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036 $as_echo "$CC" >&6; }
4037 else
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4044 if test -z "$CC"; then
4045 if test -n "$ac_tool_prefix"; then
4046 for ac_prog in cl.exe
4048 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4049 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if ${ac_cv_prog_CC+:} false; then :
4053 $as_echo_n "(cached) " >&6
4054 else
4055 if test -n "$CC"; then
4056 ac_cv_prog_CC="$CC" # Let the user override the test.
4057 else
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 break 2
4069 done
4070 done
4071 IFS=$as_save_IFS
4075 CC=$ac_cv_prog_CC
4076 if test -n "$CC"; then
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4078 $as_echo "$CC" >&6; }
4079 else
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4081 $as_echo "no" >&6; }
4085 test -n "$CC" && break
4086 done
4088 if test -z "$CC"; then
4089 ac_ct_CC=$CC
4090 for ac_prog in cl.exe
4092 # Extract the first word of "$ac_prog", so it can be a program name with args.
4093 set dummy $ac_prog; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 if test -n "$ac_ct_CC"; then
4100 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4101 else
4102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4103 for as_dir in $PATH
4105 IFS=$as_save_IFS
4106 test -z "$as_dir" && as_dir=.
4107 for ac_exec_ext in '' $ac_executable_extensions; do
4108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4109 ac_cv_prog_ac_ct_CC="$ac_prog"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4111 break 2
4113 done
4114 done
4115 IFS=$as_save_IFS
4119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4120 if test -n "$ac_ct_CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4122 $as_echo "$ac_ct_CC" >&6; }
4123 else
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4129 test -n "$ac_ct_CC" && break
4130 done
4132 if test "x$ac_ct_CC" = x; then
4133 CC=""
4134 else
4135 case $cross_compiling:$ac_tool_warned in
4136 yes:)
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4139 ac_tool_warned=yes ;;
4140 esac
4141 CC=$ac_ct_CC
4148 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4150 as_fn_error $? "no acceptable C compiler found in \$PATH
4151 See \`config.log' for more details" "$LINENO" 5; }
4153 # Provide some information about the compiler.
4154 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4155 set X $ac_compile
4156 ac_compiler=$2
4157 for ac_option in --version -v -V -qversion; do
4158 { { ac_try="$ac_compiler $ac_option >&5"
4159 case "(($ac_try" in
4160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4161 *) ac_try_echo=$ac_try;;
4162 esac
4163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4164 $as_echo "$ac_try_echo"; } >&5
4165 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4166 ac_status=$?
4167 if test -s conftest.err; then
4168 sed '10a\
4169 ... rest of stderr output deleted ...
4170 10q' conftest.err >conftest.er1
4171 cat conftest.er1 >&5
4173 rm -f conftest.er1 conftest.err
4174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4175 test $ac_status = 0; }
4176 done
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4186 return 0;
4188 _ACEOF
4189 ac_clean_files_save=$ac_clean_files
4190 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4191 # Try to create an executable without -o first, disregard a.out.
4192 # It will help us diagnose broken compilers, and finding out an intuition
4193 # of exeext.
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4195 $as_echo_n "checking whether the C compiler works... " >&6; }
4196 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4198 # The possible output files:
4199 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4201 ac_rmfiles=
4202 for ac_file in $ac_files
4204 case $ac_file in
4205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4206 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4207 esac
4208 done
4209 rm -f $ac_rmfiles
4211 if { { ac_try="$ac_link_default"
4212 case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4217 $as_echo "$ac_try_echo"; } >&5
4218 (eval "$ac_link_default") 2>&5
4219 ac_status=$?
4220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4221 test $ac_status = 0; }; then :
4222 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4223 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4224 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4225 # so that the user can short-circuit this test for compilers unknown to
4226 # Autoconf.
4227 for ac_file in $ac_files ''
4229 test -f "$ac_file" || continue
4230 case $ac_file in
4231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4233 [ab].out )
4234 # We found the default executable, but exeext='' is most
4235 # certainly right.
4236 break;;
4237 *.* )
4238 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4239 then :; else
4240 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4242 # We set ac_cv_exeext here because the later test for it is not
4243 # safe: cross compilers may not add the suffix if given an `-o'
4244 # argument, so we may need to know it at that point already.
4245 # Even if this section looks crufty: it has the advantage of
4246 # actually working.
4247 break;;
4249 break;;
4250 esac
4251 done
4252 test "$ac_cv_exeext" = no && ac_cv_exeext=
4254 else
4255 ac_file=''
4257 if test -z "$ac_file"; then :
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4260 $as_echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4265 as_fn_error 77 "C compiler cannot create executables
4266 See \`config.log' for more details" "$LINENO" 5; }
4267 else
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4269 $as_echo "yes" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4272 $as_echo_n "checking for C compiler default output file name... " >&6; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4274 $as_echo "$ac_file" >&6; }
4275 ac_exeext=$ac_cv_exeext
4277 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4278 ac_clean_files=$ac_clean_files_save
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4280 $as_echo_n "checking for suffix of executables... " >&6; }
4281 if { { ac_try="$ac_link"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_link") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4293 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4294 # work properly (i.e., refer to `conftest.exe'), while it won't with
4295 # `rm'.
4296 for ac_file in conftest.exe conftest conftest.*; do
4297 test -f "$ac_file" || continue
4298 case $ac_file in
4299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4300 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4301 break;;
4302 * ) break;;
4303 esac
4304 done
4305 else
4306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4308 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4309 See \`config.log' for more details" "$LINENO" 5; }
4311 rm -f conftest conftest$ac_cv_exeext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4313 $as_echo "$ac_cv_exeext" >&6; }
4315 rm -f conftest.$ac_ext
4316 EXEEXT=$ac_cv_exeext
4317 ac_exeext=$EXEEXT
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4320 #include <stdio.h>
4322 main ()
4324 FILE *f = fopen ("conftest.out", "w");
4325 return ferror (f) || fclose (f) != 0;
4328 return 0;
4330 _ACEOF
4331 ac_clean_files="$ac_clean_files conftest.out"
4332 # Check that the compiler produces executables we can run. If not, either
4333 # the compiler is broken, or we cross compile.
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4335 $as_echo_n "checking whether we are cross compiling... " >&6; }
4336 if test "$cross_compiling" != yes; then
4337 { { ac_try="$ac_link"
4338 case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4343 $as_echo "$ac_try_echo"; } >&5
4344 (eval "$ac_link") 2>&5
4345 ac_status=$?
4346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347 test $ac_status = 0; }
4348 if { ac_try='./conftest$ac_cv_exeext'
4349 { { case "(($ac_try" in
4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4351 *) ac_try_echo=$ac_try;;
4352 esac
4353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4354 $as_echo "$ac_try_echo"; } >&5
4355 (eval "$ac_try") 2>&5
4356 ac_status=$?
4357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 test $ac_status = 0; }; }; then
4359 cross_compiling=no
4360 else
4361 if test "$cross_compiling" = maybe; then
4362 cross_compiling=yes
4363 else
4364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4366 as_fn_error $? "cannot run C compiled programs.
4367 If you meant to cross compile, use \`--host'.
4368 See \`config.log' for more details" "$LINENO" 5; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4373 $as_echo "$cross_compiling" >&6; }
4375 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4376 ac_clean_files=$ac_clean_files_save
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4378 $as_echo_n "checking for suffix of object files... " >&6; }
4379 if ${ac_cv_objext+:} false; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4386 main ()
4390 return 0;
4392 _ACEOF
4393 rm -f conftest.o conftest.obj
4394 if { { ac_try="$ac_compile"
4395 case "(($ac_try" in
4396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4397 *) ac_try_echo=$ac_try;;
4398 esac
4399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4400 $as_echo "$ac_try_echo"; } >&5
4401 (eval "$ac_compile") 2>&5
4402 ac_status=$?
4403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4404 test $ac_status = 0; }; then :
4405 for ac_file in conftest.o conftest.obj conftest.*; do
4406 test -f "$ac_file" || continue;
4407 case $ac_file in
4408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4410 break;;
4411 esac
4412 done
4413 else
4414 $as_echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4419 as_fn_error $? "cannot compute suffix of object files: cannot compile
4420 See \`config.log' for more details" "$LINENO" 5; }
4422 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4425 $as_echo "$ac_cv_objext" >&6; }
4426 OBJEXT=$ac_cv_objext
4427 ac_objext=$OBJEXT
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4429 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4430 if ${ac_cv_c_compiler_gnu+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4434 /* end confdefs.h. */
4437 main ()
4439 #ifndef __GNUC__
4440 choke me
4441 #endif
4444 return 0;
4446 _ACEOF
4447 if ac_fn_c_try_compile "$LINENO"; then :
4448 ac_compiler_gnu=yes
4449 else
4450 ac_compiler_gnu=no
4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4453 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4457 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4458 if test $ac_compiler_gnu = yes; then
4459 GCC=yes
4460 else
4461 GCC=
4463 ac_test_CFLAGS=${CFLAGS+set}
4464 ac_save_CFLAGS=$CFLAGS
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4466 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4467 if ${ac_cv_prog_cc_g+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 ac_save_c_werror_flag=$ac_c_werror_flag
4471 ac_c_werror_flag=yes
4472 ac_cv_prog_cc_g=no
4473 CFLAGS="-g"
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486 ac_cv_prog_cc_g=yes
4487 else
4488 CFLAGS=""
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4493 main ()
4497 return 0;
4499 _ACEOF
4500 if ac_fn_c_try_compile "$LINENO"; then :
4502 else
4503 ac_c_werror_flag=$ac_save_c_werror_flag
4504 CFLAGS="-g"
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4509 main ()
4513 return 0;
4515 _ACEOF
4516 if ac_fn_c_try_compile "$LINENO"; then :
4517 ac_cv_prog_cc_g=yes
4519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_c_werror_flag=$ac_save_c_werror_flag
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4527 $as_echo "$ac_cv_prog_cc_g" >&6; }
4528 if test "$ac_test_CFLAGS" = set; then
4529 CFLAGS=$ac_save_CFLAGS
4530 elif test $ac_cv_prog_cc_g = yes; then
4531 if test "$GCC" = yes; then
4532 CFLAGS="-g -O2"
4533 else
4534 CFLAGS="-g"
4536 else
4537 if test "$GCC" = yes; then
4538 CFLAGS="-O2"
4539 else
4540 CFLAGS=
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4544 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4545 if ${ac_cv_prog_cc_c89+:} false; then :
4546 $as_echo_n "(cached) " >&6
4547 else
4548 ac_cv_prog_cc_c89=no
4549 ac_save_CC=$CC
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552 #include <stdarg.h>
4553 #include <stdio.h>
4554 struct stat;
4555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4556 struct buf { int x; };
4557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4558 static char *e (p, i)
4559 char **p;
4560 int i;
4562 return p[i];
4564 static char *f (char * (*g) (char **, int), char **p, ...)
4566 char *s;
4567 va_list v;
4568 va_start (v,p);
4569 s = g (p, va_arg (v,int));
4570 va_end (v);
4571 return s;
4574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4575 function prototypes and stuff, but not '\xHH' hex character constants.
4576 These don't provoke an error unfortunately, instead are silently treated
4577 as 'x'. The following induces an error, until -std is added to get
4578 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4579 array size at least. It's necessary to write '\x00'==0 to get something
4580 that's true only with -std. */
4581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4583 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4584 inside strings and character constants. */
4585 #define FOO(x) 'x'
4586 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4588 int test (int i, double x);
4589 struct s1 {int (*f) (int a);};
4590 struct s2 {int (*f) (double a);};
4591 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4592 int argc;
4593 char **argv;
4595 main ()
4597 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4599 return 0;
4601 _ACEOF
4602 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4603 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4605 CC="$ac_save_CC $ac_arg"
4606 if ac_fn_c_try_compile "$LINENO"; then :
4607 ac_cv_prog_cc_c89=$ac_arg
4609 rm -f core conftest.err conftest.$ac_objext
4610 test "x$ac_cv_prog_cc_c89" != "xno" && break
4611 done
4612 rm -f conftest.$ac_ext
4613 CC=$ac_save_CC
4616 # AC_CACHE_VAL
4617 case "x$ac_cv_prog_cc_c89" in
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4620 $as_echo "none needed" >&6; } ;;
4621 xno)
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4623 $as_echo "unsupported" >&6; } ;;
4625 CC="$CC $ac_cv_prog_cc_c89"
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4627 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4628 esac
4629 if test "x$ac_cv_prog_cc_c89" != xno; then :
4633 ac_ext=c
4634 ac_cpp='$CPP $CPPFLAGS'
4635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4639 ac_ext=cpp
4640 ac_cpp='$CXXCPP $CPPFLAGS'
4641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4644 if test -z "$CXX"; then
4645 if test -n "$CCC"; then
4646 CXX=$CCC
4647 else
4648 if test -n "$ac_tool_prefix"; then
4649 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_CXX+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 if test -n "$CXX"; then
4659 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664 IFS=$as_save_IFS
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 break 2
4672 done
4673 done
4674 IFS=$as_save_IFS
4678 CXX=$ac_cv_prog_CXX
4679 if test -n "$CXX"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4681 $as_echo "$CXX" >&6; }
4682 else
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$CXX" && break
4689 done
4691 if test -z "$CXX"; then
4692 ac_ct_CXX=$CXX
4693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4695 # Extract the first word of "$ac_prog", so it can be a program name with args.
4696 set dummy $ac_prog; ac_word=$2
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4698 $as_echo_n "checking for $ac_word... " >&6; }
4699 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4700 $as_echo_n "(cached) " >&6
4701 else
4702 if test -n "$ac_ct_CXX"; then
4703 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4704 else
4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4706 for as_dir in $PATH
4708 IFS=$as_save_IFS
4709 test -z "$as_dir" && as_dir=.
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4712 ac_cv_prog_ac_ct_CXX="$ac_prog"
4713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 break 2
4716 done
4717 done
4718 IFS=$as_save_IFS
4722 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4723 if test -n "$ac_ct_CXX"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4725 $as_echo "$ac_ct_CXX" >&6; }
4726 else
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4732 test -n "$ac_ct_CXX" && break
4733 done
4735 if test "x$ac_ct_CXX" = x; then
4736 CXX="g++"
4737 else
4738 case $cross_compiling:$ac_tool_warned in
4739 yes:)
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4742 ac_tool_warned=yes ;;
4743 esac
4744 CXX=$ac_ct_CXX
4750 # Provide some information about the compiler.
4751 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4752 set X $ac_compile
4753 ac_compiler=$2
4754 for ac_option in --version -v -V -qversion; do
4755 { { ac_try="$ac_compiler $ac_option >&5"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4763 ac_status=$?
4764 if test -s conftest.err; then
4765 sed '10a\
4766 ... rest of stderr output deleted ...
4767 10q' conftest.err >conftest.er1
4768 cat conftest.er1 >&5
4770 rm -f conftest.er1 conftest.err
4771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4772 test $ac_status = 0; }
4773 done
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4776 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4777 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4778 $as_echo_n "(cached) " >&6
4779 else
4780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4781 /* end confdefs.h. */
4784 main ()
4786 #ifndef __GNUC__
4787 choke me
4788 #endif
4791 return 0;
4793 _ACEOF
4794 if ac_fn_cxx_try_compile "$LINENO"; then :
4795 ac_compiler_gnu=yes
4796 else
4797 ac_compiler_gnu=no
4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4800 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4804 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4805 if test $ac_compiler_gnu = yes; then
4806 GXX=yes
4807 else
4808 GXX=
4810 ac_test_CXXFLAGS=${CXXFLAGS+set}
4811 ac_save_CXXFLAGS=$CXXFLAGS
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4813 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4814 if ${ac_cv_prog_cxx_g+:} false; then :
4815 $as_echo_n "(cached) " >&6
4816 else
4817 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4818 ac_cxx_werror_flag=yes
4819 ac_cv_prog_cxx_g=no
4820 CXXFLAGS="-g"
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822 /* end confdefs.h. */
4825 main ()
4829 return 0;
4831 _ACEOF
4832 if ac_fn_cxx_try_compile "$LINENO"; then :
4833 ac_cv_prog_cxx_g=yes
4834 else
4835 CXXFLAGS=""
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4840 main ()
4844 return 0;
4846 _ACEOF
4847 if ac_fn_cxx_try_compile "$LINENO"; then :
4849 else
4850 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4851 CXXFLAGS="-g"
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 main ()
4860 return 0;
4862 _ACEOF
4863 if ac_fn_cxx_try_compile "$LINENO"; then :
4864 ac_cv_prog_cxx_g=yes
4866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4874 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4875 if test "$ac_test_CXXFLAGS" = set; then
4876 CXXFLAGS=$ac_save_CXXFLAGS
4877 elif test $ac_cv_prog_cxx_g = yes; then
4878 if test "$GXX" = yes; then
4879 CXXFLAGS="-g -O2"
4880 else
4881 CXXFLAGS="-g"
4883 else
4884 if test "$GXX" = yes; then
4885 CXXFLAGS="-O2"
4886 else
4887 CXXFLAGS=
4890 ac_ext=c
4891 ac_cpp='$CPP $CPPFLAGS'
4892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4896 if test -n "$ac_tool_prefix"; then
4897 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4898 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_CPPBIN+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if test -n "$CPPBIN"; then
4905 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4906 else
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 break 2
4918 done
4919 done
4920 IFS=$as_save_IFS
4924 CPPBIN=$ac_cv_prog_CPPBIN
4925 if test -n "$CPPBIN"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4927 $as_echo "$CPPBIN" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4935 if test -z "$ac_cv_prog_CPPBIN"; then
4936 ac_ct_CPPBIN=$CPPBIN
4937 # Extract the first word of "cpp", so it can be a program name with args.
4938 set dummy cpp; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 if test -n "$ac_ct_CPPBIN"; then
4945 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4950 IFS=$as_save_IFS
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_ac_ct_CPPBIN="cpp"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 break 2
4958 done
4959 done
4960 IFS=$as_save_IFS
4964 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4965 if test -n "$ac_ct_CPPBIN"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4967 $as_echo "$ac_ct_CPPBIN" >&6; }
4968 else
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4973 if test "x$ac_ct_CPPBIN" = x; then
4974 CPPBIN="cpp"
4975 else
4976 case $cross_compiling:$ac_tool_warned in
4977 yes:)
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4980 ac_tool_warned=yes ;;
4981 esac
4982 CPPBIN=$ac_ct_CPPBIN
4984 else
4985 CPPBIN="$ac_cv_prog_CPPBIN"
4989 cat >>confdefs.h <<_ACEOF
4990 #define EXEEXT "$ac_exeext"
4991 _ACEOF
4993 if test -n "$ac_tool_prefix"; then
4994 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4995 set dummy ${ac_tool_prefix}ld; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_LD+:} false; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 if test -n "$LD"; then
5002 ac_cv_prog_LD="$LD" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_LD="${ac_tool_prefix}ld"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 LD=$ac_cv_prog_LD
5022 if test -n "$LD"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5024 $as_echo "$LD" >&6; }
5025 else
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5032 if test -z "$ac_cv_prog_LD"; then
5033 ac_ct_LD=$LD
5034 # Extract the first word of "ld", so it can be a program name with args.
5035 set dummy ld; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$ac_ct_LD"; then
5042 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_ac_ct_LD="ld"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5062 if test -n "$ac_ct_LD"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5064 $as_echo "$ac_ct_LD" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5070 if test "x$ac_ct_LD" = x; then
5071 LD=""
5072 else
5073 case $cross_compiling:$ac_tool_warned in
5074 yes:)
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned=yes ;;
5078 esac
5079 LD=$ac_ct_LD
5081 else
5082 LD="$ac_cv_prog_LD"
5086 case $host in
5087 *-darwin*)
5088 with_fontconfig=${with_fontconfig:-no}
5090 *-mingw32*|*-cygwin*)
5091 enable_win16=${enable_win16:-no}
5092 CFLAGS="$CFLAGS -D_WIN32"
5094 esac
5096 case $host in
5097 x86_64*|amd64*)
5098 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5099 then
5100 CC="$CC -m32"
5101 CXX="$CXX -m32"
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5103 $as_echo_n "checking whether $CC works... " >&6; }
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5109 main ()
5113 return 0;
5115 _ACEOF
5116 if ac_fn_c_try_link "$LINENO"; then :
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5118 $as_echo "yes" >&6; }
5119 else
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5122 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5124 rm -f core conftest.err conftest.$ac_objext \
5125 conftest$ac_exeext conftest.$ac_ext
5126 host_cpu="i386"
5127 notice_platform="32-bit "
5128 TARGETFLAGS="-m32"
5130 enable_win16=${enable_win16:-yes}
5131 else
5132 if test "x${GCC}" = "xyes"
5133 then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5135 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5137 /* end confdefs.h. */
5138 #include <stdarg.h>
5140 main ()
5142 void func(__builtin_ms_va_list *args);
5144 return 0;
5146 _ACEOF
5147 if ac_fn_c_try_compile "$LINENO"; then :
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 $as_echo "yes" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5153 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5157 CC="$CC -m64"
5158 CXX="$CXX -m64"
5159 host_cpu="x86_64"
5160 notice_platform="64-bit "
5161 TARGETFLAGS="-m64"
5165 arm*)
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5167 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5170 int ac_test(int i) { return i; }
5172 main ()
5174 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5176 return 0;
5178 _ACEOF
5179 if ac_fn_c_try_link "$LINENO"; then :
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5181 $as_echo "yes" >&6; }
5182 else
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5185 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5187 rm -f core conftest.err conftest.$ac_objext \
5188 conftest$ac_exeext conftest.$ac_ext
5189 CFLAGS="$CFLAGS -marm"
5190 TARGETFLAGS="-marm"
5193 i[3456789]86*)
5194 enable_win16=${enable_win16:-yes}
5196 esac
5198 enable_win16=${enable_win16:-no}
5199 enable_win64=${enable_win64:-no}
5201 enable_winetest=${enable_winetest:-$enable_tests}
5203 if test -n "$with_wine64"
5204 then
5205 if test "x$enable_win64" = "xyes"
5206 then
5207 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5208 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5210 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5211 You should create a separate build directory and run configure from there." "$LINENO" 5
5212 enable_fonts=${enable_fonts:-no}
5213 enable_server=${enable_server:-no}
5214 elif test "x$enable_win64" = "xyes"
5215 then
5216 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5220 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5221 if ${wine_cv_toolsdir+:} false; then :
5222 $as_echo_n "(cached) " >&6
5223 else
5224 wine_cv_toolsdir="$with_wine_tools"
5225 if test -z "$with_wine_tools"; then
5226 if test "$cross_compiling" = "yes"; then
5227 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5228 elif test -n "$with_wine64"; then
5229 wine_cv_toolsdir="$with_wine64"
5232 if test -z "$wine_cv_toolsdir"; then
5233 wine_makedep=tools/makedep
5234 wine_cv_toolsdir="\$(top_builddir)"
5235 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5236 wine_makedep=$wine_cv_toolsdir/tools/makedep
5237 case "$wine_cv_toolsdir" in
5238 /*) ;;
5239 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5240 esac
5241 enable_tools=${enable_tools:-no}
5242 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5243 else
5244 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5248 $as_echo "$wine_cv_toolsdir" >&6; }
5249 TOOLSDIR=$wine_cv_toolsdir
5251 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5252 then
5253 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5257 for ac_prog in flex
5259 # Extract the first word of "$ac_prog", so it can be a program name with args.
5260 set dummy $ac_prog; ac_word=$2
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5262 $as_echo_n "checking for $ac_word... " >&6; }
5263 if ${ac_cv_prog_FLEX+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 if test -n "$FLEX"; then
5267 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5272 IFS=$as_save_IFS
5273 test -z "$as_dir" && as_dir=.
5274 for ac_exec_ext in '' $ac_executable_extensions; do
5275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276 ac_cv_prog_FLEX="$ac_prog"
5277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 break 2
5280 done
5281 done
5282 IFS=$as_save_IFS
5286 FLEX=$ac_cv_prog_FLEX
5287 if test -n "$FLEX"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5289 $as_echo "$FLEX" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5296 test -n "$FLEX" && break
5297 done
5298 test -n "$FLEX" || FLEX="none"
5300 if test "$FLEX" = "none"
5301 then
5302 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5305 $as_echo_n "checking whether flex is recent enough... " >&6; }
5306 cat >conftest.l <<EOF
5307 %top{
5308 #include "prediluvian.h"
5312 if $FLEX -t conftest.l >/dev/null 2>&5
5313 then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5315 $as_echo "yes" >&6; }
5316 else
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5319 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5322 for ac_prog in bison
5324 # Extract the first word of "$ac_prog", so it can be a program name with args.
5325 set dummy $ac_prog; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_BISON+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 if test -n "$BISON"; then
5332 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_BISON="$ac_prog"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 BISON=$ac_cv_prog_BISON
5352 if test -n "$BISON"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5354 $as_echo "$BISON" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5361 test -n "$BISON" && break
5362 done
5363 test -n "$BISON" || BISON="none"
5365 if test "$BISON" = "none"
5366 then
5367 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5370 if test -n "$ac_tool_prefix"; then
5371 for ac_prog in ar gar
5373 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5374 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_AR+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 if test -n "$AR"; then
5381 ac_cv_prog_AR="$AR" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 break 2
5394 done
5395 done
5396 IFS=$as_save_IFS
5400 AR=$ac_cv_prog_AR
5401 if test -n "$AR"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5403 $as_echo "$AR" >&6; }
5404 else
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5410 test -n "$AR" && break
5411 done
5413 if test -z "$AR"; then
5414 ac_ct_AR=$AR
5415 for ac_prog in ar gar
5417 # Extract the first word of "$ac_prog", so it can be a program name with args.
5418 set dummy $ac_prog; ac_word=$2
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420 $as_echo_n "checking for $ac_word... " >&6; }
5421 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -n "$ac_ct_AR"; then
5425 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5426 else
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_exec_ext in '' $ac_executable_extensions; do
5433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434 ac_cv_prog_ac_ct_AR="$ac_prog"
5435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 break 2
5438 done
5439 done
5440 IFS=$as_save_IFS
5444 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5445 if test -n "$ac_ct_AR"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5447 $as_echo "$ac_ct_AR" >&6; }
5448 else
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5454 test -n "$ac_ct_AR" && break
5455 done
5457 if test "x$ac_ct_AR" = x; then
5458 AR="ar"
5459 else
5460 case $cross_compiling:$ac_tool_warned in
5461 yes:)
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5464 ac_tool_warned=yes ;;
5465 esac
5466 AR=$ac_ct_AR
5470 if test -n "$ac_tool_prefix"; then
5471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5472 set dummy ${ac_tool_prefix}strip; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_STRIP+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$STRIP"; then
5479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 STRIP=$ac_cv_prog_STRIP
5499 if test -n "$STRIP"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5501 $as_echo "$STRIP" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test -z "$ac_cv_prog_STRIP"; then
5510 ac_ct_STRIP=$STRIP
5511 # Extract the first word of "strip", so it can be a program name with args.
5512 set dummy strip; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$ac_ct_STRIP"; then
5519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_ac_ct_STRIP="strip"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5539 if test -n "$ac_ct_STRIP"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5541 $as_echo "$ac_ct_STRIP" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5547 if test "x$ac_ct_STRIP" = x; then
5548 STRIP="strip"
5549 else
5550 case $cross_compiling:$ac_tool_warned in
5551 yes:)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5555 esac
5556 STRIP=$ac_ct_STRIP
5558 else
5559 STRIP="$ac_cv_prog_STRIP"
5562 ARFLAGS=rc
5564 if test -n "$ac_tool_prefix"; then
5565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568 $as_echo_n "checking for $ac_word... " >&6; }
5569 if ${ac_cv_prog_RANLIB+:} false; then :
5570 $as_echo_n "(cached) " >&6
5571 else
5572 if test -n "$RANLIB"; then
5573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5574 else
5575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576 for as_dir in $PATH
5578 IFS=$as_save_IFS
5579 test -z "$as_dir" && as_dir=.
5580 for ac_exec_ext in '' $ac_executable_extensions; do
5581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 break 2
5586 done
5587 done
5588 IFS=$as_save_IFS
5592 RANLIB=$ac_cv_prog_RANLIB
5593 if test -n "$RANLIB"; then
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5595 $as_echo "$RANLIB" >&6; }
5596 else
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598 $as_echo "no" >&6; }
5603 if test -z "$ac_cv_prog_RANLIB"; then
5604 ac_ct_RANLIB=$RANLIB
5605 # Extract the first word of "ranlib", so it can be a program name with args.
5606 set dummy ranlib; ac_word=$2
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5608 $as_echo_n "checking for $ac_word... " >&6; }
5609 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612 if test -n "$ac_ct_RANLIB"; then
5613 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5622 ac_cv_prog_ac_ct_RANLIB="ranlib"
5623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5633 if test -n "$ac_ct_RANLIB"; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5635 $as_echo "$ac_ct_RANLIB" >&6; }
5636 else
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5638 $as_echo "no" >&6; }
5641 if test "x$ac_ct_RANLIB" = x; then
5642 RANLIB=":"
5643 else
5644 case $cross_compiling:$ac_tool_warned in
5645 yes:)
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5648 ac_tool_warned=yes ;;
5649 esac
5650 RANLIB=$ac_ct_RANLIB
5652 else
5653 RANLIB="$ac_cv_prog_RANLIB"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5657 $as_echo_n "checking whether ln -s works... " >&6; }
5658 LN_S=$as_ln_s
5659 if test "$LN_S" = "ln -s"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5661 $as_echo "yes" >&6; }
5662 else
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5664 $as_echo "no, using $LN_S" >&6; }
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5668 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5669 if ${ac_cv_path_GREP+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -z "$GREP"; then
5673 ac_path_GREP_found=false
5674 # Loop through the user's path and test for each of PROGNAME-LIST
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_prog in grep ggrep; do
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5683 as_fn_executable_p "$ac_path_GREP" || continue
5684 # Check for GNU ac_path_GREP and select it if it is found.
5685 # Check for GNU $ac_path_GREP
5686 case `"$ac_path_GREP" --version 2>&1` in
5687 *GNU*)
5688 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5690 ac_count=0
5691 $as_echo_n 0123456789 >"conftest.in"
5692 while :
5694 cat "conftest.in" "conftest.in" >"conftest.tmp"
5695 mv "conftest.tmp" "conftest.in"
5696 cp "conftest.in" "conftest.nl"
5697 $as_echo 'GREP' >> "conftest.nl"
5698 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5699 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5700 as_fn_arith $ac_count + 1 && ac_count=$as_val
5701 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5702 # Best one so far, save it but keep looking for a better one
5703 ac_cv_path_GREP="$ac_path_GREP"
5704 ac_path_GREP_max=$ac_count
5706 # 10*(2^10) chars as input seems more than enough
5707 test $ac_count -gt 10 && break
5708 done
5709 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5710 esac
5712 $ac_path_GREP_found && break 3
5713 done
5714 done
5715 done
5716 IFS=$as_save_IFS
5717 if test -z "$ac_cv_path_GREP"; then
5718 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5720 else
5721 ac_cv_path_GREP=$GREP
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5726 $as_echo "$ac_cv_path_GREP" >&6; }
5727 GREP="$ac_cv_path_GREP"
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5731 $as_echo_n "checking for egrep... " >&6; }
5732 if ${ac_cv_path_EGREP+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5736 then ac_cv_path_EGREP="$GREP -E"
5737 else
5738 if test -z "$EGREP"; then
5739 ac_path_EGREP_found=false
5740 # Loop through the user's path and test for each of PROGNAME-LIST
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_prog in egrep; do
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5749 as_fn_executable_p "$ac_path_EGREP" || continue
5750 # Check for GNU ac_path_EGREP and select it if it is found.
5751 # Check for GNU $ac_path_EGREP
5752 case `"$ac_path_EGREP" --version 2>&1` in
5753 *GNU*)
5754 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5756 ac_count=0
5757 $as_echo_n 0123456789 >"conftest.in"
5758 while :
5760 cat "conftest.in" "conftest.in" >"conftest.tmp"
5761 mv "conftest.tmp" "conftest.in"
5762 cp "conftest.in" "conftest.nl"
5763 $as_echo 'EGREP' >> "conftest.nl"
5764 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5766 as_fn_arith $ac_count + 1 && ac_count=$as_val
5767 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5768 # Best one so far, save it but keep looking for a better one
5769 ac_cv_path_EGREP="$ac_path_EGREP"
5770 ac_path_EGREP_max=$ac_count
5772 # 10*(2^10) chars as input seems more than enough
5773 test $ac_count -gt 10 && break
5774 done
5775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5776 esac
5778 $ac_path_EGREP_found && break 3
5779 done
5780 done
5781 done
5782 IFS=$as_save_IFS
5783 if test -z "$ac_cv_path_EGREP"; then
5784 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5786 else
5787 ac_cv_path_EGREP=$EGREP
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5793 $as_echo "$ac_cv_path_EGREP" >&6; }
5794 EGREP="$ac_cv_path_EGREP"
5797 # Extract the first word of "ldconfig", so it can be a program name with args.
5798 set dummy ldconfig; ac_word=$2
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5800 $as_echo_n "checking for $ac_word... " >&6; }
5801 if ${ac_cv_path_LDCONFIG+:} false; then :
5802 $as_echo_n "(cached) " >&6
5803 else
5804 case $LDCONFIG in
5805 [\\/]* | ?:[\\/]*)
5806 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in /sbin /usr/sbin $PATH
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5820 done
5821 done
5822 IFS=$as_save_IFS
5824 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5826 esac
5828 LDCONFIG=$ac_cv_path_LDCONFIG
5829 if test -n "$LDCONFIG"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5831 $as_echo "$LDCONFIG" >&6; }
5832 else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5838 for ac_prog in msgfmt
5840 # Extract the first word of "$ac_prog", so it can be a program name with args.
5841 set dummy $ac_prog; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_MSGFMT+:} false; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 if test -n "$MSGFMT"; then
5848 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_MSGFMT="$ac_prog"
5858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5863 IFS=$as_save_IFS
5867 MSGFMT=$ac_cv_prog_MSGFMT
5868 if test -n "$MSGFMT"; then
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5870 $as_echo "$MSGFMT" >&6; }
5871 else
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5877 test -n "$MSGFMT" && break
5878 done
5879 test -n "$MSGFMT" || MSGFMT="false"
5881 if ${ac_tool_prefix+:} false; then :
5882 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5883 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 if test -n "$PKG_CONFIG"; then
5890 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5891 else
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 for as_dir in $PATH
5895 IFS=$as_save_IFS
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 break 2
5903 done
5904 done
5905 IFS=$as_save_IFS
5909 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5910 if test -n "$PKG_CONFIG"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5912 $as_echo "$PKG_CONFIG" >&6; }
5913 else
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5920 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5921 if test "x$cross_compiling" = xyes; then :
5923 else
5924 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5925 # Extract the first word of "pkg-config", so it can be a program name with args.
5926 set dummy pkg-config; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 if test -n "$PKG_CONFIG"; then
5933 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5934 else
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5938 IFS=$as_save_IFS
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_PKG_CONFIG="pkg-config"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 break 2
5946 done
5947 done
5948 IFS=$as_save_IFS
5952 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5953 if test -n "$PKG_CONFIG"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5955 $as_echo "$PKG_CONFIG" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5963 else
5964 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5967 if test "x$enable_maintainer_mode" != "xyes"
5968 then
5969 FONTFORGE=""
5970 RSVG=""
5971 CONVERT=""
5972 ICOTOOL=""
5973 else
5974 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5975 for ac_prog in fontforge
5977 # Extract the first word of "$ac_prog", so it can be a program name with args.
5978 set dummy $ac_prog; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_FONTFORGE+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 if test -n "$FONTFORGE"; then
5985 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5986 else
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 for as_dir in $PATH
5990 IFS=$as_save_IFS
5991 test -z "$as_dir" && as_dir=.
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994 ac_cv_prog_FONTFORGE="$ac_prog"
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996 break 2
5998 done
5999 done
6000 IFS=$as_save_IFS
6004 FONTFORGE=$ac_cv_prog_FONTFORGE
6005 if test -n "$FONTFORGE"; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6007 $as_echo "$FONTFORGE" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6014 test -n "$FONTFORGE" && break
6015 done
6016 test -n "$FONTFORGE" || FONTFORGE="false"
6018 for ac_prog in rsvg-convert rsvg
6020 # Extract the first word of "$ac_prog", so it can be a program name with args.
6021 set dummy $ac_prog; ac_word=$2
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if ${ac_cv_prog_RSVG+:} false; then :
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$RSVG"; then
6028 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6037 ac_cv_prog_RSVG="$ac_prog"
6038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6041 done
6042 done
6043 IFS=$as_save_IFS
6047 RSVG=$ac_cv_prog_RSVG
6048 if test -n "$RSVG"; then
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6050 $as_echo "$RSVG" >&6; }
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6053 $as_echo "no" >&6; }
6057 test -n "$RSVG" && break
6058 done
6059 test -n "$RSVG" || RSVG="false"
6061 for ac_prog in convert
6063 # Extract the first word of "$ac_prog", so it can be a program name with args.
6064 set dummy $ac_prog; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_CONVERT+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069 else
6070 if test -n "$CONVERT"; then
6071 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6076 IFS=$as_save_IFS
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_CONVERT="$ac_prog"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6090 CONVERT=$ac_cv_prog_CONVERT
6091 if test -n "$CONVERT"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6093 $as_echo "$CONVERT" >&6; }
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6100 test -n "$CONVERT" && break
6101 done
6102 test -n "$CONVERT" || CONVERT="false"
6104 for ac_prog in icotool
6106 # Extract the first word of "$ac_prog", so it can be a program name with args.
6107 set dummy $ac_prog; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if ${ac_cv_prog_ICOTOOL+:} false; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6113 if test -n "$ICOTOOL"; then
6114 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123 ac_cv_prog_ICOTOOL="$ac_prog"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6127 done
6128 done
6129 IFS=$as_save_IFS
6133 ICOTOOL=$ac_cv_prog_ICOTOOL
6134 if test -n "$ICOTOOL"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6136 $as_echo "$ICOTOOL" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6143 test -n "$ICOTOOL" && break
6144 done
6145 test -n "$ICOTOOL" || ICOTOOL="false"
6147 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6148 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6150 if test "$CONVERT" = false
6151 then
6152 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6155 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6156 convert_version=`convert --version | head -n1`
6157 if test "x$convert_version" != "x"
6158 then
6159 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6160 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6161 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6162 then
6163 CONVERT=false
6166 if test "$CONVERT" = false
6167 then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6169 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6170 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6173 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6177 if test "$ICOTOOL" = false
6178 then
6179 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6182 $as_echo_n "checking for recent enough icotool... " >&6; }
6183 icotool_version=`icotool --version | head -n1`
6184 if test "x$icotool_version" != "x"
6185 then
6186 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6187 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6188 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6189 then
6190 ICOTOOL=false
6191 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6194 if test "$ICOTOOL" = false
6195 then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6197 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6198 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6199 else
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6201 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6205 with_gettext=yes
6206 with_gettextpo=yes
6207 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6210 test "x$with_gettext" != xno || MSGFMT=false
6211 if test "$MSGFMT" != "false"
6212 then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6214 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6215 cat >conftest.po <<EOF
6216 # comment
6217 msgctxt "ctxt"
6218 msgid "id"
6219 msgstr "str"
6221 if $MSGFMT -o /dev/null conftest.po 2>&5
6222 then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6224 $as_echo "yes" >&6; }
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6228 MSGFMT=false
6231 if test "$MSGFMT" = false; then :
6232 case "x$with_gettext" in
6233 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6234 xno) ;;
6235 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6236 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6237 esac
6238 enable_po=${enable_po:-no}
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6243 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6244 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6245 $as_echo_n "(cached) " >&6
6246 else
6247 ac_check_lib_save_LIBS=$LIBS
6248 LIBS="-li386 $LIBS"
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6252 /* Override any GCC internal prototype to avoid an error.
6253 Use char because int might match the return type of a GCC
6254 builtin and then its argument prototype would still apply. */
6255 #ifdef __cplusplus
6256 extern "C"
6257 #endif
6258 char i386_set_ldt ();
6260 main ()
6262 return i386_set_ldt ();
6264 return 0;
6266 _ACEOF
6267 if ac_fn_c_try_link "$LINENO"; then :
6268 ac_cv_lib_i386_i386_set_ldt=yes
6269 else
6270 ac_cv_lib_i386_i386_set_ldt=no
6272 rm -f core conftest.err conftest.$ac_objext \
6273 conftest$ac_exeext conftest.$ac_ext
6274 LIBS=$ac_check_lib_save_LIBS
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6277 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6278 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6279 cat >>confdefs.h <<_ACEOF
6280 #define HAVE_LIBI386 1
6281 _ACEOF
6283 LIBS="-li386 $LIBS"
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6288 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6289 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 ac_check_lib_save_LIBS=$LIBS
6293 LIBS="-lossaudio $LIBS"
6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6295 /* end confdefs.h. */
6297 /* Override any GCC internal prototype to avoid an error.
6298 Use char because int might match the return type of a GCC
6299 builtin and then its argument prototype would still apply. */
6300 #ifdef __cplusplus
6301 extern "C"
6302 #endif
6303 char _oss_ioctl ();
6305 main ()
6307 return _oss_ioctl ();
6309 return 0;
6311 _ACEOF
6312 if ac_fn_c_try_link "$LINENO"; then :
6313 ac_cv_lib_ossaudio__oss_ioctl=yes
6314 else
6315 ac_cv_lib_ossaudio__oss_ioctl=no
6317 rm -f core conftest.err conftest.$ac_objext \
6318 conftest$ac_exeext conftest.$ac_ext
6319 LIBS=$ac_check_lib_save_LIBS
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6322 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6323 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6324 cat >>confdefs.h <<_ACEOF
6325 #define HAVE_LIBOSSAUDIO 1
6326 _ACEOF
6328 LIBS="-lossaudio $LIBS"
6333 OPENGL_LIBS=""
6337 # Check whether --enable-largefile was given.
6338 if test "${enable_largefile+set}" = set; then :
6339 enableval=$enable_largefile;
6342 if test "$enable_largefile" != no; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6345 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6346 if ${ac_cv_sys_largefile_CC+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 ac_cv_sys_largefile_CC=no
6350 if test "$GCC" != yes; then
6351 ac_save_CC=$CC
6352 while :; do
6353 # IRIX 6.2 and later do not support large files by default,
6354 # so use the C compiler's -n32 option if that helps.
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6356 /* end confdefs.h. */
6357 #include <sys/types.h>
6358 /* Check that off_t can represent 2**63 - 1 correctly.
6359 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6360 since some C++ compilers masquerading as C compilers
6361 incorrectly reject 9223372036854775807. */
6362 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6363 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6364 && LARGE_OFF_T % 2147483647 == 1)
6365 ? 1 : -1];
6367 main ()
6371 return 0;
6373 _ACEOF
6374 if ac_fn_c_try_compile "$LINENO"; then :
6375 break
6377 rm -f core conftest.err conftest.$ac_objext
6378 CC="$CC -n32"
6379 if ac_fn_c_try_compile "$LINENO"; then :
6380 ac_cv_sys_largefile_CC=' -n32'; break
6382 rm -f core conftest.err conftest.$ac_objext
6383 break
6384 done
6385 CC=$ac_save_CC
6386 rm -f conftest.$ac_ext
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6390 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6391 if test "$ac_cv_sys_largefile_CC" != no; then
6392 CC=$CC$ac_cv_sys_largefile_CC
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6396 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6397 if ${ac_cv_sys_file_offset_bits+:} false; then :
6398 $as_echo_n "(cached) " >&6
6399 else
6400 while :; do
6401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402 /* end confdefs.h. */
6403 #include <sys/types.h>
6404 /* Check that off_t can represent 2**63 - 1 correctly.
6405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6406 since some C++ compilers masquerading as C compilers
6407 incorrectly reject 9223372036854775807. */
6408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6410 && LARGE_OFF_T % 2147483647 == 1)
6411 ? 1 : -1];
6413 main ()
6417 return 0;
6419 _ACEOF
6420 if ac_fn_c_try_compile "$LINENO"; then :
6421 ac_cv_sys_file_offset_bits=no; break
6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h. */
6426 #define _FILE_OFFSET_BITS 64
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6435 ? 1 : -1];
6437 main ()
6441 return 0;
6443 _ACEOF
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_file_offset_bits=64; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 ac_cv_sys_file_offset_bits=unknown
6449 break
6450 done
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6453 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6454 case $ac_cv_sys_file_offset_bits in #(
6455 no | unknown) ;;
6457 cat >>confdefs.h <<_ACEOF
6458 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6459 _ACEOF
6461 esac
6462 rm -rf conftest*
6463 if test $ac_cv_sys_file_offset_bits = unknown; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6465 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6466 if ${ac_cv_sys_large_files+:} false; then :
6467 $as_echo_n "(cached) " >&6
6468 else
6469 while :; do
6470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6471 /* end confdefs.h. */
6472 #include <sys/types.h>
6473 /* Check that off_t can represent 2**63 - 1 correctly.
6474 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6475 since some C++ compilers masquerading as C compilers
6476 incorrectly reject 9223372036854775807. */
6477 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6478 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6479 && LARGE_OFF_T % 2147483647 == 1)
6480 ? 1 : -1];
6482 main ()
6486 return 0;
6488 _ACEOF
6489 if ac_fn_c_try_compile "$LINENO"; then :
6490 ac_cv_sys_large_files=no; break
6492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494 /* end confdefs.h. */
6495 #define _LARGE_FILES 1
6496 #include <sys/types.h>
6497 /* Check that off_t can represent 2**63 - 1 correctly.
6498 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6499 since some C++ compilers masquerading as C compilers
6500 incorrectly reject 9223372036854775807. */
6501 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6502 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6503 && LARGE_OFF_T % 2147483647 == 1)
6504 ? 1 : -1];
6506 main ()
6510 return 0;
6512 _ACEOF
6513 if ac_fn_c_try_compile "$LINENO"; then :
6514 ac_cv_sys_large_files=1; break
6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6517 ac_cv_sys_large_files=unknown
6518 break
6519 done
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6522 $as_echo "$ac_cv_sys_large_files" >&6; }
6523 case $ac_cv_sys_large_files in #(
6524 no | unknown) ;;
6526 cat >>confdefs.h <<_ACEOF
6527 #define _LARGE_FILES $ac_cv_sys_large_files
6528 _ACEOF
6530 esac
6531 rm -rf conftest*
6538 ac_ext=c
6539 ac_cpp='$CPP $CPPFLAGS'
6540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6544 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6545 # On Suns, sometimes $CPP names a directory.
6546 if test -n "$CPP" && test -d "$CPP"; then
6547 CPP=
6549 if test -z "$CPP"; then
6550 if ${ac_cv_prog_CPP+:} false; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 # Double quotes because CPP needs to be expanded
6554 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6556 ac_preproc_ok=false
6557 for ac_c_preproc_warn_flag in '' yes
6559 # Use a header file that comes with gcc, so configuring glibc
6560 # with a fresh cross-compiler works.
6561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6562 # <limits.h> exists even on freestanding compilers.
6563 # On the NeXT, cc -E runs the code through the compiler's parser,
6564 # not just through cpp. "Syntax error" is here to catch this case.
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #ifdef __STDC__
6568 # include <limits.h>
6569 #else
6570 # include <assert.h>
6571 #endif
6572 Syntax error
6573 _ACEOF
6574 if ac_fn_c_try_cpp "$LINENO"; then :
6576 else
6577 # Broken: fails on valid input.
6578 continue
6580 rm -f conftest.err conftest.i conftest.$ac_ext
6582 # OK, works on sane cases. Now check whether nonexistent headers
6583 # can be detected and how.
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <ac_nonexistent.h>
6587 _ACEOF
6588 if ac_fn_c_try_cpp "$LINENO"; then :
6589 # Broken: success on invalid input.
6590 continue
6591 else
6592 # Passes both tests.
6593 ac_preproc_ok=:
6594 break
6596 rm -f conftest.err conftest.i conftest.$ac_ext
6598 done
6599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6600 rm -f conftest.i conftest.err conftest.$ac_ext
6601 if $ac_preproc_ok; then :
6602 break
6605 done
6606 ac_cv_prog_CPP=$CPP
6609 CPP=$ac_cv_prog_CPP
6610 else
6611 ac_cv_prog_CPP=$CPP
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6614 $as_echo "$CPP" >&6; }
6615 ac_preproc_ok=false
6616 for ac_c_preproc_warn_flag in '' yes
6618 # Use a header file that comes with gcc, so configuring glibc
6619 # with a fresh cross-compiler works.
6620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6621 # <limits.h> exists even on freestanding compilers.
6622 # On the NeXT, cc -E runs the code through the compiler's parser,
6623 # not just through cpp. "Syntax error" is here to catch this case.
6624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6625 /* end confdefs.h. */
6626 #ifdef __STDC__
6627 # include <limits.h>
6628 #else
6629 # include <assert.h>
6630 #endif
6631 Syntax error
6632 _ACEOF
6633 if ac_fn_c_try_cpp "$LINENO"; then :
6635 else
6636 # Broken: fails on valid input.
6637 continue
6639 rm -f conftest.err conftest.i conftest.$ac_ext
6641 # OK, works on sane cases. Now check whether nonexistent headers
6642 # can be detected and how.
6643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6644 /* end confdefs.h. */
6645 #include <ac_nonexistent.h>
6646 _ACEOF
6647 if ac_fn_c_try_cpp "$LINENO"; then :
6648 # Broken: success on invalid input.
6649 continue
6650 else
6651 # Passes both tests.
6652 ac_preproc_ok=:
6653 break
6655 rm -f conftest.err conftest.i conftest.$ac_ext
6657 done
6658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6659 rm -f conftest.i conftest.err conftest.$ac_ext
6660 if $ac_preproc_ok; then :
6662 else
6663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6665 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6666 See \`config.log' for more details" "$LINENO" 5; }
6669 ac_ext=c
6670 ac_cpp='$CPP $CPPFLAGS'
6671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6677 $as_echo_n "checking for ANSI C header files... " >&6; }
6678 if ${ac_cv_header_stdc+:} false; then :
6679 $as_echo_n "(cached) " >&6
6680 else
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 #include <stdlib.h>
6684 #include <stdarg.h>
6685 #include <string.h>
6686 #include <float.h>
6689 main ()
6693 return 0;
6695 _ACEOF
6696 if ac_fn_c_try_compile "$LINENO"; then :
6697 ac_cv_header_stdc=yes
6698 else
6699 ac_cv_header_stdc=no
6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 if test $ac_cv_header_stdc = yes; then
6704 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6706 /* end confdefs.h. */
6707 #include <string.h>
6709 _ACEOF
6710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6711 $EGREP "memchr" >/dev/null 2>&1; then :
6713 else
6714 ac_cv_header_stdc=no
6716 rm -f conftest*
6720 if test $ac_cv_header_stdc = yes; then
6721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724 #include <stdlib.h>
6726 _ACEOF
6727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6728 $EGREP "free" >/dev/null 2>&1; then :
6730 else
6731 ac_cv_header_stdc=no
6733 rm -f conftest*
6737 if test $ac_cv_header_stdc = yes; then
6738 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6739 if test "$cross_compiling" = yes; then :
6741 else
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 #include <ctype.h>
6745 #include <stdlib.h>
6746 #if ((' ' & 0x0FF) == 0x020)
6747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6749 #else
6750 # define ISLOWER(c) \
6751 (('a' <= (c) && (c) <= 'i') \
6752 || ('j' <= (c) && (c) <= 'r') \
6753 || ('s' <= (c) && (c) <= 'z'))
6754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6755 #endif
6757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6759 main ()
6761 int i;
6762 for (i = 0; i < 256; i++)
6763 if (XOR (islower (i), ISLOWER (i))
6764 || toupper (i) != TOUPPER (i))
6765 return 2;
6766 return 0;
6768 _ACEOF
6769 if ac_fn_c_try_run "$LINENO"; then :
6771 else
6772 ac_cv_header_stdc=no
6774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6775 conftest.$ac_objext conftest.beam conftest.$ac_ext
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6781 $as_echo "$ac_cv_header_stdc" >&6; }
6782 if test $ac_cv_header_stdc = yes; then
6784 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6788 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6789 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6790 inttypes.h stdint.h unistd.h
6791 do :
6792 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6793 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6795 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6796 cat >>confdefs.h <<_ACEOF
6797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6798 _ACEOF
6802 done
6805 for ac_header in \
6806 AL/al.h \
6807 ApplicationServices/ApplicationServices.h \
6808 AudioToolbox/AudioConverter.h \
6809 AudioUnit/AudioUnit.h \
6810 AudioUnit/AudioComponent.h \
6811 CL/cl.h \
6812 Carbon/Carbon.h \
6813 CommonCrypto/CommonDigest.h \
6814 CoreAudio/CoreAudio.h \
6815 CoreServices/CoreServices.h \
6816 DiskArbitration/DiskArbitration.h \
6817 IOKit/IOKitLib.h \
6818 IOKit/hid/IOHIDLib.h \
6819 OpenAL/al.h \
6820 OpenCL/opencl.h \
6821 QuickTime/ImageCompression.h \
6822 Security/Security.h \
6823 alias.h \
6824 alsa/asoundlib.h \
6825 arpa/inet.h \
6826 arpa/nameser.h \
6827 asm/types.h \
6828 asm/user.h \
6829 curses.h \
6830 direct.h \
6831 dirent.h \
6832 dlfcn.h \
6833 elf.h \
6834 float.h \
6835 fnmatch.h \
6836 getopt.h \
6837 gettext-po.h \
6838 grp.h \
6839 gsm.h \
6840 gsm/gsm.h \
6841 ieeefp.h \
6842 inet/mib2.h \
6843 io.h \
6844 kstat.h \
6845 lber.h \
6846 ldap.h \
6847 libproc.h \
6848 link.h \
6849 linux/cdrom.h \
6850 linux/compiler.h \
6851 linux/filter.h \
6852 linux/hdreg.h \
6853 linux/hidraw.h \
6854 linux/input.h \
6855 linux/ioctl.h \
6856 linux/joystick.h \
6857 linux/major.h \
6858 linux/param.h \
6859 linux/serial.h \
6860 linux/types.h \
6861 linux/ucdrom.h \
6862 lwp.h \
6863 mach-o/nlist.h \
6864 mach-o/loader.h \
6865 mach/mach.h \
6866 mach/machine.h \
6867 machine/cpu.h \
6868 machine/limits.h \
6869 machine/sysarch.h \
6870 mntent.h \
6871 ncurses.h \
6872 netdb.h \
6873 netinet/in.h \
6874 netinet/in_systm.h \
6875 netinet/tcp.h \
6876 netinet/tcp_fsm.h \
6877 pcap/pcap.h \
6878 poll.h \
6879 port.h \
6880 process.h \
6881 pthread.h \
6882 pwd.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 stdbool.h \
6888 stdint.h \
6889 stropts.h \
6890 sys/asoundlib.h \
6891 sys/attr.h \
6892 sys/auxv.h \
6893 sys/cdio.h \
6894 sys/elf32.h \
6895 sys/epoll.h \
6896 sys/event.h \
6897 sys/exec_elf.h \
6898 sys/filio.h \
6899 sys/inotify.h \
6900 sys/ioctl.h \
6901 sys/ipc.h \
6902 sys/limits.h \
6903 sys/link.h \
6904 sys/mman.h \
6905 sys/modem.h \
6906 sys/msg.h \
6907 sys/mtio.h \
6908 sys/param.h \
6909 sys/poll.h \
6910 sys/prctl.h \
6911 sys/protosw.h \
6912 sys/ptrace.h \
6913 sys/queue.h \
6914 sys/resource.h \
6915 sys/scsiio.h \
6916 sys/shm.h \
6917 sys/signal.h \
6918 sys/socket.h \
6919 sys/socketvar.h \
6920 sys/sockio.h \
6921 sys/statvfs.h \
6922 sys/strtio.h \
6923 sys/syscall.h \
6924 sys/sysinfo.h \
6925 sys/tihdr.h \
6926 sys/time.h \
6927 sys/timeout.h \
6928 sys/times.h \
6929 sys/uio.h \
6930 sys/user.h \
6931 sys/utsname.h \
6932 sys/vm86.h \
6933 sys/vnode.h \
6934 sys/wait.h \
6935 syscall.h \
6936 termios.h \
6937 unistd.h \
6938 utime.h \
6939 valgrind/memcheck.h \
6940 valgrind/valgrind.h \
6941 zlib.h
6943 do :
6944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6945 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6946 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6947 cat >>confdefs.h <<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6949 _ACEOF
6953 done
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6956 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6957 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6958 $as_echo_n "(cached) " >&6
6959 else
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 #include <sys/types.h>
6964 main ()
6966 return makedev(0, 0);
6968 return 0;
6970 _ACEOF
6971 if ac_fn_c_try_link "$LINENO"; then :
6972 ac_cv_header_sys_types_h_makedev=yes
6973 else
6974 ac_cv_header_sys_types_h_makedev=no
6976 rm -f core conftest.err conftest.$ac_objext \
6977 conftest$ac_exeext conftest.$ac_ext
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6981 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6983 if test $ac_cv_header_sys_types_h_makedev = no; then
6984 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6985 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6987 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6993 if test $ac_cv_header_sys_mkdev_h = no; then
6994 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6995 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6997 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7006 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7007 if ${ac_cv_header_stat_broken+:} false; then :
7008 $as_echo_n "(cached) " >&6
7009 else
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 /* end confdefs.h. */
7012 #include <sys/types.h>
7013 #include <sys/stat.h>
7015 #if defined S_ISBLK && defined S_IFDIR
7016 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7017 #endif
7019 #if defined S_ISBLK && defined S_IFCHR
7020 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7021 #endif
7023 #if defined S_ISLNK && defined S_IFREG
7024 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7025 #endif
7027 #if defined S_ISSOCK && defined S_IFREG
7028 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7029 #endif
7031 _ACEOF
7032 if ac_fn_c_try_compile "$LINENO"; then :
7033 ac_cv_header_stat_broken=no
7034 else
7035 ac_cv_header_stat_broken=yes
7037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7040 $as_echo "$ac_cv_header_stat_broken" >&6; }
7041 if test $ac_cv_header_stat_broken = yes; then
7043 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7049 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7050 do :
7051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7052 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7053 #ifdef HAVE_SYS_PARAM_H
7054 # include <sys/param.h>
7055 #endif
7057 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7058 cat >>confdefs.h <<_ACEOF
7059 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7060 _ACEOF
7064 done
7067 for ac_header in \
7068 netinet/ip.h \
7069 net/if.h \
7070 net/if_arp.h \
7071 net/if_dl.h \
7072 net/if_types.h \
7073 net/route.h \
7074 netinet/if_ether.h \
7075 netinet/if_inarp.h \
7076 netinet/in_pcb.h \
7077 netinet/ip_icmp.h \
7078 netinet/ip_var.h \
7079 netinet/udp.h \
7080 netipx/ipx.h \
7081 sys/un.h \
7083 do :
7084 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7085 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7086 #ifdef HAVE_SYS_SOCKET_H
7087 # include <sys/socket.h>
7088 #endif
7089 #ifdef HAVE_SYS_SOCKETVAR_H
7090 # include <sys/socketvar.h>
7091 #endif
7092 #ifdef HAVE_NET_ROUTE_H
7093 # include <net/route.h>
7094 #endif
7095 #ifdef HAVE_NETINET_IN_H
7096 # include <netinet/in.h>
7097 #endif
7098 #ifdef HAVE_NETINET_IN_SYSTM_H
7099 # include <netinet/in_systm.h>
7100 #endif
7101 #ifdef HAVE_NET_IF_H
7102 # include <net/if.h>
7103 #endif
7104 #ifdef HAVE_NETINET_IP_H
7105 # include <netinet/ip.h>
7106 #endif
7108 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7109 cat >>confdefs.h <<_ACEOF
7110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 _ACEOF
7115 done
7118 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7119 do :
7120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7121 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7122 #ifdef HAVE_ALIAS_H
7123 # include <alias.h>
7124 #endif
7125 #ifdef HAVE_SYS_SOCKET_H
7126 # include <sys/socket.h>
7127 #endif
7128 #ifdef HAVE_SYS_SOCKETVAR_H
7129 # include <sys/socketvar.h>
7130 #endif
7131 #ifdef HAVE_SYS_TIMEOUT_H
7132 # include <sys/timeout.h>
7133 #endif
7134 #ifdef HAVE_NETINET_IN_H
7135 # include <netinet/in.h>
7136 #endif
7137 #ifdef HAVE_NETINET_IN_SYSTM_H
7138 # include <netinet/in_systm.h>
7139 #endif
7140 #ifdef HAVE_NETINET_IP_H
7141 # include <netinet/ip.h>
7142 #endif
7143 #ifdef HAVE_NETINET_IP_VAR_H
7144 # include <netinet/ip_var.h>
7145 #endif
7146 #ifdef HAVE_NETINET_IP_ICMP_H
7147 # include <netinet/ip_icmp.h>
7148 #endif
7149 #ifdef HAVE_NETINET_UDP_H
7150 # include <netinet/udp.h>
7151 #endif
7152 #ifdef HAVE_NETINET_TCP_H
7153 # include <netinet/tcp.h>
7154 #endif
7155 #ifdef HAVE_NETINET_TCP_TIMER_H
7156 #include <netinet/tcp_timer.h>
7157 #endif
7159 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7160 cat >>confdefs.h <<_ACEOF
7161 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7162 _ACEOF
7166 done
7169 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7170 do :
7171 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7172 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7173 #ifdef HAVE_ASM_TYPES_H
7174 # include <asm/types.h>
7175 #endif
7176 #ifdef HAVE_SYS_SOCKET_H
7177 # include <sys/socket.h>
7178 #endif
7179 #ifdef HAVE_LINUX_TYPES_H
7180 # include <linux/types.h>
7181 #endif
7183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7184 cat >>confdefs.h <<_ACEOF
7185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7186 _ACEOF
7190 done
7193 for ac_header in mach-o/dyld_images.h
7194 do :
7195 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7196 # include <stdbool.h>
7197 #endif
7198 #ifdef HAVE_STDINT_H
7199 # include <stdint.h>
7200 #endif
7202 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7203 cat >>confdefs.h <<_ACEOF
7204 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7205 _ACEOF
7209 done
7212 for ac_header in resolv.h
7213 do :
7214 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7215 #ifdef HAVE_SYS_SOCKET_H
7216 # include <sys/socket.h>
7217 #endif
7218 #ifdef HAVE_NETINET_IN_H
7219 # include <netinet/in.h>
7220 #endif
7221 #ifdef HAVE_ARPA_NAMESER_H
7222 # include <arpa/nameser.h>
7223 #endif
7225 if test "x$ac_cv_header_resolv_h" = xyes; then :
7226 cat >>confdefs.h <<_ACEOF
7227 #define HAVE_RESOLV_H 1
7228 _ACEOF
7232 done
7235 for ac_header in ifaddrs.h
7236 do :
7237 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7239 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define HAVE_IFADDRS_H 1
7242 _ACEOF
7246 done
7249 for ac_header in sys/ucontext.h
7250 do :
7251 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7253 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7254 cat >>confdefs.h <<_ACEOF
7255 #define HAVE_SYS_UCONTEXT_H 1
7256 _ACEOF
7260 done
7263 for ac_header in sys/thr.h
7264 do :
7265 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7266 #ifdef HAVE_SYS_UCONTEXT_H
7267 #include <sys/ucontext.h>
7268 #endif
7270 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7271 cat >>confdefs.h <<_ACEOF
7272 #define HAVE_SYS_THR_H 1
7273 _ACEOF
7277 done
7280 for ac_header in pthread_np.h
7281 do :
7282 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7283 #include <pthread.h>
7284 #endif
7286 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7287 cat >>confdefs.h <<_ACEOF
7288 #define HAVE_PTHREAD_NP_H 1
7289 _ACEOF
7293 done
7296 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7297 do :
7298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7299 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7300 #include <sys/time.h>
7301 #endif
7302 #include <sys/types.h>
7303 #ifdef HAVE_ASM_TYPES_H
7304 #include <asm/types.h>
7305 #endif
7307 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7308 cat >>confdefs.h <<_ACEOF
7309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7310 _ACEOF
7314 done
7317 for ac_header in libprocstat.h
7318 do :
7319 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7320 #include <sys/param.h>
7321 #endif
7322 #ifdef HAVE_SYS_QUEUE_H
7323 #include <sys/queue.h>
7324 #endif
7325 #ifdef HAVE_SYS_SOCKET_H
7326 #include <sys/socket.h>
7327 #endif
7329 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7330 cat >>confdefs.h <<_ACEOF
7331 #define HAVE_LIBPROCSTAT_H 1
7332 _ACEOF
7336 done
7340 dlldir="\${libdir}/wine"
7342 DLLFLAGS="-D_REENTRANT"
7344 LDRPATH_INSTALL=""
7346 LDRPATH_LOCAL=""
7348 LDEXECFLAGS=""
7350 WINELOADER_LDFLAGS=""
7352 LIBEXT="so"
7353 DLLEXT=".so"
7354 IMPLIBEXT="def"
7355 # Extract the first word of "ldd", so it can be a program name with args.
7356 set dummy ldd; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_path_LDD+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 case $LDD in
7363 [\\/]* | ?:[\\/]*)
7364 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 as_dummy="/sbin:/usr/sbin:$PATH"
7369 for as_dir in $as_dummy
7371 IFS=$as_save_IFS
7372 test -z "$as_dir" && as_dir=.
7373 for ac_exec_ext in '' $ac_executable_extensions; do
7374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7375 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7377 break 2
7379 done
7380 done
7381 IFS=$as_save_IFS
7383 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7385 esac
7387 LDD=$ac_cv_path_LDD
7388 if test -n "$LDD"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7390 $as_echo "$LDD" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7397 if test -n "$ac_tool_prefix"; then
7398 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}otool; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_OTOOL+:} false; then :
7403 $as_echo_n "(cached) " >&6
7404 else
7405 if test -n "$OTOOL"; then
7406 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7407 else
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 for as_dir in $PATH
7411 IFS=$as_save_IFS
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7415 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 break 2
7419 done
7420 done
7421 IFS=$as_save_IFS
7425 OTOOL=$ac_cv_prog_OTOOL
7426 if test -n "$OTOOL"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7428 $as_echo "$OTOOL" >&6; }
7429 else
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7436 if test -z "$ac_cv_prog_OTOOL"; then
7437 ac_ct_OTOOL=$OTOOL
7438 # Extract the first word of "otool", so it can be a program name with args.
7439 set dummy otool; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7443 $as_echo_n "(cached) " >&6
7444 else
7445 if test -n "$ac_ct_OTOOL"; then
7446 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7447 else
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7449 for as_dir in $PATH
7451 IFS=$as_save_IFS
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7455 ac_cv_prog_ac_ct_OTOOL="otool"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7457 break 2
7459 done
7460 done
7461 IFS=$as_save_IFS
7465 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7466 if test -n "$ac_ct_OTOOL"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7468 $as_echo "$ac_ct_OTOOL" >&6; }
7469 else
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7474 if test "x$ac_ct_OTOOL" = x; then
7475 OTOOL="otool"
7476 else
7477 case $cross_compiling:$ac_tool_warned in
7478 yes:)
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481 ac_tool_warned=yes ;;
7482 esac
7483 OTOOL=$ac_ct_OTOOL
7485 else
7486 OTOOL="$ac_cv_prog_OTOOL"
7489 if test -n "$ac_tool_prefix"; then
7490 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_READELF+:} false; then :
7495 $as_echo_n "(cached) " >&6
7496 else
7497 if test -n "$READELF"; then
7498 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7499 else
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 for as_dir in $PATH
7503 IFS=$as_save_IFS
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7507 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 break 2
7511 done
7512 done
7513 IFS=$as_save_IFS
7517 READELF=$ac_cv_prog_READELF
7518 if test -n "$READELF"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7520 $as_echo "$READELF" >&6; }
7521 else
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7528 if test -z "$ac_cv_prog_READELF"; then
7529 ac_ct_READELF=$READELF
7530 # Extract the first word of "readelf", so it can be a program name with args.
7531 set dummy readelf; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7535 $as_echo_n "(cached) " >&6
7536 else
7537 if test -n "$ac_ct_READELF"; then
7538 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7539 else
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7541 for as_dir in $PATH
7543 IFS=$as_save_IFS
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7547 ac_cv_prog_ac_ct_READELF="readelf"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 break 2
7551 done
7552 done
7553 IFS=$as_save_IFS
7557 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7558 if test -n "$ac_ct_READELF"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7560 $as_echo "$ac_ct_READELF" >&6; }
7561 else
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7566 if test "x$ac_ct_READELF" = x; then
7567 READELF="true"
7568 else
7569 case $cross_compiling:$ac_tool_warned in
7570 yes:)
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7573 ac_tool_warned=yes ;;
7574 esac
7575 READELF=$ac_ct_READELF
7577 else
7578 READELF="$ac_cv_prog_READELF"
7581 wine_rules_file=conf$$rules.make
7582 rm -f $wine_rules_file
7583 SUBDIRS=""
7585 DISABLED_SUBDIRS=""
7587 CONFIGURE_TARGETS=""
7589 ALL_TEST_RESOURCES=""
7592 wine_fn_append_file ()
7594 as_fn_append $1 " \\$as_nl $2"
7597 wine_fn_append_rule ()
7599 $as_echo "$1" >>$wine_rules_file
7602 wine_fn_has_flag ()
7604 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7607 wine_fn_all_rules ()
7609 wine_fn_append_file SUBDIRS $ac_dir
7610 wine_fn_append_rule \
7611 "all: $ac_dir
7612 .PHONY: $ac_dir
7613 $ac_dir: dummy
7614 @cd $ac_dir && \$(MAKE)"
7617 wine_fn_install_rules ()
7619 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7621 wine_fn_append_rule \
7622 ".PHONY: $ac_dir/install $ac_dir/uninstall
7623 $ac_dir/install:: $ac_dir
7624 @cd $ac_dir && \$(MAKE) install
7625 $ac_dir/uninstall::
7626 @cd $ac_dir && \$(MAKE) uninstall
7627 install:: $ac_dir/install
7628 __uninstall__: $ac_dir/uninstall"
7630 if wine_fn_has_flag install-lib
7631 then
7632 wine_fn_append_rule \
7633 ".PHONY: $ac_dir/install-lib
7634 $ac_dir/install-lib:: $ac_dir
7635 @cd $ac_dir && \$(MAKE) install-lib
7636 install-lib:: $ac_dir/install-lib"
7639 if wine_fn_has_flag install-dev
7640 then
7641 wine_fn_append_rule \
7642 ".PHONY: $ac_dir/install-dev
7643 $ac_dir/install-dev:: $ac_dir
7644 @cd $ac_dir && \$(MAKE) install-dev
7645 install-dev:: $ac_dir/install-dev"
7649 wine_fn_clean_rules ()
7651 ac_clean=$@
7653 if wine_fn_has_flag clean
7654 then
7655 wine_fn_append_rule \
7656 "$ac_dir/clean: dummy
7657 @cd $ac_dir && \$(MAKE) clean"
7658 else
7659 wine_fn_append_rule \
7660 "$ac_dir/clean: dummy
7661 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7663 wine_fn_append_rule \
7664 "__clean__: $ac_dir/clean
7665 .PHONY: $ac_dir/clean"
7668 wine_fn_disabled_rules ()
7670 ac_clean=$@
7672 wine_fn_append_file SUBDIRS $ac_dir
7673 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7674 wine_fn_append_rule \
7675 "__clean__: $ac_dir/clean
7676 .PHONY: $ac_dir/clean
7677 $ac_dir/clean: dummy
7678 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7681 wine_fn_config_makefile ()
7683 ac_dir=$1
7684 ac_enable=$2
7685 ac_flags=$3
7687 case $ac_dir in
7688 fonts|server) test -z "$with_wine64" || return ;;
7689 esac
7690 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7691 wine_fn_disabled_rules; return
7693 wine_fn_all_rules
7694 wine_fn_install_rules
7695 wine_fn_clean_rules
7698 wine_fn_config_lib ()
7700 ac_name=$1
7701 ac_flags=$2
7702 ac_dir=dlls/$ac_name
7703 ac_deps="include"
7705 if test "x$enable_tools" = xno; then :
7707 else
7708 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7710 wine_fn_all_rules
7711 wine_fn_clean_rules
7713 wine_fn_append_rule \
7714 ".PHONY: $ac_dir/install $ac_dir/uninstall
7715 $ac_dir/install:: $ac_dir
7716 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7717 $ac_dir/uninstall::
7718 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7719 install install-dev:: $ac_dir/install
7720 __uninstall__: $ac_dir/uninstall
7721 __builddeps__: $ac_dir
7722 $ac_dir: $ac_deps"
7725 wine_fn_config_dll ()
7727 ac_name=$1
7728 ac_dir=dlls/$ac_name
7729 ac_enable=$2
7730 ac_flags=$3
7731 ac_implib=${4:-$ac_name}
7732 ac_file=$ac_dir/lib$ac_implib
7733 ac_dll=$ac_name
7734 ac_deps="include"
7735 ac_implibflags=""
7737 if test "x$enable_tools" = xno; then :
7739 else
7740 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7742 case $ac_name in
7743 *.*16) ac_implibflags=" -m16" ;;
7744 *.*) ;;
7745 *) ac_dll=$ac_dll.dll ;;
7746 esac
7748 ac_clean=
7749 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7750 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7752 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7753 if test "$ac_enable" != enable_win16
7754 then
7755 wine_fn_clean_rules $ac_clean
7756 wine_fn_append_file SUBDIRS $ac_dir
7757 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7758 else
7759 wine_fn_disabled_rules $ac_clean
7760 return
7762 else
7763 wine_fn_all_rules
7764 wine_fn_clean_rules $ac_clean
7765 wine_fn_append_rule \
7766 "$ac_dir: __builddeps__
7767 manpages htmlpages sgmlpages xmlpages::
7768 @cd $ac_dir && \$(MAKE) \$@
7769 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7770 install install-lib:: $ac_dir/install-lib
7771 __uninstall__: $ac_dir/uninstall"
7772 if test -n "$DLLEXT"
7773 then
7774 wine_fn_append_rule \
7775 "$ac_dir/install-lib:: $ac_dir
7776 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7777 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7778 $ac_dir/uninstall::
7779 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7780 else
7781 wine_fn_append_rule \
7782 "$ac_dir/install-lib:: $ac_dir
7783 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7784 $ac_dir/uninstall::
7785 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7789 if wine_fn_has_flag staticimplib
7790 then
7791 wine_fn_append_rule \
7792 "__builddeps__: $ac_file.a
7793 $ac_file.a $ac_file.cross.a: $ac_deps
7794 $ac_file.a: dummy
7795 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7796 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7797 $ac_dir/install-dev:: $ac_file.a
7798 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7799 $ac_dir/uninstall::
7800 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7801 install install-dev:: $ac_dir/install-dev
7802 __uninstall__: $ac_dir/uninstall"
7804 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7805 then
7806 wine_fn_append_rule \
7807 "__builddeps__: $ac_file.cross.a
7808 $ac_file.cross.a: dummy
7809 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7812 elif wine_fn_has_flag implib
7813 then
7814 wine_fn_append_rule \
7815 "__builddeps__: $ac_file.$IMPLIBEXT
7816 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7817 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7818 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7819 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7820 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7821 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7822 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7823 $ac_dir/uninstall::
7824 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7825 install install-dev:: $ac_dir/install-dev
7826 __uninstall__: $ac_dir/uninstall"
7827 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7828 then
7829 wine_fn_append_rule \
7830 "__builddeps__: $ac_file.cross.a
7831 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7832 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7837 wine_fn_config_program ()
7839 ac_name=$1
7840 ac_dir=programs/$ac_name
7841 ac_enable=$2
7842 ac_flags=$3
7843 ac_program=$ac_name
7845 case $ac_name in
7846 *.*) ;;
7847 *) ac_program=$ac_program.exe ;;
7848 esac
7850 ac_clean=
7851 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7852 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7854 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7855 wine_fn_disabled_rules $ac_clean; return
7858 wine_fn_all_rules
7859 wine_fn_clean_rules $ac_clean
7860 wine_fn_append_rule "$ac_dir: __builddeps__"
7862 wine_fn_has_flag install || return
7863 wine_fn_append_rule \
7864 ".PHONY: $ac_dir/install $ac_dir/uninstall
7865 install install-lib:: $ac_dir/install
7866 __uninstall__: $ac_dir/uninstall"
7868 if test -n "$DLLEXT"
7869 then
7870 wine_fn_append_rule \
7871 "$ac_dir/install:: $ac_dir
7872 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7873 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7874 $ac_dir/uninstall::
7875 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7877 if test -z "$with_wine64" && wine_fn_has_flag installbin
7878 then
7879 wine_fn_append_rule \
7880 "$ac_dir/install:: __tooldeps__
7881 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7882 $ac_dir/uninstall::
7883 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7885 else
7886 wine_fn_append_rule \
7887 "$ac_dir/install:: $ac_dir
7888 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7889 $ac_dir/uninstall::
7890 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7893 if test -z "$with_wine64" && wine_fn_has_flag manpage
7894 then
7895 wine_fn_append_rule \
7896 "$ac_dir/install:: $ac_dir
7897 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7898 $ac_dir/uninstall::
7899 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7903 wine_fn_config_test ()
7905 ac_dir=$1
7906 ac_name=$2
7907 ac_flags=$3
7909 ac_clean=
7910 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7911 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7913 if test "x$enable_tests" = xno; then :
7914 wine_fn_disabled_rules $ac_clean; return
7917 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7918 wine_fn_all_rules
7919 wine_fn_clean_rules $ac_clean
7921 wine_fn_append_rule \
7922 "$ac_dir: __builddeps__
7923 programs/winetest: $ac_dir
7924 check test: $ac_dir/test
7925 .PHONY: $ac_dir/test
7926 $ac_dir/test: dummy
7927 @cd $ac_dir && \$(MAKE) test
7928 testclean::
7929 \$(RM) $ac_dir/*.ok"
7931 if test -n "$CROSSTARGET"
7932 then
7933 wine_fn_append_rule \
7934 "crosstest: $ac_dir/crosstest
7935 .PHONY: $ac_dir/crosstest
7936 $ac_dir/crosstest: __builddeps__ dummy
7937 @cd $ac_dir && \$(MAKE) crosstest"
7941 wine_fn_config_tool ()
7943 ac_dir=$1
7944 ac_flags=$2
7945 if test "x$enable_tools" = xno; then :
7946 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7949 wine_fn_all_rules
7950 wine_fn_install_rules
7951 wine_fn_clean_rules
7953 wine_fn_append_rule "__tooldeps__: $ac_dir"
7954 wine_fn_append_rule "$ac_dir: libs/port"
7955 case $ac_dir in
7956 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7957 esac
7960 wine_fn_config_symlink ()
7962 ac_linkdir=
7963 if test "x$1" = "x-d"
7964 then
7965 ac_linkdir=$2
7966 shift; shift
7968 ac_links=$@
7969 wine_fn_append_rule \
7970 "$ac_links:
7971 @./config.status \$@"
7972 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7973 test -n "$ac_linkdir" || return
7974 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7977 wine_binary="wine"
7978 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7979 WINELOADER_PROGRAMS="$wine_binary"
7981 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7983 case $host_os in
7984 cygwin*|mingw32*)
7985 if test -n "$ac_tool_prefix"; then
7986 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7987 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7989 $as_echo_n "checking for $ac_word... " >&6; }
7990 if ${ac_cv_prog_DLLTOOL+:} false; then :
7991 $as_echo_n "(cached) " >&6
7992 else
7993 if test -n "$DLLTOOL"; then
7994 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7995 else
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 for as_dir in $PATH
7999 IFS=$as_save_IFS
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8003 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 break 2
8007 done
8008 done
8009 IFS=$as_save_IFS
8013 DLLTOOL=$ac_cv_prog_DLLTOOL
8014 if test -n "$DLLTOOL"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8016 $as_echo "$DLLTOOL" >&6; }
8017 else
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8019 $as_echo "no" >&6; }
8024 if test -z "$ac_cv_prog_DLLTOOL"; then
8025 ac_ct_DLLTOOL=$DLLTOOL
8026 # Extract the first word of "dlltool", so it can be a program name with args.
8027 set dummy dlltool; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8031 $as_echo_n "(cached) " >&6
8032 else
8033 if test -n "$ac_ct_DLLTOOL"; then
8034 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8035 else
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 for as_dir in $PATH
8039 IFS=$as_save_IFS
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8043 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8045 break 2
8047 done
8048 done
8049 IFS=$as_save_IFS
8053 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8054 if test -n "$ac_ct_DLLTOOL"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8056 $as_echo "$ac_ct_DLLTOOL" >&6; }
8057 else
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8059 $as_echo "no" >&6; }
8062 if test "x$ac_ct_DLLTOOL" = x; then
8063 DLLTOOL="false"
8064 else
8065 case $cross_compiling:$ac_tool_warned in
8066 yes:)
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8069 ac_tool_warned=yes ;;
8070 esac
8071 DLLTOOL=$ac_ct_DLLTOOL
8073 else
8074 DLLTOOL="$ac_cv_prog_DLLTOOL"
8077 LIBEXT="dll"
8078 DLLEXT=""
8079 IMPLIBEXT="a"
8080 enable_iphlpapi=${enable_iphlpapi:-no}
8081 enable_kernel32=${enable_kernel32:-no}
8082 enable_msvcrt=${enable_msvcrt:-no}
8083 enable_ntdll=${enable_ntdll:-no}
8084 enable_ws2_32=${enable_ws2_32:-no}
8085 enable_loader=${enable_loader:-no}
8086 enable_server=${enable_server:-no}
8087 with_x=${with_x:-no}
8088 with_pthread=${with_pthread:-no}
8090 crtlibs=""
8091 case $host_os in
8092 mingw32*)
8093 crtlibs="-lmsvcrt"
8094 SOCKET_LIBS="-lws2_32"
8096 esac
8098 LIBWINE_SHAREDLIB="libwine.dll"
8100 LIBWINE_IMPORTLIB="libwine.a"
8102 LIBWINE_INSTALL_LIB="libwine.dll"
8104 LIBWINE_INSTALL_DEV="libwine.a"
8106 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8108 LIBWINE_DEPENDS="wine.def"
8112 darwin*|macosx*)
8113 for ac_header in libunwind.h
8114 do :
8115 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8117 cat >>confdefs.h <<_ACEOF
8118 #define HAVE_LIBUNWIND_H 1
8119 _ACEOF
8123 done
8125 LIBEXT="dylib"
8126 DLLFLAGS="$DLLFLAGS -fPIC"
8127 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8128 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8129 COREFOUNDATION_LIBS="-framework CoreFoundation"
8131 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8133 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8135 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8137 CORESERVICES_LIBS="-framework CoreServices"
8139 APPKIT_LIBS="-framework AppKit"
8141 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8143 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8144 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8145 $as_echo_n "(cached) " >&6
8146 else
8147 ac_wine_try_cflags_saved=$CFLAGS
8148 CFLAGS="$CFLAGS -Wl,-no_pie"
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 int main(int argc, char **argv) { return 0; }
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 ac_cv_cflags__Wl__no_pie=yes
8155 else
8156 ac_cv_cflags__Wl__no_pie=no
8158 rm -f core conftest.err conftest.$ac_objext \
8159 conftest$ac_exeext conftest.$ac_ext
8160 CFLAGS=$ac_wine_try_cflags_saved
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8163 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8164 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8165 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8167 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8168 then
8169 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8172 if test "$ac_cv_header_Security_Security_h" = "yes"
8173 then
8174 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8176 ac_save_LIBS="$LIBS"
8177 LIBS="$LIBS $SECURITY_LIBS"
8178 for ac_func in SSLCopyPeerCertificates
8179 do :
8180 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8181 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8182 cat >>confdefs.h <<_ACEOF
8183 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8184 _ACEOF
8187 done
8189 LIBS="$ac_save_LIBS"
8190 with_gnutls=${with_gnutls:-no}
8192 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8193 then
8194 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8195 then
8196 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8198 else
8199 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8202 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8203 ac_save_LIBS="$LIBS"
8204 LIBS="$LIBS $COREAUDIO_LIBS"
8205 for ac_func in AUGraphAddNode
8206 do :
8207 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8208 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8209 cat >>confdefs.h <<_ACEOF
8210 #define HAVE_AUGRAPHADDNODE 1
8211 _ACEOF
8214 done
8216 LIBS="$ac_save_LIBS"
8218 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8219 then
8220 OPENAL_LIBS="-framework OpenAL"
8223 cat >>confdefs.h <<_ACEOF
8224 #define HAVE_OPENAL 1
8225 _ACEOF
8227 ac_cv_lib_openal=yes
8229 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8230 then
8231 OPENCL_LIBS="-framework OpenCL"
8233 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8235 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8236 then
8237 ac_save_LIBS="$LIBS"
8238 LIBS="$LIBS $IOKIT_LIBS"
8239 for ac_func in IOHIDManagerCreate
8240 do :
8241 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8242 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8243 cat >>confdefs.h <<_ACEOF
8244 #define HAVE_IOHIDMANAGERCREATE 1
8245 _ACEOF
8248 done
8250 LIBS="$ac_save_LIBS"
8252 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8253 then
8254 ac_save_LIBS="$LIBS"
8255 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8257 $as_echo_n "checking for the QuickTime framework... " >&6; }
8258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8259 /* end confdefs.h. */
8260 #include <QuickTime/ImageCompression.h>
8262 main ()
8264 CodecManagerVersion(NULL);
8266 return 0;
8268 _ACEOF
8269 if ac_fn_c_try_link "$LINENO"; then :
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8271 $as_echo "yes" >&6; }
8272 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8274 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8278 ac_cv_header_QuickTime_ImageCompression_h=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 LIBS="$ac_save_LIBS"
8284 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8285 then
8286 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8288 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8289 then
8290 CARBON_LIBS="-framework Carbon"
8294 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8295 then
8296 ac_save_LIBS="$LIBS"
8297 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8298 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8299 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8300 enable_winemac_drv=${enable_winemac_drv:-yes}
8303 LIBS="$ac_save_LIBS"
8306 if test "x$enable_win16" = "xyes"
8307 then
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8309 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8310 if test "$cross_compiling" = yes; then :
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8312 $as_echo "cross-compiling, assuming yes" >&6; }
8313 else
8314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8316 asm(".text\n"
8317 "bad:\tnop;nop\n"
8318 "good:\tnop;nop\n\t"
8319 ".globl _testfunc\n"
8320 "_testfunc:\tcallw good");
8321 extern void testfunc();
8323 main ()
8325 unsigned short *p = (unsigned short *)testfunc;
8326 return p[0] != 0xe866 || p[1] != 0xfffa
8328 return 0;
8330 _ACEOF
8331 if ac_fn_c_try_run "$LINENO"; then :
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8333 $as_echo "yes" >&6; }
8334 else
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8337 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
8339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8340 conftest.$ac_objext conftest.beam conftest.$ac_ext
8345 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8347 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8349 LIBWINE_INSTALL_DEV="libwine.dylib"
8351 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8353 WINELOADER_DEPENDS="wine_info.plist"
8357 linux-android*)
8358 DLLFLAGS="$DLLFLAGS -fPIC"
8359 LDEXECFLAGS="-Wl,-pie"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8361 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8362 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8363 $as_echo_n "(cached) " >&6
8364 else
8365 ac_wine_try_cflags_saved=$CFLAGS
8366 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8369 int main(int argc, char **argv) { return 0; }
8370 _ACEOF
8371 if ac_fn_c_try_link "$LINENO"; then :
8372 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8373 else
8374 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8376 rm -f core conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 CFLAGS=$ac_wine_try_cflags_saved
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8381 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8382 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8383 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8385 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8388 if eval \${$as_ac_var+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 eval "$as_ac_var=yes"
8399 else
8400 eval "$as_ac_var=no"
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 eval ac_res=\$$as_ac_var
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8408 $as_echo "$ac_res" >&6; }
8409 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8410 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8411 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8412 else
8413 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8415 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8416 if eval \${$as_ac_var+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 eval "$as_ac_var=yes"
8427 else
8428 eval "$as_ac_var=no"
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 eval ac_res=\$$as_ac_var
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8436 $as_echo "$ac_res" >&6; }
8437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8438 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8439 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8443 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8444 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__Wl___enable_new_dtags=yes
8455 else
8456 ac_cv_cflags__Wl___enable_new_dtags=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8463 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8464 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8465 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8468 LIBWINE_SHAREDLIB="libwine.so"
8470 LIBWINE_INSTALL_LIB="libwine.so"
8472 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8477 DLLFLAGS="$DLLFLAGS -fPIC"
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8479 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8480 if ${ac_cv_c_dll_gnuelf+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 void myfunc() {}
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_c_dll_gnuelf="yes"
8491 else
8492 ac_cv_c_dll_gnuelf="no"
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8499 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8500 if test "$ac_cv_c_dll_gnuelf" = "yes"
8501 then
8502 LIBWINE_LDFLAGS="-shared"
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8504 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8505 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_wine_try_cflags_saved=$CFLAGS
8509 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8512 int main(int argc, char **argv) { return 0; }
8513 _ACEOF
8514 if ac_fn_c_try_link "$LINENO"; then :
8515 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8516 else
8517 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8519 rm -f core conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8524 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8525 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8526 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8527 else
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8529 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8530 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8541 else
8542 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 CFLAGS=$ac_wine_try_cflags_saved
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8549 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8550 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8551 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8555 echo '{ global: *; };' >conftest.map
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8557 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8558 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 ac_wine_try_cflags_saved=$CFLAGS
8562 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8569 else
8570 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 CFLAGS=$ac_wine_try_cflags_saved
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8577 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8578 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8579 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8581 rm -f conftest.map
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8584 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8585 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8596 else
8597 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8604 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8605 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8606 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8609 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8611 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8612 if eval \${$as_ac_var+:} false; then :
8613 $as_echo_n "(cached) " >&6
8614 else
8615 ac_wine_try_cflags_saved=$CFLAGS
8616 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8619 int main(int argc, char **argv) { return 0; }
8620 _ACEOF
8621 if ac_fn_c_try_link "$LINENO"; then :
8622 eval "$as_ac_var=yes"
8623 else
8624 eval "$as_ac_var=no"
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 CFLAGS=$ac_wine_try_cflags_saved
8630 eval ac_res=\$$as_ac_var
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8632 $as_echo "$ac_res" >&6; }
8633 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8634 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8635 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8636 else
8637 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8639 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8640 if eval \${$as_ac_var+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 eval "$as_ac_var=yes"
8651 else
8652 eval "$as_ac_var=no"
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 eval ac_res=\$$as_ac_var
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8660 $as_echo "$ac_res" >&6; }
8661 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8662 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8663 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8668 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8669 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8670 $as_echo_n "(cached) " >&6
8671 else
8672 ac_wine_try_cflags_saved=$CFLAGS
8673 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8675 /* end confdefs.h. */
8676 int main(int argc, char **argv) { return 0; }
8677 _ACEOF
8678 if ac_fn_c_try_link "$LINENO"; then :
8679 ac_cv_cflags__Wl___enable_new_dtags=yes
8680 else
8681 ac_cv_cflags__Wl___enable_new_dtags=no
8683 rm -f core conftest.err conftest.$ac_objext \
8684 conftest$ac_exeext conftest.$ac_ext
8685 CFLAGS=$ac_wine_try_cflags_saved
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8688 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8689 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8690 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8693 case $host_cpu in
8694 *i[3456789]86* | x86_64)
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8696 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8697 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8708 else
8709 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8716 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8717 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8718 case $host_os in
8719 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8720 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8721 esac
8722 else
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8724 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8725 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8726 $as_echo_n "(cached) " >&6
8727 else
8728 ac_wine_try_cflags_saved=$CFLAGS
8729 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */
8732 int main(int argc, char **argv) { return 0; }
8733 _ACEOF
8734 if ac_fn_c_try_link "$LINENO"; then :
8735 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8736 else
8737 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8739 rm -f core conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 CFLAGS=$ac_wine_try_cflags_saved
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8744 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8745 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8746 case $host_os in
8747 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8748 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8749 esac
8751 # Extract the first word of "prelink", so it can be a program name with args.
8752 set dummy prelink; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8754 $as_echo_n "checking for $ac_word... " >&6; }
8755 if ${ac_cv_path_PRELINK+:} false; then :
8756 $as_echo_n "(cached) " >&6
8757 else
8758 case $PRELINK in
8759 [\\/]* | ?:[\\/]*)
8760 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 for as_dir in /sbin /usr/sbin $PATH
8766 IFS=$as_save_IFS
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8770 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 break 2
8774 done
8775 done
8776 IFS=$as_save_IFS
8778 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8780 esac
8782 PRELINK=$ac_cv_path_PRELINK
8783 if test -n "$PRELINK"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8785 $as_echo "$PRELINK" >&6; }
8786 else
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8792 if test "x$PRELINK" = xfalse
8793 then
8794 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8798 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8799 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8810 else
8811 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8818 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8819 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8820 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8823 esac
8825 else
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8827 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8828 if ${ac_cv_c_dll_unixware+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 void myfunc() {}
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_c_dll_unixware="yes"
8839 else
8840 ac_cv_c_dll_unixware="no"
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8847 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8848 if test "$ac_cv_c_dll_unixware" = "yes"
8849 then
8850 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8853 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8855 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8857 LIBWINE_INSTALL_DEV="libwine.so"
8859 LIBWINE_DEPENDS="wine.map"
8862 esac
8864 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8865 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8866 enable_winemac_drv=${enable_winemac_drv:-no}
8867 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8869 CROSSTARGET=""
8871 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8872 then
8873 case "$host_cpu" in
8874 arm*)
8875 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8876 i[3456789]86*)
8877 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
8878 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8879 mingw32-gcc" ;;
8880 x86_64)
8881 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
8882 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8884 ac_prefix_list="" ;;
8885 esac
8886 for ac_prog in $ac_prefix_list
8888 # Extract the first word of "$ac_prog", so it can be a program name with args.
8889 set dummy $ac_prog; ac_word=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891 $as_echo_n "checking for $ac_word... " >&6; }
8892 if ${ac_cv_prog_CROSSCC+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 if test -n "$CROSSCC"; then
8896 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8897 else
8898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8899 for as_dir in $PATH
8901 IFS=$as_save_IFS
8902 test -z "$as_dir" && as_dir=.
8903 for ac_exec_ext in '' $ac_executable_extensions; do
8904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8905 ac_cv_prog_CROSSCC="$ac_prog"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907 break 2
8909 done
8910 done
8911 IFS=$as_save_IFS
8915 CROSSCC=$ac_cv_prog_CROSSCC
8916 if test -n "$CROSSCC"; then
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8918 $as_echo "$CROSSCC" >&6; }
8919 else
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8921 $as_echo "no" >&6; }
8925 test -n "$CROSSCC" && break
8926 done
8927 test -n "$CROSSCC" || CROSSCC="false"
8929 if test "$CROSSCC" != "false"
8930 then
8931 ac_save_CC="$CC"
8932 CC="$CROSSCC"
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8934 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8936 /* end confdefs.h. */
8939 main ()
8943 return 0;
8945 _ACEOF
8946 if ac_fn_c_try_compile "$LINENO"; then :
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8948 $as_echo "yes" >&6; }
8949 set x $CROSSCC
8950 shift
8951 while test $# -ge 1
8953 case "$1" in
8954 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8955 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8956 esac
8957 shift
8958 done
8959 else
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8961 $as_echo "no" >&6; }
8963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8964 CC="$ac_save_CC"
8969 if test "$ac_cv_header_pthread_h" = "yes"
8970 then
8971 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8972 if test "x$ac_cv_func_pthread_create" = xyes; then :
8974 else
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8976 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8977 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8978 $as_echo_n "(cached) " >&6
8979 else
8980 ac_check_lib_save_LIBS=$LIBS
8981 LIBS="-lpthread $LIBS"
8982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8983 /* end confdefs.h. */
8985 /* Override any GCC internal prototype to avoid an error.
8986 Use char because int might match the return type of a GCC
8987 builtin and then its argument prototype would still apply. */
8988 #ifdef __cplusplus
8989 extern "C"
8990 #endif
8991 char pthread_create ();
8993 main ()
8995 return pthread_create ();
8997 return 0;
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 ac_cv_lib_pthread_pthread_create=yes
9002 else
9003 ac_cv_lib_pthread_pthread_create=no
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 LIBS=$ac_check_lib_save_LIBS
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9010 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9011 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9012 PTHREAD_LIBS="-lpthread"
9019 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9020 case "x$with_pthread" in
9021 xno) ;;
9022 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9023 Wine cannot support threads without libpthread.
9024 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9025 esac
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9031 $as_echo_n "checking for X... " >&6; }
9034 # Check whether --with-x was given.
9035 if test "${with_x+set}" = set; then :
9036 withval=$with_x;
9039 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9040 if test "x$with_x" = xno; then
9041 # The user explicitly disabled X.
9042 have_x=disabled
9043 else
9044 case $x_includes,$x_libraries in #(
9045 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9046 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9047 $as_echo_n "(cached) " >&6
9048 else
9049 # One or both of the vars are not set, and there is no cached value.
9050 ac_x_includes=no ac_x_libraries=no
9051 rm -f -r conftest.dir
9052 if mkdir conftest.dir; then
9053 cd conftest.dir
9054 cat >Imakefile <<'_ACEOF'
9055 incroot:
9056 @echo incroot='${INCROOT}'
9057 usrlibdir:
9058 @echo usrlibdir='${USRLIBDIR}'
9059 libdir:
9060 @echo libdir='${LIBDIR}'
9061 _ACEOF
9062 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9063 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9064 for ac_var in incroot usrlibdir libdir; do
9065 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9066 done
9067 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9068 for ac_extension in a so sl dylib la dll; do
9069 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9070 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9071 ac_im_usrlibdir=$ac_im_libdir; break
9073 done
9074 # Screen out bogus values from the imake configuration. They are
9075 # bogus both because they are the default anyway, and because
9076 # using them would break gcc on systems where it needs fixed includes.
9077 case $ac_im_incroot in
9078 /usr/include) ac_x_includes= ;;
9079 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9080 esac
9081 case $ac_im_usrlibdir in
9082 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9083 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9084 esac
9086 cd ..
9087 rm -f -r conftest.dir
9090 # Standard set of common directories for X headers.
9091 # Check X11 before X11Rn because it is often a symlink to the current release.
9092 ac_x_header_dirs='
9093 /usr/X11/include
9094 /usr/X11R7/include
9095 /usr/X11R6/include
9096 /usr/X11R5/include
9097 /usr/X11R4/include
9099 /usr/include/X11
9100 /usr/include/X11R7
9101 /usr/include/X11R6
9102 /usr/include/X11R5
9103 /usr/include/X11R4
9105 /usr/local/X11/include
9106 /usr/local/X11R7/include
9107 /usr/local/X11R6/include
9108 /usr/local/X11R5/include
9109 /usr/local/X11R4/include
9111 /usr/local/include/X11
9112 /usr/local/include/X11R7
9113 /usr/local/include/X11R6
9114 /usr/local/include/X11R5
9115 /usr/local/include/X11R4
9117 /usr/X386/include
9118 /usr/x386/include
9119 /usr/XFree86/include/X11
9121 /usr/include
9122 /usr/local/include
9123 /usr/unsupported/include
9124 /usr/athena/include
9125 /usr/local/x11r5/include
9126 /usr/lpp/Xamples/include
9128 /usr/openwin/include
9129 /usr/openwin/share/include'
9131 if test "$ac_x_includes" = no; then
9132 # Guess where to find include files, by looking for Xlib.h.
9133 # First, try using that file with no special directory specified.
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 #include <X11/Xlib.h>
9137 _ACEOF
9138 if ac_fn_c_try_cpp "$LINENO"; then :
9139 # We can compile using X headers with no special include directory.
9140 ac_x_includes=
9141 else
9142 for ac_dir in $ac_x_header_dirs; do
9143 if test -r "$ac_dir/X11/Xlib.h"; then
9144 ac_x_includes=$ac_dir
9145 break
9147 done
9149 rm -f conftest.err conftest.i conftest.$ac_ext
9150 fi # $ac_x_includes = no
9152 if test "$ac_x_libraries" = no; then
9153 # Check for the libraries.
9154 # See if we find them without any special options.
9155 # Don't add to $LIBS permanently.
9156 ac_save_LIBS=$LIBS
9157 LIBS="-lX11 $LIBS"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9160 #include <X11/Xlib.h>
9162 main ()
9164 XrmInitialize ()
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 LIBS=$ac_save_LIBS
9171 # We can link X programs with no special library path.
9172 ac_x_libraries=
9173 else
9174 LIBS=$ac_save_LIBS
9175 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9177 # Don't even attempt the hair of trying to link an X program!
9178 for ac_extension in a so sl dylib la dll; do
9179 if test -r "$ac_dir/libX11.$ac_extension"; then
9180 ac_x_libraries=$ac_dir
9181 break 2
9183 done
9184 done
9186 rm -f core conftest.err conftest.$ac_objext \
9187 conftest$ac_exeext conftest.$ac_ext
9188 fi # $ac_x_libraries = no
9190 case $ac_x_includes,$ac_x_libraries in #(
9191 no,* | *,no | *\'*)
9192 # Didn't find X, or a directory has "'" in its name.
9193 ac_cv_have_x="have_x=no";; #(
9195 # Record where we found X for the cache.
9196 ac_cv_have_x="have_x=yes\
9197 ac_x_includes='$ac_x_includes'\
9198 ac_x_libraries='$ac_x_libraries'"
9199 esac
9201 ;; #(
9202 *) have_x=yes;;
9203 esac
9204 eval "$ac_cv_have_x"
9205 fi # $with_x != no
9207 if test "$have_x" != yes; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9209 $as_echo "$have_x" >&6; }
9210 no_x=yes
9211 else
9212 # If each of the values was on the command line, it overrides each guess.
9213 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9214 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9215 # Update the cache value to reflect the command line values.
9216 ac_cv_have_x="have_x=yes\
9217 ac_x_includes='$x_includes'\
9218 ac_x_libraries='$x_libraries'"
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9220 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9223 if test "$no_x" = yes; then
9224 # Not all programs may use this symbol, but it does not hurt to define it.
9226 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9228 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9229 else
9230 if test -n "$x_includes"; then
9231 X_CFLAGS="$X_CFLAGS -I$x_includes"
9234 # It would also be nice to do this for all -L options, not just this one.
9235 if test -n "$x_libraries"; then
9236 X_LIBS="$X_LIBS -L$x_libraries"
9237 # For Solaris; some versions of Sun CC require a space after -R and
9238 # others require no space. Words are not sufficient . . . .
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9240 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9241 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9242 ac_xsave_c_werror_flag=$ac_c_werror_flag
9243 ac_c_werror_flag=yes
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9248 main ()
9252 return 0;
9254 _ACEOF
9255 if ac_fn_c_try_link "$LINENO"; then :
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 $as_echo "no" >&6; }
9258 X_LIBS="$X_LIBS -R$x_libraries"
9259 else
9260 LIBS="$ac_xsave_LIBS -R $x_libraries"
9261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262 /* end confdefs.h. */
9265 main ()
9269 return 0;
9271 _ACEOF
9272 if ac_fn_c_try_link "$LINENO"; then :
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9274 $as_echo "yes" >&6; }
9275 X_LIBS="$X_LIBS -R $x_libraries"
9276 else
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9278 $as_echo "neither works" >&6; }
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 ac_c_werror_flag=$ac_xsave_c_werror_flag
9286 LIBS=$ac_xsave_LIBS
9289 # Check for system-dependent libraries X programs must link with.
9290 # Do this before checking for the system-independent R6 libraries
9291 # (-lICE), since we may need -lsocket or whatever for X linking.
9293 if test "$ISC" = yes; then
9294 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9295 else
9296 # Martyn Johnson says this is needed for Ultrix, if the X
9297 # libraries were built with DECnet support. And Karl Berry says
9298 # the Alpha needs dnet_stub (dnet does not exist).
9299 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9303 /* Override any GCC internal prototype to avoid an error.
9304 Use char because int might match the return type of a GCC
9305 builtin and then its argument prototype would still apply. */
9306 #ifdef __cplusplus
9307 extern "C"
9308 #endif
9309 char XOpenDisplay ();
9311 main ()
9313 return XOpenDisplay ();
9315 return 0;
9317 _ACEOF
9318 if ac_fn_c_try_link "$LINENO"; then :
9320 else
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9322 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9323 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9324 $as_echo_n "(cached) " >&6
9325 else
9326 ac_check_lib_save_LIBS=$LIBS
9327 LIBS="-ldnet $LIBS"
9328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9329 /* end confdefs.h. */
9331 /* Override any GCC internal prototype to avoid an error.
9332 Use char because int might match the return type of a GCC
9333 builtin and then its argument prototype would still apply. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 #endif
9337 char dnet_ntoa ();
9339 main ()
9341 return dnet_ntoa ();
9343 return 0;
9345 _ACEOF
9346 if ac_fn_c_try_link "$LINENO"; then :
9347 ac_cv_lib_dnet_dnet_ntoa=yes
9348 else
9349 ac_cv_lib_dnet_dnet_ntoa=no
9351 rm -f core conftest.err conftest.$ac_objext \
9352 conftest$ac_exeext conftest.$ac_ext
9353 LIBS=$ac_check_lib_save_LIBS
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9356 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9357 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9358 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9361 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9363 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9364 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9365 $as_echo_n "(cached) " >&6
9366 else
9367 ac_check_lib_save_LIBS=$LIBS
9368 LIBS="-ldnet_stub $LIBS"
9369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9370 /* end confdefs.h. */
9372 /* Override any GCC internal prototype to avoid an error.
9373 Use char because int might match the return type of a GCC
9374 builtin and then its argument prototype would still apply. */
9375 #ifdef __cplusplus
9376 extern "C"
9377 #endif
9378 char dnet_ntoa ();
9380 main ()
9382 return dnet_ntoa ();
9384 return 0;
9386 _ACEOF
9387 if ac_fn_c_try_link "$LINENO"; then :
9388 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9389 else
9390 ac_cv_lib_dnet_stub_dnet_ntoa=no
9392 rm -f core conftest.err conftest.$ac_objext \
9393 conftest$ac_exeext conftest.$ac_ext
9394 LIBS=$ac_check_lib_save_LIBS
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9397 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9398 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS="$ac_xsave_LIBS"
9408 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9409 # to get the SysV transport functions.
9410 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9411 # needs -lnsl.
9412 # The nsl library prevents programs from opening the X display
9413 # on Irix 5.2, according to T.E. Dickey.
9414 # The functions gethostbyname, getservbyname, and inet_addr are
9415 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9416 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9417 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9421 if test $ac_cv_func_gethostbyname = no; then
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9423 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9424 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9425 $as_echo_n "(cached) " >&6
9426 else
9427 ac_check_lib_save_LIBS=$LIBS
9428 LIBS="-lnsl $LIBS"
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9430 /* end confdefs.h. */
9432 /* Override any GCC internal prototype to avoid an error.
9433 Use char because int might match the return type of a GCC
9434 builtin and then its argument prototype would still apply. */
9435 #ifdef __cplusplus
9436 extern "C"
9437 #endif
9438 char gethostbyname ();
9440 main ()
9442 return gethostbyname ();
9444 return 0;
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_lib_nsl_gethostbyname=yes
9449 else
9450 ac_cv_lib_nsl_gethostbyname=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 LIBS=$ac_check_lib_save_LIBS
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9457 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9458 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9462 if test $ac_cv_lib_nsl_gethostbyname = no; then
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9464 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9465 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_check_lib_save_LIBS=$LIBS
9469 LIBS="-lbsd $LIBS"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9473 /* Override any GCC internal prototype to avoid an error.
9474 Use char because int might match the return type of a GCC
9475 builtin and then its argument prototype would still apply. */
9476 #ifdef __cplusplus
9477 extern "C"
9478 #endif
9479 char gethostbyname ();
9481 main ()
9483 return gethostbyname ();
9485 return 0;
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 ac_cv_lib_bsd_gethostbyname=yes
9490 else
9491 ac_cv_lib_bsd_gethostbyname=no
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 LIBS=$ac_check_lib_save_LIBS
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9498 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9499 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9500 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9506 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9507 # socket/setsockopt and other routines are undefined under SCO ODT
9508 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9509 # on later versions), says Simon Leinen: it contains gethostby*
9510 # variants that don't use the name server (or something). -lsocket
9511 # must be given before -lnsl if both are needed. We assume that
9512 # if connect needs -lnsl, so does gethostbyname.
9513 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9514 if test "x$ac_cv_func_connect" = xyes; then :
9518 if test $ac_cv_func_connect = no; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9520 $as_echo_n "checking for connect in -lsocket... " >&6; }
9521 if ${ac_cv_lib_socket_connect+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_check_lib_save_LIBS=$LIBS
9525 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9529 /* Override any GCC internal prototype to avoid an error.
9530 Use char because int might match the return type of a GCC
9531 builtin and then its argument prototype would still apply. */
9532 #ifdef __cplusplus
9533 extern "C"
9534 #endif
9535 char connect ();
9537 main ()
9539 return connect ();
9541 return 0;
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545 ac_cv_lib_socket_connect=yes
9546 else
9547 ac_cv_lib_socket_connect=no
9549 rm -f core conftest.err conftest.$ac_objext \
9550 conftest$ac_exeext conftest.$ac_ext
9551 LIBS=$ac_check_lib_save_LIBS
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9554 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9555 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9556 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9561 # Guillermo Gomez says -lposix is necessary on A/UX.
9562 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9563 if test "x$ac_cv_func_remove" = xyes; then :
9567 if test $ac_cv_func_remove = no; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9569 $as_echo_n "checking for remove in -lposix... " >&6; }
9570 if ${ac_cv_lib_posix_remove+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 ac_check_lib_save_LIBS=$LIBS
9574 LIBS="-lposix $LIBS"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9578 /* Override any GCC internal prototype to avoid an error.
9579 Use char because int might match the return type of a GCC
9580 builtin and then its argument prototype would still apply. */
9581 #ifdef __cplusplus
9582 extern "C"
9583 #endif
9584 char remove ();
9586 main ()
9588 return remove ();
9590 return 0;
9592 _ACEOF
9593 if ac_fn_c_try_link "$LINENO"; then :
9594 ac_cv_lib_posix_remove=yes
9595 else
9596 ac_cv_lib_posix_remove=no
9598 rm -f core conftest.err conftest.$ac_objext \
9599 conftest$ac_exeext conftest.$ac_ext
9600 LIBS=$ac_check_lib_save_LIBS
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9603 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9604 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9605 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9610 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9611 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9612 if test "x$ac_cv_func_shmat" = xyes; then :
9616 if test $ac_cv_func_shmat = no; then
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9618 $as_echo_n "checking for shmat in -lipc... " >&6; }
9619 if ${ac_cv_lib_ipc_shmat+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 ac_check_lib_save_LIBS=$LIBS
9623 LIBS="-lipc $LIBS"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630 #ifdef __cplusplus
9631 extern "C"
9632 #endif
9633 char shmat ();
9635 main ()
9637 return shmat ();
9639 return 0;
9641 _ACEOF
9642 if ac_fn_c_try_link "$LINENO"; then :
9643 ac_cv_lib_ipc_shmat=yes
9644 else
9645 ac_cv_lib_ipc_shmat=no
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 LIBS=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9652 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9653 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9654 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9660 # Check for libraries that X11R6 Xt/Xaw programs need.
9661 ac_save_LDFLAGS=$LDFLAGS
9662 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9663 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9664 # check for ICE first), but we must link in the order -lSM -lICE or
9665 # we get undefined symbols. So assume we have SM if we have ICE.
9666 # These have to be linked with before -lX11, unlike the other
9667 # libraries we check for below, so use a different variable.
9668 # John Interrante, Karl Berry
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9670 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9671 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 ac_check_lib_save_LIBS=$LIBS
9675 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char IceConnectionNumber ();
9687 main ()
9689 return IceConnectionNumber ();
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 ac_cv_lib_ICE_IceConnectionNumber=yes
9696 else
9697 ac_cv_lib_ICE_IceConnectionNumber=no
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9704 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9705 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9706 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9709 LDFLAGS=$ac_save_LDFLAGS
9714 if test "$have_x" = "yes"
9715 then
9716 ac_save_CPPFLAGS="$CPPFLAGS"
9717 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9720 $as_echo_n "checking for -lX11... " >&6; }
9721 if ${ac_cv_lib_soname_X11+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 ac_check_soname_save_LIBS=$LIBS
9725 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9727 /* end confdefs.h. */
9729 /* Override any GCC internal prototype to avoid an error.
9730 Use char because int might match the return type of a GCC
9731 builtin and then its argument prototype would still apply. */
9732 #ifdef __cplusplus
9733 extern "C"
9734 #endif
9735 char XCreateWindow ();
9737 main ()
9739 return XCreateWindow ();
9741 return 0;
9743 _ACEOF
9744 if ac_fn_c_try_link "$LINENO"; then :
9745 case "$LIBEXT" in
9746 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9747 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'` ;;
9748 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9749 if ${ac_cv_lib_soname_X11:+false} :; then :
9750 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9751 fi ;;
9752 esac
9754 rm -f core conftest.err conftest.$ac_objext \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_soname_save_LIBS
9758 if ${ac_cv_lib_soname_X11:+false} :; then :
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9760 $as_echo "not found" >&6; }
9762 else
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9764 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9766 cat >>confdefs.h <<_ACEOF
9767 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9768 _ACEOF
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9773 $as_echo_n "checking for -lXext... " >&6; }
9774 if ${ac_cv_lib_soname_Xext+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_soname_save_LIBS=$LIBS
9778 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char XextCreateExtension ();
9790 main ()
9792 return XextCreateExtension ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 case "$LIBEXT" in
9799 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9800 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'` ;;
9801 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9802 if ${ac_cv_lib_soname_Xext:+false} :; then :
9803 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9804 fi ;;
9805 esac
9807 rm -f core conftest.err conftest.$ac_objext \
9808 conftest$ac_exeext conftest.$ac_ext
9809 LIBS=$ac_check_soname_save_LIBS
9811 if ${ac_cv_lib_soname_Xext:+false} :; then :
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9813 $as_echo "not found" >&6; }
9815 else
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9817 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9819 cat >>confdefs.h <<_ACEOF
9820 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9821 _ACEOF
9823 X_LIBS="$X_LIBS -lXext"
9825 X_LIBS="$X_LIBS -lX11"
9827 for ac_header in X11/Xlib.h \
9828 X11/XKBlib.h \
9829 X11/Xutil.h \
9830 X11/Xcursor/Xcursor.h \
9831 X11/extensions/shape.h \
9832 X11/extensions/XInput.h \
9833 X11/extensions/XInput2.h \
9834 X11/extensions/XShm.h \
9835 X11/extensions/Xcomposite.h \
9836 X11/extensions/Xinerama.h \
9837 X11/extensions/Xrandr.h \
9838 X11/extensions/Xrender.h \
9839 X11/extensions/xf86vmode.h \
9840 X11/extensions/xf86vmproto.h
9841 do :
9842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9843 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9844 # include <X11/Xlib.h>
9845 #endif
9846 #ifdef HAVE_X11_XUTIL_H
9847 # include <X11/Xutil.h>
9848 #endif
9850 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9851 cat >>confdefs.h <<_ACEOF
9852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9853 _ACEOF
9857 done
9860 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9861 then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9863 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9864 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_check_lib_save_LIBS=$LIBS
9868 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9872 /* Override any GCC internal prototype to avoid an error.
9873 Use char because int might match the return type of a GCC
9874 builtin and then its argument prototype would still apply. */
9875 #ifdef __cplusplus
9876 extern "C"
9877 #endif
9878 char XkbQueryExtension ();
9880 main ()
9882 return XkbQueryExtension ();
9884 return 0;
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_lib_X11_XkbQueryExtension=yes
9889 else
9890 ac_cv_lib_X11_XkbQueryExtension=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_lib_save_LIBS
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9897 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9898 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9900 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9906 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9907 then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9909 $as_echo_n "checking for -lXcursor... " >&6; }
9910 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9911 $as_echo_n "(cached) " >&6
9912 else
9913 ac_check_soname_save_LIBS=$LIBS
9914 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9918 /* Override any GCC internal prototype to avoid an error.
9919 Use char because int might match the return type of a GCC
9920 builtin and then its argument prototype would still apply. */
9921 #ifdef __cplusplus
9922 extern "C"
9923 #endif
9924 char XcursorImageLoadCursor ();
9926 main ()
9928 return XcursorImageLoadCursor ();
9930 return 0;
9932 _ACEOF
9933 if ac_fn_c_try_link "$LINENO"; then :
9934 case "$LIBEXT" in
9935 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9936 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'` ;;
9937 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9938 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9939 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9940 fi ;;
9941 esac
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 LIBS=$ac_check_soname_save_LIBS
9947 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9949 $as_echo "not found" >&6; }
9951 else
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9953 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9955 cat >>confdefs.h <<_ACEOF
9956 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9957 _ACEOF
9962 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9963 case "x$with_xcursor" in
9964 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9965 xno) ;;
9966 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9967 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9968 esac
9972 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9973 then
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9975 $as_echo_n "checking for -lXi... " >&6; }
9976 if ${ac_cv_lib_soname_Xi+:} false; then :
9977 $as_echo_n "(cached) " >&6
9978 else
9979 ac_check_soname_save_LIBS=$LIBS
9980 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9984 /* Override any GCC internal prototype to avoid an error.
9985 Use char because int might match the return type of a GCC
9986 builtin and then its argument prototype would still apply. */
9987 #ifdef __cplusplus
9988 extern "C"
9989 #endif
9990 char XOpenDevice ();
9992 main ()
9994 return XOpenDevice ();
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"; then :
10000 case "$LIBEXT" in
10001 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_Xi:+false} :; then :
10005 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 fi ;;
10007 esac
10009 rm -f core conftest.err conftest.$ac_objext \
10010 conftest$ac_exeext conftest.$ac_ext
10011 LIBS=$ac_check_soname_save_LIBS
10013 if ${ac_cv_lib_soname_Xi:+false} :; then :
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10015 $as_echo "not found" >&6; }
10017 else
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10019 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10021 cat >>confdefs.h <<_ACEOF
10022 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10023 _ACEOF
10028 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10029 case "x$with_xinput" in
10030 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10031 xno) ;;
10032 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10033 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10034 esac
10038 if test "x$ac_cv_lib_soname_Xi" != x
10039 then
10040 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10041 case "x$with_xinput2" in
10042 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10043 xno) ;;
10044 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10045 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10046 esac
10051 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10052 then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10054 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10055 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_check_lib_save_LIBS=$LIBS
10059 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10061 /* end confdefs.h. */
10063 /* Override any GCC internal prototype to avoid an error.
10064 Use char because int might match the return type of a GCC
10065 builtin and then its argument prototype would still apply. */
10066 #ifdef __cplusplus
10067 extern "C"
10068 #endif
10069 char XShmQueryExtension ();
10071 main ()
10073 return XShmQueryExtension ();
10075 return 0;
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"; then :
10079 ac_cv_lib_Xext_XShmQueryExtension=yes
10080 else
10081 ac_cv_lib_Xext_XShmQueryExtension=no
10083 rm -f core conftest.err conftest.$ac_objext \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_lib_save_LIBS
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10088 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10089 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10091 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10096 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10097 case "x$with_xshm" in
10098 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10099 xno) ;;
10100 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10101 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10102 esac
10106 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10107 then
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10109 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10110 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10111 $as_echo_n "(cached) " >&6
10112 else
10113 ac_check_lib_save_LIBS=$LIBS
10114 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10121 #ifdef __cplusplus
10122 extern "C"
10123 #endif
10124 char XShapeQueryExtension ();
10126 main ()
10128 return XShapeQueryExtension ();
10130 return 0;
10132 _ACEOF
10133 if ac_fn_c_try_link "$LINENO"; then :
10134 ac_cv_lib_Xext_XShapeQueryExtension=yes
10135 else
10136 ac_cv_lib_Xext_XShapeQueryExtension=no
10138 rm -f core conftest.err conftest.$ac_objext \
10139 conftest$ac_exeext conftest.$ac_ext
10140 LIBS=$ac_check_lib_save_LIBS
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10143 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10144 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10146 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10151 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10152 case "x$with_xshape" in
10153 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10154 xno) ;;
10155 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10156 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10157 esac
10161 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10162 then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10164 $as_echo_n "checking for -lXxf86vm... " >&6; }
10165 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10166 $as_echo_n "(cached) " >&6
10167 else
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 /* end confdefs.h. */
10173 /* Override any GCC internal prototype to avoid an error.
10174 Use char because int might match the return type of a GCC
10175 builtin and then its argument prototype would still apply. */
10176 #ifdef __cplusplus
10177 extern "C"
10178 #endif
10179 char XF86VidModeQueryExtension ();
10181 main ()
10183 return XF86VidModeQueryExtension ();
10185 return 0;
10187 _ACEOF
10188 if ac_fn_c_try_link "$LINENO"; then :
10189 case "$LIBEXT" in
10190 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10191 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'` ;;
10192 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10193 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10194 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10195 fi ;;
10196 esac
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_soname_save_LIBS
10202 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10204 $as_echo "not found" >&6; }
10206 else
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10208 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10210 cat >>confdefs.h <<_ACEOF
10211 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10212 _ACEOF
10217 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10218 case "x$with_xxf86vm" in
10219 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10220 xno) ;;
10221 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10222 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10223 esac
10227 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10228 then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10230 $as_echo_n "checking for -lXrender... " >&6; }
10231 if ${ac_cv_lib_soname_Xrender+:} false; then :
10232 $as_echo_n "(cached) " >&6
10233 else
10234 ac_check_soname_save_LIBS=$LIBS
10235 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237 /* end confdefs.h. */
10239 /* Override any GCC internal prototype to avoid an error.
10240 Use char because int might match the return type of a GCC
10241 builtin and then its argument prototype would still apply. */
10242 #ifdef __cplusplus
10243 extern "C"
10244 #endif
10245 char XRenderQueryExtension ();
10247 main ()
10249 return XRenderQueryExtension ();
10251 return 0;
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 case "$LIBEXT" in
10256 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10257 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'` ;;
10258 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10259 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10260 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10261 fi ;;
10262 esac
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_soname_save_LIBS
10268 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10270 $as_echo "not found" >&6; }
10272 else
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10274 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10276 cat >>confdefs.h <<_ACEOF
10277 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10278 _ACEOF
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10281 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10282 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10283 $as_echo_n "(cached) " >&6
10284 else
10285 ac_check_lib_save_LIBS=$LIBS
10286 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char XRenderSetPictureTransform ();
10298 main ()
10300 return XRenderSetPictureTransform ();
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_link "$LINENO"; then :
10306 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10307 else
10308 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10310 rm -f core conftest.err conftest.$ac_objext \
10311 conftest$ac_exeext conftest.$ac_ext
10312 LIBS=$ac_check_lib_save_LIBS
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10315 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10316 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10318 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10323 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10324 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 ac_check_lib_save_LIBS=$LIBS
10328 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10332 /* Override any GCC internal prototype to avoid an error.
10333 Use char because int might match the return type of a GCC
10334 builtin and then its argument prototype would still apply. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 char XRenderCreateLinearGradient ();
10340 main ()
10342 return XRenderCreateLinearGradient ();
10344 return 0;
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10349 else
10350 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_lib_save_LIBS
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10357 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10358 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10360 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10367 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10368 case "x$with_xrender" in
10369 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10370 xno) ;;
10371 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10372 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10373 esac
10377 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10378 then
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10381 #include <X11/Xlib.h>
10382 #include <X11/extensions/Xrandr.h>
10384 main ()
10386 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_compile "$LINENO"; then :
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10393 $as_echo_n "checking for -lXrandr... " >&6; }
10394 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_soname_save_LIBS=$LIBS
10398 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char XRRQueryExtension ();
10410 main ()
10412 return XRRQueryExtension ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 case "$LIBEXT" in
10419 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10423 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 fi ;;
10425 esac
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10435 else
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10437 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10439 cat >>confdefs.h <<_ACEOF
10440 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10441 _ACEOF
10443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10445 #include <X11/Xlib.h>
10446 #include <X11/extensions/Xrandr.h>
10448 main ()
10450 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10452 return 0;
10454 _ACEOF
10455 if ac_fn_c_try_compile "$LINENO"; then :
10457 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10465 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10466 case "x$with_xrandr" in
10467 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10468 xno) ;;
10469 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10470 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10471 esac
10475 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10476 then
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10479 #include <X11/Xlib.h>
10480 #include <X11/extensions/Xinerama.h>
10482 main ()
10484 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10486 return 0;
10488 _ACEOF
10489 if ac_fn_c_try_compile "$LINENO"; then :
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10491 $as_echo_n "checking for -lXinerama... " >&6; }
10492 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_check_soname_save_LIBS=$LIBS
10496 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10500 /* Override any GCC internal prototype to avoid an error.
10501 Use char because int might match the return type of a GCC
10502 builtin and then its argument prototype would still apply. */
10503 #ifdef __cplusplus
10504 extern "C"
10505 #endif
10506 char XineramaQueryScreens ();
10508 main ()
10510 return XineramaQueryScreens ();
10512 return 0;
10514 _ACEOF
10515 if ac_fn_c_try_link "$LINENO"; then :
10516 case "$LIBEXT" in
10517 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10518 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'` ;;
10519 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10520 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10521 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10522 fi ;;
10523 esac
10525 rm -f core conftest.err conftest.$ac_objext \
10526 conftest$ac_exeext conftest.$ac_ext
10527 LIBS=$ac_check_soname_save_LIBS
10529 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10531 $as_echo "not found" >&6; }
10533 else
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10535 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10537 cat >>confdefs.h <<_ACEOF
10538 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10539 _ACEOF
10544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10546 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10547 case "x$with_xinerama" in
10548 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10549 xno) ;;
10550 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10551 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10552 esac
10556 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10557 then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10559 $as_echo_n "checking for -lXcomposite... " >&6; }
10560 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10561 $as_echo_n "(cached) " >&6
10562 else
10563 ac_check_soname_save_LIBS=$LIBS
10564 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10566 /* end confdefs.h. */
10568 /* Override any GCC internal prototype to avoid an error.
10569 Use char because int might match the return type of a GCC
10570 builtin and then its argument prototype would still apply. */
10571 #ifdef __cplusplus
10572 extern "C"
10573 #endif
10574 char XCompositeRedirectWindow ();
10576 main ()
10578 return XCompositeRedirectWindow ();
10580 return 0;
10582 _ACEOF
10583 if ac_fn_c_try_link "$LINENO"; then :
10584 case "$LIBEXT" in
10585 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10586 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'` ;;
10587 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10588 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10589 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10590 fi ;;
10591 esac
10593 rm -f core conftest.err conftest.$ac_objext \
10594 conftest$ac_exeext conftest.$ac_ext
10595 LIBS=$ac_check_soname_save_LIBS
10597 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10599 $as_echo "not found" >&6; }
10601 else
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10603 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10605 cat >>confdefs.h <<_ACEOF
10606 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10607 _ACEOF
10612 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10613 case "x$with_xcomposite" in
10614 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10615 xno) ;;
10616 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10617 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10618 esac
10622 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10623 #include <X11/Xlib.h>
10624 #endif
10626 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10628 cat >>confdefs.h <<_ACEOF
10629 #define HAVE_XICCALLBACK_CALLBACK 1
10630 _ACEOF
10634 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10635 #include <X11/Xlib.h>
10636 #endif
10638 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10640 cat >>confdefs.h <<_ACEOF
10641 #define HAVE_XEVENT_XCOOKIE 1
10642 _ACEOF
10649 opengl_msg=""
10650 if test "x$with_opengl" != "xno"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10653 $as_echo_n "checking for -lGL... " >&6; }
10654 if ${ac_cv_lib_soname_GL+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_soname_save_LIBS=$LIBS
10658 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char glXCreateContext ();
10670 main ()
10672 return glXCreateContext ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 case "$LIBEXT" in
10679 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10680 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'` ;;
10681 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10682 if ${ac_cv_lib_soname_GL:+false} :; then :
10683 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10684 fi ;;
10685 esac
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_soname_save_LIBS
10691 if ${ac_cv_lib_soname_GL:+false} :; then :
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10693 $as_echo "not found" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10695 $as_echo_n "checking for -lGL... " >&6; }
10696 if ${ac_cv_lib_soname_GL+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_check_soname_save_LIBS=$LIBS
10700 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"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10704 /* Override any GCC internal prototype to avoid an error.
10705 Use char because int might match the return type of a GCC
10706 builtin and then its argument prototype would still apply. */
10707 #ifdef __cplusplus
10708 extern "C"
10709 #endif
10710 char glXCreateContext ();
10712 main ()
10714 return glXCreateContext ();
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 case "$LIBEXT" in
10721 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10722 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'` ;;
10723 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10724 if ${ac_cv_lib_soname_GL:+false} :; then :
10725 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10726 fi ;;
10727 esac
10729 rm -f core conftest.err conftest.$ac_objext \
10730 conftest$ac_exeext conftest.$ac_ext
10731 LIBS=$ac_check_soname_save_LIBS
10733 if ${ac_cv_lib_soname_GL:+false} :; then :
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10735 $as_echo "not found" >&6; }
10736 if test -f /usr/X11R6/lib/libGL.a
10737 then
10738 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10739 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10740 else
10741 opengl_msg="No OpenGL library found on this system."
10743 else
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10745 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10747 cat >>confdefs.h <<_ACEOF
10748 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10749 _ACEOF
10751 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"
10753 else
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10755 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10757 cat >>confdefs.h <<_ACEOF
10758 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10759 _ACEOF
10761 OPENGL_LIBS="-lGL"
10763 if test "x$with_glu" != "xno"
10764 then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10766 $as_echo_n "checking for -lGLU... " >&6; }
10767 if ${ac_cv_lib_soname_GLU+:} false; then :
10768 $as_echo_n "(cached) " >&6
10769 else
10770 ac_check_soname_save_LIBS=$LIBS
10771 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10775 /* Override any GCC internal prototype to avoid an error.
10776 Use char because int might match the return type of a GCC
10777 builtin and then its argument prototype would still apply. */
10778 #ifdef __cplusplus
10779 extern "C"
10780 #endif
10781 char gluLookAt ();
10783 main ()
10785 return gluLookAt ();
10787 return 0;
10789 _ACEOF
10790 if ac_fn_c_try_link "$LINENO"; then :
10791 case "$LIBEXT" in
10792 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10793 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'` ;;
10794 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10795 if ${ac_cv_lib_soname_GLU:+false} :; then :
10796 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10797 fi ;;
10798 esac
10800 rm -f core conftest.err conftest.$ac_objext \
10801 conftest$ac_exeext conftest.$ac_ext
10802 LIBS=$ac_check_soname_save_LIBS
10804 if ${ac_cv_lib_soname_GLU:+false} :; then :
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10806 $as_echo "not found" >&6; }
10808 else
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10810 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10812 cat >>confdefs.h <<_ACEOF
10813 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10814 _ACEOF
10818 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10819 case "x$with_glu" in
10820 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10821 xno) ;;
10822 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10823 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10824 esac
10829 if test "x$with_osmesa" != "xno"
10830 then
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10832 $as_echo_n "checking for -lOSMesa... " >&6; }
10833 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 ac_check_soname_save_LIBS=$LIBS
10837 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 /* end confdefs.h. */
10841 /* Override any GCC internal prototype to avoid an error.
10842 Use char because int might match the return type of a GCC
10843 builtin and then its argument prototype would still apply. */
10844 #ifdef __cplusplus
10845 extern "C"
10846 #endif
10847 char OSMesaGetProcAddress ();
10849 main ()
10851 return OSMesaGetProcAddress ();
10853 return 0;
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857 case "$LIBEXT" in
10858 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10859 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'` ;;
10860 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10861 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10862 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10863 fi ;;
10864 esac
10866 rm -f core conftest.err conftest.$ac_objext \
10867 conftest$ac_exeext conftest.$ac_ext
10868 LIBS=$ac_check_soname_save_LIBS
10870 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10872 $as_echo "not found" >&6; }
10874 else
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10876 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10878 cat >>confdefs.h <<_ACEOF
10879 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10880 _ACEOF
10884 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10885 case "x$with_osmesa" in
10886 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10887 xno) ;;
10888 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10889 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10890 esac
10895 if test -n "$opengl_msg"; then :
10896 case "x$with_opengl" in
10897 x) as_fn_append wine_warnings "|$opengl_msg
10898 OpenGL and Direct3D won't be supported." ;;
10899 xno) ;;
10900 *) as_fn_error $? "$opengl_msg
10901 OpenGL and Direct3D won't be supported.
10902 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10903 esac
10907 CPPFLAGS="$ac_save_CPPFLAGS"
10908 else
10909 X_CFLAGS=""
10910 X_LIBS=""
10912 if test "x$X_LIBS" = "x"; then :
10913 case "x$with_x" in
10914 xno) ;;
10915 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10916 without X support, which probably isn't what you want. You will need
10917 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10918 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10919 esac
10920 enable_winex11_drv=${enable_winex11_drv:-no}
10923 if test "$ac_cv_header_CL_cl_h" = "yes"
10924 then
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10926 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10927 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10928 $as_echo_n "(cached) " >&6
10929 else
10930 ac_check_lib_save_LIBS=$LIBS
10931 LIBS="-lOpenCL $LIBS"
10932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char clGetPlatformInfo ();
10943 main ()
10945 return clGetPlatformInfo ();
10947 return 0;
10949 _ACEOF
10950 if ac_fn_c_try_link "$LINENO"; then :
10951 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10952 else
10953 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10955 rm -f core conftest.err conftest.$ac_objext \
10956 conftest$ac_exeext conftest.$ac_ext
10957 LIBS=$ac_check_lib_save_LIBS
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10960 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10961 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10962 OPENCL_LIBS="-lOpenCL"
10967 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10968 case "x$with_opencl" in
10969 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10970 xno) ;;
10971 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10972 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10973 esac
10974 enable_opencl=${enable_opencl:-no}
10977 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10978 then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10980 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10981 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10982 $as_echo_n "(cached) " >&6
10983 else
10984 ac_check_lib_save_LIBS=$LIBS
10985 LIBS="-lpcap $LIBS"
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987 /* end confdefs.h. */
10989 /* Override any GCC internal prototype to avoid an error.
10990 Use char because int might match the return type of a GCC
10991 builtin and then its argument prototype would still apply. */
10992 #ifdef __cplusplus
10993 extern "C"
10994 #endif
10995 char pcap_create ();
10997 main ()
10999 return pcap_create ();
11001 return 0;
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"; then :
11005 ac_cv_lib_pcap_pcap_create=yes
11006 else
11007 ac_cv_lib_pcap_pcap_create=no
11009 rm -f core conftest.err conftest.$ac_objext \
11010 conftest$ac_exeext conftest.$ac_ext
11011 LIBS=$ac_check_lib_save_LIBS
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11014 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11015 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11016 PCAP_LIBS="-lpcap"
11021 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11022 case "x$with_pcap" in
11023 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11024 xno) ;;
11025 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11026 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11027 esac
11028 enable_wpcap=${enable_wpcap:-no}
11032 if test "x$with_xml" != "xno"
11033 then
11034 if ${XML2_CFLAGS:+false} :; then :
11035 if ${PKG_CONFIG+:} false; then :
11036 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11039 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11040 if ${XML2_LIBS:+false} :; then :
11041 if ${PKG_CONFIG+:} false; then :
11042 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11045 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11046 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11047 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11048 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11049 ac_save_CPPFLAGS=$CPPFLAGS
11050 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11051 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11052 do :
11053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11054 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11055 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11056 cat >>confdefs.h <<_ACEOF
11057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11058 _ACEOF
11062 done
11064 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"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11067 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11068 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lxml2 $XML2_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char xmlParseMemory ();
11084 main ()
11086 return xmlParseMemory ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_xml2_xmlParseMemory=yes
11093 else
11094 ac_cv_lib_xml2_xmlParseMemory=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11101 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11102 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11104 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11106 else
11107 XML2_LIBS=""
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11111 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11112 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11113 $as_echo_n "(cached) " >&6
11114 else
11115 ac_check_lib_save_LIBS=$LIBS
11116 LIBS="-lxml2 $XML2_LIBS $LIBS"
11117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118 /* end confdefs.h. */
11120 /* Override any GCC internal prototype to avoid an error.
11121 Use char because int might match the return type of a GCC
11122 builtin and then its argument prototype would still apply. */
11123 #ifdef __cplusplus
11124 extern "C"
11125 #endif
11126 char xmlReadMemory ();
11128 main ()
11130 return xmlReadMemory ();
11132 return 0;
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"; then :
11136 ac_cv_lib_xml2_xmlReadMemory=yes
11137 else
11138 ac_cv_lib_xml2_xmlReadMemory=no
11140 rm -f core conftest.err conftest.$ac_objext \
11141 conftest$ac_exeext conftest.$ac_ext
11142 LIBS=$ac_check_lib_save_LIBS
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11145 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11146 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11148 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11153 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11154 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11155 $as_echo_n "(cached) " >&6
11156 else
11157 ac_check_lib_save_LIBS=$LIBS
11158 LIBS="-lxml2 $XML2_LIBS $LIBS"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11162 /* Override any GCC internal prototype to avoid an error.
11163 Use char because int might match the return type of a GCC
11164 builtin and then its argument prototype would still apply. */
11165 #ifdef __cplusplus
11166 extern "C"
11167 #endif
11168 char xmlNewDocPI ();
11170 main ()
11172 return xmlNewDocPI ();
11174 return 0;
11176 _ACEOF
11177 if ac_fn_c_try_link "$LINENO"; then :
11178 ac_cv_lib_xml2_xmlNewDocPI=yes
11179 else
11180 ac_cv_lib_xml2_xmlNewDocPI=no
11182 rm -f core conftest.err conftest.$ac_objext \
11183 conftest$ac_exeext conftest.$ac_ext
11184 LIBS=$ac_check_lib_save_LIBS
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11187 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11188 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11190 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11195 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11196 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11197 $as_echo_n "(cached) " >&6
11198 else
11199 ac_check_lib_save_LIBS=$LIBS
11200 LIBS="-lxml2 $XML2_LIBS $LIBS"
11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11202 /* end confdefs.h. */
11204 /* Override any GCC internal prototype to avoid an error.
11205 Use char because int might match the return type of a GCC
11206 builtin and then its argument prototype would still apply. */
11207 #ifdef __cplusplus
11208 extern "C"
11209 #endif
11210 char xmlSchemaSetParserStructuredErrors ();
11212 main ()
11214 return xmlSchemaSetParserStructuredErrors ();
11216 return 0;
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"; then :
11220 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11221 else
11222 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11224 rm -f core conftest.err conftest.$ac_objext \
11225 conftest$ac_exeext conftest.$ac_ext
11226 LIBS=$ac_check_lib_save_LIBS
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11229 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11230 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11232 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11237 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11238 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11239 $as_echo_n "(cached) " >&6
11240 else
11241 ac_check_lib_save_LIBS=$LIBS
11242 LIBS="-lxml2 $XML2_LIBS $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11249 #ifdef __cplusplus
11250 extern "C"
11251 #endif
11252 char xmlSchemaSetValidStructuredErrors ();
11254 main ()
11256 return xmlSchemaSetValidStructuredErrors ();
11258 return 0;
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"; then :
11262 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11263 else
11264 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11266 rm -f core conftest.err conftest.$ac_objext \
11267 conftest$ac_exeext conftest.$ac_ext
11268 LIBS=$ac_check_lib_save_LIBS
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11271 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11272 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11274 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11279 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11280 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11281 $as_echo_n "(cached) " >&6
11282 else
11283 ac_check_lib_save_LIBS=$LIBS
11284 LIBS="-lxml2 $XML2_LIBS $LIBS"
11285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11291 #ifdef __cplusplus
11292 extern "C"
11293 #endif
11294 char xmlFirstElementChild ();
11296 main ()
11298 return xmlFirstElementChild ();
11300 return 0;
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"; then :
11304 ac_cv_lib_xml2_xmlFirstElementChild=yes
11305 else
11306 ac_cv_lib_xml2_xmlFirstElementChild=no
11308 rm -f core conftest.err conftest.$ac_objext \
11309 conftest$ac_exeext conftest.$ac_ext
11310 LIBS=$ac_check_lib_save_LIBS
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11313 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11314 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11316 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11320 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11322 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11324 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11328 else
11329 XML2_CFLAGS=""
11330 XML2_LIBS=""
11332 CPPFLAGS=$ac_save_CPPFLAGS
11333 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11334 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11337 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11338 case "x$with_xml" in
11339 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11340 xno) ;;
11341 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11342 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11343 esac
11347 if test "x$with_xslt" != "xno"
11348 then
11349 if ${XSLT_CFLAGS:+false} :; then :
11350 if ${PKG_CONFIG+:} false; then :
11351 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11354 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11355 if ${XSLT_LIBS:+false} :; then :
11356 if ${PKG_CONFIG+:} false; then :
11357 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11360 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11361 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11364 ac_save_CPPFLAGS=$CPPFLAGS
11365 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11366 for ac_header in libxslt/pattern.h libxslt/transform.h
11367 do :
11368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11369 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11370 # include <libxslt/pattern.h>
11371 #endif
11373 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11374 cat >>confdefs.h <<_ACEOF
11375 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11376 _ACEOF
11380 done
11382 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11383 then
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11385 $as_echo_n "checking for -lxslt... " >&6; }
11386 if ${ac_cv_lib_soname_xslt+:} false; then :
11387 $as_echo_n "(cached) " >&6
11388 else
11389 ac_check_soname_save_LIBS=$LIBS
11390 LIBS="-lxslt $XSLT_LIBS $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char xsltCompilePattern ();
11402 main ()
11404 return xsltCompilePattern ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 case "$LIBEXT" in
11411 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11412 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'` ;;
11413 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11414 if ${ac_cv_lib_soname_xslt:+false} :; then :
11415 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 fi ;;
11417 esac
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_soname_save_LIBS
11423 if ${ac_cv_lib_soname_xslt:+false} :; then :
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11425 $as_echo "not found" >&6; }
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11429 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11431 cat >>confdefs.h <<_ACEOF
11432 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11433 _ACEOF
11437 else
11438 XSLT_CFLAGS=""
11440 CPPFLAGS=$ac_save_CPPFLAGS
11441 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11442 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11445 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11446 case "x$with_xslt" in
11447 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11448 xno) ;;
11449 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11450 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11451 esac
11455 if test "x$with_dbus" != "xno"
11456 then
11457 if ${DBUS_CFLAGS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11463 if ${DBUS_LIBS:+false} :; then :
11464 if ${PKG_CONFIG+:} false; then :
11465 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11470 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11472 ac_save_CPPFLAGS=$CPPFLAGS
11473 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11474 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11475 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11477 $as_echo_n "checking for -ldbus-1... " >&6; }
11478 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char dbus_connection_close ();
11494 main ()
11496 return dbus_connection_close ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) 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'`
11506 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11507 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11518 DBUS_CFLAGS=""
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11521 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11525 _ACEOF
11529 else
11530 DBUS_CFLAGS=""
11534 CPPFLAGS=$ac_save_CPPFLAGS
11535 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11536 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11539 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11540 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11541 case "x$with_dbus" in
11542 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11543 xno) ;;
11544 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11545 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11546 esac
11550 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11551 then
11552 if ${HAL_CFLAGS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11558 if ${HAL_LIBS:+false} :; then :
11559 if ${PKG_CONFIG+:} false; then :
11560 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11564 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11565 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11567 ac_save_CPPFLAGS=$CPPFLAGS
11568 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11569 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11572 $as_echo_n "checking for -lhal... " >&6; }
11573 if ${ac_cv_lib_soname_hal+:} false; then :
11574 $as_echo_n "(cached) " >&6
11575 else
11576 ac_check_soname_save_LIBS=$LIBS
11577 LIBS="-lhal $HAL_LIBS $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h. */
11581 /* Override any GCC internal prototype to avoid an error.
11582 Use char because int might match the return type of a GCC
11583 builtin and then its argument prototype would still apply. */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char libhal_ctx_new ();
11589 main ()
11591 return libhal_ctx_new ();
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597 case "$LIBEXT" in
11598 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11599 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'` ;;
11600 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11601 if ${ac_cv_lib_soname_hal:+false} :; then :
11602 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11603 fi ;;
11604 esac
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_soname_save_LIBS
11610 if ${ac_cv_lib_soname_hal:+false} :; then :
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11612 $as_echo "not found" >&6; }
11613 HAL_CFLAGS=""
11614 else
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11616 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11618 cat >>confdefs.h <<_ACEOF
11619 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11620 _ACEOF
11624 else
11625 HAL_CFLAGS=""
11629 CPPFLAGS=$ac_save_CPPFLAGS
11630 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11631 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11633 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11634 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11635 case "x$with_hal" in
11636 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11637 xno) ;;
11638 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11639 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11640 esac
11645 if test "x$with_gnutls" != "xno"
11646 then
11647 if ${GNUTLS_CFLAGS:+false} :; then :
11648 if ${PKG_CONFIG+:} false; then :
11649 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11653 if ${GNUTLS_LIBS:+false} :; then :
11654 if ${PKG_CONFIG+:} false; then :
11655 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11660 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11661 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11662 ac_save_CPPFLAGS=$CPPFLAGS
11663 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11664 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11665 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667 /* end confdefs.h. */
11668 #include <gnutls/gnutls.h>
11669 #include <gnutls/crypto.h>
11671 main ()
11673 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11675 return 0;
11677 _ACEOF
11678 if ac_fn_c_try_compile "$LINENO"; then :
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11680 $as_echo_n "checking for -lgnutls... " >&6; }
11681 if ${ac_cv_lib_soname_gnutls+:} false; then :
11682 $as_echo_n "(cached) " >&6
11683 else
11684 ac_check_soname_save_LIBS=$LIBS
11685 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11687 /* end confdefs.h. */
11689 /* Override any GCC internal prototype to avoid an error.
11690 Use char because int might match the return type of a GCC
11691 builtin and then its argument prototype would still apply. */
11692 #ifdef __cplusplus
11693 extern "C"
11694 #endif
11695 char gnutls_global_init ();
11697 main ()
11699 return gnutls_global_init ();
11701 return 0;
11703 _ACEOF
11704 if ac_fn_c_try_link "$LINENO"; then :
11705 case "$LIBEXT" in
11706 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11707 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'` ;;
11708 *) 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'`
11709 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11710 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'`
11711 fi ;;
11712 esac
11714 rm -f core conftest.err conftest.$ac_objext \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_soname_save_LIBS
11718 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11720 $as_echo "not found" >&6; }
11721 GNUTLS_CFLAGS=""
11722 else
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11724 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11726 cat >>confdefs.h <<_ACEOF
11727 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11728 _ACEOF
11732 ac_wine_check_funcs_save_LIBS="$LIBS"
11733 LIBS="$LIBS $GNUTLS_LIBS"
11734 for ac_func in gnutls_hash
11735 do :
11736 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11737 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11738 cat >>confdefs.h <<_ACEOF
11739 #define HAVE_GNUTLS_HASH 1
11740 _ACEOF
11742 else
11743 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11745 done
11747 LIBS="$ac_wine_check_funcs_save_LIBS"
11749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11750 else
11751 GNUTLS_CFLAGS=""
11755 CPPFLAGS=$ac_save_CPPFLAGS
11756 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11757 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11760 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11761 case "x$with_gnutls" in
11762 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11765 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11766 esac
11770 CURSES_LIBS=""
11771 if test "$ac_cv_header_ncurses_h" = "yes"
11772 then
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11774 $as_echo_n "checking for -lncurses... " >&6; }
11775 if ${ac_cv_lib_soname_ncurses+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777 else
11778 ac_check_soname_save_LIBS=$LIBS
11779 LIBS="-lncurses $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 #ifdef __cplusplus
11787 extern "C"
11788 #endif
11789 char waddch ();
11791 main ()
11793 return waddch ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 case "$LIBEXT" in
11800 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 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'` ;;
11802 *) 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'`
11803 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11804 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11805 fi ;;
11806 esac
11808 rm -f core conftest.err conftest.$ac_objext \
11809 conftest$ac_exeext conftest.$ac_ext
11810 LIBS=$ac_check_soname_save_LIBS
11812 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11814 $as_echo "not found" >&6; }
11816 else
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11818 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11820 cat >>confdefs.h <<_ACEOF
11821 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11822 _ACEOF
11824 CURSES_LIBS="-lncurses"
11826 elif test "$ac_cv_header_curses_h" = "yes"
11827 then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11829 $as_echo_n "checking for -lcurses... " >&6; }
11830 if ${ac_cv_lib_soname_curses+:} false; then :
11831 $as_echo_n "(cached) " >&6
11832 else
11833 ac_check_soname_save_LIBS=$LIBS
11834 LIBS="-lcurses $LIBS"
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11838 /* Override any GCC internal prototype to avoid an error.
11839 Use char because int might match the return type of a GCC
11840 builtin and then its argument prototype would still apply. */
11841 #ifdef __cplusplus
11842 extern "C"
11843 #endif
11844 char waddch ();
11846 main ()
11848 return waddch ();
11850 return 0;
11852 _ACEOF
11853 if ac_fn_c_try_link "$LINENO"; then :
11854 case "$LIBEXT" in
11855 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11856 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'` ;;
11857 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11858 if ${ac_cv_lib_soname_curses:+false} :; then :
11859 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11860 fi ;;
11861 esac
11863 rm -f core conftest.err conftest.$ac_objext \
11864 conftest$ac_exeext conftest.$ac_ext
11865 LIBS=$ac_check_soname_save_LIBS
11867 if ${ac_cv_lib_soname_curses:+false} :; then :
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11869 $as_echo "not found" >&6; }
11871 else
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11873 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11875 cat >>confdefs.h <<_ACEOF
11876 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11877 _ACEOF
11879 CURSES_LIBS="-lcurses"
11882 ac_save_LIBS="$LIBS"
11883 LIBS="$LIBS $CURSES_LIBS"
11884 for ac_func in mousemask
11885 do :
11886 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11887 if test "x$ac_cv_func_mousemask" = xyes; then :
11888 cat >>confdefs.h <<_ACEOF
11889 #define HAVE_MOUSEMASK 1
11890 _ACEOF
11893 done
11895 LIBS="$ac_save_LIBS"
11896 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11897 case "x$with_curses" in
11898 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11899 xno) ;;
11900 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11901 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11902 esac
11906 if test "x$with_sane" != "xno"
11907 then
11908 if ${SANE_CFLAGS:+false} :; then :
11909 if ${PKG_CONFIG+:} false; then :
11910 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11913 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11914 if ${SANE_LIBS:+false} :; then :
11915 if ${PKG_CONFIG+:} false; then :
11916 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11919 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11921 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11922 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11925 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11928 $as_echo_n "checking for -lsane... " >&6; }
11929 if ${ac_cv_lib_soname_sane+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_soname_save_LIBS=$LIBS
11933 LIBS="-lsane $SANE_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char sane_init ();
11945 main ()
11947 return sane_init ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 case "$LIBEXT" in
11954 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11955 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'` ;;
11956 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11957 if ${ac_cv_lib_soname_sane:+false} :; then :
11958 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11959 fi ;;
11960 esac
11962 rm -f core conftest.err conftest.$ac_objext \
11963 conftest$ac_exeext conftest.$ac_ext
11964 LIBS=$ac_check_soname_save_LIBS
11966 if ${ac_cv_lib_soname_sane:+false} :; then :
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11968 $as_echo "not found" >&6; }
11969 SANE_CFLAGS=""
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11972 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11974 cat >>confdefs.h <<_ACEOF
11975 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11976 _ACEOF
11980 else
11981 SANE_CFLAGS=""
11985 CPPFLAGS=$ac_save_CPPFLAGS
11986 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11987 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11990 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11991 case "x$with_sane" in
11992 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11993 xno) ;;
11994 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11995 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11996 esac
12000 if test "x$with_v4l" != "xno"
12001 then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12003 $as_echo_n "checking for -lv4l1... " >&6; }
12004 if ${ac_cv_lib_soname_v4l1+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_soname_save_LIBS=$LIBS
12008 LIBS="-lv4l1 $LIBS"
12009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12012 /* Override any GCC internal prototype to avoid an error.
12013 Use char because int might match the return type of a GCC
12014 builtin and then its argument prototype would still apply. */
12015 #ifdef __cplusplus
12016 extern "C"
12017 #endif
12018 char v4l1_open ();
12020 main ()
12022 return v4l1_open ();
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028 case "$LIBEXT" in
12029 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12030 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'` ;;
12031 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12032 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12033 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12034 fi ;;
12035 esac
12037 rm -f core conftest.err conftest.$ac_objext \
12038 conftest$ac_exeext conftest.$ac_ext
12039 LIBS=$ac_check_soname_save_LIBS
12041 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12043 $as_echo "not found" >&6; }
12045 else
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12047 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12049 cat >>confdefs.h <<_ACEOF
12050 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12051 _ACEOF
12056 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12057 case "x$with_v4l" in
12058 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12059 xno) ;;
12060 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12061 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12062 esac
12066 if test "x$with_gphoto" != "xno"
12067 then
12068 if ${GPHOTO2_CFLAGS:+false} :; then :
12069 if ${PKG_CONFIG+:} false; then :
12070 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12073 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12074 if ${GPHOTO2_LIBS:+false} :; then :
12075 if ${PKG_CONFIG+:} false; then :
12076 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12079 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12080 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12081 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12082 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12083 ac_save_CPPFLAGS=$CPPFLAGS
12084 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12085 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12086 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12088 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12089 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12090 $as_echo_n "(cached) " >&6
12091 else
12092 ac_check_lib_save_LIBS=$LIBS
12093 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12097 /* Override any GCC internal prototype to avoid an error.
12098 Use char because int might match the return type of a GCC
12099 builtin and then its argument prototype would still apply. */
12100 #ifdef __cplusplus
12101 extern "C"
12102 #endif
12103 char gp_camera_new ();
12105 main ()
12107 return gp_camera_new ();
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 ac_cv_lib_gphoto2_gp_camera_new=yes
12114 else
12115 ac_cv_lib_gphoto2_gp_camera_new=no
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 LIBS=$ac_check_lib_save_LIBS
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12122 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12123 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12125 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12127 else
12128 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12131 else
12132 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12136 CPPFLAGS=$ac_save_CPPFLAGS
12137 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12138 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12140 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12145 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12146 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12151 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12152 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12157 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12160 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12161 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_lib_save_LIBS=$LIBS
12165 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char gp_port_info_list_new ();
12177 main ()
12179 return gp_port_info_list_new ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12186 else
12187 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12189 rm -f core conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12194 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12195 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12197 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12199 else
12200 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12203 else
12204 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12208 CPPFLAGS=$ac_save_CPPFLAGS
12209 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12210 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12213 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12214 case "x$with_gphoto" in
12215 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12216 xno) ;;
12217 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12218 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12219 esac
12222 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12223 case "x$with_gphoto" in
12224 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12225 xno) ;;
12226 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12227 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12228 esac
12233 if test "$ac_cv_header_resolv_h" = "yes"
12234 then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12236 $as_echo_n "checking for resolver library... " >&6; }
12237 if ${ac_cv_have_resolv+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_save_LIBS="$LIBS"
12241 for lib in '' -lresolv
12243 LIBS="$lib $ac_save_LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #ifdef HAVE_NETINET_IN_H
12247 #include <netinet/in.h>
12248 #endif
12249 #include <resolv.h>
12251 main ()
12253 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12255 return 0;
12257 _ACEOF
12258 if ac_fn_c_try_link "$LINENO"; then :
12259 ac_cv_have_resolv=${lib:-"none required"}
12260 else
12261 ac_cv_have_resolv="not found"
12263 rm -f core conftest.err conftest.$ac_objext \
12264 conftest$ac_exeext conftest.$ac_ext
12265 test "x$ac_cv_have_resolv" = "xnot found" || break
12266 done
12267 LIBS="$ac_save_LIBS"
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12270 $as_echo "$ac_cv_have_resolv" >&6; }
12272 case "$ac_cv_have_resolv" in
12273 "not found") ;;
12274 "none required")
12276 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12279 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12281 RESOLV_LIBS=$ac_cv_have_resolv
12283 esac
12286 if test "x$with_cms" != "xno"
12287 then
12288 if ${LCMS2_CFLAGS:+false} :; then :
12289 if ${PKG_CONFIG+:} false; then :
12290 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12294 if ${LCMS2_LIBS:+false} :; then :
12295 if ${PKG_CONFIG+:} false; then :
12296 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12300 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12301 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12302 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12303 ac_save_CPPFLAGS=$CPPFLAGS
12304 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12305 for ac_header in lcms2.h
12306 do :
12307 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12308 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_LCMS2_H 1
12311 _ACEOF
12315 done
12317 if test "$ac_cv_header_lcms2_h" = "yes"
12318 then
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12320 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12321 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12322 $as_echo_n "(cached) " >&6
12323 else
12324 ac_check_lib_save_LIBS=$LIBS
12325 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h. */
12329 /* Override any GCC internal prototype to avoid an error.
12330 Use char because int might match the return type of a GCC
12331 builtin and then its argument prototype would still apply. */
12332 #ifdef __cplusplus
12333 extern "C"
12334 #endif
12335 char cmsOpenProfileFromFile ();
12337 main ()
12339 return cmsOpenProfileFromFile ();
12341 return 0;
12343 _ACEOF
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12346 else
12347 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_lib_save_LIBS
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12354 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12355 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12357 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12359 else
12360 LCMS2_LIBS=""
12363 else
12364 LCMS2_CFLAGS=""
12365 LCMS2_LIBS=""
12367 CPPFLAGS=$ac_save_CPPFLAGS
12368 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12369 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12372 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12373 case "x$with_cms" in
12374 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12375 xno) ;;
12376 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12377 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12378 esac
12382 if test "x$with_freetype" != "xno"
12383 then
12384 if ${FREETYPE_CFLAGS:+false} :; then :
12385 if ${PKG_CONFIG+:} false; then :
12386 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12389 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12390 if ${FREETYPE_LIBS:+false} :; then :
12391 if ${PKG_CONFIG+:} false; then :
12392 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12395 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12396 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12397 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12398 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12399 ac_save_CPPFLAGS=$CPPFLAGS
12400 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12401 for ac_header in ft2build.h
12402 do :
12403 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12404 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12405 cat >>confdefs.h <<_ACEOF
12406 #define HAVE_FT2BUILD_H 1
12407 _ACEOF
12411 done
12413 if test "$ac_cv_header_ft2build_h" = "yes"
12414 then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12416 $as_echo_n "checking for -lfreetype... " >&6; }
12417 if ${ac_cv_lib_soname_freetype+:} false; then :
12418 $as_echo_n "(cached) " >&6
12419 else
12420 ac_check_soname_save_LIBS=$LIBS
12421 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423 /* end confdefs.h. */
12425 /* Override any GCC internal prototype to avoid an error.
12426 Use char because int might match the return type of a GCC
12427 builtin and then its argument prototype would still apply. */
12428 #ifdef __cplusplus
12429 extern "C"
12430 #endif
12431 char FT_Init_FreeType ();
12433 main ()
12435 return FT_Init_FreeType ();
12437 return 0;
12439 _ACEOF
12440 if ac_fn_c_try_link "$LINENO"; then :
12441 case "$LIBEXT" in
12442 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12443 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'` ;;
12444 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12445 if ${ac_cv_lib_soname_freetype:+false} :; then :
12446 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12447 fi ;;
12448 esac
12450 rm -f core conftest.err conftest.$ac_objext \
12451 conftest$ac_exeext conftest.$ac_ext
12452 LIBS=$ac_check_soname_save_LIBS
12454 if ${ac_cv_lib_soname_freetype:+false} :; then :
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12456 $as_echo "not found" >&6; }
12457 FREETYPE_LIBS=""
12458 else
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12460 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12462 cat >>confdefs.h <<_ACEOF
12463 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12464 _ACEOF
12467 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12469 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12470 #include FT_MODULE_H
12472 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12474 cat >>confdefs.h <<_ACEOF
12475 #define HAVE_FT_TRUETYPEENGINETYPE 1
12476 _ACEOF
12482 else
12483 FREETYPE_CFLAGS=""
12484 FREETYPE_LIBS=""
12486 CPPFLAGS=$ac_save_CPPFLAGS
12487 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12488 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12491 if test "x$ac_cv_lib_soname_freetype" = x; then :
12492 case "x$with_freetype" in
12493 xno) ;;
12494 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12495 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12496 esac
12497 enable_fonts=${enable_fonts:-no}
12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12501 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12502 if ${ac_cv_c_ppdev+:} false; then :
12503 $as_echo_n "(cached) " >&6
12504 else
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #ifdef HAVE_SYS_IOCTL_H
12508 # include <sys/ioctl.h>
12509 #endif
12510 #include <linux/ppdev.h>
12512 main ()
12514 ioctl (1,PPCLAIM,0)
12516 return 0;
12518 _ACEOF
12519 if ac_fn_c_try_compile "$LINENO"; then :
12520 ac_cv_c_ppdev="yes"
12521 else
12522 ac_cv_c_ppdev="no"
12524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12527 $as_echo "$ac_cv_c_ppdev" >&6; }
12528 if test "$ac_cv_c_ppdev" = "yes"
12529 then
12531 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12535 ac_wine_check_funcs_save_LIBS="$LIBS"
12536 LIBS="$LIBS $PTHREAD_LIBS"
12537 for ac_func in \
12538 pthread_attr_get_np \
12539 pthread_getattr_np \
12540 pthread_getthreadid_np \
12541 pthread_get_stackaddr_np \
12542 pthread_get_stacksize_np
12543 do :
12544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12547 cat >>confdefs.h <<_ACEOF
12548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12549 _ACEOF
12552 done
12554 LIBS="$ac_wine_check_funcs_save_LIBS"
12556 if test "$ac_cv_header_zlib_h" = "yes"
12557 then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12559 $as_echo_n "checking for inflate in -lz... " >&6; }
12560 if ${ac_cv_lib_z_inflate+:} false; then :
12561 $as_echo_n "(cached) " >&6
12562 else
12563 ac_check_lib_save_LIBS=$LIBS
12564 LIBS="-lz $LIBS"
12565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 /* end confdefs.h. */
12568 /* Override any GCC internal prototype to avoid an error.
12569 Use char because int might match the return type of a GCC
12570 builtin and then its argument prototype would still apply. */
12571 #ifdef __cplusplus
12572 extern "C"
12573 #endif
12574 char inflate ();
12576 main ()
12578 return inflate ();
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 ac_cv_lib_z_inflate=yes
12585 else
12586 ac_cv_lib_z_inflate=no
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12590 LIBS=$ac_check_lib_save_LIBS
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12593 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12594 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12596 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12598 Z_LIBS="-lz"
12603 if test "x$Z_LIBS" = "x"; then :
12604 case "x$with_zlib" in
12605 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12606 xno) ;;
12607 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12608 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12609 esac
12613 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12614 then
12615 if test "$ac_cv_header_gettext_po_h" = "yes"
12616 then
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12618 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12619 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12620 $as_echo_n "(cached) " >&6
12621 else
12622 ac_check_lib_save_LIBS=$LIBS
12623 LIBS="-lgettextpo $LIBS"
12624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12630 #ifdef __cplusplus
12631 extern "C"
12632 #endif
12633 char po_message_msgctxt ();
12635 main ()
12637 return po_message_msgctxt ();
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_link "$LINENO"; then :
12643 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12644 else
12645 ac_cv_lib_gettextpo_po_message_msgctxt=no
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12652 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12653 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12655 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12657 GETTEXTPO_LIBS="-lgettextpo"
12662 if test "x$GETTEXTPO_LIBS" = "x"; then :
12663 case "x$with_gettextpo" in
12664 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12665 xno) ;;
12666 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12667 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12668 esac
12671 if test "$srcdir" != .; then :
12672 case "x$with_gettextpo" in
12673 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12674 xno) ;;
12675 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12676 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12677 esac
12682 if test "x$with_pulse" != "xno";
12683 then
12684 if ${PULSE_CFLAGS:+false} :; then :
12685 if ${PKG_CONFIG+:} false; then :
12686 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12690 if ${PULSE_LIBS:+false} :; then :
12691 if ${PKG_CONFIG+:} false; then :
12692 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12697 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12698 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12699 ac_save_CPPFLAGS=$CPPFLAGS
12700 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12701 for ac_header in pulse/pulseaudio.h
12702 do :
12703 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12704 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12705 cat >>confdefs.h <<_ACEOF
12706 #define HAVE_PULSE_PULSEAUDIO_H 1
12707 _ACEOF
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12709 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12710 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12711 $as_echo_n "(cached) " >&6
12712 else
12713 ac_check_lib_save_LIBS=$LIBS
12714 LIBS="-lpulse $PULSE_LIBS $LIBS"
12715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12721 #ifdef __cplusplus
12722 extern "C"
12723 #endif
12724 char pa_stream_is_corked ();
12726 main ()
12728 return pa_stream_is_corked ();
12730 return 0;
12732 _ACEOF
12733 if ac_fn_c_try_link "$LINENO"; then :
12734 ac_cv_lib_pulse_pa_stream_is_corked=yes
12735 else
12736 ac_cv_lib_pulse_pa_stream_is_corked=no
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LIBS=$ac_check_lib_save_LIBS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12743 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12744 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12746 else
12747 PULSE_LIBS=""
12750 else
12751 PULSE_LIBS=""
12754 done
12756 CPPFLAGS=$ac_save_CPPFLAGS
12757 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12758 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12761 if test -z "$PULSE_LIBS"; then :
12762 case "x$with_pulse" in
12763 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12764 xno) ;;
12765 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12766 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12767 esac
12768 enable_winepulse_drv=${enable_winepulse_drv:-no}
12771 if test "x$with_gstreamer" != "xno"
12772 then
12773 if ${GSTREAMER_CFLAGS:+false} :; then :
12774 if ${PKG_CONFIG+:} false; then :
12775 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12779 if ${GSTREAMER_LIBS:+false} :; then :
12780 if ${PKG_CONFIG+:} false; then :
12781 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12786 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12787 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12788 ac_save_CPPFLAGS=$CPPFLAGS
12789 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12790 ac_gst_incl=""
12791 for i in $GSTREAMER_CFLAGS
12793 case "$i" in
12794 -I*) ac_gst_incl="$ac_gst_incl $i";;
12795 esac
12796 done
12797 GSTREAMER_CFLAGS=$ac_gst_incl
12798 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12799 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12800 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12802 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12804 /* end confdefs.h. */
12805 #include <gst/gst.h>
12807 main ()
12809 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_compile "$LINENO"; then :
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12816 $as_echo "yes" >&6; }
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12818 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12819 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12820 $as_echo_n "(cached) " >&6
12821 else
12822 ac_check_lib_save_LIBS=$LIBS
12823 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12830 #ifdef __cplusplus
12831 extern "C"
12832 #endif
12833 char gst_pad_new ();
12835 main ()
12837 return gst_pad_new ();
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_link "$LINENO"; then :
12843 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12844 else
12845 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12847 rm -f core conftest.err conftest.$ac_objext \
12848 conftest$ac_exeext conftest.$ac_ext
12849 LIBS=$ac_check_lib_save_LIBS
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12852 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12853 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12857 else
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12859 $as_echo "no" >&6; }
12860 ac_glib2_broken=yes
12861 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12867 CPPFLAGS=$ac_save_CPPFLAGS
12868 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12869 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12872 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 :
12873 case "x$with_gstreamer" in
12874 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12875 xno) ;;
12876 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12877 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12878 esac
12881 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12883 ALSA_LIBS=""
12885 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12886 then
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12888 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12889 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lasound $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char snd_pcm_hw_params_get_access_mask ();
12905 main ()
12907 return snd_pcm_hw_params_get_access_mask ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12914 else
12915 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12922 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12923 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #ifdef HAVE_ALSA_ASOUNDLIB_H
12927 #include <alsa/asoundlib.h>
12928 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12929 #include <sys/asoundlib.h>
12930 #endif
12932 main ()
12934 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12936 return 0;
12938 _ACEOF
12939 if ac_fn_c_try_compile "$LINENO"; then :
12940 ALSA_LIBS="-lasound"
12942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12946 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12948 if test "x$with_oss" != xno
12949 then
12950 ac_save_CPPFLAGS="$CPPFLAGS"
12951 if test -f /etc/oss.conf
12952 then
12953 . /etc/oss.conf
12955 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12956 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12957 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12958 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12959 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12961 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12965 _ACEOF
12967 OSS4_CFLAGS="$ac_oss_incl"
12974 CPPFLAGS="$ac_save_CPPFLAGS"
12976 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12977 case "x$with_oss" in
12978 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12979 xno) ;;
12980 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12981 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12982 esac
12983 enable_wineoss_drv=${enable_wineoss_drv:-no}
12986 if test "x$with_udev" != "xno"
12987 then
12988 if ${UDEV_CFLAGS:+false} :; then :
12989 if ${PKG_CONFIG+:} false; then :
12990 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
12994 if ${UDEV_LIBS:+false} :; then :
12995 if ${PKG_CONFIG+:} false; then :
12996 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13000 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13001 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13002 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13003 ac_save_CPPFLAGS=$CPPFLAGS
13004 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13005 for ac_header in libudev.h
13006 do :
13007 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13008 if test "x$ac_cv_header_libudev_h" = xyes; then :
13009 cat >>confdefs.h <<_ACEOF
13010 #define HAVE_LIBUDEV_H 1
13011 _ACEOF
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13013 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13014 if ${ac_cv_lib_udev_udev_new+:} false; then :
13015 $as_echo_n "(cached) " >&6
13016 else
13017 ac_check_lib_save_LIBS=$LIBS
13018 LIBS="-ludev $UDEV_LIBS $LIBS"
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13025 #ifdef __cplusplus
13026 extern "C"
13027 #endif
13028 char udev_new ();
13030 main ()
13032 return udev_new ();
13034 return 0;
13036 _ACEOF
13037 if ac_fn_c_try_link "$LINENO"; then :
13038 ac_cv_lib_udev_udev_new=yes
13039 else
13040 ac_cv_lib_udev_udev_new=no
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13047 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13048 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13050 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13052 else
13053 UDEV_LIBS=""
13056 else
13057 UDEV_LIBS=""
13060 done
13062 CPPFLAGS=$ac_save_CPPFLAGS
13063 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13064 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13067 if test "x$UDEV_LIBS" = "x"; then :
13068 case "x$with_udev" in
13069 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13070 xno) ;;
13071 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13072 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13073 esac
13077 if test "x$with_capi" != "xno"
13078 then
13079 if ${CAPI20_CFLAGS:+false} :; then :
13080 if ${PKG_CONFIG+:} false; then :
13081 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13085 if ${CAPI20_LIBS:+false} :; then :
13086 if ${PKG_CONFIG+:} false; then :
13087 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13092 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13093 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13094 ac_save_CPPFLAGS=$CPPFLAGS
13095 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13096 for ac_header in capi20.h linux/capi.h
13097 do :
13098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13102 cat >>confdefs.h <<_ACEOF
13103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13104 _ACEOF
13108 done
13110 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13111 then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13113 $as_echo_n "checking for -lcapi20... " >&6; }
13114 if ${ac_cv_lib_soname_capi20+:} false; then :
13115 $as_echo_n "(cached) " >&6
13116 else
13117 ac_check_soname_save_LIBS=$LIBS
13118 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13120 /* end confdefs.h. */
13122 /* Override any GCC internal prototype to avoid an error.
13123 Use char because int might match the return type of a GCC
13124 builtin and then its argument prototype would still apply. */
13125 #ifdef __cplusplus
13126 extern "C"
13127 #endif
13128 char capi20_register ();
13130 main ()
13132 return capi20_register ();
13134 return 0;
13136 _ACEOF
13137 if ac_fn_c_try_link "$LINENO"; then :
13138 case "$LIBEXT" in
13139 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13140 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'` ;;
13141 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13142 if ${ac_cv_lib_soname_capi20:+false} :; then :
13143 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13144 fi ;;
13145 esac
13147 rm -f core conftest.err conftest.$ac_objext \
13148 conftest$ac_exeext conftest.$ac_ext
13149 LIBS=$ac_check_soname_save_LIBS
13151 if ${ac_cv_lib_soname_capi20:+false} :; then :
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13153 $as_echo "not found" >&6; }
13155 else
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13157 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13159 cat >>confdefs.h <<_ACEOF
13160 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13161 _ACEOF
13166 CPPFLAGS=$ac_save_CPPFLAGS
13167 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13168 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13171 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13172 case "x$with_capi" in
13173 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13174 xno) ;;
13175 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13176 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13177 esac
13181 CUPS_CFLAGS=""
13183 if test "x$with_cups" != "xno"
13184 then
13185 ac_save_CPPFLAGS="$CPPFLAGS"
13186 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13187 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13188 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13189 for ac_header in cups/cups.h
13190 do :
13191 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13193 cat >>confdefs.h <<_ACEOF
13194 #define HAVE_CUPS_CUPS_H 1
13195 _ACEOF
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13197 $as_echo_n "checking for -lcups... " >&6; }
13198 if ${ac_cv_lib_soname_cups+:} false; then :
13199 $as_echo_n "(cached) " >&6
13200 else
13201 ac_check_soname_save_LIBS=$LIBS
13202 LIBS="-lcups $ac_cups_libs $LIBS"
13203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13206 /* Override any GCC internal prototype to avoid an error.
13207 Use char because int might match the return type of a GCC
13208 builtin and then its argument prototype would still apply. */
13209 #ifdef __cplusplus
13210 extern "C"
13211 #endif
13212 char cupsGetDefault ();
13214 main ()
13216 return cupsGetDefault ();
13218 return 0;
13220 _ACEOF
13221 if ac_fn_c_try_link "$LINENO"; then :
13222 case "$LIBEXT" in
13223 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13224 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'` ;;
13225 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13226 if ${ac_cv_lib_soname_cups:+false} :; then :
13227 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13228 fi ;;
13229 esac
13231 rm -f core conftest.err conftest.$ac_objext \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if ${ac_cv_lib_soname_cups:+false} :; then :
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13237 $as_echo "not found" >&6; }
13239 else
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13241 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13245 _ACEOF
13247 CUPS_CFLAGS="$ac_cups_cflags"
13249 for ac_header in cups/ppd.h
13250 do :
13251 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13252 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13253 cat >>confdefs.h <<_ACEOF
13254 #define HAVE_CUPS_PPD_H 1
13255 _ACEOF
13259 done
13263 done
13265 CPPFLAGS="$ac_save_CPPFLAGS"
13267 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13268 case "x$with_cups" in
13269 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13272 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13273 esac
13277 if test "x$with_fontconfig" != "xno"
13278 then
13279 if ${FONTCONFIG_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13284 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13285 if ${FONTCONFIG_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13290 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13292 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13294 ac_save_CPPFLAGS=$CPPFLAGS
13295 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13296 for ac_header in fontconfig/fontconfig.h
13297 do :
13298 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13299 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13300 cat >>confdefs.h <<_ACEOF
13301 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13302 _ACEOF
13306 done
13308 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13309 then
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13311 $as_echo_n "checking for -lfontconfig... " >&6; }
13312 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13313 $as_echo_n "(cached) " >&6
13314 else
13315 ac_check_soname_save_LIBS=$LIBS
13316 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13318 /* end confdefs.h. */
13320 /* Override any GCC internal prototype to avoid an error.
13321 Use char because int might match the return type of a GCC
13322 builtin and then its argument prototype would still apply. */
13323 #ifdef __cplusplus
13324 extern "C"
13325 #endif
13326 char FcInit ();
13328 main ()
13330 return FcInit ();
13332 return 0;
13334 _ACEOF
13335 if ac_fn_c_try_link "$LINENO"; then :
13336 case "$LIBEXT" in
13337 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13338 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'` ;;
13339 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13340 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13341 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13342 fi ;;
13343 esac
13345 rm -f core conftest.err conftest.$ac_objext \
13346 conftest$ac_exeext conftest.$ac_ext
13347 LIBS=$ac_check_soname_save_LIBS
13349 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13351 $as_echo "not found" >&6; }
13352 FONTCONFIG_CFLAGS=""
13353 else
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13355 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13357 cat >>confdefs.h <<_ACEOF
13358 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13359 _ACEOF
13363 else
13364 FONTCONFIG_CFLAGS=""
13366 CPPFLAGS=$ac_save_CPPFLAGS
13367 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13368 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13371 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13372 case "x$with_fontconfig" in
13373 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13374 xno) ;;
13375 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13376 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13377 esac
13381 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13382 then
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13384 $as_echo_n "checking for -lgsm... " >&6; }
13385 if ${ac_cv_lib_soname_gsm+:} false; then :
13386 $as_echo_n "(cached) " >&6
13387 else
13388 ac_check_soname_save_LIBS=$LIBS
13389 LIBS="-lgsm $LIBS"
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13393 /* Override any GCC internal prototype to avoid an error.
13394 Use char because int might match the return type of a GCC
13395 builtin and then its argument prototype would still apply. */
13396 #ifdef __cplusplus
13397 extern "C"
13398 #endif
13399 char gsm_create ();
13401 main ()
13403 return gsm_create ();
13405 return 0;
13407 _ACEOF
13408 if ac_fn_c_try_link "$LINENO"; then :
13409 case "$LIBEXT" in
13410 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13411 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'` ;;
13412 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13413 if ${ac_cv_lib_soname_gsm:+false} :; then :
13414 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13415 fi ;;
13416 esac
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13420 LIBS=$ac_check_soname_save_LIBS
13422 if ${ac_cv_lib_soname_gsm:+false} :; then :
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13424 $as_echo "not found" >&6; }
13426 else
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13428 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13430 cat >>confdefs.h <<_ACEOF
13431 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13432 _ACEOF
13437 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13438 case "x$with_gsm" in
13439 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13440 xno) ;;
13441 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13442 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13443 esac
13447 if test "x$with_jpeg" != "xno"
13448 then
13449 if ${JPEG_CFLAGS:+false} :; then :
13450 if ${PKG_CONFIG+:} false; then :
13451 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13455 if ${JPEG_LIBS:+false} :; then :
13456 if ${PKG_CONFIG+:} false; then :
13457 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13462 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13463 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13464 ac_save_CPPFLAGS=$CPPFLAGS
13465 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13466 for ac_header in jpeglib.h
13467 do :
13468 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13469 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13470 cat >>confdefs.h <<_ACEOF
13471 #define HAVE_JPEGLIB_H 1
13472 _ACEOF
13476 done
13478 if test "$ac_cv_header_jpeglib_h" = "yes"
13479 then
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13481 $as_echo_n "checking for -ljpeg... " >&6; }
13482 if ${ac_cv_lib_soname_jpeg+:} false; then :
13483 $as_echo_n "(cached) " >&6
13484 else
13485 ac_check_soname_save_LIBS=$LIBS
13486 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 /* Override any GCC internal prototype to avoid an error.
13491 Use char because int might match the return type of a GCC
13492 builtin and then its argument prototype would still apply. */
13493 #ifdef __cplusplus
13494 extern "C"
13495 #endif
13496 char jpeg_start_decompress ();
13498 main ()
13500 return jpeg_start_decompress ();
13502 return 0;
13504 _ACEOF
13505 if ac_fn_c_try_link "$LINENO"; then :
13506 case "$LIBEXT" in
13507 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13508 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'` ;;
13509 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13510 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13511 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13512 fi ;;
13513 esac
13515 rm -f core conftest.err conftest.$ac_objext \
13516 conftest$ac_exeext conftest.$ac_ext
13517 LIBS=$ac_check_soname_save_LIBS
13519 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13521 $as_echo "not found" >&6; }
13522 JPEG_CFLAGS=""
13523 else
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13525 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13527 cat >>confdefs.h <<_ACEOF
13528 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13529 _ACEOF
13533 else
13534 JPEG_CFLAGS=""
13536 CPPFLAGS=$ac_save_CPPFLAGS
13537 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13538 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13541 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13542 case "x$with_jpeg" in
13543 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13544 xno) ;;
13545 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13546 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13547 esac
13551 if test "x$with_png" != "xno"
13552 then
13553 if ${PNG_CFLAGS:+false} :; then :
13554 if ${PKG_CONFIG+:} false; then :
13555 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13558 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13559 if ${PNG_LIBS:+false} :; then :
13560 if ${PKG_CONFIG+:} false; then :
13561 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13564 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13566 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13567 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13568 ac_save_CPPFLAGS=$CPPFLAGS
13569 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13570 for ac_header in png.h
13571 do :
13572 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13573 if test "x$ac_cv_header_png_h" = xyes; then :
13574 cat >>confdefs.h <<_ACEOF
13575 #define HAVE_PNG_H 1
13576 _ACEOF
13580 done
13582 if test "$ac_cv_header_png_h" = "yes"
13583 then
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13585 $as_echo_n "checking for -lpng... " >&6; }
13586 if ${ac_cv_lib_soname_png+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589 ac_check_soname_save_LIBS=$LIBS
13590 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char png_create_read_struct ();
13602 main ()
13604 return png_create_read_struct ();
13606 return 0;
13608 _ACEOF
13609 if ac_fn_c_try_link "$LINENO"; then :
13610 case "$LIBEXT" in
13611 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13612 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'` ;;
13613 *) 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'`
13614 if ${ac_cv_lib_soname_png:+false} :; then :
13615 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13616 fi ;;
13617 esac
13619 rm -f core conftest.err conftest.$ac_objext \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if ${ac_cv_lib_soname_png:+false} :; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13625 $as_echo "not found" >&6; }
13626 PNG_CFLAGS=""
13627 else
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13629 $as_echo "$ac_cv_lib_soname_png" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13633 _ACEOF
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13637 #include <png.h>
13639 main ()
13641 typeof(png_set_expand_gray_1_2_4_to_8) *p
13643 return 0;
13645 _ACEOF
13646 if ac_fn_c_try_compile "$LINENO"; then :
13648 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13653 else
13654 PNG_CFLAGS=""
13656 CPPFLAGS=$ac_save_CPPFLAGS
13657 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13658 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13661 if test "x$ac_cv_lib_soname_png" = "x"; then :
13662 case "x$with_png" in
13663 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13664 xno) ;;
13665 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13666 This is an error since --with-png was requested." "$LINENO" 5 ;;
13667 esac
13671 if test "x$with_tiff" != "xno"
13672 then
13673 if ${TIFF_CFLAGS:+false} :; then :
13674 if ${PKG_CONFIG+:} false; then :
13675 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13679 if ${TIFF_LIBS:+false} :; then :
13680 if ${PKG_CONFIG+:} false; then :
13681 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13686 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13687 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13688 ac_save_CPPFLAGS=$CPPFLAGS
13689 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13690 for ac_header in tiffio.h
13691 do :
13692 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13693 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13694 cat >>confdefs.h <<_ACEOF
13695 #define HAVE_TIFFIO_H 1
13696 _ACEOF
13700 done
13702 if test "$ac_cv_header_tiffio_h" = "yes"
13703 then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13705 $as_echo_n "checking for -ltiff... " >&6; }
13706 if ${ac_cv_lib_soname_tiff+:} false; then :
13707 $as_echo_n "(cached) " >&6
13708 else
13709 ac_check_soname_save_LIBS=$LIBS
13710 LIBS="-ltiff $TIFF_LIBS $LIBS"
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 /* Override any GCC internal prototype to avoid an error.
13715 Use char because int might match the return type of a GCC
13716 builtin and then its argument prototype would still apply. */
13717 #ifdef __cplusplus
13718 extern "C"
13719 #endif
13720 char TIFFClientOpen ();
13722 main ()
13724 return TIFFClientOpen ();
13726 return 0;
13728 _ACEOF
13729 if ac_fn_c_try_link "$LINENO"; then :
13730 case "$LIBEXT" in
13731 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13732 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'` ;;
13733 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13734 if ${ac_cv_lib_soname_tiff:+false} :; then :
13735 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13736 fi ;;
13737 esac
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13741 LIBS=$ac_check_soname_save_LIBS
13743 if ${ac_cv_lib_soname_tiff:+false} :; then :
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13745 $as_echo "not found" >&6; }
13747 else
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13749 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13751 cat >>confdefs.h <<_ACEOF
13752 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13753 _ACEOF
13758 CPPFLAGS=$ac_save_CPPFLAGS
13759 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13760 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13763 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13764 case "x$with_tiff" in
13765 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13766 xno) ;;
13767 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13768 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13769 esac
13773 if test "x$with_mpg123" != "xno"
13774 then
13775 if ${MPG123_CFLAGS:+false} :; then :
13776 if ${PKG_CONFIG+:} false; then :
13777 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13781 if ${MPG123_LIBS:+false} :; then :
13782 if ${PKG_CONFIG+:} false; then :
13783 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13787 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13788 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13789 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13790 ac_save_CPPFLAGS=$CPPFLAGS
13791 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13792 for ac_header in mpg123.h
13793 do :
13794 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13795 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_MPG123_H 1
13798 _ACEOF
13802 done
13804 if test "$ac_cv_header_mpg123_h" = "yes"
13805 then
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13807 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13808 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13809 $as_echo_n "(cached) " >&6
13810 else
13811 ac_check_lib_save_LIBS=$LIBS
13812 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13816 /* Override any GCC internal prototype to avoid an error.
13817 Use char because int might match the return type of a GCC
13818 builtin and then its argument prototype would still apply. */
13819 #ifdef __cplusplus
13820 extern "C"
13821 #endif
13822 char mpg123_feed ();
13824 main ()
13826 return mpg123_feed ();
13828 return 0;
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832 ac_cv_lib_mpg123_mpg123_feed=yes
13833 else
13834 ac_cv_lib_mpg123_mpg123_feed=no
13836 rm -f core conftest.err conftest.$ac_objext \
13837 conftest$ac_exeext conftest.$ac_ext
13838 LIBS=$ac_check_lib_save_LIBS
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13841 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13842 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13844 else
13845 MPG123_LIBS=""
13848 else
13849 MPG123_CFLAGS=""
13850 MPG123_LIBS=""
13852 CPPFLAGS=$ac_save_CPPFLAGS
13853 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13854 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13857 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13858 case "x$with_mpg123" in
13859 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13860 xno) ;;
13861 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13862 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13863 esac
13864 enable_winemp3_acm=${enable_winemp3_acm:-no}
13867 if test "$ac_cv_header_AL_al_h" = "yes"
13868 then
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13870 $as_echo_n "checking for -lopenal... " >&6; }
13871 if ${ac_cv_lib_soname_openal+:} false; then :
13872 $as_echo_n "(cached) " >&6
13873 else
13874 ac_check_soname_save_LIBS=$LIBS
13875 LIBS="-lopenal $LIBS"
13876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 char alGetSource3i ();
13887 main ()
13889 return alGetSource3i ();
13891 return 0;
13893 _ACEOF
13894 if ac_fn_c_try_link "$LINENO"; then :
13895 case "$LIBEXT" in
13896 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13897 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'` ;;
13898 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13899 if ${ac_cv_lib_soname_openal:+false} :; then :
13900 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13901 fi ;;
13902 esac
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_soname_save_LIBS
13908 if ${ac_cv_lib_soname_openal:+false} :; then :
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13910 $as_echo "not found" >&6; }
13912 else
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13914 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13916 cat >>confdefs.h <<_ACEOF
13917 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13918 _ACEOF
13920 OPENAL_LIBS="-lopenal"
13922 ac_cv_lib_openal=yes
13924 cat >>confdefs.h <<_ACEOF
13925 #define HAVE_OPENAL 1
13926 _ACEOF
13930 if test "x$ac_cv_lib_openal" != xyes; then :
13931 case "x$with_openal" in
13932 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13933 xno) ;;
13934 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13935 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13936 esac
13937 enable_openal32=${enable_openal32:-no}
13940 if test "x$ac_cv_lib_openal" = xyes
13941 then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13943 $as_echo_n "checking for openal-soft... " >&6; }
13944 if ${ac_cv_have_openalsoft+:} false; then :
13945 $as_echo_n "(cached) " >&6
13946 else
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13949 #include <AL/al.h>
13950 #include <AL/alc.h>
13951 #include <AL/alext.h>
13952 LPALCRENDERSAMPLESSOFT x;
13954 main ()
13958 return 0;
13960 _ACEOF
13961 if ac_fn_c_try_compile "$LINENO"; then :
13962 ac_cv_have_openalsoft=yes
13963 else
13964 ac_cv_have_openalsoft=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13969 $as_echo "$ac_cv_have_openalsoft" >&6; }
13971 if test "x$ac_cv_have_openalsoft" != xyes
13972 then
13973 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13974 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13975 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13976 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13977 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13978 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13979 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13980 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13981 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13982 enable_xapofx1_1=${enable_xapofx1_1:-no}
13983 enable_xapofx1_2=${enable_xapofx1_2:-no}
13984 enable_xapofx1_3=${enable_xapofx1_3:-no}
13985 enable_xapofx1_4=${enable_xapofx1_4:-no}
13986 enable_xapofx1_5=${enable_xapofx1_5:-no}
13987 enable_xaudio2_0=${enable_xaudio2_0:-no}
13988 enable_xaudio2_1=${enable_xaudio2_1:-no}
13989 enable_xaudio2_2=${enable_xaudio2_2:-no}
13990 enable_xaudio2_3=${enable_xaudio2_3:-no}
13991 enable_xaudio2_4=${enable_xaudio2_4:-no}
13992 enable_xaudio2_5=${enable_xaudio2_5:-no}
13993 enable_xaudio2_6=${enable_xaudio2_6:-no}
13994 enable_xaudio2_7=${enable_xaudio2_7:-no}
13995 enable_xaudio2_8=${enable_xaudio2_8:-no}
13996 enable_xaudio2_9=${enable_xaudio2_9:-no}
13999 if test "$ac_cv_header_kstat_h" = "yes"
14000 then
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14002 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14003 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14004 $as_echo_n "(cached) " >&6
14005 else
14006 ac_check_lib_save_LIBS=$LIBS
14007 LIBS="-lkstat $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char kstat_open ();
14019 main ()
14021 return kstat_open ();
14023 return 0;
14025 _ACEOF
14026 if ac_fn_c_try_link "$LINENO"; then :
14027 ac_cv_lib_kstat_kstat_open=yes
14028 else
14029 ac_cv_lib_kstat_kstat_open=no
14031 rm -f core conftest.err conftest.$ac_objext \
14032 conftest$ac_exeext conftest.$ac_ext
14033 LIBS=$ac_check_lib_save_LIBS
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14036 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14037 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14039 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14041 KSTAT_LIBS="-lkstat"
14047 if test "$ac_cv_header_libprocstat_h" = "yes"
14048 then
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14050 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14051 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lprocstat $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 char procstat_open_sysctl ();
14067 main ()
14069 return procstat_open_sysctl ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_lib_procstat_procstat_open_sysctl=yes
14076 else
14077 ac_cv_lib_procstat_procstat_open_sysctl=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14084 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14085 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14087 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14089 PROCSTAT_LIBS="-lprocstat"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14096 $as_echo_n "checking for -lodbc... " >&6; }
14097 if ${ac_cv_lib_soname_odbc+:} false; then :
14098 $as_echo_n "(cached) " >&6
14099 else
14100 ac_check_soname_save_LIBS=$LIBS
14101 LIBS="-lodbc $LIBS"
14102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 #ifdef __cplusplus
14109 extern "C"
14110 #endif
14111 char SQLConnect ();
14113 main ()
14115 return SQLConnect ();
14117 return 0;
14119 _ACEOF
14120 if ac_fn_c_try_link "$LINENO"; then :
14121 case "$LIBEXT" in
14122 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14123 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'` ;;
14124 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14125 if ${ac_cv_lib_soname_odbc:+false} :; then :
14126 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14127 fi ;;
14128 esac
14130 rm -f core conftest.err conftest.$ac_objext \
14131 conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_soname_save_LIBS
14134 if ${ac_cv_lib_soname_odbc:+false} :; then :
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14136 $as_echo "not found" >&6; }
14137 cat >>confdefs.h <<_ACEOF
14138 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14139 _ACEOF
14141 else
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14143 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14145 cat >>confdefs.h <<_ACEOF
14146 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14147 _ACEOF
14152 if test "x$with_netapi" != "xno"
14153 then
14154 if ${NETAPI_CFLAGS:+false} :; then :
14155 if ${PKG_CONFIG+:} false; then :
14156 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14160 if ${NETAPI_LIBS:+false} :; then :
14161 if ${PKG_CONFIG+:} false; then :
14162 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14167 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14168 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14169 ac_save_CPPFLAGS=$CPPFLAGS
14170 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14172 $as_echo_n "checking for -lnetapi... " >&6; }
14173 if ${ac_cv_lib_soname_netapi+:} false; then :
14174 $as_echo_n "(cached) " >&6
14175 else
14176 ac_check_soname_save_LIBS=$LIBS
14177 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14181 /* Override any GCC internal prototype to avoid an error.
14182 Use char because int might match the return type of a GCC
14183 builtin and then its argument prototype would still apply. */
14184 #ifdef __cplusplus
14185 extern "C"
14186 #endif
14187 char libnetapi_init ();
14189 main ()
14191 return libnetapi_init ();
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 case "$LIBEXT" in
14198 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14199 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'` ;;
14200 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14201 if ${ac_cv_lib_soname_netapi:+false} :; then :
14202 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14203 fi ;;
14204 esac
14206 rm -f core conftest.err conftest.$ac_objext \
14207 conftest$ac_exeext conftest.$ac_ext
14208 LIBS=$ac_check_soname_save_LIBS
14210 if ${ac_cv_lib_soname_netapi:+false} :; then :
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14212 $as_echo "not found" >&6; }
14213 cat >>confdefs.h <<_ACEOF
14214 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14215 _ACEOF
14217 else
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14219 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14221 cat >>confdefs.h <<_ACEOF
14222 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14223 _ACEOF
14227 CPPFLAGS=$ac_save_CPPFLAGS
14228 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14229 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14233 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14234 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14235 then
14236 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14240 EXTRACFLAGS=""
14242 if test "x${GCC}" = "xyes"
14243 then
14244 EXTRACFLAGS="-Wall -pipe"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14247 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14248 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 if test "$cross_compiling" = yes; then :
14252 ac_cv_c_gcc_strength_bug="no"
14253 else
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int L[4] = {0,1,2,3};
14258 main ()
14260 static int Array[3];
14261 unsigned int B = 3;
14262 int i;
14263 for(i=0; i<B; i++) Array[i] = i - 3;
14264 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14265 L[i] = 4;
14266 return (Array[1] != -2 || L[2] != 3)
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_run "$LINENO"; then :
14272 ac_cv_c_gcc_strength_bug="no"
14273 else
14274 ac_cv_c_gcc_strength_bug="yes"
14276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14277 conftest.$ac_objext conftest.beam conftest.$ac_ext
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14282 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14283 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14284 then
14285 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14289 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14290 if ${ac_cv_cflags__fno_builtin+:} false; then :
14291 $as_echo_n "(cached) " >&6
14292 else
14293 ac_wine_try_cflags_saved=$CFLAGS
14294 CFLAGS="$CFLAGS -fno-builtin"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14297 int main(int argc, char **argv) { return 0; }
14298 _ACEOF
14299 if ac_fn_c_try_link "$LINENO"; then :
14300 ac_cv_cflags__fno_builtin=yes
14301 else
14302 ac_cv_cflags__fno_builtin=no
14304 rm -f core conftest.err conftest.$ac_objext \
14305 conftest$ac_exeext conftest.$ac_ext
14306 CFLAGS=$ac_wine_try_cflags_saved
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14309 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14310 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14311 BUILTINFLAG="-fno-builtin"
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14315 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14316 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14317 $as_echo_n "(cached) " >&6
14318 else
14319 ac_wine_try_cflags_saved=$CFLAGS
14320 CFLAGS="$CFLAGS -fno-strict-aliasing"
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14322 /* end confdefs.h. */
14323 int main(int argc, char **argv) { return 0; }
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"; then :
14326 ac_cv_cflags__fno_strict_aliasing=yes
14327 else
14328 ac_cv_cflags__fno_strict_aliasing=no
14330 rm -f core conftest.err conftest.$ac_objext \
14331 conftest$ac_exeext conftest.$ac_ext
14332 CFLAGS=$ac_wine_try_cflags_saved
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14335 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14336 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14337 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14340 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14341 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14342 $as_echo_n "(cached) " >&6
14343 else
14344 ac_wine_try_cflags_saved=$CFLAGS
14345 CFLAGS="$CFLAGS -fexcess-precision=standard"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 int main(int argc, char **argv) { return 0; }
14349 _ACEOF
14350 if ac_fn_c_try_link "$LINENO"; then :
14351 ac_cv_cflags__fexcess_precision_standard=yes
14352 else
14353 ac_cv_cflags__fexcess_precision_standard=no
14355 rm -f core conftest.err conftest.$ac_objext \
14356 conftest$ac_exeext conftest.$ac_ext
14357 CFLAGS=$ac_wine_try_cflags_saved
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14360 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14361 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14362 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14365 saved_CFLAGS=$CFLAGS
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14367 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14368 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14369 $as_echo_n "(cached) " >&6
14370 else
14371 ac_wine_try_cflags_saved=$CFLAGS
14372 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14375 int main(int argc, char **argv) { return 0; }
14376 _ACEOF
14377 if ac_fn_c_try_link "$LINENO"; then :
14378 ac_cv_cflags__Werror_unknown_warning_option=yes
14379 else
14380 ac_cv_cflags__Werror_unknown_warning_option=no
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 CFLAGS=$ac_wine_try_cflags_saved
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14387 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14388 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14389 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14392 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14393 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_wine_try_cflags_saved=$CFLAGS
14397 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_cflags__Wdeclaration_after_statement=yes
14404 else
14405 ac_cv_cflags__Wdeclaration_after_statement=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 CFLAGS=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14412 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14413 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14414 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14417 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14418 if ${ac_cv_cflags__Wempty_body+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 ac_wine_try_cflags_saved=$CFLAGS
14422 CFLAGS="$CFLAGS -Wempty-body"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h. */
14425 int main(int argc, char **argv) { return 0; }
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_cflags__Wempty_body=yes
14429 else
14430 ac_cv_cflags__Wempty_body=no
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 CFLAGS=$ac_wine_try_cflags_saved
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14437 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14438 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14439 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14442 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14443 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_wine_try_cflags_saved=$CFLAGS
14447 CFLAGS="$CFLAGS -Wignored-qualifiers"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14450 int main(int argc, char **argv) { return 0; }
14451 _ACEOF
14452 if ac_fn_c_try_link "$LINENO"; then :
14453 ac_cv_cflags__Wignored_qualifiers=yes
14454 else
14455 ac_cv_cflags__Wignored_qualifiers=no
14457 rm -f core conftest.err conftest.$ac_objext \
14458 conftest$ac_exeext conftest.$ac_ext
14459 CFLAGS=$ac_wine_try_cflags_saved
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14462 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14463 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14464 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14467 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14468 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14469 $as_echo_n "(cached) " >&6
14470 else
14471 ac_wine_try_cflags_saved=$CFLAGS
14472 CFLAGS="$CFLAGS -Wshift-overflow=2"
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14475 int main(int argc, char **argv) { return 0; }
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_cflags__Wshift_overflow_2=yes
14479 else
14480 ac_cv_cflags__Wshift_overflow_2=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 CFLAGS=$ac_wine_try_cflags_saved
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14487 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14488 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14489 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14492 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14493 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14494 $as_echo_n "(cached) " >&6
14495 else
14496 ac_wine_try_cflags_saved=$CFLAGS
14497 CFLAGS="$CFLAGS -Wstrict-prototypes"
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500 int main(int argc, char **argv) { return 0; }
14501 _ACEOF
14502 if ac_fn_c_try_link "$LINENO"; then :
14503 ac_cv_cflags__Wstrict_prototypes=yes
14504 else
14505 ac_cv_cflags__Wstrict_prototypes=no
14507 rm -f core conftest.err conftest.$ac_objext \
14508 conftest$ac_exeext conftest.$ac_ext
14509 CFLAGS=$ac_wine_try_cflags_saved
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14512 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14513 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14514 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14517 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14518 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 ac_wine_try_cflags_saved=$CFLAGS
14522 CFLAGS="$CFLAGS -Wtype-limits"
14523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14524 /* end confdefs.h. */
14525 int main(int argc, char **argv) { return 0; }
14526 _ACEOF
14527 if ac_fn_c_try_link "$LINENO"; then :
14528 ac_cv_cflags__Wtype_limits=yes
14529 else
14530 ac_cv_cflags__Wtype_limits=no
14532 rm -f core conftest.err conftest.$ac_objext \
14533 conftest$ac_exeext conftest.$ac_ext
14534 CFLAGS=$ac_wine_try_cflags_saved
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14537 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14538 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14539 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14542 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14543 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__Wunused_but_set_parameter=yes
14554 else
14555 ac_cv_cflags__Wunused_but_set_parameter=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14562 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14563 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14567 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14568 if ${ac_cv_cflags__Wvla+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_wine_try_cflags_saved=$CFLAGS
14572 CFLAGS="$CFLAGS -Wvla"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_cflags__Wvla=yes
14579 else
14580 ac_cv_cflags__Wvla=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 CFLAGS=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14587 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14588 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14589 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14592 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14593 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14594 $as_echo_n "(cached) " >&6
14595 else
14596 ac_wine_try_cflags_saved=$CFLAGS
14597 CFLAGS="$CFLAGS -Wwrite-strings"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14600 int main(int argc, char **argv) { return 0; }
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 ac_cv_cflags__Wwrite_strings=yes
14604 else
14605 ac_cv_cflags__Wwrite_strings=no
14607 rm -f core conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14609 CFLAGS=$ac_wine_try_cflags_saved
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14612 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14613 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14614 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14618 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14619 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_wine_try_cflags_saved=$CFLAGS
14623 CFLAGS="$CFLAGS -Wpointer-arith"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14626 int main(int argc, char **argv) { return 0; }
14627 _ACEOF
14628 if ac_fn_c_try_link "$LINENO"; then :
14629 ac_cv_cflags__Wpointer_arith=yes
14630 else
14631 ac_cv_cflags__Wpointer_arith=no
14633 rm -f core conftest.err conftest.$ac_objext \
14634 conftest$ac_exeext conftest.$ac_ext
14635 CFLAGS=$ac_wine_try_cflags_saved
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14638 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14639 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14640 saved_string_h_CFLAGS=$CFLAGS
14641 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14643 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14644 if ${ac_cv_c_string_h_warnings+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14648 /* end confdefs.h. */
14649 #include <string.h>
14651 main ()
14655 return 0;
14657 _ACEOF
14658 if ac_fn_c_try_compile "$LINENO"; then :
14659 ac_cv_c_string_h_warnings=no
14660 else
14661 ac_cv_c_string_h_warnings=yes
14663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14666 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14667 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14668 CFLAGS=$saved_string_h_CFLAGS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14672 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14673 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14674 $as_echo_n "(cached) " >&6
14675 else
14676 ac_wine_try_cflags_saved=$CFLAGS
14677 CFLAGS="$CFLAGS -Wlogical-op"
14678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14679 /* end confdefs.h. */
14680 int main(int argc, char **argv) { return 0; }
14681 _ACEOF
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_cflags__Wlogical_op=yes
14684 else
14685 ac_cv_cflags__Wlogical_op=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 CFLAGS=$ac_wine_try_cflags_saved
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14692 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14693 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14694 saved_string_h_CFLAGS=$CFLAGS
14695 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14697 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14698 if ${ac_cv_c_logicalop_noisy+:} false; then :
14699 $as_echo_n "(cached) " >&6
14700 else
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 #include <string.h>
14704 char*f(const char *h,char n) {return strchr(h,n);}
14706 main ()
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_compile "$LINENO"; then :
14714 ac_cv_c_logicalop_noisy=no
14715 else
14716 ac_cv_c_logicalop_noisy=yes
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14721 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14722 CFLAGS=$saved_string_h_CFLAGS
14723 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14726 CFLAGS=$saved_CFLAGS
14728 for ac_flag in $CFLAGS; do
14729 case $ac_flag in
14730 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14731 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14732 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_wine_try_cflags_saved=$CFLAGS
14736 CFLAGS="$CFLAGS -gdwarf-2"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 int main(int argc, char **argv) { return 0; }
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_cflags__gdwarf_2=yes
14743 else
14744 ac_cv_cflags__gdwarf_2=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 CFLAGS=$ac_wine_try_cflags_saved
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14751 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14752 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14753 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14756 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14757 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -gstrict-dwarf"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__gstrict_dwarf=yes
14768 else
14769 ac_cv_cflags__gstrict_dwarf=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14776 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14777 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14778 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14779 fi ;;
14780 esac
14781 done
14783 case $host_cpu in
14784 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14785 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14786 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_wine_try_cflags_saved=$CFLAGS
14790 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14793 int main(int argc, char **argv) { return 0; }
14794 _ACEOF
14795 if ac_fn_c_try_link "$LINENO"; then :
14796 ac_cv_cflags__fno_omit_frame_pointer=yes
14797 else
14798 ac_cv_cflags__fno_omit_frame_pointer=no
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14802 CFLAGS=$ac_wine_try_cflags_saved
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14805 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14806 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14807 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14808 fi ;;
14809 esac
14811 case $host in
14812 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14813 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14814 if ${ac_cv_cflags__Wno_format+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_wine_try_cflags_saved=$CFLAGS
14818 CFLAGS="$CFLAGS -Wno-format"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14821 int main(int argc, char **argv) { return 0; }
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"; then :
14824 ac_cv_cflags__Wno_format=yes
14825 else
14826 ac_cv_cflags__Wno_format=no
14828 rm -f core conftest.err conftest.$ac_objext \
14829 conftest$ac_exeext conftest.$ac_ext
14830 CFLAGS=$ac_wine_try_cflags_saved
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14833 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14834 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14835 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14836 fi ;;
14837 esac
14839 if test "x$enable_maintainer_mode" = "xyes"
14840 then
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14842 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14843 if ${ac_cv_cflags__Werror+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_wine_try_cflags_saved=$CFLAGS
14847 CFLAGS="$CFLAGS -Werror"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_cflags__Werror=yes
14854 else
14855 ac_cv_cflags__Werror=no
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 CFLAGS=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14862 $as_echo "$ac_cv_cflags__Werror" >&6; }
14863 if test "x$ac_cv_cflags__Werror" = xyes; then :
14864 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14868 saved_CFLAGS="$CFLAGS"
14869 CFLAGS="$CFLAGS -Werror"
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14871 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14872 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14873 $as_echo_n "(cached) " >&6
14874 else
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14877 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14879 main ()
14883 return 0;
14885 _ACEOF
14886 if ac_fn_c_try_compile "$LINENO"; then :
14887 ac_cv_have_ms_hook_prologue="yes"
14888 else
14889 ac_cv_have_ms_hook_prologue="no"
14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14894 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14895 CFLAGS="$saved_CFLAGS"
14896 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14897 then
14899 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14901 else
14902 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14909 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14910 if ${ac_cv_c_fortify_enabled+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14914 /* end confdefs.h. */
14915 #include <string.h>
14917 main ()
14919 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14920 #error Fortify enabled
14921 #endif
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_compile "$LINENO"; then :
14927 ac_cv_c_fortify_enabled=no
14928 else
14929 ac_cv_c_fortify_enabled=yes
14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14934 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14935 if test "$ac_cv_c_fortify_enabled" = yes
14936 then
14937 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14942 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14943 if ${ac_cv_c_extern_prefix+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14947 /* end confdefs.h. */
14948 extern int ac_test;
14950 main ()
14952 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14954 return 0;
14956 _ACEOF
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 ac_cv_c_extern_prefix="yes"
14959 else
14960 ac_cv_c_extern_prefix="no"
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14966 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14968 case $host_cpu in
14969 *i[3456789]86*)
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14971 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14972 if ${ac_cv_c_stdcall_suffix+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14977 #ifndef _MSC_VER
14978 #define __stdcall __attribute__((__stdcall__))
14979 #endif
14980 int __stdcall ac_test(int i) { return i; }
14982 main ()
14984 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"; then :
14990 ac_cv_c_stdcall_suffix="yes"
14991 else
14992 ac_cv_c_stdcall_suffix="no"
14994 rm -f core conftest.err conftest.$ac_objext \
14995 conftest$ac_exeext conftest.$ac_ext
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14998 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14999 *) ac_cv_c_stdcall_suffix="no" ;;
15000 esac
15003 if test "$ac_cv_c_extern_prefix" = "yes"
15004 then
15005 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15007 asm_name_prefix="_"
15008 else
15009 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15011 asm_name_prefix=""
15015 if test "$ac_cv_c_stdcall_suffix" = "yes"
15016 then
15017 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15019 else
15020 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15026 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15027 if ${ac_cv_asm_func_def+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15034 main ()
15036 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15038 return 0;
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_asm_func_def=".def"
15043 else
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15048 main ()
15050 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15052 return 0;
15054 _ACEOF
15055 if ac_fn_c_try_link "$LINENO"; then :
15056 ac_cv_asm_func_def=".type @function"
15057 else
15058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 /* end confdefs.h. */
15062 main ()
15064 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_asm_func_def=".type 2"
15071 else
15072 ac_cv_asm_func_def="unknown"
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15077 rm -f core conftest.err conftest.$ac_objext \
15078 conftest$ac_exeext conftest.$ac_ext
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15084 $as_echo "$ac_cv_asm_func_def" >&6; }
15087 case "$ac_cv_asm_func_def" in
15088 ".def")
15089 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15091 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15092 ".type @function")
15093 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15095 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15096 ".type 2")
15097 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15099 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15101 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15103 asm_func_header="" ;;
15104 esac
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15107 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15108 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15109 $as_echo_n "(cached) " >&6
15110 else
15111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15112 /* end confdefs.h. */
15113 asm(".text\n\t.long 0");
15115 main ()
15119 return 0;
15121 _ACEOF
15122 if ac_fn_c_try_compile "$LINENO"; then :
15123 ac_cv_c_asm_outside_funcs="yes"
15124 else
15125 ac_cv_c_asm_outside_funcs="no"
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15130 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15133 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15134 if ${ac_cv_c_dot_previous+:} false; then :
15135 $as_echo_n "(cached) " >&6
15136 else
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15141 main ()
15143 asm(".text\nac_test:\t.long 0\n\t.previous");
15145 return 0;
15147 _ACEOF
15148 if ac_fn_c_try_link "$LINENO"; then :
15149 ac_cv_c_dot_previous="yes"
15150 else
15151 ac_cv_c_dot_previous="no"
15153 rm -f core conftest.err conftest.$ac_objext \
15154 conftest$ac_exeext conftest.$ac_ext
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15157 $as_echo "$ac_cv_c_dot_previous" >&6; }
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15160 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15161 if ${ac_cv_c_cfi_support+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165 /* end confdefs.h. */
15166 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15168 main ()
15172 return 0;
15174 _ACEOF
15175 if ac_fn_c_try_compile "$LINENO"; then :
15176 ac_cv_c_cfi_support="yes"
15177 else
15178 ac_cv_c_cfi_support="no"
15180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15183 $as_echo "$ac_cv_c_cfi_support" >&6; }
15185 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15186 asm_func_trailer=""
15187 if test "$ac_cv_c_dot_previous" = "yes"
15188 then
15189 asm_func_trailer="\\n\\t.previous"
15191 if test "$ac_cv_c_cfi_support" = "yes"
15192 then
15193 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15194 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15196 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15198 UNWINDFLAGS=-fasynchronous-unwind-tables
15200 else
15201 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15203 if test "x$enable_win64" = "xyes"
15204 then
15205 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15209 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15212 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15213 then
15214 cat >>confdefs.h <<_ACEOF
15215 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15216 _ACEOF
15218 else
15219 cat >>confdefs.h <<_ACEOF
15220 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15221 _ACEOF
15225 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15228 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15232 case $build_os in
15233 cygwin*|mingw32*) TOOLSEXT=".exe"
15235 esac
15237 case $host_os in
15238 linux*)
15239 case $host_cpu in
15240 *i[3456789]86*|x86_64*)
15241 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15242 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15244 esac
15246 esac
15249 ac_save_CFLAGS="$CFLAGS"
15250 CFLAGS="$CFLAGS $BUILTINFLAG"
15251 for ac_func in \
15252 __res_get_state \
15253 __res_getservers \
15254 _finite \
15255 _isnan \
15256 _pclose \
15257 _popen \
15258 _snprintf \
15259 _spawnvp \
15260 _strdup \
15261 _stricmp \
15262 _strnicmp \
15263 _strtoi64 \
15264 _strtoui64 \
15265 _vsnprintf \
15266 asctime_r \
15267 chsize \
15268 dlopen \
15269 epoll_create \
15270 ffs \
15271 finitef \
15272 fnmatch \
15273 fork \
15274 fpclass \
15275 fstatfs \
15276 fstatvfs \
15277 ftruncate \
15278 futimens \
15279 futimes \
15280 futimesat \
15281 getattrlist \
15282 getauxval \
15283 getopt_long_only \
15284 getpwuid \
15285 gettimeofday \
15286 getuid \
15287 isnanf \
15288 kqueue \
15289 lstat \
15290 memmove \
15291 mmap \
15292 pclose \
15293 pipe2 \
15294 poll \
15295 popen \
15296 port_create \
15297 prctl \
15298 pread \
15299 proc_pidinfo \
15300 pwrite \
15301 readdir \
15302 readlink \
15303 sched_yield \
15304 select \
15305 setproctitle \
15306 setprogname \
15307 setrlimit \
15308 settimeofday \
15309 sigaltstack \
15310 sigprocmask \
15311 snprintf \
15312 statfs \
15313 statvfs \
15314 strcasecmp \
15315 strdup \
15316 strerror \
15317 strncasecmp \
15318 strtold \
15319 strtoll \
15320 strtoull \
15321 symlink \
15322 sysinfo \
15323 tcdrain \
15324 thr_kill2 \
15325 timegm \
15326 usleep \
15327 vsnprintf
15329 do :
15330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15333 cat >>confdefs.h <<_ACEOF
15334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15335 _ACEOF
15338 done
15340 CFLAGS="$ac_save_CFLAGS"
15342 if test "$ac_cv_func_dlopen" = no
15343 then
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15346 if ${ac_cv_lib_dl_dlopen+:} false; then :
15347 $as_echo_n "(cached) " >&6
15348 else
15349 ac_check_lib_save_LIBS=$LIBS
15350 LIBS="-ldl $LIBS"
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15354 /* Override any GCC internal prototype to avoid an error.
15355 Use char because int might match the return type of a GCC
15356 builtin and then its argument prototype would still apply. */
15357 #ifdef __cplusplus
15358 extern "C"
15359 #endif
15360 char dlopen ();
15362 main ()
15364 return dlopen ();
15366 return 0;
15368 _ACEOF
15369 if ac_fn_c_try_link "$LINENO"; then :
15370 ac_cv_lib_dl_dlopen=yes
15371 else
15372 ac_cv_lib_dl_dlopen=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15376 LIBS=$ac_check_lib_save_LIBS
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15380 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15381 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15382 DL_LIBS="-ldl"
15387 ac_wine_check_funcs_save_LIBS="$LIBS"
15388 LIBS="$LIBS $DL_LIBS"
15389 for ac_func in dladdr
15390 do :
15391 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15392 if test "x$ac_cv_func_dladdr" = xyes; then :
15393 cat >>confdefs.h <<_ACEOF
15394 #define HAVE_DLADDR 1
15395 _ACEOF
15398 done
15400 LIBS="$ac_wine_check_funcs_save_LIBS"
15402 if test "$ac_cv_func_poll" = no
15403 then
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15405 $as_echo_n "checking for poll in -lpoll... " >&6; }
15406 if ${ac_cv_lib_poll_poll+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 ac_check_lib_save_LIBS=$LIBS
15410 LIBS="-lpoll $LIBS"
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15414 /* Override any GCC internal prototype to avoid an error.
15415 Use char because int might match the return type of a GCC
15416 builtin and then its argument prototype would still apply. */
15417 #ifdef __cplusplus
15418 extern "C"
15419 #endif
15420 char poll ();
15422 main ()
15424 return poll ();
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_link "$LINENO"; then :
15430 ac_cv_lib_poll_poll=yes
15431 else
15432 ac_cv_lib_poll_poll=no
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_check_lib_save_LIBS
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15439 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15440 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15441 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15442 POLL_LIBS="-lpoll"
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15449 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15450 if ${ac_cv_search_gethostbyname+:} false; then :
15451 $as_echo_n "(cached) " >&6
15452 else
15453 ac_func_search_save_LIBS=$LIBS
15454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15455 /* end confdefs.h. */
15457 /* Override any GCC internal prototype to avoid an error.
15458 Use char because int might match the return type of a GCC
15459 builtin and then its argument prototype would still apply. */
15460 #ifdef __cplusplus
15461 extern "C"
15462 #endif
15463 char gethostbyname ();
15465 main ()
15467 return gethostbyname ();
15469 return 0;
15471 _ACEOF
15472 for ac_lib in '' nsl; do
15473 if test -z "$ac_lib"; then
15474 ac_res="none required"
15475 else
15476 ac_res=-l$ac_lib
15477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_search_gethostbyname=$ac_res
15482 rm -f core conftest.err conftest.$ac_objext \
15483 conftest$ac_exeext
15484 if ${ac_cv_search_gethostbyname+:} false; then :
15485 break
15487 done
15488 if ${ac_cv_search_gethostbyname+:} false; then :
15490 else
15491 ac_cv_search_gethostbyname=no
15493 rm conftest.$ac_ext
15494 LIBS=$ac_func_search_save_LIBS
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15497 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15498 ac_res=$ac_cv_search_gethostbyname
15499 if test "$ac_res" != no; then :
15500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15506 $as_echo_n "checking for library containing connect... " >&6; }
15507 if ${ac_cv_search_connect+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510 ac_func_search_save_LIBS=$LIBS
15511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15512 /* end confdefs.h. */
15514 /* Override any GCC internal prototype to avoid an error.
15515 Use char because int might match the return type of a GCC
15516 builtin and then its argument prototype would still apply. */
15517 #ifdef __cplusplus
15518 extern "C"
15519 #endif
15520 char connect ();
15522 main ()
15524 return connect ();
15526 return 0;
15528 _ACEOF
15529 for ac_lib in '' socket; do
15530 if test -z "$ac_lib"; then
15531 ac_res="none required"
15532 else
15533 ac_res=-l$ac_lib
15534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 ac_cv_search_connect=$ac_res
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext
15541 if ${ac_cv_search_connect+:} false; then :
15542 break
15544 done
15545 if ${ac_cv_search_connect+:} false; then :
15547 else
15548 ac_cv_search_connect=no
15550 rm conftest.$ac_ext
15551 LIBS=$ac_func_search_save_LIBS
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15554 $as_echo "$ac_cv_search_connect" >&6; }
15555 ac_res=$ac_cv_search_connect
15556 if test "$ac_res" != no; then :
15557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15563 $as_echo_n "checking for library containing inet_aton... " >&6; }
15564 if ${ac_cv_search_inet_aton+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566 else
15567 ac_func_search_save_LIBS=$LIBS
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15571 /* Override any GCC internal prototype to avoid an error.
15572 Use char because int might match the return type of a GCC
15573 builtin and then its argument prototype would still apply. */
15574 #ifdef __cplusplus
15575 extern "C"
15576 #endif
15577 char inet_aton ();
15579 main ()
15581 return inet_aton ();
15583 return 0;
15585 _ACEOF
15586 for ac_lib in '' resolv; do
15587 if test -z "$ac_lib"; then
15588 ac_res="none required"
15589 else
15590 ac_res=-l$ac_lib
15591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 ac_cv_search_inet_aton=$ac_res
15596 rm -f core conftest.err conftest.$ac_objext \
15597 conftest$ac_exeext
15598 if ${ac_cv_search_inet_aton+:} false; then :
15599 break
15601 done
15602 if ${ac_cv_search_inet_aton+:} false; then :
15604 else
15605 ac_cv_search_inet_aton=no
15607 rm conftest.$ac_ext
15608 LIBS=$ac_func_search_save_LIBS
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15611 $as_echo "$ac_cv_search_inet_aton" >&6; }
15612 ac_res=$ac_cv_search_inet_aton
15613 if test "$ac_res" != no; then :
15614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15619 for ac_func in \
15620 getaddrinfo \
15621 getnameinfo \
15622 getnetbyname \
15623 getprotobyname \
15624 getprotobynumber \
15625 getservbyport \
15626 inet_addr \
15627 inet_network \
15628 inet_ntop \
15629 inet_pton \
15630 sendmsg \
15631 socketpair \
15633 do :
15634 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15635 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15636 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15637 cat >>confdefs.h <<_ACEOF
15638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15639 _ACEOF
15642 done
15645 ac_save_LIBS=$LIBS
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15647 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15648 if ${ac_cv_search_clock_gettime+:} false; then :
15649 $as_echo_n "(cached) " >&6
15650 else
15651 ac_func_search_save_LIBS=$LIBS
15652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15655 /* Override any GCC internal prototype to avoid an error.
15656 Use char because int might match the return type of a GCC
15657 builtin and then its argument prototype would still apply. */
15658 #ifdef __cplusplus
15659 extern "C"
15660 #endif
15661 char clock_gettime ();
15663 main ()
15665 return clock_gettime ();
15667 return 0;
15669 _ACEOF
15670 for ac_lib in '' rt; do
15671 if test -z "$ac_lib"; then
15672 ac_res="none required"
15673 else
15674 ac_res=-l$ac_lib
15675 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15677 if ac_fn_c_try_link "$LINENO"; then :
15678 ac_cv_search_clock_gettime=$ac_res
15680 rm -f core conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext
15682 if ${ac_cv_search_clock_gettime+:} false; then :
15683 break
15685 done
15686 if ${ac_cv_search_clock_gettime+:} false; then :
15688 else
15689 ac_cv_search_clock_gettime=no
15691 rm conftest.$ac_ext
15692 LIBS=$ac_func_search_save_LIBS
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15695 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15696 ac_res=$ac_cv_search_clock_gettime
15697 if test "$ac_res" != no; then :
15698 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15700 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15702 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15706 LIBS=$ac_save_LIBS
15708 LDAP_LIBS=""
15710 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15711 then
15712 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15714 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15716 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15717 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15718 $as_echo_n "(cached) " >&6
15719 else
15720 ac_check_lib_save_LIBS=$LIBS
15721 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 #ifdef __cplusplus
15729 extern "C"
15730 #endif
15731 char ldap_initialize ();
15733 main ()
15735 return ldap_initialize ();
15737 return 0;
15739 _ACEOF
15740 if ac_fn_c_try_link "$LINENO"; then :
15741 ac_cv_lib_ldap_r_ldap_initialize=yes
15742 else
15743 ac_cv_lib_ldap_r_ldap_initialize=no
15745 rm -f core conftest.err conftest.$ac_objext \
15746 conftest$ac_exeext conftest.$ac_ext
15747 LIBS=$ac_check_lib_save_LIBS
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15750 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15751 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15753 $as_echo_n "checking for ber_init in -llber... " >&6; }
15754 if ${ac_cv_lib_lber_ber_init+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_check_lib_save_LIBS=$LIBS
15758 LIBS="-llber $PTHREAD_LIBS $LIBS"
15759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15760 /* end confdefs.h. */
15762 /* Override any GCC internal prototype to avoid an error.
15763 Use char because int might match the return type of a GCC
15764 builtin and then its argument prototype would still apply. */
15765 #ifdef __cplusplus
15766 extern "C"
15767 #endif
15768 char ber_init ();
15770 main ()
15772 return ber_init ();
15774 return 0;
15776 _ACEOF
15777 if ac_fn_c_try_link "$LINENO"; then :
15778 ac_cv_lib_lber_ber_init=yes
15779 else
15780 ac_cv_lib_lber_ber_init=no
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext conftest.$ac_ext
15784 LIBS=$ac_check_lib_save_LIBS
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15787 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15788 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15790 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15792 LDAP_LIBS="-lldap_r -llber"
15799 ac_wine_check_funcs_save_LIBS="$LIBS"
15800 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15801 for ac_func in \
15802 ldap_count_references \
15803 ldap_first_reference \
15804 ldap_next_reference \
15805 ldap_parse_reference \
15806 ldap_parse_sort_control \
15807 ldap_parse_sortresponse_control \
15808 ldap_parse_vlv_control \
15809 ldap_parse_vlvresponse_control
15810 do :
15811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15813 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15816 _ACEOF
15819 done
15821 LIBS="$ac_wine_check_funcs_save_LIBS"
15823 if test "x$LDAP_LIBS" = "x"; then :
15824 case "x$with_ldap" in
15825 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15826 xno) ;;
15827 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15828 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15829 esac
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15834 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15835 if ${wine_cv_one_arg_mkdir+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #include <sys/stat.h>
15842 main ()
15844 mkdir("foo");
15846 return 0;
15848 _ACEOF
15849 if ac_fn_c_try_compile "$LINENO"; then :
15850 wine_cv_one_arg_mkdir=yes
15851 else
15852 wine_cv_one_arg_mkdir=no
15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15857 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15858 if test "$wine_cv_one_arg_mkdir" = "yes"
15859 then
15861 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15866 $as_echo_n "checking for sched_setaffinity... " >&6; }
15867 if ${wine_cv_have_sched_setaffinity+:} false; then :
15868 $as_echo_n "(cached) " >&6
15869 else
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872 #define _GNU_SOURCE
15873 #include <sched.h>
15875 main ()
15877 sched_setaffinity(0, 0, 0);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_link "$LINENO"; then :
15883 wine_cv_have_sched_setaffinity=yes
15884 else
15885 wine_cv_have_sched_setaffinity=no
15887 rm -f core conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15891 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15892 if test "$wine_cv_have_sched_setaffinity" = "yes"
15893 then
15895 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15900 $as_echo_n "checking for fallocate... " >&6; }
15901 if ${wine_cv_have_fallocate+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE
15907 #include <fcntl.h>
15909 main ()
15911 fallocate(-1, 0, 0, 0);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_link "$LINENO"; then :
15917 wine_cv_have_fallocate=yes
15918 else
15919 wine_cv_have_fallocate=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15925 $as_echo "$wine_cv_have_fallocate" >&6; }
15926 if test "$wine_cv_have_fallocate" = "yes"
15927 then
15929 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15935 $as_echo_n "checking for inline... " >&6; }
15936 if ${ac_cv_c_inline+:} false; then :
15937 $as_echo_n "(cached) " >&6
15938 else
15939 ac_cv_c_inline=no
15940 for ac_kw in inline __inline__ __inline; do
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 #ifndef __cplusplus
15944 typedef int foo_t;
15945 static $ac_kw foo_t static_foo () {return 0; }
15946 $ac_kw foo_t foo () {return 0; }
15947 #endif
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15951 ac_cv_c_inline=$ac_kw
15953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15954 test "$ac_cv_c_inline" != no && break
15955 done
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15959 $as_echo "$ac_cv_c_inline" >&6; }
15961 case $ac_cv_c_inline in
15962 inline | yes) ;;
15964 case $ac_cv_c_inline in
15965 no) ac_val=;;
15966 *) ac_val=$ac_cv_c_inline;;
15967 esac
15968 cat >>confdefs.h <<_ACEOF
15969 #ifndef __cplusplus
15970 #define inline $ac_val
15971 #endif
15972 _ACEOF
15974 esac
15976 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15977 if test "x$ac_cv_type_mode_t" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_MODE_T 1
15981 _ACEOF
15985 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15986 if test "x$ac_cv_type_off_t" = xyes; then :
15988 cat >>confdefs.h <<_ACEOF
15989 #define HAVE_OFF_T 1
15990 _ACEOF
15994 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15995 if test "x$ac_cv_type_pid_t" = xyes; then :
15997 cat >>confdefs.h <<_ACEOF
15998 #define HAVE_PID_T 1
15999 _ACEOF
16003 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16004 if test "x$ac_cv_type_size_t" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_SIZE_T 1
16008 _ACEOF
16012 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16013 if test "x$ac_cv_type_ssize_t" = xyes; then :
16015 cat >>confdefs.h <<_ACEOF
16016 #define HAVE_SSIZE_T 1
16017 _ACEOF
16021 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16022 if test "x$ac_cv_type_long_long" = xyes; then :
16024 cat >>confdefs.h <<_ACEOF
16025 #define HAVE_LONG_LONG 1
16026 _ACEOF
16030 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16031 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16033 cat >>confdefs.h <<_ACEOF
16034 #define HAVE_FSBLKCNT_T 1
16035 _ACEOF
16039 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16040 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16042 cat >>confdefs.h <<_ACEOF
16043 #define HAVE_FSFILCNT_T 1
16044 _ACEOF
16049 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16050 #include <signal.h>
16052 if test "x$ac_cv_type_sigset_t" = xyes; then :
16054 cat >>confdefs.h <<_ACEOF
16055 #define HAVE_SIGSET_T 1
16056 _ACEOF
16061 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16063 if test "x$ac_cv_type_request_sense" = xyes; then :
16065 cat >>confdefs.h <<_ACEOF
16066 #define HAVE_REQUEST_SENSE 1
16067 _ACEOF
16073 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16074 #ifdef HAVE_SYS_SOCKET_H
16075 #include <sys/socket.h>
16076 #endif
16077 #ifdef HAVE_SYS_SOCKETVAR_H
16078 #include <sys/socketvar.h>
16079 #endif
16080 #ifdef HAVE_NET_ROUTE_H
16081 #include <net/route.h>
16082 #endif
16083 #ifdef HAVE_NETINET_IN_H
16084 #include <netinet/in.h>
16085 #endif
16086 #ifdef HAVE_NETINET_IN_SYSTM_H
16087 #include <netinet/in_systm.h>
16088 #endif
16089 #ifdef HAVE_NETINET_IP_H
16090 #include <netinet/ip.h>
16091 #endif
16092 #ifdef HAVE_NETINET_IN_PCB_H
16093 #include <netinet/in_pcb.h>
16094 #endif
16096 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16098 cat >>confdefs.h <<_ACEOF
16099 #define HAVE_STRUCT_XINPGEN 1
16100 _ACEOF
16106 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16107 #include <link.h>
16108 #endif
16109 #ifdef HAVE_SYS_LINK_H
16110 #include <sys/link.h>
16111 #endif
16113 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16115 cat >>confdefs.h <<_ACEOF
16116 #define HAVE_STRUCT_R_DEBUG 1
16117 _ACEOF
16121 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16122 #include <link.h>
16123 #endif
16124 #ifdef HAVE_SYS_LINK_H
16125 #include <sys/link.h>
16126 #endif
16128 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_LINK_MAP 1
16132 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16139 #include <linux/input.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16146 _ACEOF
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16153 $as_echo_n "checking for if_nameindex... " >&6; }
16154 if ${wine_cv_have_if_nameindex+:} false; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16158 /* end confdefs.h. */
16159 #ifdef HAVE_SYS_TYPES_H
16160 #include <sys/types.h>
16161 #endif
16162 #ifdef HAVE_NET_IF_H
16163 # include <net/if.h>
16164 #endif
16166 main ()
16168 struct if_nameindex *p = if_nameindex(); return p->if_index;
16170 return 0;
16172 _ACEOF
16173 if ac_fn_c_try_link "$LINENO"; then :
16174 wine_cv_have_if_nameindex=yes
16175 else
16176 wine_cv_have_if_nameindex=no
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext conftest.$ac_ext
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16182 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16183 if test "$wine_cv_have_if_nameindex" = "yes"
16184 then
16186 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16191 $as_echo_n "checking for sigaddset... " >&6; }
16192 if ${wine_cv_have_sigaddset+:} false; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h. */
16197 #include <signal.h>
16199 main ()
16201 sigset_t set; sigaddset(&set,SIGTERM);
16203 return 0;
16205 _ACEOF
16206 if ac_fn_c_try_link "$LINENO"; then :
16207 wine_cv_have_sigaddset=yes
16208 else
16209 wine_cv_have_sigaddset=no
16211 rm -f core conftest.err conftest.$ac_objext \
16212 conftest$ac_exeext conftest.$ac_ext
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16215 $as_echo "$wine_cv_have_sigaddset" >&6; }
16216 if test "$wine_cv_have_sigaddset" = "yes"
16217 then
16219 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16225 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16226 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16227 $as_echo_n "(cached) " >&6
16228 else
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16231 #include <netdb.h>
16233 main ()
16236 char *name=0;
16237 struct hostent he;
16238 struct hostent *result;
16239 char *buf=0;
16240 int bufsize=0;
16241 int errnr;
16242 char *addr=0;
16243 int addrlen=0;
16244 int addrtype=0;
16245 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16246 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16249 return 0;
16251 _ACEOF
16252 if ac_fn_c_try_link "$LINENO"; then :
16253 wine_cv_linux_gethostbyname_r_6=yes
16254 else
16255 wine_cv_linux_gethostbyname_r_6=no
16258 rm -f core conftest.err conftest.$ac_objext \
16259 conftest$ac_exeext conftest.$ac_ext
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16263 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16264 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16265 then
16267 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16271 if test "$ac_cv_header_linux_joystick_h" = "yes"
16272 then
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16274 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16275 if ${wine_cv_linux_joystick_22_api+:} false; then :
16276 $as_echo_n "(cached) " >&6
16277 else
16278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16279 /* end confdefs.h. */
16281 #include <sys/ioctl.h>
16282 #include <sys/types.h>
16283 #include <linux/joystick.h>
16285 struct js_event blub;
16286 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16287 #error "no 2.2 header"
16288 #endif
16291 main ()
16293 /*empty*/
16295 return 0;
16297 _ACEOF
16298 if ac_fn_c_try_compile "$LINENO"; then :
16299 wine_cv_linux_joystick_22_api=yes
16300 else
16301 wine_cv_linux_joystick_22_api=no
16303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16307 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16308 if test "$wine_cv_linux_joystick_22_api" = "yes"
16309 then
16311 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16317 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16318 #ifdef HAVE_SYS_PARAM_H
16319 # include <sys/param.h>
16320 #endif
16321 #ifdef HAVE_SYS_MOUNT_H
16322 # include <sys/mount.h>
16323 #endif
16324 #ifdef HAVE_SYS_VFS_H
16325 # include <sys/vfs.h>
16326 #endif
16327 #ifdef HAVE_SYS_STATFS_H
16328 # include <sys/statfs.h>
16329 #endif
16331 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_STATFS_F_BFREE 1
16335 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16340 #ifdef HAVE_SYS_PARAM_H
16341 # include <sys/param.h>
16342 #endif
16343 #ifdef HAVE_SYS_MOUNT_H
16344 # include <sys/mount.h>
16345 #endif
16346 #ifdef HAVE_SYS_VFS_H
16347 # include <sys/vfs.h>
16348 #endif
16349 #ifdef HAVE_SYS_STATFS_H
16350 # include <sys/statfs.h>
16351 #endif
16353 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16357 _ACEOF
16361 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16362 #ifdef HAVE_SYS_PARAM_H
16363 # include <sys/param.h>
16364 #endif
16365 #ifdef HAVE_SYS_MOUNT_H
16366 # include <sys/mount.h>
16367 #endif
16368 #ifdef HAVE_SYS_VFS_H
16369 # include <sys/vfs.h>
16370 #endif
16371 #ifdef HAVE_SYS_STATFS_H
16372 # include <sys/statfs.h>
16373 #endif
16375 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16379 _ACEOF
16383 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16384 #ifdef HAVE_SYS_PARAM_H
16385 # include <sys/param.h>
16386 #endif
16387 #ifdef HAVE_SYS_MOUNT_H
16388 # include <sys/mount.h>
16389 #endif
16390 #ifdef HAVE_SYS_VFS_H
16391 # include <sys/vfs.h>
16392 #endif
16393 #ifdef HAVE_SYS_STATFS_H
16394 # include <sys/statfs.h>
16395 #endif
16397 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16399 cat >>confdefs.h <<_ACEOF
16400 #define HAVE_STRUCT_STATFS_F_FFREE 1
16401 _ACEOF
16405 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16406 #ifdef HAVE_SYS_PARAM_H
16407 # include <sys/param.h>
16408 #endif
16409 #ifdef HAVE_SYS_MOUNT_H
16410 # include <sys/mount.h>
16411 #endif
16412 #ifdef HAVE_SYS_VFS_H
16413 # include <sys/vfs.h>
16414 #endif
16415 #ifdef HAVE_SYS_STATFS_H
16416 # include <sys/statfs.h>
16417 #endif
16419 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16421 cat >>confdefs.h <<_ACEOF
16422 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16423 _ACEOF
16427 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16428 #ifdef HAVE_SYS_PARAM_H
16429 # include <sys/param.h>
16430 #endif
16431 #ifdef HAVE_SYS_MOUNT_H
16432 # include <sys/mount.h>
16433 #endif
16434 #ifdef HAVE_SYS_VFS_H
16435 # include <sys/vfs.h>
16436 #endif
16437 #ifdef HAVE_SYS_STATFS_H
16438 # include <sys/statfs.h>
16439 #endif
16441 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16452 #include <sys/statvfs.h>
16453 #endif
16455 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16459 _ACEOF
16465 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16466 #include <dirent.h>
16467 #endif
16469 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16473 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16480 #ifdef HAVE_SYS_SOCKET_H
16481 # include <sys/socket.h>
16482 #endif
16483 #ifdef HAVE_SYS_UN_H
16484 # include <sys/un.h>
16485 #endif
16487 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16496 #ifdef HAVE_SYS_SOCKET_H
16497 # include <sys/socket.h>
16498 #endif
16499 #ifdef HAVE_SYS_UN_H
16500 # include <sys/un.h>
16501 #endif
16503 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16507 _ACEOF
16511 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16512 #ifdef HAVE_SYS_SOCKET_H
16513 # include <sys/socket.h>
16514 #endif
16515 #ifdef HAVE_SYS_UN_H
16516 # include <sys/un.h>
16517 #endif
16519 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16521 cat >>confdefs.h <<_ACEOF
16522 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16523 _ACEOF
16529 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16530 #ifdef HAVE_SCSI_SG_H
16531 #include <scsi/sg.h>
16532 #endif
16534 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_SCSIREQ_T_CMD 1
16538 _ACEOF
16542 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>
16543 #ifdef HAVE_SCSI_SG_H
16544 #include <scsi/sg.h>
16545 #endif
16547 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16549 cat >>confdefs.h <<_ACEOF
16550 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16551 _ACEOF
16557 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16559 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_SIGINFO_T_SI_FD 1
16563 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16570 #ifdef HAVE_SYS_MTIO_H
16571 #include <sys/mtio.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16578 _ACEOF
16582 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16583 #ifdef HAVE_SYS_MTIO_H
16584 #include <sys/mtio.h>
16585 #endif
16587 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16589 cat >>confdefs.h <<_ACEOF
16590 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16591 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16596 #ifdef HAVE_SYS_MTIO_H
16597 #include <sys/mtio.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16611 #include <getopt.h>
16612 #endif
16614 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_OPTION_NAME 1
16618 _ACEOF
16624 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16625 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16627 cat >>confdefs.h <<_ACEOF
16628 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16629 _ACEOF
16633 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16634 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16636 cat >>confdefs.h <<_ACEOF
16637 #define HAVE_STRUCT_STAT_ST_MTIM 1
16638 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16643 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16647 _ACEOF
16651 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16652 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_STAT_ST_CTIM 1
16656 _ACEOF
16660 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16661 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16665 _ACEOF
16669 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16670 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_STAT_ST_ATIM 1
16674 _ACEOF
16678 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16679 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16681 cat >>confdefs.h <<_ACEOF
16682 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16683 _ACEOF
16687 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16688 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16692 _ACEOF
16696 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16697 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16699 cat >>confdefs.h <<_ACEOF
16700 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16701 _ACEOF
16705 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16706 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16710 _ACEOF
16714 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16715 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16719 _ACEOF
16723 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16724 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16726 cat >>confdefs.h <<_ACEOF
16727 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16728 _ACEOF
16734 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
16735 #include <sys/types.h>
16736 #endif
16737 #ifdef HAVE_NETINET_IN_H
16738 #include <netinet/in.h>
16739 #endif
16741 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16743 cat >>confdefs.h <<_ACEOF
16744 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16745 _ACEOF
16751 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16752 #include <sys/types.h>
16753 #endif
16754 #ifdef HAVE_NETINET_IN_H
16755 #include <netinet/in.h>
16756 #endif
16757 #ifdef HAVE_RESOLV_H
16758 #include <resolv.h>
16759 #endif
16761 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16763 cat >>confdefs.h <<_ACEOF
16764 #define HAVE_STRUCT___RES_STATE 1
16765 _ACEOF
16771 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
16772 #include <resolv.h>
16773 #endif
16775 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16779 _ACEOF
16785 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16786 #include <sys/types.h>
16787 #endif
16788 #ifdef HAVE_NETINET_IN_H
16789 # include <netinet/in.h>
16790 #endif
16791 #ifdef HAVE_ARPA_NAMESER_H
16792 # include <arpa/nameser.h>
16793 #endif
16795 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16797 cat >>confdefs.h <<_ACEOF
16798 #define HAVE_NS_MSG__MSG_PTR 1
16799 _ACEOF
16805 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16806 #include <sys/types.h>
16807 #endif
16808 #ifdef HAVE_NETINET_IN_H
16809 #include <netinet/in.h>
16810 #endif
16811 #ifdef HAVE_NETINET_IP_H
16812 #include <netinet/ip.h>
16813 #endif
16814 #ifdef HAVE_NETINET_IP_ICMP_H
16815 #include <netinet/ip_icmp.h>
16816 #endif
16817 #ifdef HAVE_NETINET_ICMP_VAR_H
16818 #include <netinet/icmp_var.h>
16819 #endif
16821 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16825 _ACEOF
16831 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16832 #include <sys/types.h>
16833 #endif
16834 #ifdef HAVE_ALIAS_H
16835 #include <alias.h>
16836 #endif
16837 #ifdef HAVE_SYS_SOCKET_H
16838 #include <sys/socket.h>
16839 #endif
16840 #ifdef HAVE_SYS_SOCKETVAR_H
16841 #include <sys/socketvar.h>
16842 #endif
16843 #ifdef HAVE_SYS_TIMEOUT_H
16844 #include <sys/timeout.h>
16845 #endif
16846 #ifdef HAVE_NETINET_IN_H
16847 #include <netinet/in.h>
16848 #endif
16849 #ifdef HAVE_NETINET_IN_SYSTM_H
16850 #include <netinet/in_systm.h>
16851 #endif
16852 #ifdef HAVE_NETINET_IP_H
16853 #include <netinet/ip.h>
16854 #endif
16855 #ifdef HAVE_NETINET_IP_VAR_H
16856 #include <netinet/ip_var.h>
16857 #endif
16858 #ifdef HAVE_NETINET_IP_ICMP_H
16859 #include <netinet/ip_icmp.h>
16860 #endif
16861 #ifdef HAVE_NETINET_ICMP_VAR_H
16862 #include <netinet/icmp_var.h>
16863 #endif
16865 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16867 cat >>confdefs.h <<_ACEOF
16868 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16869 _ACEOF
16875 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16876 #include <sys/types.h>
16877 #endif
16878 #ifdef HAVE_SYS_SOCKETVAR_H
16879 #include <sys/socketvar.h>
16880 #endif
16881 #ifdef HAVE_NETINET_IN_H
16882 #include <netinet/in.h>
16883 #endif
16884 #ifdef HAVE_NETINET_IP_VAR_H
16885 #include <netinet/ip_var.h>
16886 #endif
16888 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16892 _ACEOF
16898 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
16899 #include <netinet/ip_var.h>
16900 #endif
16902 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16906 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16913 #include <sys/types.h>
16914 #endif
16915 #ifdef HAVE_SYS_SOCKETVAR_H
16916 #include <sys/socketvar.h>
16917 #endif
16918 #ifdef HAVE_NETINET_IN_H
16919 #include <netinet/in.h>
16920 #endif
16921 #ifdef HAVE_NETINET_TCP_H
16922 #include <netinet/tcp.h>
16923 #endif
16924 #ifdef HAVE_NETINET_TCP_VAR_H
16925 #include <netinet/tcp_var.h>
16926 #endif
16928 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16932 _ACEOF
16938 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
16939 #include <netinet/tcp_var.h>
16940 #endif
16942 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16944 cat >>confdefs.h <<_ACEOF
16945 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16946 _ACEOF
16952 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16953 #include <sys/types.h>
16954 #endif
16955 #ifdef HAVE_NETINET_IN_H
16956 #include <netinet/in.h>
16957 #endif
16958 #ifdef HAVE_NETINET_IP_VAR_H
16959 #include <netinet/ip_var.h>
16960 #endif
16961 #ifdef HAVE_NETINET_UDP_H
16962 #include <netinet/udp.h>
16963 #endif
16964 #ifdef HAVE_NETINET_UDP_VAR_H
16965 #include <netinet/udp_var.h>
16966 #endif
16968 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16970 cat >>confdefs.h <<_ACEOF
16971 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16972 _ACEOF
16978 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16979 #include <sys/types.h>
16980 #endif
16981 #ifdef HAVE_NET_IF_H
16982 # include <net/if.h>
16983 #endif
16985 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16989 _ACEOF
16995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16996 $as_echo_n "checking for timezone variable... " >&6; }
16997 if ${ac_cv_have_timezone+:} false; then :
16998 $as_echo_n "(cached) " >&6
16999 else
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <time.h>
17004 main ()
17006 timezone = 1
17008 return 0;
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 ac_cv_have_timezone="yes"
17013 else
17014 ac_cv_have_timezone="no"
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17020 $as_echo "$ac_cv_have_timezone" >&6; }
17021 if test "$ac_cv_have_timezone" = "yes"
17022 then
17024 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17028 $as_echo_n "checking for daylight variable... " >&6; }
17029 if ${ac_cv_have_daylight+:} false; then :
17030 $as_echo_n "(cached) " >&6
17031 else
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 #include <time.h>
17036 main ()
17038 daylight = 1
17040 return 0;
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044 ac_cv_have_daylight="yes"
17045 else
17046 ac_cv_have_daylight="no"
17048 rm -f core conftest.err conftest.$ac_objext \
17049 conftest$ac_exeext conftest.$ac_ext
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17052 $as_echo "$ac_cv_have_daylight" >&6; }
17053 if test "$ac_cv_have_daylight" = "yes"
17054 then
17056 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17060 ac_save_LIBS="$LIBS"
17061 LIBS="$LIBS -lm"
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17063 $as_echo_n "checking for isfinite... " >&6; }
17064 if ${ac_cv_have_isfinite+:} false; then :
17065 $as_echo_n "(cached) " >&6
17066 else
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #define _GNU_SOURCE
17070 #include <math.h>
17072 main ()
17074 float f = 0.0; return isfinite(f)
17076 return 0;
17078 _ACEOF
17079 if ac_fn_c_try_link "$LINENO"; then :
17080 ac_cv_have_isfinite="yes"
17081 else
17082 ac_cv_have_isfinite="no"
17084 rm -f core conftest.err conftest.$ac_objext \
17085 conftest$ac_exeext conftest.$ac_ext
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17088 $as_echo "$ac_cv_have_isfinite" >&6; }
17089 if test "$ac_cv_have_isfinite" = "yes"
17090 then
17092 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17097 $as_echo_n "checking for isinf... " >&6; }
17098 if ${ac_cv_have_isinf+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 #include <math.h>
17105 main ()
17107 float f = 0.0; return isinf(f)
17109 return 0;
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_have_isinf="yes"
17114 else
17115 ac_cv_have_isinf="no"
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17121 $as_echo "$ac_cv_have_isinf" >&6; }
17122 if test "$ac_cv_have_isinf" = "yes"
17123 then
17125 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17130 $as_echo_n "checking for isnan... " >&6; }
17131 if ${ac_cv_have_isnan+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17136 #include <math.h>
17138 main ()
17140 float f = 0.0; return isnan(f)
17142 return 0;
17144 _ACEOF
17145 if ac_fn_c_try_link "$LINENO"; then :
17146 ac_cv_have_isnan="yes"
17147 else
17148 ac_cv_have_isnan="no"
17150 rm -f core conftest.err conftest.$ac_objext \
17151 conftest$ac_exeext conftest.$ac_ext
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17154 $as_echo "$ac_cv_have_isnan" >&6; }
17155 if test "$ac_cv_have_isnan" = "yes"
17156 then
17158 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17162 for ac_func in \
17163 asinh \
17164 asinhf \
17165 cbrt \
17166 cbrtf \
17167 erf \
17168 erff \
17169 exp2 \
17170 exp2f \
17171 lgamma \
17172 lgammaf \
17173 llrint \
17174 llrintf \
17175 llround \
17176 llroundf \
17177 log2 \
17178 log2f \
17179 lrint \
17180 lrintf \
17181 lround \
17182 lroundf \
17183 nearbyint \
17184 nearbyintf \
17185 powl \
17186 remainder \
17187 remainderf \
17188 rint \
17189 rintf \
17190 round \
17191 roundf \
17192 trunc \
17193 truncf
17195 do :
17196 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17198 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17199 cat >>confdefs.h <<_ACEOF
17200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17201 _ACEOF
17204 done
17206 LIBS="$ac_save_LIBS"
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17209 $as_echo_n "checking for __builtin_clz... " >&6; }
17210 if ${ac_cv_have___builtin_clz+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17217 main ()
17219 return __builtin_clz(1)
17221 return 0;
17223 _ACEOF
17224 if ac_fn_c_try_link "$LINENO"; then :
17225 ac_cv_have___builtin_clz="yes"
17226 else
17227 ac_cv_have___builtin_clz="no"
17229 rm -f core conftest.err conftest.$ac_objext \
17230 conftest$ac_exeext conftest.$ac_ext
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17233 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17234 if test "$ac_cv_have___builtin_clz" = "yes"
17235 then
17237 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17242 $as_echo_n "checking for __builtin_popcount... " >&6; }
17243 if ${ac_cv_have___builtin_popcount+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17250 main ()
17252 return __builtin_popcount(1)
17254 return 0;
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_have___builtin_popcount="yes"
17259 else
17260 ac_cv_have___builtin_popcount="no"
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17266 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17267 if test "$ac_cv_have___builtin_popcount" = "yes"
17268 then
17270 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17275 case $host_cpu in
17276 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17277 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17278 if ${ac_cv_cpp_def___i386__+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 #ifndef __i386__
17285 #endif
17286 _ACEOF
17287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17288 $EGREP "yes" >/dev/null 2>&1; then :
17289 ac_cv_cpp_def___i386__=yes
17290 else
17291 ac_cv_cpp_def___i386__=no
17293 rm -f conftest*
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17297 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17298 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17299 CFLAGS="$CFLAGS -D__i386__"
17300 LINTFLAGS="$LINTFLAGS -D__i386__"
17301 fi ;;
17302 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17303 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17304 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 #ifndef __x86_64__
17311 #endif
17312 _ACEOF
17313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17314 $EGREP "yes" >/dev/null 2>&1; then :
17315 ac_cv_cpp_def___x86_64__=yes
17316 else
17317 ac_cv_cpp_def___x86_64__=no
17319 rm -f conftest*
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17323 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17324 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17325 CFLAGS="$CFLAGS -D__x86_64__"
17326 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17327 fi ;;
17328 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17329 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17330 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 #ifndef __sparc64__
17337 #endif
17338 _ACEOF
17339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17340 $EGREP "yes" >/dev/null 2>&1; then :
17341 ac_cv_cpp_def___sparc64__=yes
17342 else
17343 ac_cv_cpp_def___sparc64__=no
17345 rm -f conftest*
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17349 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17350 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17351 CFLAGS="$CFLAGS -D__sparc64__"
17352 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17353 fi ;;
17354 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17355 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17356 if ${ac_cv_cpp_def___sparc__+:} false; then :
17357 $as_echo_n "(cached) " >&6
17358 else
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #ifndef __sparc__
17363 #endif
17364 _ACEOF
17365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17366 $EGREP "yes" >/dev/null 2>&1; then :
17367 ac_cv_cpp_def___sparc__=yes
17368 else
17369 ac_cv_cpp_def___sparc__=no
17371 rm -f conftest*
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17375 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17376 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17377 CFLAGS="$CFLAGS -D__sparc__"
17378 LINTFLAGS="$LINTFLAGS -D__sparc__"
17379 fi ;;
17380 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17381 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17382 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17383 $as_echo_n "(cached) " >&6
17384 else
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #ifndef __powerpc64__
17389 #endif
17390 _ACEOF
17391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17392 $EGREP "yes" >/dev/null 2>&1; then :
17393 ac_cv_cpp_def___powerpc64__=yes
17394 else
17395 ac_cv_cpp_def___powerpc64__=no
17397 rm -f conftest*
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17401 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17402 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17403 CFLAGS="$CFLAGS -D__powerpc64__"
17404 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17405 fi ;;
17406 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17407 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17408 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17409 $as_echo_n "(cached) " >&6
17410 else
17411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17413 #ifndef __powerpc__
17415 #endif
17416 _ACEOF
17417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17418 $EGREP "yes" >/dev/null 2>&1; then :
17419 ac_cv_cpp_def___powerpc__=yes
17420 else
17421 ac_cv_cpp_def___powerpc__=no
17423 rm -f conftest*
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17427 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17428 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17429 CFLAGS="$CFLAGS -D__powerpc__"
17430 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17431 fi ;;
17432 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17433 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17434 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17435 $as_echo_n "(cached) " >&6
17436 else
17437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17438 /* end confdefs.h. */
17439 #ifndef __aarch64__
17441 #endif
17442 _ACEOF
17443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17444 $EGREP "yes" >/dev/null 2>&1; then :
17445 ac_cv_cpp_def___aarch64__=yes
17446 else
17447 ac_cv_cpp_def___aarch64__=no
17449 rm -f conftest*
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17453 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17454 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17455 CFLAGS="$CFLAGS -D__aarch64__"
17456 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17457 fi ;;
17458 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17459 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17460 if ${ac_cv_cpp_def___arm__+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 #ifndef __arm__
17467 #endif
17468 _ACEOF
17469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17470 $EGREP "yes" >/dev/null 2>&1; then :
17471 ac_cv_cpp_def___arm__=yes
17472 else
17473 ac_cv_cpp_def___arm__=no
17475 rm -f conftest*
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17479 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17480 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17481 CFLAGS="$CFLAGS -D__arm__"
17482 LINTFLAGS="$LINTFLAGS -D__arm__"
17483 fi ;;
17484 esac
17486 case $host_vendor in
17487 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17488 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17489 if ${ac_cv_cpp_def___sun__+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #ifndef __sun__
17496 #endif
17497 _ACEOF
17498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17499 $EGREP "yes" >/dev/null 2>&1; then :
17500 ac_cv_cpp_def___sun__=yes
17501 else
17502 ac_cv_cpp_def___sun__=no
17504 rm -f conftest*
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17508 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17509 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17510 CFLAGS="$CFLAGS -D__sun__"
17511 LINTFLAGS="$LINTFLAGS -D__sun__"
17512 fi ;;
17513 esac
17519 ac_config_commands="$ac_config_commands include/stamp-h"
17521 $as_echo_n "creating Makefile rules..." >&6
17523 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17524 SOCKET_LIBS = $SOCKET_LIBS
17525 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17526 IOKIT_LIBS = $IOKIT_LIBS
17527 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17528 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17529 CORESERVICES_LIBS = $CORESERVICES_LIBS
17530 APPKIT_LIBS = $APPKIT_LIBS
17531 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17532 SECURITY_LIBS = $SECURITY_LIBS
17533 COREAUDIO_LIBS = $COREAUDIO_LIBS
17534 OPENAL_LIBS = $OPENAL_LIBS
17535 OPENCL_LIBS = $OPENCL_LIBS
17536 QUICKTIME_LIBS = $QUICKTIME_LIBS
17537 CARBON_LIBS = $CARBON_LIBS
17538 PTHREAD_LIBS = $PTHREAD_LIBS
17539 X_CFLAGS = $X_CFLAGS
17540 X_PRE_LIBS = $X_PRE_LIBS
17541 X_LIBS = $X_LIBS
17542 X_EXTRA_LIBS = $X_EXTRA_LIBS
17543 PCAP_LIBS = $PCAP_LIBS
17544 XML2_CFLAGS = $XML2_CFLAGS
17545 XML2_LIBS = $XML2_LIBS
17546 XSLT_CFLAGS = $XSLT_CFLAGS
17547 XSLT_LIBS = $XSLT_LIBS
17548 DBUS_CFLAGS = $DBUS_CFLAGS
17549 DBUS_LIBS = $DBUS_LIBS
17550 HAL_CFLAGS = $HAL_CFLAGS
17551 HAL_LIBS = $HAL_LIBS
17552 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17553 GNUTLS_LIBS = $GNUTLS_LIBS
17554 SANE_CFLAGS = $SANE_CFLAGS
17555 SANE_LIBS = $SANE_LIBS
17556 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17557 GPHOTO2_LIBS = $GPHOTO2_LIBS
17558 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17559 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17560 RESOLV_LIBS = $RESOLV_LIBS
17561 LCMS2_CFLAGS = $LCMS2_CFLAGS
17562 LCMS2_LIBS = $LCMS2_LIBS
17563 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17564 FREETYPE_LIBS = $FREETYPE_LIBS
17565 Z_LIBS = $Z_LIBS
17566 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17567 PULSE_CFLAGS = $PULSE_CFLAGS
17568 PULSE_LIBS = $PULSE_LIBS
17569 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17570 GSTREAMER_LIBS = $GSTREAMER_LIBS
17571 ALSA_LIBS = $ALSA_LIBS
17572 OSS4_CFLAGS = $OSS4_CFLAGS
17573 UDEV_CFLAGS = $UDEV_CFLAGS
17574 UDEV_LIBS = $UDEV_LIBS
17575 CAPI20_CFLAGS = $CAPI20_CFLAGS
17576 CAPI20_LIBS = $CAPI20_LIBS
17577 CUPS_CFLAGS = $CUPS_CFLAGS
17578 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17579 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17580 JPEG_CFLAGS = $JPEG_CFLAGS
17581 JPEG_LIBS = $JPEG_LIBS
17582 PNG_CFLAGS = $PNG_CFLAGS
17583 PNG_LIBS = $PNG_LIBS
17584 TIFF_CFLAGS = $TIFF_CFLAGS
17585 TIFF_LIBS = $TIFF_LIBS
17586 MPG123_CFLAGS = $MPG123_CFLAGS
17587 MPG123_LIBS = $MPG123_LIBS
17588 KSTAT_LIBS = $KSTAT_LIBS
17589 PROCSTAT_LIBS = $PROCSTAT_LIBS
17590 NETAPI_CFLAGS = $NETAPI_CFLAGS
17591 NETAPI_LIBS = $NETAPI_LIBS
17592 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17593 DL_LIBS = $DL_LIBS
17594 POLL_LIBS = $POLL_LIBS
17595 RT_LIBS = $RT_LIBS
17596 LDAP_LIBS = $LDAP_LIBS
17601 wine_fn_append_rule "
17602 # Rules automatically generated by configure
17604 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17606 .INIT: Makefile
17607 .MAKEFILEDEPS:
17608 all: Makefile
17609 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17610 @./config.status Make.tmp Makefile
17611 depend: \$(MAKEDEP) dummy
17612 \$(MAKEDEP)"
17614 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17615 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17617 if test "x$enable_fonts" != xno; then
17618 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17619 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17620 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17621 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17622 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17623 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17625 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17626 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17627 ac_config_links="$ac_config_links wine:tools/winewrapper"
17628 wine_fn_config_symlink wine
17629 if test "x$enable_win64" != xno; then
17630 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17631 wine_fn_config_symlink wine64
17634 wine_fn_config_dll acledit enable_acledit
17635 wine_fn_config_dll aclui enable_aclui implib
17636 wine_fn_config_dll activeds enable_activeds implib
17637 wine_fn_config_dll actxprxy enable_actxprxy clean
17638 wine_fn_config_lib adsiid
17639 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17640 wine_fn_config_test dlls/advapi32/tests advapi32_test
17641 wine_fn_config_dll advpack enable_advpack implib
17642 wine_fn_config_test dlls/advpack/tests advpack_test
17643 wine_fn_config_dll amstream enable_amstream clean
17644 wine_fn_config_test dlls/amstream/tests amstream_test
17645 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17646 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17647 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17648 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17649 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17650 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17651 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17652 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17653 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17654 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17655 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17656 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17657 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17658 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17659 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17660 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17661 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17662 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17663 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17664 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17665 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17666 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17668 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17669 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17670 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17671 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17672 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17673 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17674 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17676 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17678 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17679 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17680 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17681 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17683 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17685 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17686 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17687 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17688 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17689 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17690 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17691 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17692 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17693 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17694 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17696 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17698 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17700 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17701 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17703 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17704 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17705 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17707 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17708 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17709 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17710 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17711 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17712 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17713 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17715 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17716 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17719 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17720 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17723 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17725 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17727 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17728 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17732 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17733 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17734 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17735 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17736 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17737 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17738 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17742 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17743 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17744 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17745 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17746 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17747 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17748 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17749 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17750 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17751 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17752 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17753 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17754 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17755 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17756 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17757 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17758 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17759 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17760 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17761 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17762 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17763 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17764 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17765 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17766 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17767 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17768 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17769 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17770 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17771 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17772 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17773 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17774 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17775 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17776 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17777 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17778 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17779 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17780 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17781 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17782 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17783 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17784 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17785 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17786 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17787 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17788 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17789 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17790 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17791 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17792 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17793 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17794 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17795 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17796 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17797 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17798 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17799 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17800 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17801 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17802 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17803 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17804 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17805 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17806 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17807 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17808 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17809 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17810 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17811 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17812 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17813 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17814 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17815 wine_fn_config_dll apphelp enable_apphelp
17816 wine_fn_config_test dlls/apphelp/tests apphelp_test
17817 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17818 wine_fn_config_dll atl enable_atl clean,implib
17819 wine_fn_config_test dlls/atl/tests atl_test
17820 wine_fn_config_dll atl100 enable_atl100 clean,implib
17821 wine_fn_config_test dlls/atl100/tests atl100_test
17822 wine_fn_config_dll atl110 enable_atl110 clean
17823 wine_fn_config_dll atl80 enable_atl80 clean,implib
17824 wine_fn_config_test dlls/atl80/tests atl80_test
17825 wine_fn_config_dll atl90 enable_atl90 clean
17826 wine_fn_config_dll authz enable_authz
17827 wine_fn_config_dll avicap32 enable_avicap32 implib
17828 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17829 wine_fn_config_test dlls/avifil32/tests avifil32_test
17830 wine_fn_config_dll avifile.dll16 enable_win16
17831 wine_fn_config_dll avrt enable_avrt implib
17832 wine_fn_config_dll bcrypt enable_bcrypt implib
17833 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17834 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17835 wine_fn_config_dll browseui enable_browseui clean
17836 wine_fn_config_test dlls/browseui/tests browseui_test
17837 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17838 wine_fn_config_dll cabinet enable_cabinet implib
17839 wine_fn_config_test dlls/cabinet/tests cabinet_test
17840 wine_fn_config_dll capi2032 enable_capi2032 implib
17841 wine_fn_config_dll cards enable_cards implib
17842 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17843 wine_fn_config_dll clusapi enable_clusapi implib
17844 wine_fn_config_dll combase enable_combase
17845 wine_fn_config_test dlls/combase/tests combase_test
17846 wine_fn_config_dll comcat enable_comcat
17847 wine_fn_config_test dlls/comcat/tests comcat_test
17848 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17849 wine_fn_config_test dlls/comctl32/tests comctl32_test
17850 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17851 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17852 wine_fn_config_dll comm.drv16 enable_win16
17853 wine_fn_config_dll commdlg.dll16 enable_win16
17854 wine_fn_config_dll compobj.dll16 enable_win16
17855 wine_fn_config_dll compstui enable_compstui implib
17856 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17857 wine_fn_config_dll concrt140 enable_concrt140
17858 wine_fn_config_dll connect enable_connect
17859 wine_fn_config_dll credui enable_credui clean,implib
17860 wine_fn_config_test dlls/credui/tests credui_test
17861 wine_fn_config_dll crtdll enable_crtdll
17862 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17863 wine_fn_config_test dlls/crypt32/tests crypt32_test
17864 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17865 wine_fn_config_dll cryptdll enable_cryptdll implib
17866 wine_fn_config_dll cryptext enable_cryptext
17867 wine_fn_config_dll cryptnet enable_cryptnet implib
17868 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17869 wine_fn_config_dll cryptui enable_cryptui clean,implib
17870 wine_fn_config_test dlls/cryptui/tests cryptui_test
17871 wine_fn_config_dll ctapi32 enable_ctapi32
17872 wine_fn_config_dll ctl3d.dll16 enable_win16
17873 wine_fn_config_dll ctl3d32 enable_ctl3d32
17874 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17875 wine_fn_config_dll d2d1 enable_d2d1 implib
17876 wine_fn_config_test dlls/d2d1/tests d2d1_test
17877 wine_fn_config_dll d3d10 enable_d3d10 implib
17878 wine_fn_config_test dlls/d3d10/tests d3d10_test
17879 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17880 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17881 wine_fn_config_dll d3d10core enable_d3d10core implib
17882 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17883 wine_fn_config_dll d3d11 enable_d3d11 implib
17884 wine_fn_config_test dlls/d3d11/tests d3d11_test
17885 wine_fn_config_dll d3d8 enable_d3d8 implib
17886 wine_fn_config_test dlls/d3d8/tests d3d8_test
17887 wine_fn_config_dll d3d9 enable_d3d9 implib
17888 wine_fn_config_test dlls/d3d9/tests d3d9_test
17889 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17890 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17891 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17892 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17893 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17894 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17895 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17896 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17897 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17898 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17899 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17900 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17901 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17902 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17903 wine_fn_config_dll d3dim enable_d3dim
17904 wine_fn_config_dll d3drm enable_d3drm implib
17905 wine_fn_config_test dlls/d3drm/tests d3drm_test
17906 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17907 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17908 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17909 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17910 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17911 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17912 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17913 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17914 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17915 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17916 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17917 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17918 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17919 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17920 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17921 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17922 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17923 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17924 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17925 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17926 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17927 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17928 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17929 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17930 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17931 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17932 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17933 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17934 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17935 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17936 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17937 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17938 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17939 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17940 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17941 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17942 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17943 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17944 wine_fn_config_dll davclnt enable_davclnt
17945 wine_fn_config_dll dbgeng enable_dbgeng implib
17946 wine_fn_config_dll dbghelp enable_dbghelp implib
17947 wine_fn_config_dll dciman32 enable_dciman32 implib
17948 wine_fn_config_dll ddeml.dll16 enable_win16
17949 wine_fn_config_dll ddraw enable_ddraw clean,implib
17950 wine_fn_config_test dlls/ddraw/tests ddraw_test
17951 wine_fn_config_dll ddrawex enable_ddrawex clean
17952 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17953 wine_fn_config_dll devenum enable_devenum clean
17954 wine_fn_config_test dlls/devenum/tests devenum_test
17955 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17956 wine_fn_config_dll difxapi enable_difxapi
17957 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17958 wine_fn_config_test dlls/dinput/tests dinput_test
17959 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17960 wine_fn_config_test dlls/dinput8/tests dinput8_test
17961 wine_fn_config_dll dispdib.dll16 enable_win16
17962 wine_fn_config_dll dispex enable_dispex clean
17963 wine_fn_config_test dlls/dispex/tests dispex_test
17964 wine_fn_config_dll display.drv16 enable_win16
17965 wine_fn_config_dll dmband enable_dmband clean
17966 wine_fn_config_test dlls/dmband/tests dmband_test
17967 wine_fn_config_dll dmcompos enable_dmcompos clean
17968 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17969 wine_fn_config_dll dmime enable_dmime clean
17970 wine_fn_config_test dlls/dmime/tests dmime_test
17971 wine_fn_config_dll dmloader enable_dmloader clean
17972 wine_fn_config_test dlls/dmloader/tests dmloader_test
17973 wine_fn_config_dll dmscript enable_dmscript clean
17974 wine_fn_config_test dlls/dmscript/tests dmscript_test
17975 wine_fn_config_dll dmstyle enable_dmstyle clean
17976 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17977 wine_fn_config_dll dmsynth enable_dmsynth clean
17978 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17979 wine_fn_config_dll dmusic enable_dmusic clean
17980 wine_fn_config_test dlls/dmusic/tests dmusic_test
17981 wine_fn_config_dll dmusic32 enable_dmusic32
17982 wine_fn_config_dll dnsapi enable_dnsapi implib
17983 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17984 wine_fn_config_dll dplay enable_dplay
17985 wine_fn_config_dll dplayx enable_dplayx clean,implib
17986 wine_fn_config_test dlls/dplayx/tests dplayx_test
17987 wine_fn_config_dll dpnaddr enable_dpnaddr
17988 wine_fn_config_dll dpnet enable_dpnet clean,implib
17989 wine_fn_config_test dlls/dpnet/tests dpnet_test
17990 wine_fn_config_dll dpnhpast enable_dpnhpast
17991 wine_fn_config_dll dpnlobby enable_dpnlobby
17992 wine_fn_config_dll dpvoice enable_dpvoice clean
17993 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17994 wine_fn_config_dll dpwsockx enable_dpwsockx
17995 wine_fn_config_dll drmclien enable_drmclien
17996 wine_fn_config_dll dsound enable_dsound clean,implib
17997 wine_fn_config_test dlls/dsound/tests dsound_test
17998 wine_fn_config_dll dssenh enable_dssenh
17999 wine_fn_config_test dlls/dssenh/tests dssenh_test
18000 wine_fn_config_dll dswave enable_dswave clean
18001 wine_fn_config_test dlls/dswave/tests dswave_test
18002 wine_fn_config_dll dwmapi enable_dwmapi implib
18003 wine_fn_config_dll dwrite enable_dwrite implib
18004 wine_fn_config_test dlls/dwrite/tests dwrite_test
18005 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18006 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18007 wine_fn_config_lib dxerr8
18008 wine_fn_config_lib dxerr9
18009 wine_fn_config_dll dxgi enable_dxgi implib
18010 wine_fn_config_test dlls/dxgi/tests dxgi_test
18011 wine_fn_config_lib dxguid
18012 wine_fn_config_dll dxva2 enable_dxva2
18013 wine_fn_config_dll esent enable_esent
18014 wine_fn_config_dll evr enable_evr
18015 wine_fn_config_dll explorerframe enable_explorerframe clean
18016 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18017 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18018 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18019 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18020 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18021 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18022 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18023 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18024 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18025 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18026 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18027 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18028 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18029 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18030 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18031 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
18032 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18033 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18034 wine_fn_config_dll faultrep enable_faultrep implib
18035 wine_fn_config_test dlls/faultrep/tests faultrep_test
18036 wine_fn_config_dll fltlib enable_fltlib
18037 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18038 wine_fn_config_dll fntcache enable_fntcache
18039 wine_fn_config_dll fontsub enable_fontsub
18040 wine_fn_config_dll fusion enable_fusion
18041 wine_fn_config_test dlls/fusion/tests fusion_test
18042 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18043 wine_fn_config_dll gameux enable_gameux clean
18044 wine_fn_config_test dlls/gameux/tests gameux_test
18045 wine_fn_config_dll gdi.exe16 enable_win16
18046 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18047 wine_fn_config_test dlls/gdi32/tests gdi32_test
18048 wine_fn_config_dll gdiplus enable_gdiplus implib
18049 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18050 wine_fn_config_dll glu32 enable_glu32 implib
18051 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18052 wine_fn_config_dll gpkcsp enable_gpkcsp
18053 wine_fn_config_dll hal enable_hal
18054 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18055 wine_fn_config_dll hid enable_hid implib
18056 wine_fn_config_test dlls/hid/tests hid_test
18057 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18058 wine_fn_config_dll hlink enable_hlink clean,implib
18059 wine_fn_config_test dlls/hlink/tests hlink_test
18060 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18061 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18062 wine_fn_config_dll httpapi enable_httpapi
18063 wine_fn_config_dll iccvid enable_iccvid clean
18064 wine_fn_config_dll icmp enable_icmp
18065 wine_fn_config_dll ieframe enable_ieframe clean,implib
18066 wine_fn_config_test dlls/ieframe/tests ieframe_test
18067 wine_fn_config_dll ifsmgr.vxd enable_win16
18068 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18069 wine_fn_config_dll imagehlp enable_imagehlp implib
18070 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18071 wine_fn_config_dll imm.dll16 enable_win16
18072 wine_fn_config_dll imm32 enable_imm32 implib
18073 wine_fn_config_test dlls/imm32/tests imm32_test
18074 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18075 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18076 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18077 wine_fn_config_dll inetmib1 enable_inetmib1
18078 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18079 wine_fn_config_dll infosoft enable_infosoft clean
18080 wine_fn_config_test dlls/infosoft/tests infosoft_test
18081 wine_fn_config_dll initpki enable_initpki
18082 wine_fn_config_dll inkobj enable_inkobj
18083 wine_fn_config_dll inseng enable_inseng clean
18084 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18085 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18086 wine_fn_config_dll iprop enable_iprop
18087 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18088 wine_fn_config_dll itircl enable_itircl
18089 wine_fn_config_dll itss enable_itss clean
18090 wine_fn_config_test dlls/itss/tests itss_test
18091 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18092 wine_fn_config_dll jscript enable_jscript clean
18093 wine_fn_config_test dlls/jscript/tests jscript_test
18094 wine_fn_config_dll jsproxy enable_jsproxy implib
18095 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18096 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18097 wine_fn_config_test dlls/kernel32/tests kernel32_test
18098 wine_fn_config_dll kernelbase enable_kernelbase
18099 wine_fn_config_dll keyboard.drv16 enable_win16
18100 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18101 wine_fn_config_dll ksuser enable_ksuser
18102 wine_fn_config_dll ktmw32 enable_ktmw32
18103 wine_fn_config_dll loadperf enable_loadperf implib
18104 wine_fn_config_dll localspl enable_localspl clean
18105 wine_fn_config_test dlls/localspl/tests localspl_test
18106 wine_fn_config_dll localui enable_localui clean
18107 wine_fn_config_test dlls/localui/tests localui_test
18108 wine_fn_config_dll lz32 enable_lz32 implib
18109 wine_fn_config_test dlls/lz32/tests lz32_test
18110 wine_fn_config_dll lzexpand.dll16 enable_win16
18111 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18112 wine_fn_config_test dlls/mapi32/tests mapi32_test
18113 wine_fn_config_dll mapistub enable_mapistub
18114 wine_fn_config_dll mciavi32 enable_mciavi32
18115 wine_fn_config_dll mcicda enable_mcicda
18116 wine_fn_config_dll mciqtz32 enable_mciqtz32
18117 wine_fn_config_dll mciseq enable_mciseq
18118 wine_fn_config_dll mciwave enable_mciwave
18119 wine_fn_config_dll mf enable_mf
18120 wine_fn_config_dll mf3216 enable_mf3216
18121 wine_fn_config_dll mfplat enable_mfplat
18122 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18123 wine_fn_config_dll mgmtapi enable_mgmtapi
18124 wine_fn_config_dll midimap enable_midimap
18125 wine_fn_config_dll mlang enable_mlang clean,implib
18126 wine_fn_config_test dlls/mlang/tests mlang_test
18127 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18128 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18129 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18130 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18131 wine_fn_config_dll mmdevldr.vxd enable_win16
18132 wine_fn_config_dll mmsystem.dll16 enable_win16
18133 wine_fn_config_dll monodebg.vxd enable_win16
18134 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18135 wine_fn_config_dll mouse.drv16 enable_win16
18136 wine_fn_config_dll mpr enable_mpr clean,implib
18137 wine_fn_config_test dlls/mpr/tests mpr_test
18138 wine_fn_config_dll mprapi enable_mprapi implib
18139 wine_fn_config_dll msacm.dll16 enable_win16
18140 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18141 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18142 wine_fn_config_test dlls/msacm32/tests msacm32_test
18143 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18144 wine_fn_config_dll msasn1 enable_msasn1 implib
18145 wine_fn_config_dll mscat32 enable_mscat32
18146 wine_fn_config_dll mscms enable_mscms implib
18147 wine_fn_config_test dlls/mscms/tests mscms_test
18148 wine_fn_config_dll mscoree enable_mscoree clean
18149 wine_fn_config_test dlls/mscoree/tests mscoree_test
18150 wine_fn_config_dll msctf enable_msctf clean
18151 wine_fn_config_test dlls/msctf/tests msctf_test
18152 wine_fn_config_dll msctfp enable_msctfp clean
18153 wine_fn_config_dll msdaps enable_msdaps clean
18154 wine_fn_config_dll msdelta enable_msdelta
18155 wine_fn_config_dll msdmo enable_msdmo implib
18156 wine_fn_config_test dlls/msdmo/tests msdmo_test
18157 wine_fn_config_dll msdrm enable_msdrm
18158 wine_fn_config_dll msftedit enable_msftedit
18159 wine_fn_config_dll msg711.acm enable_msg711_acm
18160 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18161 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18162 wine_fn_config_dll mshtml enable_mshtml clean,implib
18163 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18164 wine_fn_config_dll msi enable_msi clean,implib
18165 wine_fn_config_test dlls/msi/tests msi_test
18166 wine_fn_config_dll msident enable_msident clean
18167 wine_fn_config_dll msimg32 enable_msimg32 implib
18168 wine_fn_config_dll msimsg enable_msimsg
18169 wine_fn_config_dll msimtf enable_msimtf clean
18170 wine_fn_config_dll msisip enable_msisip
18171 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18172 wine_fn_config_dll msls31 enable_msls31
18173 wine_fn_config_dll msnet32 enable_msnet32
18174 wine_fn_config_dll mspatcha enable_mspatcha implib
18175 wine_fn_config_dll msports enable_msports
18176 wine_fn_config_dll msrle32 enable_msrle32 clean
18177 wine_fn_config_test dlls/msrle32/tests msrle32_test
18178 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18179 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18180 wine_fn_config_dll mssign32 enable_mssign32
18181 wine_fn_config_dll mssip32 enable_mssip32
18182 wine_fn_config_dll mstask enable_mstask clean
18183 wine_fn_config_test dlls/mstask/tests mstask_test
18184 wine_fn_config_dll msvcirt enable_msvcirt
18185 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18186 wine_fn_config_dll msvcm80 enable_msvcm80
18187 wine_fn_config_dll msvcm90 enable_msvcm90
18188 wine_fn_config_dll msvcp100 enable_msvcp100
18189 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18190 wine_fn_config_dll msvcp110 enable_msvcp110
18191 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18192 wine_fn_config_dll msvcp120 enable_msvcp120
18193 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18194 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18195 wine_fn_config_dll msvcp140 enable_msvcp140
18196 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18197 wine_fn_config_dll msvcp60 enable_msvcp60
18198 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18199 wine_fn_config_dll msvcp70 enable_msvcp70
18200 wine_fn_config_dll msvcp71 enable_msvcp71
18201 wine_fn_config_dll msvcp80 enable_msvcp80
18202 wine_fn_config_dll msvcp90 enable_msvcp90
18203 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18204 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18205 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18206 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18207 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18208 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18209 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18210 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18211 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18212 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18213 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18214 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18215 wine_fn_config_dll msvcrt enable_msvcrt implib
18216 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18217 wine_fn_config_dll msvcrt20 enable_msvcrt20
18218 wine_fn_config_dll msvcrt40 enable_msvcrt40
18219 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18220 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18221 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18222 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18223 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18224 wine_fn_config_dll msvideo.dll16 enable_win16
18225 wine_fn_config_dll mswsock enable_mswsock implib
18226 wine_fn_config_dll msxml enable_msxml clean
18227 wine_fn_config_dll msxml2 enable_msxml2 clean
18228 wine_fn_config_dll msxml3 enable_msxml3 clean
18229 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18230 wine_fn_config_dll msxml4 enable_msxml4 clean
18231 wine_fn_config_dll msxml6 enable_msxml6 clean
18232 wine_fn_config_dll mtxdm enable_mtxdm
18233 wine_fn_config_dll ncrypt enable_ncrypt
18234 wine_fn_config_dll nddeapi enable_nddeapi implib
18235 wine_fn_config_dll ndis.sys enable_ndis_sys
18236 wine_fn_config_dll netapi32 enable_netapi32 implib
18237 wine_fn_config_test dlls/netapi32/tests netapi32_test
18238 wine_fn_config_dll netcfgx enable_netcfgx clean
18239 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18240 wine_fn_config_dll netprofm enable_netprofm clean
18241 wine_fn_config_test dlls/netprofm/tests netprofm_test
18242 wine_fn_config_dll newdev enable_newdev implib
18243 wine_fn_config_dll normaliz enable_normaliz implib
18244 wine_fn_config_dll npmshtml enable_npmshtml
18245 wine_fn_config_dll npptools enable_npptools
18246 wine_fn_config_dll ntdll enable_ntdll implib
18247 wine_fn_config_test dlls/ntdll/tests ntdll_test
18248 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18249 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18250 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18251 wine_fn_config_dll ntprint enable_ntprint
18252 wine_fn_config_test dlls/ntprint/tests ntprint_test
18253 wine_fn_config_dll objsel enable_objsel clean
18254 wine_fn_config_dll odbc32 enable_odbc32 implib
18255 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18256 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18257 wine_fn_config_dll odbccu32 enable_odbccu32
18258 wine_fn_config_dll ole2.dll16 enable_win16
18259 wine_fn_config_dll ole2conv.dll16 enable_win16
18260 wine_fn_config_dll ole2disp.dll16 enable_win16
18261 wine_fn_config_dll ole2nls.dll16 enable_win16
18262 wine_fn_config_dll ole2prox.dll16 enable_win16
18263 wine_fn_config_dll ole2thk.dll16 enable_win16
18264 wine_fn_config_dll ole32 enable_ole32 clean,implib
18265 wine_fn_config_test dlls/ole32/tests ole32_test
18266 wine_fn_config_dll oleacc enable_oleacc clean,implib
18267 wine_fn_config_test dlls/oleacc/tests oleacc_test
18268 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18269 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18270 wine_fn_config_dll olecli.dll16 enable_win16
18271 wine_fn_config_dll olecli32 enable_olecli32 implib
18272 wine_fn_config_dll oledb32 enable_oledb32 clean
18273 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18274 wine_fn_config_dll oledlg enable_oledlg clean,implib
18275 wine_fn_config_test dlls/oledlg/tests oledlg_test
18276 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18277 wine_fn_config_dll olesvr.dll16 enable_win16
18278 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18279 wine_fn_config_dll olethk32 enable_olethk32
18280 wine_fn_config_dll openal32 enable_openal32
18281 wine_fn_config_dll opencl enable_opencl
18282 wine_fn_config_dll opengl32 enable_opengl32 implib
18283 wine_fn_config_test dlls/opengl32/tests opengl32_test
18284 wine_fn_config_dll packager enable_packager clean
18285 wine_fn_config_test dlls/packager/tests packager_test
18286 wine_fn_config_dll pdh enable_pdh implib
18287 wine_fn_config_test dlls/pdh/tests pdh_test
18288 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18289 wine_fn_config_dll pidgen enable_pidgen
18290 wine_fn_config_dll powrprof enable_powrprof implib
18291 wine_fn_config_dll printui enable_printui
18292 wine_fn_config_dll prntvpt enable_prntvpt
18293 wine_fn_config_dll propsys enable_propsys clean,implib
18294 wine_fn_config_test dlls/propsys/tests propsys_test
18295 wine_fn_config_dll psapi enable_psapi implib
18296 wine_fn_config_test dlls/psapi/tests psapi_test
18297 wine_fn_config_dll pstorec enable_pstorec clean
18298 wine_fn_config_test dlls/pstorec/tests pstorec_test
18299 wine_fn_config_dll qcap enable_qcap
18300 wine_fn_config_test dlls/qcap/tests qcap_test
18301 wine_fn_config_dll qedit enable_qedit clean
18302 wine_fn_config_test dlls/qedit/tests qedit_test
18303 wine_fn_config_dll qmgr enable_qmgr clean
18304 wine_fn_config_test dlls/qmgr/tests qmgr_test
18305 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18306 wine_fn_config_dll quartz enable_quartz clean,implib
18307 wine_fn_config_test dlls/quartz/tests quartz_test clean
18308 wine_fn_config_dll query enable_query
18309 wine_fn_config_dll rasapi16.dll16 enable_win16
18310 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18311 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18312 wine_fn_config_dll rasdlg enable_rasdlg implib
18313 wine_fn_config_dll regapi enable_regapi
18314 wine_fn_config_dll resutils enable_resutils implib
18315 wine_fn_config_dll riched20 enable_riched20 clean,implib
18316 wine_fn_config_test dlls/riched20/tests riched20_test
18317 wine_fn_config_dll riched32 enable_riched32
18318 wine_fn_config_test dlls/riched32/tests riched32_test
18319 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18320 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18321 wine_fn_config_dll rsabase enable_rsabase
18322 wine_fn_config_dll rsaenh enable_rsaenh implib
18323 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18324 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18325 wine_fn_config_dll rtutils enable_rtutils implib
18326 wine_fn_config_dll samlib enable_samlib
18327 wine_fn_config_dll sane.ds enable_sane_ds clean
18328 wine_fn_config_dll scarddlg enable_scarddlg
18329 wine_fn_config_dll sccbase enable_sccbase
18330 wine_fn_config_dll schannel enable_schannel
18331 wine_fn_config_test dlls/schannel/tests schannel_test
18332 wine_fn_config_dll schedsvc enable_schedsvc clean
18333 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18334 wine_fn_config_dll scrobj enable_scrobj clean
18335 wine_fn_config_dll scrrun enable_scrrun clean
18336 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18337 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18338 wine_fn_config_dll secur32 enable_secur32 implib
18339 wine_fn_config_test dlls/secur32/tests secur32_test
18340 wine_fn_config_dll security enable_security
18341 wine_fn_config_dll sensapi enable_sensapi implib
18342 wine_fn_config_dll serialui enable_serialui clean
18343 wine_fn_config_test dlls/serialui/tests serialui_test
18344 wine_fn_config_dll setupapi enable_setupapi clean,implib
18345 wine_fn_config_test dlls/setupapi/tests setupapi_test
18346 wine_fn_config_dll setupx.dll16 enable_win16
18347 wine_fn_config_dll sfc enable_sfc implib
18348 wine_fn_config_dll sfc_os enable_sfc_os implib
18349 wine_fn_config_dll shdoclc enable_shdoclc clean
18350 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18351 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18352 wine_fn_config_dll shell.dll16 enable_win16
18353 wine_fn_config_dll shell32 enable_shell32 clean,implib
18354 wine_fn_config_test dlls/shell32/tests shell32_test
18355 wine_fn_config_dll shfolder enable_shfolder implib
18356 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18357 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18358 wine_fn_config_dll slbcsp enable_slbcsp
18359 wine_fn_config_dll slc enable_slc implib
18360 wine_fn_config_test dlls/slc/tests slc_test
18361 wine_fn_config_dll snmpapi enable_snmpapi implib
18362 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18363 wine_fn_config_dll softpub enable_softpub
18364 wine_fn_config_dll sound.drv16 enable_win16
18365 wine_fn_config_dll spoolss enable_spoolss implib
18366 wine_fn_config_test dlls/spoolss/tests spoolss_test
18367 wine_fn_config_dll sspicli enable_sspicli
18368 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18369 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18370 wine_fn_config_dll sti enable_sti clean,implib
18371 wine_fn_config_test dlls/sti/tests sti_test
18372 wine_fn_config_dll storage.dll16 enable_win16
18373 wine_fn_config_dll stress.dll16 enable_win16
18374 wine_fn_config_lib strmbase
18375 wine_fn_config_lib strmiids
18376 wine_fn_config_dll svrapi enable_svrapi
18377 wine_fn_config_dll sxs enable_sxs implib
18378 wine_fn_config_test dlls/sxs/tests sxs_test
18379 wine_fn_config_dll system.drv16 enable_win16
18380 wine_fn_config_dll t2embed enable_t2embed implib
18381 wine_fn_config_test dlls/t2embed/tests t2embed_test
18382 wine_fn_config_dll tapi32 enable_tapi32 implib
18383 wine_fn_config_dll taskschd enable_taskschd clean
18384 wine_fn_config_test dlls/taskschd/tests taskschd_test
18385 wine_fn_config_dll tdi.sys enable_tdi_sys
18386 wine_fn_config_dll toolhelp.dll16 enable_win16
18387 wine_fn_config_dll traffic enable_traffic
18388 wine_fn_config_dll twain.dll16 enable_win16
18389 wine_fn_config_dll twain_32 enable_twain_32
18390 wine_fn_config_test dlls/twain_32/tests twain_32_test
18391 wine_fn_config_dll typelib.dll16 enable_win16
18392 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18393 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18394 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18395 wine_fn_config_dll unicows enable_unicows implib
18396 wine_fn_config_dll updspapi enable_updspapi
18397 wine_fn_config_dll url enable_url implib
18398 wine_fn_config_dll urlmon enable_urlmon clean,implib
18399 wine_fn_config_test dlls/urlmon/tests urlmon_test
18400 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18401 wine_fn_config_dll user.exe16 enable_win16
18402 wine_fn_config_dll user32 enable_user32 clean,implib
18403 wine_fn_config_test dlls/user32/tests user32_test
18404 wine_fn_config_dll userenv enable_userenv implib
18405 wine_fn_config_test dlls/userenv/tests userenv_test
18406 wine_fn_config_dll usp10 enable_usp10 implib
18407 wine_fn_config_test dlls/usp10/tests usp10_test
18408 wine_fn_config_lib uuid
18409 wine_fn_config_dll uxtheme enable_uxtheme implib
18410 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18411 wine_fn_config_dll vbscript enable_vbscript clean
18412 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18413 wine_fn_config_dll vcomp enable_vcomp
18414 wine_fn_config_test dlls/vcomp/tests vcomp_test
18415 wine_fn_config_dll vcomp100 enable_vcomp100
18416 wine_fn_config_dll vcomp110 enable_vcomp110
18417 wine_fn_config_dll vcomp120 enable_vcomp120
18418 wine_fn_config_dll vcomp140 enable_vcomp140
18419 wine_fn_config_dll vcomp90 enable_vcomp90
18420 wine_fn_config_dll vcruntime140 enable_vcruntime140
18421 wine_fn_config_dll vdhcp.vxd enable_win16
18422 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18423 wine_fn_config_dll ver.dll16 enable_win16
18424 wine_fn_config_dll version enable_version implib
18425 wine_fn_config_test dlls/version/tests version_test
18426 wine_fn_config_dll virtdisk enable_virtdisk
18427 wine_fn_config_dll vmm.vxd enable_win16
18428 wine_fn_config_dll vnbt.vxd enable_win16
18429 wine_fn_config_dll vnetbios.vxd enable_win16
18430 wine_fn_config_dll vssapi enable_vssapi
18431 wine_fn_config_dll vtdapi.vxd enable_win16
18432 wine_fn_config_dll vwin32.vxd enable_win16
18433 wine_fn_config_dll w32skrnl enable_win16
18434 wine_fn_config_dll w32sys.dll16 enable_win16
18435 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18436 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18437 wine_fn_config_dll wbemprox enable_wbemprox clean
18438 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18439 wine_fn_config_dll webservices enable_webservices implib
18440 wine_fn_config_test dlls/webservices/tests webservices_test
18441 wine_fn_config_dll wer enable_wer implib
18442 wine_fn_config_test dlls/wer/tests wer_test
18443 wine_fn_config_dll wevtapi enable_wevtapi
18444 wine_fn_config_dll wiaservc enable_wiaservc clean
18445 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18446 wine_fn_config_dll wimgapi enable_wimgapi
18447 wine_fn_config_dll win32s16.dll16 enable_win16
18448 wine_fn_config_dll win87em.dll16 enable_win16
18449 wine_fn_config_dll winaspi.dll16 enable_win16
18450 wine_fn_config_dll windebug.dll16 enable_win16
18451 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18452 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18453 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18454 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18455 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18456 wine_fn_config_dll winebus.sys enable_winebus_sys
18457 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18458 wine_fn_config_lib winecrt0
18459 wine_fn_config_dll wined3d enable_wined3d implib
18460 wine_fn_config_dll winegstreamer enable_winegstreamer
18461 wine_fn_config_dll winehid.sys enable_winehid_sys
18462 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18463 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18464 wine_fn_config_dll winemapi enable_winemapi
18465 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18466 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18467 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18468 wine_fn_config_dll wineps16.drv16 enable_win16
18469 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18470 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18471 wine_fn_config_dll winex11.drv enable_winex11_drv
18472 wine_fn_config_dll wing.dll16 enable_win16
18473 wine_fn_config_dll wing32 enable_wing32
18474 wine_fn_config_dll winhttp enable_winhttp clean,implib
18475 wine_fn_config_test dlls/winhttp/tests winhttp_test
18476 wine_fn_config_dll wininet enable_wininet clean,implib
18477 wine_fn_config_test dlls/wininet/tests wininet_test
18478 wine_fn_config_dll winmm enable_winmm clean,implib
18479 wine_fn_config_test dlls/winmm/tests winmm_test
18480 wine_fn_config_dll winnls.dll16 enable_win16
18481 wine_fn_config_dll winnls32 enable_winnls32 implib
18482 wine_fn_config_dll winscard enable_winscard implib
18483 wine_fn_config_dll winsock.dll16 enable_win16
18484 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18485 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18486 wine_fn_config_dll winsta enable_winsta
18487 wine_fn_config_dll wintab.dll16 enable_win16
18488 wine_fn_config_dll wintab32 enable_wintab32 implib
18489 wine_fn_config_test dlls/wintab32/tests wintab32_test
18490 wine_fn_config_dll wintrust enable_wintrust implib
18491 wine_fn_config_test dlls/wintrust/tests wintrust_test
18492 wine_fn_config_dll winusb enable_winusb
18493 wine_fn_config_dll wlanapi enable_wlanapi implib
18494 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18495 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18496 wine_fn_config_test dlls/wldap32/tests wldap32_test
18497 wine_fn_config_dll wmasf enable_wmasf
18498 wine_fn_config_dll wmi enable_wmi
18499 wine_fn_config_dll wmiutils enable_wmiutils clean
18500 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18501 wine_fn_config_dll wmp enable_wmp clean
18502 wine_fn_config_test dlls/wmp/tests wmp_test
18503 wine_fn_config_dll wmvcore enable_wmvcore implib
18504 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18505 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18506 wine_fn_config_dll wow32 enable_win16 implib
18507 wine_fn_config_dll wpc enable_wpc clean
18508 wine_fn_config_test dlls/wpc/tests wpc_test
18509 wine_fn_config_dll wpcap enable_wpcap
18510 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18511 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18512 wine_fn_config_dll wsdapi enable_wsdapi implib
18513 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18514 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18515 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18516 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18517 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18518 wine_fn_config_dll wsock32 enable_wsock32 implib
18519 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18520 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18521 wine_fn_config_dll wuapi enable_wuapi clean
18522 wine_fn_config_dll wuaueng enable_wuaueng
18523 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18524 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18525 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18526 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18527 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18528 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18529 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18530 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18531 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18532 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18533 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18534 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18535 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18536 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18537 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18538 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18539 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18540 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18541 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18542 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18543 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18544 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18545 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18546 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18547 wine_fn_config_dll xinput1_1 enable_xinput1_1
18548 wine_fn_config_dll xinput1_2 enable_xinput1_2
18549 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18550 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18551 wine_fn_config_dll xinput1_4 enable_xinput1_4
18552 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18553 wine_fn_config_dll xmllite enable_xmllite implib
18554 wine_fn_config_test dlls/xmllite/tests xmllite_test
18555 wine_fn_config_dll xolehlp enable_xolehlp
18556 wine_fn_config_dll xpsprint enable_xpsprint
18557 wine_fn_config_dll xpssvcs enable_xpssvcs
18558 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18559 wine_fn_config_makefile include enable_include clean,install-dev
18560 wine_fn_config_makefile libs/port enable_libs_port
18561 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18562 wine_fn_config_makefile libs/wpp enable_libs_wpp
18563 wine_fn_config_makefile loader enable_loader clean,install-lib
18564 wine_fn_config_makefile po enable_po clean
18565 wine_fn_config_program arp enable_arp install
18566 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18567 wine_fn_config_program attrib enable_attrib clean,install
18568 wine_fn_config_program cabarc enable_cabarc install
18569 wine_fn_config_program cacls enable_cacls install
18570 wine_fn_config_program clock enable_clock clean,install
18571 wine_fn_config_program cmd enable_cmd clean,install
18572 wine_fn_config_test programs/cmd/tests cmd.exe_test
18573 wine_fn_config_program conhost enable_conhost install
18574 wine_fn_config_program control enable_control install
18575 wine_fn_config_program cscript enable_cscript clean,install
18576 wine_fn_config_program dpnsvr enable_dpnsvr install
18577 wine_fn_config_program dxdiag enable_dxdiag clean,install
18578 wine_fn_config_program eject enable_eject install
18579 wine_fn_config_program expand enable_expand install
18580 wine_fn_config_program explorer enable_explorer clean,install
18581 wine_fn_config_program extrac32 enable_extrac32 install
18582 wine_fn_config_program findstr enable_findstr install
18583 wine_fn_config_program fsutil enable_fsutil install
18584 wine_fn_config_program hh enable_hh install
18585 wine_fn_config_program hostname enable_hostname clean,install
18586 wine_fn_config_program icacls enable_icacls install
18587 wine_fn_config_program icinfo enable_icinfo install
18588 wine_fn_config_program iexplore enable_iexplore install
18589 wine_fn_config_program ipconfig enable_ipconfig clean,install
18590 wine_fn_config_program lodctr enable_lodctr install
18591 wine_fn_config_program mofcomp enable_mofcomp install
18592 wine_fn_config_program mshta enable_mshta install
18593 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18594 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18595 wine_fn_config_program net enable_net clean,install
18596 wine_fn_config_program netsh enable_netsh install
18597 wine_fn_config_program netstat enable_netstat clean,install
18598 wine_fn_config_program ngen enable_ngen install
18599 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18600 wine_fn_config_program oleview enable_oleview clean,install
18601 wine_fn_config_program ping enable_ping install
18602 wine_fn_config_program plugplay enable_plugplay install
18603 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18604 wine_fn_config_program progman enable_progman clean,install
18605 wine_fn_config_program reg enable_reg clean,install
18606 wine_fn_config_test programs/reg/tests reg.exe_test
18607 wine_fn_config_program regasm enable_regasm install
18608 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18609 wine_fn_config_test programs/regedit/tests regedit.exe_test
18610 wine_fn_config_program regsvcs enable_regsvcs install
18611 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18612 wine_fn_config_program rpcss enable_rpcss clean,install
18613 wine_fn_config_program rundll.exe16 enable_win16 install
18614 wine_fn_config_program rundll32 enable_rundll32 install
18615 wine_fn_config_program sc enable_sc install
18616 wine_fn_config_program schtasks enable_schtasks install
18617 wine_fn_config_program sdbinst enable_sdbinst install
18618 wine_fn_config_program secedit enable_secedit install
18619 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18620 wine_fn_config_program services enable_services clean,install
18621 wine_fn_config_test programs/services/tests services.exe_test
18622 wine_fn_config_program shutdown enable_shutdown install
18623 wine_fn_config_program spoolsv enable_spoolsv install
18624 wine_fn_config_program start enable_start clean,install
18625 wine_fn_config_program subst enable_subst install
18626 wine_fn_config_program svchost enable_svchost install
18627 wine_fn_config_program systeminfo enable_systeminfo install
18628 wine_fn_config_program taskkill enable_taskkill clean,install
18629 wine_fn_config_program tasklist enable_tasklist install
18630 wine_fn_config_program taskmgr enable_taskmgr clean,install
18631 wine_fn_config_program termsv enable_termsv install
18632 wine_fn_config_program uninstaller enable_uninstaller clean,install
18633 wine_fn_config_program unlodctr enable_unlodctr install
18634 wine_fn_config_program view enable_view clean,install
18635 wine_fn_config_program wevtutil enable_wevtutil install
18636 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18637 wine_fn_config_program winebrowser enable_winebrowser install
18638 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18639 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18640 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18641 wine_fn_config_program winedevice enable_winedevice install
18642 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18643 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18644 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18645 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18646 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18647 wine_fn_config_program winetest enable_winetest clean
18648 wine_fn_config_program winevdm enable_win16 install
18649 wine_fn_config_program winhelp.exe16 enable_win16 install
18650 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18651 wine_fn_config_program winoldap.mod16 enable_win16 install
18652 wine_fn_config_program winver enable_winver install
18653 wine_fn_config_program wmic enable_wmic clean,install
18654 wine_fn_config_program wmplayer enable_wmplayer install
18655 wine_fn_config_program wordpad enable_wordpad clean,install
18656 wine_fn_config_program write enable_write clean,install
18657 wine_fn_config_program wscript enable_wscript clean,install
18658 wine_fn_config_test programs/wscript/tests wscript.exe_test
18659 wine_fn_config_program wusa enable_wusa install
18660 wine_fn_config_program xcopy enable_xcopy clean,install
18661 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18662 wine_fn_config_makefile server enable_server clean,install-lib
18663 wine_fn_config_tool tools clean
18664 wine_fn_config_tool tools/sfnt2fon clean
18665 wine_fn_config_tool tools/widl clean,install-dev
18666 wine_fn_config_tool tools/winebuild clean,install-dev
18667 wine_fn_config_tool tools/winedump clean,install-dev
18668 wine_fn_config_tool tools/winegcc clean,install-dev
18669 wine_fn_config_tool tools/winemaker clean,install-dev
18670 wine_fn_config_tool tools/wmc clean,install-dev
18671 wine_fn_config_tool tools/wrc clean,install-dev
18674 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18675 wine_fn_append_file CONFIGURE_TARGETS "tags"
18676 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18677 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18678 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18679 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18680 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18681 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18683 if test "x$enable_tools" != xno
18684 then
18685 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18686 ac_config_commands="$ac_config_commands tools/makedep"
18690 ac_config_commands="$ac_config_commands Makefile"
18693 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18697 if test "x$enable_maintainer_mode" = xyes
18698 then
18699 wine_fn_append_rule "configure: configure.ac aclocal.m4
18700 autoconf --warnings=all
18701 include/config.h.in: include/stamp-h.in
18702 include/stamp-h.in: configure.ac aclocal.m4
18703 autoheader --warnings=all
18704 @echo timestamp > \$@"
18707 if test "x$enable_tools" != xno
18708 then
18709 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18710 @./config.status tools/makedep
18711 Makefile: tools/makedep$ac_exeext"
18712 else
18713 wine_fn_append_rule "\$(MAKEDEP):
18714 @echo \"You need to run make in $TOOLSDIR first\" && false"
18717 if test -n "$with_wine64"
18718 then
18719 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18720 fonts server:
18721 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18722 $with_wine64/loader/wine:
18723 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18724 $with_wine64/loader/wine-preloader:
18725 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18726 clean::
18727 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18728 else
18729 WINELOADER_INSTALL="wine.inf"
18731 wine_fn_append_rule "install install-lib::
18732 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18733 uninstall::
18734 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18735 case $host_os in
18736 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18737 *) wine_fn_append_rule "install install-lib::
18738 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18739 uninstall::
18740 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18741 esac
18744 $as_echo " done" >&6
18745 cat >confcache <<\_ACEOF
18746 # This file is a shell script that caches the results of configure
18747 # tests run on this system so they can be shared between configure
18748 # scripts and configure runs, see configure's option --config-cache.
18749 # It is not useful on other systems. If it contains results you don't
18750 # want to keep, you may remove or edit it.
18752 # config.status only pays attention to the cache file if you give it
18753 # the --recheck option to rerun configure.
18755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18757 # following values.
18759 _ACEOF
18761 # The following way of writing the cache mishandles newlines in values,
18762 # but we know of no workaround that is simple, portable, and efficient.
18763 # So, we kill variables containing newlines.
18764 # Ultrix sh set writes to stderr and can't be redirected directly,
18765 # and sets the high bit in the cache file unless we assign to the vars.
18767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18768 eval ac_val=\$$ac_var
18769 case $ac_val in #(
18770 *${as_nl}*)
18771 case $ac_var in #(
18772 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18773 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18774 esac
18775 case $ac_var in #(
18776 _ | IFS | as_nl) ;; #(
18777 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18778 *) { eval $ac_var=; unset $ac_var;} ;;
18779 esac ;;
18780 esac
18781 done
18783 (set) 2>&1 |
18784 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18785 *${as_nl}ac_space=\ *)
18786 # `set' does not quote correctly, so add quotes: double-quote
18787 # substitution turns \\\\ into \\, and sed turns \\ into \.
18788 sed -n \
18789 "s/'/'\\\\''/g;
18790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18791 ;; #(
18793 # `set' quotes correctly as required by POSIX, so do not add quotes.
18794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18796 esac |
18797 sort
18799 sed '
18800 /^ac_cv_env_/b end
18801 t clear
18802 :clear
18803 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18804 t end
18805 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18806 :end' >>confcache
18807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18808 if test -w "$cache_file"; then
18809 if test "x$cache_file" != "x/dev/null"; then
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18811 $as_echo "$as_me: updating cache $cache_file" >&6;}
18812 if test ! -f "$cache_file" || test -h "$cache_file"; then
18813 cat confcache >"$cache_file"
18814 else
18815 case $cache_file in #(
18816 */* | ?:*)
18817 mv -f confcache "$cache_file"$$ &&
18818 mv -f "$cache_file"$$ "$cache_file" ;; #(
18820 mv -f confcache "$cache_file" ;;
18821 esac
18824 else
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18826 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18829 rm -f confcache
18831 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18832 # Let make expand exec_prefix.
18833 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18835 DEFS=-DHAVE_CONFIG_H
18837 ac_libobjs=
18838 ac_ltlibobjs=
18840 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18841 # 1. Remove the extension, and $U if already installed.
18842 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18843 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18844 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18845 # will be set to the directory where LIBOBJS objects are built.
18846 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18847 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18848 done
18849 LIBOBJS=$ac_libobjs
18851 LTLIBOBJS=$ac_ltlibobjs
18855 : "${CONFIG_STATUS=./config.status}"
18856 ac_write_fail=0
18857 ac_clean_files_save=$ac_clean_files
18858 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18859 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18860 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18861 as_write_fail=0
18862 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18863 #! $SHELL
18864 # Generated by $as_me.
18865 # Run this file to recreate the current configuration.
18866 # Compiler output produced by configure, useful for debugging
18867 # configure, is in config.log if it exists.
18869 debug=false
18870 ac_cs_recheck=false
18871 ac_cs_silent=false
18873 SHELL=\${CONFIG_SHELL-$SHELL}
18874 export SHELL
18875 _ASEOF
18876 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18877 ## -------------------- ##
18878 ## M4sh Initialization. ##
18879 ## -------------------- ##
18881 # Be more Bourne compatible
18882 DUALCASE=1; export DUALCASE # for MKS sh
18883 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18884 emulate sh
18885 NULLCMD=:
18886 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18887 # is contrary to our usage. Disable this feature.
18888 alias -g '${1+"$@"}'='"$@"'
18889 setopt NO_GLOB_SUBST
18890 else
18891 case `(set -o) 2>/dev/null` in #(
18892 *posix*) :
18893 set -o posix ;; #(
18894 *) :
18896 esac
18900 as_nl='
18902 export as_nl
18903 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18904 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18905 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18906 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18907 # Prefer a ksh shell builtin over an external printf program on Solaris,
18908 # but without wasting forks for bash or zsh.
18909 if test -z "$BASH_VERSION$ZSH_VERSION" \
18910 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18911 as_echo='print -r --'
18912 as_echo_n='print -rn --'
18913 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18914 as_echo='printf %s\n'
18915 as_echo_n='printf %s'
18916 else
18917 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18918 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18919 as_echo_n='/usr/ucb/echo -n'
18920 else
18921 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18922 as_echo_n_body='eval
18923 arg=$1;
18924 case $arg in #(
18925 *"$as_nl"*)
18926 expr "X$arg" : "X\\(.*\\)$as_nl";
18927 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18928 esac;
18929 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18931 export as_echo_n_body
18932 as_echo_n='sh -c $as_echo_n_body as_echo'
18934 export as_echo_body
18935 as_echo='sh -c $as_echo_body as_echo'
18938 # The user is always right.
18939 if test "${PATH_SEPARATOR+set}" != set; then
18940 PATH_SEPARATOR=:
18941 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18942 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18943 PATH_SEPARATOR=';'
18948 # IFS
18949 # We need space, tab and new line, in precisely that order. Quoting is
18950 # there to prevent editors from complaining about space-tab.
18951 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18952 # splitting by setting IFS to empty value.)
18953 IFS=" "" $as_nl"
18955 # Find who we are. Look in the path if we contain no directory separator.
18956 as_myself=
18957 case $0 in #((
18958 *[\\/]* ) as_myself=$0 ;;
18959 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18960 for as_dir in $PATH
18962 IFS=$as_save_IFS
18963 test -z "$as_dir" && as_dir=.
18964 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18965 done
18966 IFS=$as_save_IFS
18969 esac
18970 # We did not find ourselves, most probably we were run as `sh COMMAND'
18971 # in which case we are not to be found in the path.
18972 if test "x$as_myself" = x; then
18973 as_myself=$0
18975 if test ! -f "$as_myself"; then
18976 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18977 exit 1
18980 # Unset variables that we do not need and which cause bugs (e.g. in
18981 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18982 # suppresses any "Segmentation fault" message there. '((' could
18983 # trigger a bug in pdksh 5.2.14.
18984 for as_var in BASH_ENV ENV MAIL MAILPATH
18985 do eval test x\${$as_var+set} = xset \
18986 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18987 done
18988 PS1='$ '
18989 PS2='> '
18990 PS4='+ '
18992 # NLS nuisances.
18993 LC_ALL=C
18994 export LC_ALL
18995 LANGUAGE=C
18996 export LANGUAGE
18998 # CDPATH.
18999 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19002 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19003 # ----------------------------------------
19004 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19005 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19006 # script with STATUS, using 1 if that was 0.
19007 as_fn_error ()
19009 as_status=$1; test $as_status -eq 0 && as_status=1
19010 if test "$4"; then
19011 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19012 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19014 $as_echo "$as_me: error: $2" >&2
19015 as_fn_exit $as_status
19016 } # as_fn_error
19019 # as_fn_set_status STATUS
19020 # -----------------------
19021 # Set $? to STATUS, without forking.
19022 as_fn_set_status ()
19024 return $1
19025 } # as_fn_set_status
19027 # as_fn_exit STATUS
19028 # -----------------
19029 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19030 as_fn_exit ()
19032 set +e
19033 as_fn_set_status $1
19034 exit $1
19035 } # as_fn_exit
19037 # as_fn_unset VAR
19038 # ---------------
19039 # Portably unset VAR.
19040 as_fn_unset ()
19042 { eval $1=; unset $1;}
19044 as_unset=as_fn_unset
19045 # as_fn_append VAR VALUE
19046 # ----------------------
19047 # Append the text in VALUE to the end of the definition contained in VAR. Take
19048 # advantage of any shell optimizations that allow amortized linear growth over
19049 # repeated appends, instead of the typical quadratic growth present in naive
19050 # implementations.
19051 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19052 eval 'as_fn_append ()
19054 eval $1+=\$2
19056 else
19057 as_fn_append ()
19059 eval $1=\$$1\$2
19061 fi # as_fn_append
19063 # as_fn_arith ARG...
19064 # ------------------
19065 # Perform arithmetic evaluation on the ARGs, and store the result in the
19066 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19067 # must be portable across $(()) and expr.
19068 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19069 eval 'as_fn_arith ()
19071 as_val=$(( $* ))
19073 else
19074 as_fn_arith ()
19076 as_val=`expr "$@" || test $? -eq 1`
19078 fi # as_fn_arith
19081 if expr a : '\(a\)' >/dev/null 2>&1 &&
19082 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19083 as_expr=expr
19084 else
19085 as_expr=false
19088 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19089 as_basename=basename
19090 else
19091 as_basename=false
19094 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19095 as_dirname=dirname
19096 else
19097 as_dirname=false
19100 as_me=`$as_basename -- "$0" ||
19101 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19102 X"$0" : 'X\(//\)$' \| \
19103 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19104 $as_echo X/"$0" |
19105 sed '/^.*\/\([^/][^/]*\)\/*$/{
19106 s//\1/
19109 /^X\/\(\/\/\)$/{
19110 s//\1/
19113 /^X\/\(\/\).*/{
19114 s//\1/
19117 s/.*/./; q'`
19119 # Avoid depending upon Character Ranges.
19120 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19121 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19122 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19123 as_cr_digits='0123456789'
19124 as_cr_alnum=$as_cr_Letters$as_cr_digits
19126 ECHO_C= ECHO_N= ECHO_T=
19127 case `echo -n x` in #(((((
19128 -n*)
19129 case `echo 'xy\c'` in
19130 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19131 xy) ECHO_C='\c';;
19132 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19133 ECHO_T=' ';;
19134 esac;;
19136 ECHO_N='-n';;
19137 esac
19139 rm -f conf$$ conf$$.exe conf$$.file
19140 if test -d conf$$.dir; then
19141 rm -f conf$$.dir/conf$$.file
19142 else
19143 rm -f conf$$.dir
19144 mkdir conf$$.dir 2>/dev/null
19146 if (echo >conf$$.file) 2>/dev/null; then
19147 if ln -s conf$$.file conf$$ 2>/dev/null; then
19148 as_ln_s='ln -s'
19149 # ... but there are two gotchas:
19150 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19151 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19152 # In both cases, we have to default to `cp -pR'.
19153 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19154 as_ln_s='cp -pR'
19155 elif ln conf$$.file conf$$ 2>/dev/null; then
19156 as_ln_s=ln
19157 else
19158 as_ln_s='cp -pR'
19160 else
19161 as_ln_s='cp -pR'
19163 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19164 rmdir conf$$.dir 2>/dev/null
19167 # as_fn_mkdir_p
19168 # -------------
19169 # Create "$as_dir" as a directory, including parents if necessary.
19170 as_fn_mkdir_p ()
19173 case $as_dir in #(
19174 -*) as_dir=./$as_dir;;
19175 esac
19176 test -d "$as_dir" || eval $as_mkdir_p || {
19177 as_dirs=
19178 while :; do
19179 case $as_dir in #(
19180 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19181 *) as_qdir=$as_dir;;
19182 esac
19183 as_dirs="'$as_qdir' $as_dirs"
19184 as_dir=`$as_dirname -- "$as_dir" ||
19185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19186 X"$as_dir" : 'X\(//\)[^/]' \| \
19187 X"$as_dir" : 'X\(//\)$' \| \
19188 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19189 $as_echo X"$as_dir" |
19190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19191 s//\1/
19194 /^X\(\/\/\)[^/].*/{
19195 s//\1/
19198 /^X\(\/\/\)$/{
19199 s//\1/
19202 /^X\(\/\).*/{
19203 s//\1/
19206 s/.*/./; q'`
19207 test -d "$as_dir" && break
19208 done
19209 test -z "$as_dirs" || eval "mkdir $as_dirs"
19210 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19213 } # as_fn_mkdir_p
19214 if mkdir -p . 2>/dev/null; then
19215 as_mkdir_p='mkdir -p "$as_dir"'
19216 else
19217 test -d ./-p && rmdir ./-p
19218 as_mkdir_p=false
19222 # as_fn_executable_p FILE
19223 # -----------------------
19224 # Test if FILE is an executable regular file.
19225 as_fn_executable_p ()
19227 test -f "$1" && test -x "$1"
19228 } # as_fn_executable_p
19229 as_test_x='test -x'
19230 as_executable_p=as_fn_executable_p
19232 # Sed expression to map a string onto a valid CPP name.
19233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19235 # Sed expression to map a string onto a valid variable name.
19236 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19239 exec 6>&1
19240 ## ----------------------------------- ##
19241 ## Main body of $CONFIG_STATUS script. ##
19242 ## ----------------------------------- ##
19243 _ASEOF
19244 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19247 # Save the log message, to keep $0 and so on meaningful, and to
19248 # report actual input values of CONFIG_FILES etc. instead of their
19249 # values after options handling.
19250 ac_log="
19251 This file was extended by Wine $as_me 2.7, which was
19252 generated by GNU Autoconf 2.69. Invocation command line was
19254 CONFIG_FILES = $CONFIG_FILES
19255 CONFIG_HEADERS = $CONFIG_HEADERS
19256 CONFIG_LINKS = $CONFIG_LINKS
19257 CONFIG_COMMANDS = $CONFIG_COMMANDS
19258 $ $0 $@
19260 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19263 _ACEOF
19265 case $ac_config_files in *"
19266 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19267 esac
19269 case $ac_config_headers in *"
19270 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19271 esac
19274 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19275 # Files that config.status was made for.
19276 config_files="$ac_config_files"
19277 config_headers="$ac_config_headers"
19278 config_links="$ac_config_links"
19279 config_commands="$ac_config_commands"
19281 _ACEOF
19283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19284 ac_cs_usage="\
19285 \`$as_me' instantiates files and other configuration actions
19286 from templates according to the current configuration. Unless the files
19287 and actions are specified as TAGs, all are instantiated by default.
19289 Usage: $0 [OPTION]... [TAG]...
19291 -h, --help print this help, then exit
19292 -V, --version print version number and configuration settings, then exit
19293 --config print configuration, then exit
19294 -q, --quiet, --silent
19295 do not print progress messages
19296 -d, --debug don't remove temporary files
19297 --recheck update $as_me by reconfiguring in the same conditions
19298 --file=FILE[:TEMPLATE]
19299 instantiate the configuration file FILE
19300 --header=FILE[:TEMPLATE]
19301 instantiate the configuration header FILE
19303 Configuration files:
19304 $config_files
19306 Configuration headers:
19307 $config_headers
19309 Configuration links:
19310 $config_links
19312 Configuration commands:
19313 $config_commands
19315 Report bugs to <wine-devel@winehq.org>.
19316 Wine home page: <http://www.winehq.org>."
19318 _ACEOF
19319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19320 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19321 ac_cs_version="\\
19322 Wine config.status 2.7
19323 configured by $0, generated by GNU Autoconf 2.69,
19324 with options \\"\$ac_cs_config\\"
19326 Copyright (C) 2012 Free Software Foundation, Inc.
19327 This config.status script is free software; the Free Software Foundation
19328 gives unlimited permission to copy, distribute and modify it."
19330 ac_pwd='$ac_pwd'
19331 srcdir='$srcdir'
19332 test -n "\$AWK" || AWK=awk
19333 _ACEOF
19335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19336 # The default lists apply if the user does not specify any file.
19337 ac_need_defaults=:
19338 while test $# != 0
19340 case $1 in
19341 --*=?*)
19342 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19343 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19344 ac_shift=:
19346 --*=)
19347 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19348 ac_optarg=
19349 ac_shift=:
19352 ac_option=$1
19353 ac_optarg=$2
19354 ac_shift=shift
19356 esac
19358 case $ac_option in
19359 # Handling of the options.
19360 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19361 ac_cs_recheck=: ;;
19362 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19363 $as_echo "$ac_cs_version"; exit ;;
19364 --config | --confi | --conf | --con | --co | --c )
19365 $as_echo "$ac_cs_config"; exit ;;
19366 --debug | --debu | --deb | --de | --d | -d )
19367 debug=: ;;
19368 --file | --fil | --fi | --f )
19369 $ac_shift
19370 case $ac_optarg in
19371 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19372 '') as_fn_error $? "missing file argument" ;;
19373 esac
19374 as_fn_append CONFIG_FILES " '$ac_optarg'"
19375 ac_need_defaults=false;;
19376 --header | --heade | --head | --hea )
19377 $ac_shift
19378 case $ac_optarg in
19379 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19380 esac
19381 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19382 ac_need_defaults=false;;
19383 --he | --h)
19384 # Conflict between --help and --header
19385 as_fn_error $? "ambiguous option: \`$1'
19386 Try \`$0 --help' for more information.";;
19387 --help | --hel | -h )
19388 $as_echo "$ac_cs_usage"; exit ;;
19389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19390 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19391 ac_cs_silent=: ;;
19393 # This is an error.
19394 -*) as_fn_error $? "unrecognized option: \`$1'
19395 Try \`$0 --help' for more information." ;;
19397 *) as_fn_append ac_config_targets " $1"
19398 ac_need_defaults=false ;;
19400 esac
19401 shift
19402 done
19404 ac_configure_extra_args=
19406 if $ac_cs_silent; then
19407 exec 6>/dev/null
19408 ac_configure_extra_args="$ac_configure_extra_args --silent"
19411 _ACEOF
19412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19413 if \$ac_cs_recheck; then
19414 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19415 shift
19416 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19417 CONFIG_SHELL='$SHELL'
19418 export CONFIG_SHELL
19419 exec "\$@"
19422 _ACEOF
19423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19424 exec 5>>config.log
19426 echo
19427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19428 ## Running $as_me. ##
19429 _ASBOX
19430 $as_echo "$ac_log"
19431 } >&5
19433 _ACEOF
19434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19436 # INIT-COMMANDS
19438 wine_fn_output_makedep ()
19440 as_dir=tools; as_fn_mkdir_p
19441 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19443 wine_fn_output_makefile ()
19445 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19446 `cat $wine_rules_file`
19447 _WINE_EOF
19448 as_fn_error $? "could not create Makefile" "$LINENO" 5
19451 _ACEOF
19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19455 # Handling of arguments.
19456 for ac_config_target in $ac_config_targets
19458 case $ac_config_target in
19459 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19460 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19461 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19462 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19463 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19464 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19465 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19466 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19467 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19468 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19469 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19470 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19471 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19473 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19474 esac
19475 done
19478 # If the user did not use the arguments to specify the items to instantiate,
19479 # then the envvar interface is used. Set only those that are not.
19480 # We use the long form for the default assignment because of an extremely
19481 # bizarre bug on SunOS 4.1.3.
19482 if $ac_need_defaults; then
19483 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19484 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19485 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19486 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19489 # Have a temporary directory for convenience. Make it in the build tree
19490 # simply because there is no reason against having it here, and in addition,
19491 # creating and moving files from /tmp can sometimes cause problems.
19492 # Hook for its removal unless debugging.
19493 # Note that there is a small window in which the directory will not be cleaned:
19494 # after its creation but before its name has been assigned to `$tmp'.
19495 $debug ||
19497 tmp= ac_tmp=
19498 trap 'exit_status=$?
19499 : "${ac_tmp:=$tmp}"
19500 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19502 trap 'as_fn_exit 1' 1 2 13 15
19504 # Create a (secure) tmp directory for tmp files.
19507 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19508 test -d "$tmp"
19509 } ||
19511 tmp=./conf$$-$RANDOM
19512 (umask 077 && mkdir "$tmp")
19513 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19514 ac_tmp=$tmp
19516 # Set up the scripts for CONFIG_FILES section.
19517 # No need to generate them if there are no CONFIG_FILES.
19518 # This happens for instance with `./config.status config.h'.
19519 if test -n "$CONFIG_FILES"; then
19522 ac_cr=`echo X | tr X '\015'`
19523 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19524 # But we know of no other shell where ac_cr would be empty at this
19525 # point, so we can use a bashism as a fallback.
19526 if test "x$ac_cr" = x; then
19527 eval ac_cr=\$\'\\r\'
19529 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19530 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19531 ac_cs_awk_cr='\\r'
19532 else
19533 ac_cs_awk_cr=$ac_cr
19536 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19537 _ACEOF
19541 echo "cat >conf$$subs.awk <<_ACEOF" &&
19542 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19543 echo "_ACEOF"
19544 } >conf$$subs.sh ||
19545 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19546 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19547 ac_delim='%!_!# '
19548 for ac_last_try in false false false false false :; do
19549 . ./conf$$subs.sh ||
19550 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19552 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19553 if test $ac_delim_n = $ac_delim_num; then
19554 break
19555 elif $ac_last_try; then
19556 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19557 else
19558 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19560 done
19561 rm -f conf$$subs.sh
19563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19564 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19565 _ACEOF
19566 sed -n '
19568 s/^/S["/; s/!.*/"]=/
19571 s/^[^!]*!//
19572 :repl
19573 t repl
19574 s/'"$ac_delim"'$//
19575 t delim
19578 s/\(.\{148\}\)..*/\1/
19579 t more1
19580 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19583 b repl
19584 :more1
19585 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19588 s/.\{148\}//
19589 t nl
19590 :delim
19592 s/\(.\{148\}\)..*/\1/
19593 t more2
19594 s/["\\]/\\&/g; s/^/"/; s/$/"/
19597 :more2
19598 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19601 s/.\{148\}//
19602 t delim
19603 ' <conf$$subs.awk | sed '
19604 /^[^""]/{
19606 s/\n//
19608 ' >>$CONFIG_STATUS || ac_write_fail=1
19609 rm -f conf$$subs.awk
19610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19611 _ACAWK
19612 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19613 for (key in S) S_is_set[key] = 1
19614 FS = "\a"
19618 line = $ 0
19619 nfields = split(line, field, "@")
19620 substed = 0
19621 len = length(field[1])
19622 for (i = 2; i < nfields; i++) {
19623 key = field[i]
19624 keylen = length(key)
19625 if (S_is_set[key]) {
19626 value = S[key]
19627 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19628 len += length(value) + length(field[++i])
19629 substed = 1
19630 } else
19631 len += 1 + keylen
19634 print line
19637 _ACAWK
19638 _ACEOF
19639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19640 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19641 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19642 else
19644 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19645 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19646 _ACEOF
19648 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19649 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19650 # trailing colons and then remove the whole line if VPATH becomes empty
19651 # (actually we leave an empty line to preserve line numbers).
19652 if test "x$srcdir" = x.; then
19653 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19655 s///
19656 s/^/:/
19657 s/[ ]*$/:/
19658 s/:\$(srcdir):/:/g
19659 s/:\${srcdir}:/:/g
19660 s/:@srcdir@:/:/g
19661 s/^:*//
19662 s/:*$//
19664 s/\(=[ ]*\).*/\1/
19666 s/\n//
19667 s/^[^=]*=[ ]*$//
19671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19672 fi # test -n "$CONFIG_FILES"
19674 # Set up the scripts for CONFIG_HEADERS section.
19675 # No need to generate them if there are no CONFIG_HEADERS.
19676 # This happens for instance with `./config.status Makefile'.
19677 if test -n "$CONFIG_HEADERS"; then
19678 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19679 BEGIN {
19680 _ACEOF
19682 # Transform confdefs.h into an awk script `defines.awk', embedded as
19683 # here-document in config.status, that substitutes the proper values into
19684 # config.h.in to produce config.h.
19686 # Create a delimiter string that does not exist in confdefs.h, to ease
19687 # handling of long lines.
19688 ac_delim='%!_!# '
19689 for ac_last_try in false false :; do
19690 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19691 if test -z "$ac_tt"; then
19692 break
19693 elif $ac_last_try; then
19694 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19695 else
19696 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19698 done
19700 # For the awk script, D is an array of macro values keyed by name,
19701 # likewise P contains macro parameters if any. Preserve backslash
19702 # newline sequences.
19704 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19705 sed -n '
19706 s/.\{148\}/&'"$ac_delim"'/g
19707 t rset
19708 :rset
19709 s/^[ ]*#[ ]*define[ ][ ]*/ /
19710 t def
19712 :def
19713 s/\\$//
19714 t bsnl
19715 s/["\\]/\\&/g
19716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19717 D["\1"]=" \3"/p
19718 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19720 :bsnl
19721 s/["\\]/\\&/g
19722 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19723 D["\1"]=" \3\\\\\\n"\\/p
19724 t cont
19725 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19726 t cont
19728 :cont
19730 s/.\{148\}/&'"$ac_delim"'/g
19731 t clear
19732 :clear
19733 s/\\$//
19734 t bsnlc
19735 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19737 :bsnlc
19738 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19739 b cont
19740 ' <confdefs.h | sed '
19741 s/'"$ac_delim"'/"\\\
19742 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19745 for (key in D) D_is_set[key] = 1
19746 FS = "\a"
19748 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19749 line = \$ 0
19750 split(line, arg, " ")
19751 if (arg[1] == "#") {
19752 defundef = arg[2]
19753 mac1 = arg[3]
19754 } else {
19755 defundef = substr(arg[1], 2)
19756 mac1 = arg[2]
19758 split(mac1, mac2, "(") #)
19759 macro = mac2[1]
19760 prefix = substr(line, 1, index(line, defundef) - 1)
19761 if (D_is_set[macro]) {
19762 # Preserve the white space surrounding the "#".
19763 print prefix "define", macro P[macro] D[macro]
19764 next
19765 } else {
19766 # Replace #undef with comments. This is necessary, for example,
19767 # in the case of _POSIX_SOURCE, which is predefined and required
19768 # on some systems where configure will not decide to define it.
19769 if (defundef == "undef") {
19770 print "/*", prefix defundef, macro, "*/"
19771 next
19775 { print }
19776 _ACAWK
19777 _ACEOF
19778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19779 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19780 fi # test -n "$CONFIG_HEADERS"
19783 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19784 shift
19785 for ac_tag
19787 case $ac_tag in
19788 :[FHLC]) ac_mode=$ac_tag; continue;;
19789 esac
19790 case $ac_mode$ac_tag in
19791 :[FHL]*:*);;
19792 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19793 :[FH]-) ac_tag=-:-;;
19794 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19795 esac
19796 ac_save_IFS=$IFS
19797 IFS=:
19798 set x $ac_tag
19799 IFS=$ac_save_IFS
19800 shift
19801 ac_file=$1
19802 shift
19804 case $ac_mode in
19805 :L) ac_source=$1;;
19806 :[FH])
19807 ac_file_inputs=
19808 for ac_f
19810 case $ac_f in
19811 -) ac_f="$ac_tmp/stdin";;
19812 *) # Look for the file first in the build tree, then in the source tree
19813 # (if the path is not absolute). The absolute path cannot be DOS-style,
19814 # because $ac_f cannot contain `:'.
19815 test -f "$ac_f" ||
19816 case $ac_f in
19817 [\\/$]*) false;;
19818 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19819 esac ||
19820 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19821 esac
19822 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19823 as_fn_append ac_file_inputs " '$ac_f'"
19824 done
19826 # Let's still pretend it is `configure' which instantiates (i.e., don't
19827 # use $as_me), people would be surprised to read:
19828 # /* config.h. Generated by config.status. */
19829 configure_input='Generated from '`
19830 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19831 `' by configure.'
19832 if test x"$ac_file" != x-; then
19833 configure_input="$ac_file. $configure_input"
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19835 $as_echo "$as_me: creating $ac_file" >&6;}
19837 # Neutralize special characters interpreted by sed in replacement strings.
19838 case $configure_input in #(
19839 *\&* | *\|* | *\\* )
19840 ac_sed_conf_input=`$as_echo "$configure_input" |
19841 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19842 *) ac_sed_conf_input=$configure_input;;
19843 esac
19845 case $ac_tag in
19846 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19848 esac
19850 esac
19852 ac_dir=`$as_dirname -- "$ac_file" ||
19853 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19854 X"$ac_file" : 'X\(//\)[^/]' \| \
19855 X"$ac_file" : 'X\(//\)$' \| \
19856 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19857 $as_echo X"$ac_file" |
19858 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19859 s//\1/
19862 /^X\(\/\/\)[^/].*/{
19863 s//\1/
19866 /^X\(\/\/\)$/{
19867 s//\1/
19870 /^X\(\/\).*/{
19871 s//\1/
19874 s/.*/./; q'`
19875 as_dir="$ac_dir"; as_fn_mkdir_p
19876 ac_builddir=.
19878 case "$ac_dir" in
19879 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19881 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19882 # A ".." for each directory in $ac_dir_suffix.
19883 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19884 case $ac_top_builddir_sub in
19885 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19886 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19887 esac ;;
19888 esac
19889 ac_abs_top_builddir=$ac_pwd
19890 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19891 # for backward compatibility:
19892 ac_top_builddir=$ac_top_build_prefix
19894 case $srcdir in
19895 .) # We are building in place.
19896 ac_srcdir=.
19897 ac_top_srcdir=$ac_top_builddir_sub
19898 ac_abs_top_srcdir=$ac_pwd ;;
19899 [\\/]* | ?:[\\/]* ) # Absolute name.
19900 ac_srcdir=$srcdir$ac_dir_suffix;
19901 ac_top_srcdir=$srcdir
19902 ac_abs_top_srcdir=$srcdir ;;
19903 *) # Relative name.
19904 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19905 ac_top_srcdir=$ac_top_build_prefix$srcdir
19906 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19907 esac
19908 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19911 case $ac_mode in
19914 # CONFIG_FILE
19917 _ACEOF
19919 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19920 # If the template does not know about datarootdir, expand it.
19921 # FIXME: This hack should be removed a few years after 2.60.
19922 ac_datarootdir_hack=; ac_datarootdir_seen=
19923 ac_sed_dataroot='
19924 /datarootdir/ {
19928 /@datadir@/p
19929 /@docdir@/p
19930 /@infodir@/p
19931 /@localedir@/p
19932 /@mandir@/p'
19933 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19934 *datarootdir*) ac_datarootdir_seen=yes;;
19935 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19937 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19938 _ACEOF
19939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19940 ac_datarootdir_hack='
19941 s&@datadir@&$datadir&g
19942 s&@docdir@&$docdir&g
19943 s&@infodir@&$infodir&g
19944 s&@localedir@&$localedir&g
19945 s&@mandir@&$mandir&g
19946 s&\\\${datarootdir}&$datarootdir&g' ;;
19947 esac
19948 _ACEOF
19950 # Neutralize VPATH when `$srcdir' = `.'.
19951 # Shell code in configure.ac might set extrasub.
19952 # FIXME: do we really want to maintain this feature?
19953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19954 ac_sed_extra="$ac_vpsub
19955 $extrasub
19956 _ACEOF
19957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19960 s|@configure_input@|$ac_sed_conf_input|;t t
19961 s&@top_builddir@&$ac_top_builddir_sub&;t t
19962 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19963 s&@srcdir@&$ac_srcdir&;t t
19964 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19965 s&@top_srcdir@&$ac_top_srcdir&;t t
19966 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19967 s&@builddir@&$ac_builddir&;t t
19968 s&@abs_builddir@&$ac_abs_builddir&;t t
19969 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19970 $ac_datarootdir_hack
19972 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19973 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19975 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19976 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19977 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19978 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19980 which seems to be undefined. Please make sure it is defined" >&5
19981 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19982 which seems to be undefined. Please make sure it is defined" >&2;}
19984 rm -f "$ac_tmp/stdin"
19985 case $ac_file in
19986 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19987 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19988 esac \
19989 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19993 # CONFIG_HEADER
19995 if test x"$ac_file" != x-; then
19997 $as_echo "/* $configure_input */" \
19998 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19999 } >"$ac_tmp/config.h" \
20000 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20001 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20003 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20004 else
20005 rm -f "$ac_file"
20006 mv "$ac_tmp/config.h" "$ac_file" \
20007 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20009 else
20010 $as_echo "/* $configure_input */" \
20011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20012 || as_fn_error $? "could not create -" "$LINENO" 5
20017 # CONFIG_LINK
20020 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20022 else
20023 # Prefer the file from the source tree if names are identical.
20024 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20025 ac_source=$srcdir/$ac_source
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20029 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20031 if test ! -r "$ac_source"; then
20032 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20034 rm -f "$ac_file"
20036 # Try a relative symlink, then a hard link, then a copy.
20037 case $ac_source in
20038 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20039 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20040 esac
20041 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20042 ln "$ac_source" "$ac_file" 2>/dev/null ||
20043 cp -p "$ac_source" "$ac_file" ||
20044 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20047 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20048 $as_echo "$as_me: executing $ac_file commands" >&6;}
20050 esac
20053 case $ac_file$ac_mode in
20054 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20055 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20056 "Makefile":C) wine_fn_output_makefile Makefile ;;
20058 esac
20059 done # for ac_tag
20062 as_fn_exit 0
20063 _ACEOF
20064 ac_clean_files=$ac_clean_files_save
20066 test $ac_write_fail = 0 ||
20067 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20070 # configure is writing to config.log, and then calls config.status.
20071 # config.status does its own redirection, appending to config.log.
20072 # Unfortunately, on DOS this fails, as config.log is still kept open
20073 # by configure, so config.status won't be able to write to it; its
20074 # output is simply discarded. So we exec the FD to /dev/null,
20075 # effectively closing config.log, so it can be properly (re)opened and
20076 # appended to by config.status. When coming back to configure, we
20077 # need to make the FD available again.
20078 if test "$no_create" != yes; then
20079 ac_cs_success=:
20080 ac_config_status_args=
20081 test "$silent" = yes &&
20082 ac_config_status_args="$ac_config_status_args --quiet"
20083 exec 5>/dev/null
20084 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20085 exec 5>>config.log
20086 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20087 # would make configure fail if this is the last instruction.
20088 $ac_cs_success || as_fn_exit 1
20090 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20092 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20096 if test "$no_create" = "yes"
20097 then
20098 exit 0
20101 ac_save_IFS="$IFS"
20102 if test "x$wine_notices" != x; then
20103 echo >&6
20104 IFS="|"
20105 for msg in $wine_notices; do
20106 IFS="$ac_save_IFS"
20107 if ${msg:+false} :; then :
20109 else
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20111 $as_echo "$as_me: $msg" >&6;}
20113 done
20115 IFS="|"
20116 for msg in $wine_warnings; do
20117 IFS="$ac_save_IFS"
20118 if ${msg:+false} :; then :
20120 else
20121 echo >&2
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20123 $as_echo "$as_me: WARNING: $msg" >&2;}
20125 done
20126 IFS="$ac_save_IFS"
20128 $as_echo "
20129 $as_me: Finished. Do '${ac_make}' to compile Wine.
20130 " >&6