wined3d: Implement instancing for fork phases.
[wine.git] / configure
blob6623896334103462a24901e920d81b1c5a26a1a5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.8.
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.8'
584 PACKAGE_STRING='Wine 2.8'
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_authz_context_l1_1_0
1185 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1186 enable_ext_ms_win_gdi_dc_create_l1_1_1
1187 enable_ext_ms_win_gdi_dc_l1_2_0
1188 enable_ext_ms_win_gdi_devcaps_l1_1_0
1189 enable_ext_ms_win_gdi_draw_l1_1_1
1190 enable_ext_ms_win_gdi_render_l1_1_0
1191 enable_ext_ms_win_kernel32_package_current_l1_1_0
1192 enable_ext_ms_win_ntuser_message_l1_1_1
1193 enable_ext_ms_win_ntuser_private_l1_1_1
1194 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1195 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1196 enable_ext_ms_win_ntuser_window_l1_1_1
1197 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1198 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1199 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1200 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1201 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1202 enable_faultrep
1203 enable_fltlib
1204 enable_fltmgr_sys
1205 enable_fntcache
1206 enable_fontsub
1207 enable_fusion
1208 enable_fwpuclnt
1209 enable_gameux
1210 enable_gdi32
1211 enable_gdiplus
1212 enable_glu32
1213 enable_gphoto2_ds
1214 enable_gpkcsp
1215 enable_hal
1216 enable_hhctrl_ocx
1217 enable_hid
1218 enable_hidclass_sys
1219 enable_hlink
1220 enable_hnetcfg
1221 enable_httpapi
1222 enable_iccvid
1223 enable_icmp
1224 enable_ieframe
1225 enable_imaadp32_acm
1226 enable_imagehlp
1227 enable_imm32
1228 enable_inetcomm
1229 enable_inetcpl_cpl
1230 enable_inetmib1
1231 enable_infosoft
1232 enable_initpki
1233 enable_inkobj
1234 enable_inseng
1235 enable_iphlpapi
1236 enable_iprop
1237 enable_irprops_cpl
1238 enable_itircl
1239 enable_itss
1240 enable_joy_cpl
1241 enable_jscript
1242 enable_jsproxy
1243 enable_kernel32
1244 enable_kernelbase
1245 enable_ksuser
1246 enable_ktmw32
1247 enable_loadperf
1248 enable_localspl
1249 enable_localui
1250 enable_lz32
1251 enable_mapi32
1252 enable_mapistub
1253 enable_mciavi32
1254 enable_mcicda
1255 enable_mciqtz32
1256 enable_mciseq
1257 enable_mciwave
1258 enable_mf
1259 enable_mf3216
1260 enable_mfplat
1261 enable_mfreadwrite
1262 enable_mgmtapi
1263 enable_midimap
1264 enable_mlang
1265 enable_mmcndmgr
1266 enable_mmdevapi
1267 enable_mountmgr_sys
1268 enable_mpr
1269 enable_mprapi
1270 enable_msacm32_drv
1271 enable_msacm32
1272 enable_msadp32_acm
1273 enable_msasn1
1274 enable_mscat32
1275 enable_mscms
1276 enable_mscoree
1277 enable_msctf
1278 enable_msctfp
1279 enable_msdaps
1280 enable_msdelta
1281 enable_msdmo
1282 enable_msdrm
1283 enable_msftedit
1284 enable_msg711_acm
1285 enable_msgsm32_acm
1286 enable_mshtml_tlb
1287 enable_mshtml
1288 enable_msi
1289 enable_msident
1290 enable_msimg32
1291 enable_msimsg
1292 enable_msimtf
1293 enable_msisip
1294 enable_msisys_ocx
1295 enable_msls31
1296 enable_msnet32
1297 enable_mspatcha
1298 enable_msports
1299 enable_msrle32
1300 enable_msscript_ocx
1301 enable_mssign32
1302 enable_mssip32
1303 enable_mstask
1304 enable_msvcirt
1305 enable_msvcm80
1306 enable_msvcm90
1307 enable_msvcp100
1308 enable_msvcp110
1309 enable_msvcp120
1310 enable_msvcp120_app
1311 enable_msvcp140
1312 enable_msvcp60
1313 enable_msvcp70
1314 enable_msvcp71
1315 enable_msvcp80
1316 enable_msvcp90
1317 enable_msvcr100
1318 enable_msvcr110
1319 enable_msvcr120
1320 enable_msvcr120_app
1321 enable_msvcr70
1322 enable_msvcr71
1323 enable_msvcr80
1324 enable_msvcr90
1325 enable_msvcrt
1326 enable_msvcrt20
1327 enable_msvcrt40
1328 enable_msvcrtd
1329 enable_msvfw32
1330 enable_msvidc32
1331 enable_mswsock
1332 enable_msxml
1333 enable_msxml2
1334 enable_msxml3
1335 enable_msxml4
1336 enable_msxml6
1337 enable_mtxdm
1338 enable_ncrypt
1339 enable_nddeapi
1340 enable_ndis_sys
1341 enable_netapi32
1342 enable_netcfgx
1343 enable_netprofm
1344 enable_newdev
1345 enable_normaliz
1346 enable_npmshtml
1347 enable_npptools
1348 enable_ntdll
1349 enable_ntdsapi
1350 enable_ntoskrnl_exe
1351 enable_ntprint
1352 enable_objsel
1353 enable_odbc32
1354 enable_odbccp32
1355 enable_odbccu32
1356 enable_ole32
1357 enable_oleacc
1358 enable_oleaut32
1359 enable_olecli32
1360 enable_oledb32
1361 enable_oledlg
1362 enable_olepro32
1363 enable_olesvr32
1364 enable_olethk32
1365 enable_openal32
1366 enable_opencl
1367 enable_opengl32
1368 enable_packager
1369 enable_pdh
1370 enable_photometadatahandler
1371 enable_pidgen
1372 enable_powrprof
1373 enable_printui
1374 enable_prntvpt
1375 enable_propsys
1376 enable_psapi
1377 enable_pstorec
1378 enable_qcap
1379 enable_qedit
1380 enable_qmgr
1381 enable_qmgrprxy
1382 enable_quartz
1383 enable_query
1384 enable_rasapi32
1385 enable_rasdlg
1386 enable_regapi
1387 enable_resutils
1388 enable_riched20
1389 enable_riched32
1390 enable_rpcrt4
1391 enable_rsabase
1392 enable_rsaenh
1393 enable_rstrtmgr
1394 enable_rtutils
1395 enable_samlib
1396 enable_sane_ds
1397 enable_scarddlg
1398 enable_sccbase
1399 enable_schannel
1400 enable_schedsvc
1401 enable_scrobj
1402 enable_scrrun
1403 enable_scsiport_sys
1404 enable_secur32
1405 enable_security
1406 enable_sensapi
1407 enable_serialui
1408 enable_setupapi
1409 enable_sfc
1410 enable_sfc_os
1411 enable_shdoclc
1412 enable_shdocvw
1413 enable_shell32
1414 enable_shfolder
1415 enable_shlwapi
1416 enable_slbcsp
1417 enable_slc
1418 enable_snmpapi
1419 enable_softpub
1420 enable_spoolss
1421 enable_sspicli
1422 enable_stdole2_tlb
1423 enable_stdole32_tlb
1424 enable_sti
1425 enable_svrapi
1426 enable_sxs
1427 enable_t2embed
1428 enable_tapi32
1429 enable_taskschd
1430 enable_tdi_sys
1431 enable_traffic
1432 enable_twain_32
1433 enable_ucrtbase
1434 enable_uiautomationcore
1435 enable_unicows
1436 enable_updspapi
1437 enable_url
1438 enable_urlmon
1439 enable_usbd_sys
1440 enable_user32
1441 enable_userenv
1442 enable_usp10
1443 enable_uxtheme
1444 enable_vbscript
1445 enable_vcomp
1446 enable_vcomp100
1447 enable_vcomp110
1448 enable_vcomp120
1449 enable_vcomp140
1450 enable_vcomp90
1451 enable_vcruntime140
1452 enable_vdmdbg
1453 enable_version
1454 enable_virtdisk
1455 enable_vssapi
1456 enable_wbemdisp
1457 enable_wbemprox
1458 enable_webservices
1459 enable_wer
1460 enable_wevtapi
1461 enable_wiaservc
1462 enable_wimgapi
1463 enable_windowscodecs
1464 enable_windowscodecsext
1465 enable_winealsa_drv
1466 enable_winebus_sys
1467 enable_winecoreaudio_drv
1468 enable_wined3d
1469 enable_winegstreamer
1470 enable_winehid_sys
1471 enable_winejoystick_drv
1472 enable_winemac_drv
1473 enable_winemapi
1474 enable_winemp3_acm
1475 enable_wineoss_drv
1476 enable_wineps_drv
1477 enable_winepulse_drv
1478 enable_wineqtdecoder
1479 enable_winex11_drv
1480 enable_wing32
1481 enable_winhttp
1482 enable_wininet
1483 enable_winmm
1484 enable_winnls32
1485 enable_winscard
1486 enable_winspool_drv
1487 enable_winsta
1488 enable_wintab32
1489 enable_wintrust
1490 enable_winusb
1491 enable_wlanapi
1492 enable_wldap32
1493 enable_wmasf
1494 enable_wmi
1495 enable_wmiutils
1496 enable_wmp
1497 enable_wmvcore
1498 enable_wnaspi32
1499 enable_wpc
1500 enable_wpcap
1501 enable_ws2_32
1502 enable_wsdapi
1503 enable_wshom_ocx
1504 enable_wsnmp32
1505 enable_wsock32
1506 enable_wtsapi32
1507 enable_wuapi
1508 enable_wuaueng
1509 enable_x3daudio1_0
1510 enable_x3daudio1_1
1511 enable_x3daudio1_2
1512 enable_x3daudio1_3
1513 enable_x3daudio1_4
1514 enable_x3daudio1_5
1515 enable_x3daudio1_6
1516 enable_x3daudio1_7
1517 enable_xapofx1_1
1518 enable_xapofx1_2
1519 enable_xapofx1_3
1520 enable_xapofx1_4
1521 enable_xapofx1_5
1522 enable_xaudio2_0
1523 enable_xaudio2_1
1524 enable_xaudio2_2
1525 enable_xaudio2_3
1526 enable_xaudio2_4
1527 enable_xaudio2_5
1528 enable_xaudio2_6
1529 enable_xaudio2_7
1530 enable_xaudio2_8
1531 enable_xaudio2_9
1532 enable_xinput1_1
1533 enable_xinput1_2
1534 enable_xinput1_3
1535 enable_xinput1_4
1536 enable_xinput9_1_0
1537 enable_xmllite
1538 enable_xolehlp
1539 enable_xpsprint
1540 enable_xpssvcs
1541 enable_fonts
1542 enable_include
1543 enable_libs_port
1544 enable_libs_wine
1545 enable_libs_wpp
1546 enable_loader
1547 enable_po
1548 enable_arp
1549 enable_aspnet_regiis
1550 enable_attrib
1551 enable_cabarc
1552 enable_cacls
1553 enable_clock
1554 enable_cmd
1555 enable_conhost
1556 enable_control
1557 enable_cscript
1558 enable_dpnsvr
1559 enable_dxdiag
1560 enable_eject
1561 enable_expand
1562 enable_explorer
1563 enable_extrac32
1564 enable_findstr
1565 enable_fsutil
1566 enable_hh
1567 enable_hostname
1568 enable_icacls
1569 enable_icinfo
1570 enable_iexplore
1571 enable_ipconfig
1572 enable_lodctr
1573 enable_mofcomp
1574 enable_mshta
1575 enable_msiexec
1576 enable_msinfo32
1577 enable_net
1578 enable_netsh
1579 enable_netstat
1580 enable_ngen
1581 enable_notepad
1582 enable_oleview
1583 enable_ping
1584 enable_plugplay
1585 enable_presentationfontcache
1586 enable_progman
1587 enable_reg
1588 enable_regasm
1589 enable_regedit
1590 enable_regsvcs
1591 enable_regsvr32
1592 enable_rpcss
1593 enable_rundll32
1594 enable_sc
1595 enable_schtasks
1596 enable_sdbinst
1597 enable_secedit
1598 enable_servicemodelreg
1599 enable_services
1600 enable_shutdown
1601 enable_spoolsv
1602 enable_start
1603 enable_subst
1604 enable_svchost
1605 enable_systeminfo
1606 enable_taskkill
1607 enable_tasklist
1608 enable_taskmgr
1609 enable_termsv
1610 enable_uninstaller
1611 enable_unlodctr
1612 enable_view
1613 enable_wevtutil
1614 enable_wineboot
1615 enable_winebrowser
1616 enable_winecfg
1617 enable_wineconsole
1618 enable_winedbg
1619 enable_winedevice
1620 enable_winefile
1621 enable_winemenubuilder
1622 enable_winemine
1623 enable_winemsibuilder
1624 enable_winepath
1625 enable_winetest
1626 enable_winhlp32
1627 enable_winver
1628 enable_wmic
1629 enable_wmplayer
1630 enable_wordpad
1631 enable_write
1632 enable_wscript
1633 enable_wusa
1634 enable_xcopy
1635 enable_server
1636 enable_tools
1638 ac_precious_vars='build_alias
1639 host_alias
1640 target_alias
1642 CFLAGS
1643 LDFLAGS
1644 LIBS
1645 CPPFLAGS
1647 CXXFLAGS
1650 XMKMF
1651 XML2_CFLAGS
1652 XML2_LIBS
1653 XSLT_CFLAGS
1654 XSLT_LIBS
1655 DBUS_CFLAGS
1656 DBUS_LIBS
1657 HAL_CFLAGS
1658 HAL_LIBS
1659 GNUTLS_CFLAGS
1660 GNUTLS_LIBS
1661 SANE_CFLAGS
1662 SANE_LIBS
1663 GPHOTO2_CFLAGS
1664 GPHOTO2_LIBS
1665 GPHOTO2_PORT_CFLAGS
1666 GPHOTO2_PORT_LIBS
1667 LCMS2_CFLAGS
1668 LCMS2_LIBS
1669 FREETYPE_CFLAGS
1670 FREETYPE_LIBS
1671 PULSE_CFLAGS
1672 PULSE_LIBS
1673 GSTREAMER_CFLAGS
1674 GSTREAMER_LIBS
1675 UDEV_CFLAGS
1676 UDEV_LIBS
1677 CAPI20_CFLAGS
1678 CAPI20_LIBS
1679 FONTCONFIG_CFLAGS
1680 FONTCONFIG_LIBS
1681 JPEG_CFLAGS
1682 JPEG_LIBS
1683 PNG_CFLAGS
1684 PNG_LIBS
1685 TIFF_CFLAGS
1686 TIFF_LIBS
1687 MPG123_CFLAGS
1688 MPG123_LIBS
1689 NETAPI_CFLAGS
1690 NETAPI_LIBS'
1693 # Initialize some variables set by options.
1694 ac_init_help=
1695 ac_init_version=false
1696 ac_unrecognized_opts=
1697 ac_unrecognized_sep=
1698 # The variables have the same names as the options, with
1699 # dashes changed to underlines.
1700 cache_file=/dev/null
1701 exec_prefix=NONE
1702 no_create=
1703 no_recursion=
1704 prefix=NONE
1705 program_prefix=NONE
1706 program_suffix=NONE
1707 program_transform_name=s,x,x,
1708 silent=
1709 site=
1710 srcdir=
1711 verbose=
1712 x_includes=NONE
1713 x_libraries=NONE
1715 # Installation directory options.
1716 # These are left unexpanded so users can "make install exec_prefix=/foo"
1717 # and all the variables that are supposed to be based on exec_prefix
1718 # by default will actually change.
1719 # Use braces instead of parens because sh, perl, etc. also accept them.
1720 # (The list follows the same order as the GNU Coding Standards.)
1721 bindir='${exec_prefix}/bin'
1722 sbindir='${exec_prefix}/sbin'
1723 libexecdir='${exec_prefix}/libexec'
1724 datarootdir='${prefix}/share'
1725 datadir='${datarootdir}'
1726 sysconfdir='${prefix}/etc'
1727 sharedstatedir='${prefix}/com'
1728 localstatedir='${prefix}/var'
1729 runstatedir='${localstatedir}/run'
1730 includedir='${prefix}/include'
1731 oldincludedir='/usr/include'
1732 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1733 infodir='${datarootdir}/info'
1734 htmldir='${docdir}'
1735 dvidir='${docdir}'
1736 pdfdir='${docdir}'
1737 psdir='${docdir}'
1738 libdir='${exec_prefix}/lib'
1739 localedir='${datarootdir}/locale'
1740 mandir='${datarootdir}/man'
1742 ac_prev=
1743 ac_dashdash=
1744 for ac_option
1746 # If the previous option needs an argument, assign it.
1747 if test -n "$ac_prev"; then
1748 eval $ac_prev=\$ac_option
1749 ac_prev=
1750 continue
1753 case $ac_option in
1754 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1755 *=) ac_optarg= ;;
1756 *) ac_optarg=yes ;;
1757 esac
1759 # Accept the important Cygnus configure options, so we can diagnose typos.
1761 case $ac_dashdash$ac_option in
1763 ac_dashdash=yes ;;
1765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1766 ac_prev=bindir ;;
1767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1768 bindir=$ac_optarg ;;
1770 -build | --build | --buil | --bui | --bu)
1771 ac_prev=build_alias ;;
1772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1773 build_alias=$ac_optarg ;;
1775 -cache-file | --cache-file | --cache-fil | --cache-fi \
1776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1777 ac_prev=cache_file ;;
1778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1780 cache_file=$ac_optarg ;;
1782 --config-cache | -C)
1783 cache_file=config.cache ;;
1785 -datadir | --datadir | --datadi | --datad)
1786 ac_prev=datadir ;;
1787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1788 datadir=$ac_optarg ;;
1790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1791 | --dataroo | --dataro | --datar)
1792 ac_prev=datarootdir ;;
1793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1795 datarootdir=$ac_optarg ;;
1797 -disable-* | --disable-*)
1798 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1799 # Reject names that are not valid shell variable names.
1800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1801 as_fn_error $? "invalid feature name: $ac_useropt"
1802 ac_useropt_orig=$ac_useropt
1803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1804 case $ac_user_opts in
1806 "enable_$ac_useropt"
1807 "*) ;;
1808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1809 ac_unrecognized_sep=', ';;
1810 esac
1811 eval enable_$ac_useropt=no ;;
1813 -docdir | --docdir | --docdi | --doc | --do)
1814 ac_prev=docdir ;;
1815 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1816 docdir=$ac_optarg ;;
1818 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1819 ac_prev=dvidir ;;
1820 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1821 dvidir=$ac_optarg ;;
1823 -enable-* | --enable-*)
1824 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1825 # Reject names that are not valid shell variable names.
1826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1827 as_fn_error $? "invalid feature name: $ac_useropt"
1828 ac_useropt_orig=$ac_useropt
1829 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1830 case $ac_user_opts in
1832 "enable_$ac_useropt"
1833 "*) ;;
1834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1835 ac_unrecognized_sep=', ';;
1836 esac
1837 eval enable_$ac_useropt=\$ac_optarg ;;
1839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1841 | --exec | --exe | --ex)
1842 ac_prev=exec_prefix ;;
1843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1845 | --exec=* | --exe=* | --ex=*)
1846 exec_prefix=$ac_optarg ;;
1848 -gas | --gas | --ga | --g)
1849 # Obsolete; use --with-gas.
1850 with_gas=yes ;;
1852 -help | --help | --hel | --he | -h)
1853 ac_init_help=long ;;
1854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1855 ac_init_help=recursive ;;
1856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1857 ac_init_help=short ;;
1859 -host | --host | --hos | --ho)
1860 ac_prev=host_alias ;;
1861 -host=* | --host=* | --hos=* | --ho=*)
1862 host_alias=$ac_optarg ;;
1864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1865 ac_prev=htmldir ;;
1866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1867 | --ht=*)
1868 htmldir=$ac_optarg ;;
1870 -includedir | --includedir | --includedi | --included | --include \
1871 | --includ | --inclu | --incl | --inc)
1872 ac_prev=includedir ;;
1873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1874 | --includ=* | --inclu=* | --incl=* | --inc=*)
1875 includedir=$ac_optarg ;;
1877 -infodir | --infodir | --infodi | --infod | --info | --inf)
1878 ac_prev=infodir ;;
1879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1880 infodir=$ac_optarg ;;
1882 -libdir | --libdir | --libdi | --libd)
1883 ac_prev=libdir ;;
1884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1885 libdir=$ac_optarg ;;
1887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1888 | --libexe | --libex | --libe)
1889 ac_prev=libexecdir ;;
1890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1891 | --libexe=* | --libex=* | --libe=*)
1892 libexecdir=$ac_optarg ;;
1894 -localedir | --localedir | --localedi | --localed | --locale)
1895 ac_prev=localedir ;;
1896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1897 localedir=$ac_optarg ;;
1899 -localstatedir | --localstatedir | --localstatedi | --localstated \
1900 | --localstate | --localstat | --localsta | --localst | --locals)
1901 ac_prev=localstatedir ;;
1902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1904 localstatedir=$ac_optarg ;;
1906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1907 ac_prev=mandir ;;
1908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1909 mandir=$ac_optarg ;;
1911 -nfp | --nfp | --nf)
1912 # Obsolete; use --without-fp.
1913 with_fp=no ;;
1915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1916 | --no-cr | --no-c | -n)
1917 no_create=yes ;;
1919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1921 no_recursion=yes ;;
1923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1925 | --oldin | --oldi | --old | --ol | --o)
1926 ac_prev=oldincludedir ;;
1927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1930 oldincludedir=$ac_optarg ;;
1932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1933 ac_prev=prefix ;;
1934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1935 prefix=$ac_optarg ;;
1937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1938 | --program-pre | --program-pr | --program-p)
1939 ac_prev=program_prefix ;;
1940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1942 program_prefix=$ac_optarg ;;
1944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1945 | --program-suf | --program-su | --program-s)
1946 ac_prev=program_suffix ;;
1947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1949 program_suffix=$ac_optarg ;;
1951 -program-transform-name | --program-transform-name \
1952 | --program-transform-nam | --program-transform-na \
1953 | --program-transform-n | --program-transform- \
1954 | --program-transform | --program-transfor \
1955 | --program-transfo | --program-transf \
1956 | --program-trans | --program-tran \
1957 | --progr-tra | --program-tr | --program-t)
1958 ac_prev=program_transform_name ;;
1959 -program-transform-name=* | --program-transform-name=* \
1960 | --program-transform-nam=* | --program-transform-na=* \
1961 | --program-transform-n=* | --program-transform-=* \
1962 | --program-transform=* | --program-transfor=* \
1963 | --program-transfo=* | --program-transf=* \
1964 | --program-trans=* | --program-tran=* \
1965 | --progr-tra=* | --program-tr=* | --program-t=*)
1966 program_transform_name=$ac_optarg ;;
1968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1969 ac_prev=pdfdir ;;
1970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1971 pdfdir=$ac_optarg ;;
1973 -psdir | --psdir | --psdi | --psd | --ps)
1974 ac_prev=psdir ;;
1975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1976 psdir=$ac_optarg ;;
1978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1979 | -silent | --silent | --silen | --sile | --sil)
1980 silent=yes ;;
1982 -runstatedir | --runstatedir | --runstatedi | --runstated \
1983 | --runstate | --runstat | --runsta | --runst | --runs \
1984 | --run | --ru | --r)
1985 ac_prev=runstatedir ;;
1986 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1987 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1988 | --run=* | --ru=* | --r=*)
1989 runstatedir=$ac_optarg ;;
1991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1992 ac_prev=sbindir ;;
1993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1994 | --sbi=* | --sb=*)
1995 sbindir=$ac_optarg ;;
1997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1999 | --sharedst | --shareds | --shared | --share | --shar \
2000 | --sha | --sh)
2001 ac_prev=sharedstatedir ;;
2002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2005 | --sha=* | --sh=*)
2006 sharedstatedir=$ac_optarg ;;
2008 -site | --site | --sit)
2009 ac_prev=site ;;
2010 -site=* | --site=* | --sit=*)
2011 site=$ac_optarg ;;
2013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2014 ac_prev=srcdir ;;
2015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2016 srcdir=$ac_optarg ;;
2018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2019 | --syscon | --sysco | --sysc | --sys | --sy)
2020 ac_prev=sysconfdir ;;
2021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2023 sysconfdir=$ac_optarg ;;
2025 -target | --target | --targe | --targ | --tar | --ta | --t)
2026 ac_prev=target_alias ;;
2027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2028 target_alias=$ac_optarg ;;
2030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2031 verbose=yes ;;
2033 -version | --version | --versio | --versi | --vers | -V)
2034 ac_init_version=: ;;
2036 -with-* | --with-*)
2037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2038 # Reject names that are not valid shell variable names.
2039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2040 as_fn_error $? "invalid package name: $ac_useropt"
2041 ac_useropt_orig=$ac_useropt
2042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2043 case $ac_user_opts in
2045 "with_$ac_useropt"
2046 "*) ;;
2047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2048 ac_unrecognized_sep=', ';;
2049 esac
2050 eval with_$ac_useropt=\$ac_optarg ;;
2052 -without-* | --without-*)
2053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2054 # Reject names that are not valid shell variable names.
2055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2056 as_fn_error $? "invalid package name: $ac_useropt"
2057 ac_useropt_orig=$ac_useropt
2058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2059 case $ac_user_opts in
2061 "with_$ac_useropt"
2062 "*) ;;
2063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2064 ac_unrecognized_sep=', ';;
2065 esac
2066 eval with_$ac_useropt=no ;;
2068 --x)
2069 # Obsolete; use --with-x.
2070 with_x=yes ;;
2072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2073 | --x-incl | --x-inc | --x-in | --x-i)
2074 ac_prev=x_includes ;;
2075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2077 x_includes=$ac_optarg ;;
2079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2081 ac_prev=x_libraries ;;
2082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2084 x_libraries=$ac_optarg ;;
2086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2087 Try \`$0 --help' for more information"
2090 *=*)
2091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2092 # Reject names that are not valid shell variable names.
2093 case $ac_envvar in #(
2094 '' | [0-9]* | *[!_$as_cr_alnum]* )
2095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2096 esac
2097 eval $ac_envvar=\$ac_optarg
2098 export $ac_envvar ;;
2101 # FIXME: should be removed in autoconf 3.0.
2102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2108 esac
2109 done
2111 if test -n "$ac_prev"; then
2112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2113 as_fn_error $? "missing argument to $ac_option"
2116 if test -n "$ac_unrecognized_opts"; then
2117 case $enable_option_checking in
2118 no) ;;
2119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2121 esac
2124 # Check all directory arguments for consistency.
2125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2126 datadir sysconfdir sharedstatedir localstatedir includedir \
2127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2128 libdir localedir mandir runstatedir
2130 eval ac_val=\$$ac_var
2131 # Remove trailing slashes.
2132 case $ac_val in
2133 */ )
2134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2135 eval $ac_var=\$ac_val;;
2136 esac
2137 # Be sure to have absolute directory names.
2138 case $ac_val in
2139 [\\/$]* | ?:[\\/]* ) continue;;
2140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2141 esac
2142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2143 done
2145 # There might be people who depend on the old broken behavior: `$host'
2146 # used to hold the argument of --host etc.
2147 # FIXME: To remove some day.
2148 build=$build_alias
2149 host=$host_alias
2150 target=$target_alias
2152 # FIXME: To remove some day.
2153 if test "x$host_alias" != x; then
2154 if test "x$build_alias" = x; then
2155 cross_compiling=maybe
2156 elif test "x$build_alias" != "x$host_alias"; then
2157 cross_compiling=yes
2161 ac_tool_prefix=
2162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2164 test "$silent" = yes && exec 6>/dev/null
2167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2168 ac_ls_di=`ls -di .` &&
2169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2170 as_fn_error $? "working directory cannot be determined"
2171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2172 as_fn_error $? "pwd does not report name of working directory"
2175 # Find the source files, if location was not specified.
2176 if test -z "$srcdir"; then
2177 ac_srcdir_defaulted=yes
2178 # Try the directory containing this script, then the parent directory.
2179 ac_confdir=`$as_dirname -- "$as_myself" ||
2180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2181 X"$as_myself" : 'X\(//\)[^/]' \| \
2182 X"$as_myself" : 'X\(//\)$' \| \
2183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2184 $as_echo X"$as_myself" |
2185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2186 s//\1/
2189 /^X\(\/\/\)[^/].*/{
2190 s//\1/
2193 /^X\(\/\/\)$/{
2194 s//\1/
2197 /^X\(\/\).*/{
2198 s//\1/
2201 s/.*/./; q'`
2202 srcdir=$ac_confdir
2203 if test ! -r "$srcdir/$ac_unique_file"; then
2204 srcdir=..
2206 else
2207 ac_srcdir_defaulted=no
2209 if test ! -r "$srcdir/$ac_unique_file"; then
2210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2214 ac_abs_confdir=`(
2215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2216 pwd)`
2217 # When building in place, set srcdir=.
2218 if test "$ac_abs_confdir" = "$ac_pwd"; then
2219 srcdir=.
2221 # Remove unnecessary trailing slashes from srcdir.
2222 # Double slashes in file names in object file debugging info
2223 # mess up M-x gdb in Emacs.
2224 case $srcdir in
2225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2226 esac
2227 for ac_var in $ac_precious_vars; do
2228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2229 eval ac_env_${ac_var}_value=\$${ac_var}
2230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2232 done
2235 # Report the --help message.
2237 if test "$ac_init_help" = "long"; then
2238 # Omit some internal or obsolete options to make the list less imposing.
2239 # This message is too long to be a string in the A/UX 3.1 sh.
2240 cat <<_ACEOF
2241 \`configure' configures Wine 2.8 to adapt to many kinds of systems.
2243 Usage: $0 [OPTION]... [VAR=VALUE]...
2245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2246 VAR=VALUE. See below for descriptions of some of the useful variables.
2248 Defaults for the options are specified in brackets.
2250 Configuration:
2251 -h, --help display this help and exit
2252 --help=short display options specific to this package
2253 --help=recursive display the short help of all the included packages
2254 -V, --version display version information and exit
2255 -q, --quiet, --silent do not print \`checking ...' messages
2256 --cache-file=FILE cache test results in FILE [disabled]
2257 -C, --config-cache alias for \`--cache-file=config.cache'
2258 -n, --no-create do not create output files
2259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2261 Installation directories:
2262 --prefix=PREFIX install architecture-independent files in PREFIX
2263 [$ac_default_prefix]
2264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2265 [PREFIX]
2267 By default, \`make install' will install all the files in
2268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2270 for instance \`--prefix=\$HOME'.
2272 For better control, use the options below.
2274 Fine tuning of the installation directories:
2275 --bindir=DIR user executables [EPREFIX/bin]
2276 --sbindir=DIR system admin executables [EPREFIX/sbin]
2277 --libexecdir=DIR program executables [EPREFIX/libexec]
2278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2281 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2282 --libdir=DIR object code libraries [EPREFIX/lib]
2283 --includedir=DIR C header files [PREFIX/include]
2284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2287 --infodir=DIR info documentation [DATAROOTDIR/info]
2288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2289 --mandir=DIR man documentation [DATAROOTDIR/man]
2290 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2291 --htmldir=DIR html documentation [DOCDIR]
2292 --dvidir=DIR dvi documentation [DOCDIR]
2293 --pdfdir=DIR pdf documentation [DOCDIR]
2294 --psdir=DIR ps documentation [DOCDIR]
2295 _ACEOF
2297 cat <<\_ACEOF
2299 X features:
2300 --x-includes=DIR X include files are in DIR
2301 --x-libraries=DIR X library files are in DIR
2303 System types:
2304 --build=BUILD configure for building on BUILD [guessed]
2305 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2306 _ACEOF
2309 if test -n "$ac_init_help"; then
2310 case $ac_init_help in
2311 short | recursive ) echo "Configuration of Wine 2.8:";;
2312 esac
2313 cat <<\_ACEOF
2315 Optional Features:
2316 --disable-option-checking ignore unrecognized --enable/--with options
2317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2319 --disable-win16 do not include Win16 support
2320 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2321 binaries)
2322 --disable-tests do not build the regression tests
2323 --enable-maintainer-mode
2324 enable maintainer-specific build rules
2325 --disable-largefile omit support for large files
2327 Optional Packages:
2328 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2329 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2330 --without-alsa do not use the Alsa sound support
2331 --without-capi do not use CAPI (ISDN support)
2332 --without-cms do not use CMS (color management support)
2333 --without-coreaudio do not use the CoreAudio sound support
2334 --without-cups do not use CUPS
2335 --without-curses do not use (n)curses
2336 --without-dbus do not use DBus (dynamic device support)
2337 --without-fontconfig do not use fontconfig
2338 --without-freetype do not use the FreeType library
2339 --without-gettext do not use gettext
2340 --with-gettextpo use the GetTextPO library to rebuild po files
2341 --without-gphoto do not use gphoto (Digital Camera support)
2342 --without-glu do not use the GLU library
2343 --without-gnutls do not use GnuTLS (schannel support)
2344 --without-gsm do not use libgsm (GSM 06.10 codec support)
2345 --without-gstreamer do not use GStreamer (codecs support)
2346 --without-hal do not use HAL (dynamic device support)
2347 --without-jpeg do not use JPEG
2348 --without-ldap do not use LDAP
2349 --without-mpg123 do not use the mpg123 library
2350 --without-netapi do not use the Samba NetAPI library
2351 --without-openal do not use OpenAL
2352 --without-opencl do not use OpenCL
2353 --without-opengl do not use OpenGL
2354 --without-osmesa do not use the OSMesa library
2355 --without-oss do not use the OSS sound support
2356 --without-pcap do not use the Packet Capture library
2357 --without-png do not use PNG
2358 --without-pthread do not use the pthread library
2359 --without-pulse do not use PulseAudio sound support
2360 --without-sane do not use SANE (scanner support)
2361 --without-tiff do not use TIFF
2362 --without-udev do not use udev (plug and play support)
2363 --without-v4l do not use v4l1 (v4l support)
2364 --without-xcomposite do not use the Xcomposite extension
2365 --without-xcursor do not use the Xcursor extension
2366 --without-xinerama do not use Xinerama (multi-monitor support)
2367 --without-xinput do not use the Xinput extension
2368 --without-xinput2 do not use the Xinput 2 extension
2369 --without-xml do not use XML
2370 --without-xrandr do not use Xrandr (resolution changes)
2371 --without-xrender do not use the Xrender extension
2372 --without-xshape do not use the Xshape extension
2373 --without-xshm do not use XShm (shared memory extension)
2374 --without-xslt do not use XSLT
2375 --without-xxf86vm do not use XFree video mode extension
2376 --without-zlib do not use Zlib (data compression)
2377 --with-wine-tools=DIR use Wine tools from directory DIR
2378 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2379 --with-x use the X Window System
2381 Some influential environment variables:
2382 CC C compiler command
2383 CFLAGS C compiler flags
2384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2385 nonstandard directory <lib dir>
2386 LIBS libraries to pass to the linker, e.g. -l<library>
2387 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2388 you have headers in a nonstandard directory <include dir>
2389 CXX C++ compiler command
2390 CXXFLAGS C++ compiler flags
2391 CPP C preprocessor
2392 XMKMF Path to xmkmf, Makefile generator for X Window System
2393 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2394 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2395 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2396 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2397 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2398 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2399 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2400 HAL_LIBS Linker flags for hal, overriding pkg-config
2401 GNUTLS_CFLAGS
2402 C compiler flags for gnutls, overriding pkg-config
2403 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2404 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2405 SANE_LIBS Linker flags for libsane, overriding pkg-config
2406 GPHOTO2_CFLAGS
2407 C compiler flags for libgphoto2, overriding pkg-config
2408 GPHOTO2_LIBS
2409 Linker flags for libgphoto2, overriding pkg-config
2410 GPHOTO2_PORT_CFLAGS
2411 C compiler flags for libgphoto2_port, overriding pkg-config
2412 GPHOTO2_PORT_LIBS
2413 Linker flags for libgphoto2_port, overriding pkg-config
2414 LCMS2_CFLAGS
2415 C compiler flags for lcms2, overriding pkg-config
2416 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2417 FREETYPE_CFLAGS
2418 C compiler flags for freetype2, overriding pkg-config
2419 FREETYPE_LIBS
2420 Linker flags for freetype2, overriding pkg-config
2421 PULSE_CFLAGS
2422 C compiler flags for libpulse, overriding pkg-config
2423 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2424 GSTREAMER_CFLAGS
2425 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2426 gstreamer-audio-1.0, overriding pkg-config
2427 GSTREAMER_LIBS
2428 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2429 gstreamer-audio-1.0, overriding pkg-config
2430 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2431 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2432 CAPI20_CFLAGS
2433 C compiler flags for capi20, overriding pkg-config
2434 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2435 FONTCONFIG_CFLAGS
2436 C compiler flags for fontconfig, overriding pkg-config
2437 FONTCONFIG_LIBS
2438 Linker flags for fontconfig, overriding pkg-config
2439 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2440 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2441 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2442 PNG_LIBS Linker flags for libpng, overriding pkg-config
2443 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2444 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2445 MPG123_CFLAGS
2446 C compiler flags for libmpg123, overriding pkg-config
2447 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2448 NETAPI_CFLAGS
2449 C compiler flags for netapi, overriding pkg-config
2450 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2452 Use these variables to override the choices made by `configure' or to help
2453 it to find libraries and programs with nonstandard names/locations.
2455 Report bugs to <wine-devel@winehq.org>.
2456 Wine home page: <http://www.winehq.org>.
2457 _ACEOF
2458 ac_status=$?
2461 if test "$ac_init_help" = "recursive"; then
2462 # If there are subdirs, report their specific --help.
2463 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2464 test -d "$ac_dir" ||
2465 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2466 continue
2467 ac_builddir=.
2469 case "$ac_dir" in
2470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2472 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2473 # A ".." for each directory in $ac_dir_suffix.
2474 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2475 case $ac_top_builddir_sub in
2476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2478 esac ;;
2479 esac
2480 ac_abs_top_builddir=$ac_pwd
2481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2482 # for backward compatibility:
2483 ac_top_builddir=$ac_top_build_prefix
2485 case $srcdir in
2486 .) # We are building in place.
2487 ac_srcdir=.
2488 ac_top_srcdir=$ac_top_builddir_sub
2489 ac_abs_top_srcdir=$ac_pwd ;;
2490 [\\/]* | ?:[\\/]* ) # Absolute name.
2491 ac_srcdir=$srcdir$ac_dir_suffix;
2492 ac_top_srcdir=$srcdir
2493 ac_abs_top_srcdir=$srcdir ;;
2494 *) # Relative name.
2495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2496 ac_top_srcdir=$ac_top_build_prefix$srcdir
2497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2498 esac
2499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2501 cd "$ac_dir" || { ac_status=$?; continue; }
2502 # Check for guested configure.
2503 if test -f "$ac_srcdir/configure.gnu"; then
2504 echo &&
2505 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2506 elif test -f "$ac_srcdir/configure"; then
2507 echo &&
2508 $SHELL "$ac_srcdir/configure" --help=recursive
2509 else
2510 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2511 fi || ac_status=$?
2512 cd "$ac_pwd" || { ac_status=$?; break; }
2513 done
2516 test -n "$ac_init_help" && exit $ac_status
2517 if $ac_init_version; then
2518 cat <<\_ACEOF
2519 Wine configure 2.8
2520 generated by GNU Autoconf 2.69
2522 Copyright (C) 2012 Free Software Foundation, Inc.
2523 This configure script is free software; the Free Software Foundation
2524 gives unlimited permission to copy, distribute and modify it.
2525 _ACEOF
2526 exit
2529 ## ------------------------ ##
2530 ## Autoconf initialization. ##
2531 ## ------------------------ ##
2533 # ac_fn_c_try_compile LINENO
2534 # --------------------------
2535 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2536 ac_fn_c_try_compile ()
2538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2539 rm -f conftest.$ac_objext
2540 if { { ac_try="$ac_compile"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2546 $as_echo "$ac_try_echo"; } >&5
2547 (eval "$ac_compile") 2>conftest.err
2548 ac_status=$?
2549 if test -s conftest.err; then
2550 grep -v '^ *+' conftest.err >conftest.er1
2551 cat conftest.er1 >&5
2552 mv -f conftest.er1 conftest.err
2554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2555 test $ac_status = 0; } && {
2556 test -z "$ac_c_werror_flag" ||
2557 test ! -s conftest.err
2558 } && test -s conftest.$ac_objext; then :
2559 ac_retval=0
2560 else
2561 $as_echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2564 ac_retval=1
2566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2567 as_fn_set_status $ac_retval
2569 } # ac_fn_c_try_compile
2571 # ac_fn_cxx_try_compile LINENO
2572 # ----------------------------
2573 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2574 ac_fn_cxx_try_compile ()
2576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2577 rm -f conftest.$ac_objext
2578 if { { ac_try="$ac_compile"
2579 case "(($ac_try" in
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2582 esac
2583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2584 $as_echo "$ac_try_echo"; } >&5
2585 (eval "$ac_compile") 2>conftest.err
2586 ac_status=$?
2587 if test -s conftest.err; then
2588 grep -v '^ *+' conftest.err >conftest.er1
2589 cat conftest.er1 >&5
2590 mv -f conftest.er1 conftest.err
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; } && {
2594 test -z "$ac_cxx_werror_flag" ||
2595 test ! -s conftest.err
2596 } && test -s conftest.$ac_objext; then :
2597 ac_retval=0
2598 else
2599 $as_echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.$ac_ext >&5
2602 ac_retval=1
2604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2605 as_fn_set_status $ac_retval
2607 } # ac_fn_cxx_try_compile
2609 # ac_fn_c_try_link LINENO
2610 # -----------------------
2611 # Try to link conftest.$ac_ext, and return whether this succeeded.
2612 ac_fn_c_try_link ()
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2615 rm -f conftest.$ac_objext conftest$ac_exeext
2616 if { { ac_try="$ac_link"
2617 case "(($ac_try" in
2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619 *) ac_try_echo=$ac_try;;
2620 esac
2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622 $as_echo "$ac_try_echo"; } >&5
2623 (eval "$ac_link") 2>conftest.err
2624 ac_status=$?
2625 if test -s conftest.err; then
2626 grep -v '^ *+' conftest.err >conftest.er1
2627 cat conftest.er1 >&5
2628 mv -f conftest.er1 conftest.err
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; } && {
2632 test -z "$ac_c_werror_flag" ||
2633 test ! -s conftest.err
2634 } && test -s conftest$ac_exeext && {
2635 test "$cross_compiling" = yes ||
2636 test -x conftest$ac_exeext
2637 }; then :
2638 ac_retval=0
2639 else
2640 $as_echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2643 ac_retval=1
2645 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2646 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2647 # interfere with the next link command; also delete a directory that is
2648 # left behind by Apple's compiler. We do this before executing the actions.
2649 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2651 as_fn_set_status $ac_retval
2653 } # ac_fn_c_try_link
2655 # ac_fn_c_try_cpp LINENO
2656 # ----------------------
2657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2658 ac_fn_c_try_cpp ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 if { { ac_try="$ac_cpp conftest.$ac_ext"
2662 case "(($ac_try" in
2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 *) ac_try_echo=$ac_try;;
2665 esac
2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2667 $as_echo "$ac_try_echo"; } >&5
2668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2669 ac_status=$?
2670 if test -s conftest.err; then
2671 grep -v '^ *+' conftest.err >conftest.er1
2672 cat conftest.er1 >&5
2673 mv -f conftest.er1 conftest.err
2675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2676 test $ac_status = 0; } > conftest.i && {
2677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2678 test ! -s conftest.err
2679 }; then :
2680 ac_retval=0
2681 else
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 ac_retval=1
2687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2688 as_fn_set_status $ac_retval
2690 } # ac_fn_c_try_cpp
2692 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2693 # -------------------------------------------------------
2694 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2695 # the include files in INCLUDES and setting the cache variable VAR
2696 # accordingly.
2697 ac_fn_c_check_header_mongrel ()
2699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2700 if eval \${$3+:} false; then :
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2702 $as_echo_n "checking for $2... " >&6; }
2703 if eval \${$3+:} false; then :
2704 $as_echo_n "(cached) " >&6
2706 eval ac_res=\$$3
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2708 $as_echo "$ac_res" >&6; }
2709 else
2710 # Is the header compilable?
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2712 $as_echo_n "checking $2 usability... " >&6; }
2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714 /* end confdefs.h. */
2716 #include <$2>
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 ac_header_compiler=yes
2720 else
2721 ac_header_compiler=no
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2725 $as_echo "$ac_header_compiler" >&6; }
2727 # Is the header present?
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2729 $as_echo_n "checking $2 presence... " >&6; }
2730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2731 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_cpp "$LINENO"; then :
2735 ac_header_preproc=yes
2736 else
2737 ac_header_preproc=no
2739 rm -f conftest.err conftest.i conftest.$ac_ext
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2741 $as_echo "$ac_header_preproc" >&6; }
2743 # So? What about this header?
2744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2745 yes:no: )
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2747 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2751 no:yes:* )
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2753 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2755 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2757 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2759 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2761 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2762 ( $as_echo "## ------------------------------------ ##
2763 ## Report this to wine-devel@winehq.org ##
2764 ## ------------------------------------ ##"
2765 ) | sed "s/^/$as_me: WARNING: /" >&2
2767 esac
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2769 $as_echo_n "checking for $2... " >&6; }
2770 if eval \${$3+:} false; then :
2771 $as_echo_n "(cached) " >&6
2772 else
2773 eval "$3=\$ac_header_compiler"
2775 eval ac_res=\$$3
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2777 $as_echo "$ac_res" >&6; }
2779 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 } # ac_fn_c_check_header_mongrel
2783 # ac_fn_c_try_run LINENO
2784 # ----------------------
2785 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2786 # that executables *can* be run.
2787 ac_fn_c_try_run ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 if { { ac_try="$ac_link"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>&5
2798 ac_status=$?
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2801 { { case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2806 $as_echo "$ac_try_echo"; } >&5
2807 (eval "$ac_try") 2>&5
2808 ac_status=$?
2809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2810 test $ac_status = 0; }; }; then :
2811 ac_retval=0
2812 else
2813 $as_echo "$as_me: program exited with status $ac_status" >&5
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 ac_retval=$ac_status
2819 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2821 as_fn_set_status $ac_retval
2823 } # ac_fn_c_try_run
2825 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2826 # -------------------------------------------------------
2827 # Tests whether HEADER exists and can be compiled using the include files in
2828 # INCLUDES, setting the cache variable VAR accordingly.
2829 ac_fn_c_check_header_compile ()
2831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2833 $as_echo_n "checking for $2... " >&6; }
2834 if eval \${$3+:} false; then :
2835 $as_echo_n "(cached) " >&6
2836 else
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2840 #include <$2>
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 eval "$3=yes"
2844 else
2845 eval "$3=no"
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2849 eval ac_res=\$$3
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2851 $as_echo "$ac_res" >&6; }
2852 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 } # ac_fn_c_check_header_compile
2856 # ac_fn_c_check_func LINENO FUNC VAR
2857 # ----------------------------------
2858 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2859 ac_fn_c_check_func ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2863 $as_echo_n "checking for $2... " >&6; }
2864 if eval \${$3+:} false; then :
2865 $as_echo_n "(cached) " >&6
2866 else
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2869 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2871 #define $2 innocuous_$2
2873 /* System header to define __stub macros and hopefully few prototypes,
2874 which can conflict with char $2 (); below.
2875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2876 <limits.h> exists even on freestanding compilers. */
2878 #ifdef __STDC__
2879 # include <limits.h>
2880 #else
2881 # include <assert.h>
2882 #endif
2884 #undef $2
2886 /* Override any GCC internal prototype to avoid an error.
2887 Use char because int might match the return type of a GCC
2888 builtin and then its argument prototype would still apply. */
2889 #ifdef __cplusplus
2890 extern "C"
2891 #endif
2892 char $2 ();
2893 /* The GNU C library defines this for functions which it implements
2894 to always fail with ENOSYS. Some functions are actually named
2895 something starting with __ and the normal name is an alias. */
2896 #if defined __stub_$2 || defined __stub___$2
2897 choke me
2898 #endif
2901 main ()
2903 return $2 ();
2905 return 0;
2907 _ACEOF
2908 if ac_fn_c_try_link "$LINENO"; then :
2909 eval "$3=yes"
2910 else
2911 eval "$3=no"
2913 rm -f core conftest.err conftest.$ac_objext \
2914 conftest$ac_exeext conftest.$ac_ext
2916 eval ac_res=\$$3
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2918 $as_echo "$ac_res" >&6; }
2919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 } # ac_fn_c_check_func
2923 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2924 # ----------------------------------------------------
2925 # Tries to find if the field MEMBER exists in type AGGR, after including
2926 # INCLUDES, setting cache variable VAR accordingly.
2927 ac_fn_c_check_member ()
2929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2931 $as_echo_n "checking for $2.$3... " >&6; }
2932 if eval \${$4+:} false; then :
2933 $as_echo_n "(cached) " >&6
2934 else
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2939 main ()
2941 static $2 ac_aggr;
2942 if (ac_aggr.$3)
2943 return 0;
2945 return 0;
2947 _ACEOF
2948 if ac_fn_c_try_compile "$LINENO"; then :
2949 eval "$4=yes"
2950 else
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 main ()
2957 static $2 ac_aggr;
2958 if (sizeof ac_aggr.$3)
2959 return 0;
2961 return 0;
2963 _ACEOF
2964 if ac_fn_c_try_compile "$LINENO"; then :
2965 eval "$4=yes"
2966 else
2967 eval "$4=no"
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 eval ac_res=\$$4
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2975 $as_echo "$ac_res" >&6; }
2976 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2978 } # ac_fn_c_check_member
2980 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2981 # -------------------------------------------
2982 # Tests whether TYPE exists after having included INCLUDES, setting cache
2983 # variable VAR accordingly.
2984 ac_fn_c_check_type ()
2986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2988 $as_echo_n "checking for $2... " >&6; }
2989 if eval \${$3+:} false; then :
2990 $as_echo_n "(cached) " >&6
2991 else
2992 eval "$3=no"
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2997 main ()
2999 if (sizeof ($2))
3000 return 0;
3002 return 0;
3004 _ACEOF
3005 if ac_fn_c_try_compile "$LINENO"; then :
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3010 main ()
3012 if (sizeof (($2)))
3013 return 0;
3015 return 0;
3017 _ACEOF
3018 if ac_fn_c_try_compile "$LINENO"; then :
3020 else
3021 eval "$3=yes"
3023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 eval ac_res=\$$3
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 $as_echo "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_type
3033 cat >config.log <<_ACEOF
3034 This file contains any messages produced by compilers while
3035 running configure, to aid debugging if configure makes a mistake.
3037 It was created by Wine $as_me 2.8, which was
3038 generated by GNU Autoconf 2.69. Invocation command line was
3040 $ $0 $@
3042 _ACEOF
3043 exec 5>>config.log
3045 cat <<_ASUNAME
3046 ## --------- ##
3047 ## Platform. ##
3048 ## --------- ##
3050 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3051 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3052 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3053 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3054 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3056 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3057 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3059 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3060 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3061 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3062 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3063 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3064 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3065 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3067 _ASUNAME
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3072 IFS=$as_save_IFS
3073 test -z "$as_dir" && as_dir=.
3074 $as_echo "PATH: $as_dir"
3075 done
3076 IFS=$as_save_IFS
3078 } >&5
3080 cat >&5 <<_ACEOF
3083 ## ----------- ##
3084 ## Core tests. ##
3085 ## ----------- ##
3087 _ACEOF
3090 # Keep a trace of the command line.
3091 # Strip out --no-create and --no-recursion so they do not pile up.
3092 # Strip out --silent because we don't want to record it for future runs.
3093 # Also quote any args containing shell meta-characters.
3094 # Make two passes to allow for proper duplicate-argument suppression.
3095 ac_configure_args=
3096 ac_configure_args0=
3097 ac_configure_args1=
3098 ac_must_keep_next=false
3099 for ac_pass in 1 2
3101 for ac_arg
3103 case $ac_arg in
3104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3106 | -silent | --silent | --silen | --sile | --sil)
3107 continue ;;
3108 *\'*)
3109 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3110 esac
3111 case $ac_pass in
3112 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3114 as_fn_append ac_configure_args1 " '$ac_arg'"
3115 if test $ac_must_keep_next = true; then
3116 ac_must_keep_next=false # Got value, back to normal.
3117 else
3118 case $ac_arg in
3119 *=* | --config-cache | -C | -disable-* | --disable-* \
3120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3122 | -with-* | --with-* | -without-* | --without-* | --x)
3123 case "$ac_configure_args0 " in
3124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3125 esac
3127 -* ) ac_must_keep_next=true ;;
3128 esac
3130 as_fn_append ac_configure_args " '$ac_arg'"
3132 esac
3133 done
3134 done
3135 { ac_configure_args0=; unset ac_configure_args0;}
3136 { ac_configure_args1=; unset ac_configure_args1;}
3138 # When interrupted or exit'd, cleanup temporary files, and complete
3139 # config.log. We remove comments because anyway the quotes in there
3140 # would cause problems or look ugly.
3141 # WARNING: Use '\'' to represent an apostrophe within the trap.
3142 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3143 trap 'exit_status=$?
3144 # Save into config.log some information that might help in debugging.
3146 echo
3148 $as_echo "## ---------------- ##
3149 ## Cache variables. ##
3150 ## ---------------- ##"
3151 echo
3152 # The following way of writing the cache mishandles newlines in values,
3154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3155 eval ac_val=\$$ac_var
3156 case $ac_val in #(
3157 *${as_nl}*)
3158 case $ac_var in #(
3159 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3160 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3161 esac
3162 case $ac_var in #(
3163 _ | IFS | as_nl) ;; #(
3164 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3165 *) { eval $ac_var=; unset $ac_var;} ;;
3166 esac ;;
3167 esac
3168 done
3169 (set) 2>&1 |
3170 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3171 *${as_nl}ac_space=\ *)
3172 sed -n \
3173 "s/'\''/'\''\\\\'\'''\''/g;
3174 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3175 ;; #(
3177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3179 esac |
3180 sort
3182 echo
3184 $as_echo "## ----------------- ##
3185 ## Output variables. ##
3186 ## ----------------- ##"
3187 echo
3188 for ac_var in $ac_subst_vars
3190 eval ac_val=\$$ac_var
3191 case $ac_val in
3192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3193 esac
3194 $as_echo "$ac_var='\''$ac_val'\''"
3195 done | sort
3196 echo
3198 if test -n "$ac_subst_files"; then
3199 $as_echo "## ------------------- ##
3200 ## File substitutions. ##
3201 ## ------------------- ##"
3202 echo
3203 for ac_var in $ac_subst_files
3205 eval ac_val=\$$ac_var
3206 case $ac_val in
3207 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3208 esac
3209 $as_echo "$ac_var='\''$ac_val'\''"
3210 done | sort
3211 echo
3214 if test -s confdefs.h; then
3215 $as_echo "## ----------- ##
3216 ## confdefs.h. ##
3217 ## ----------- ##"
3218 echo
3219 cat confdefs.h
3220 echo
3222 test "$ac_signal" != 0 &&
3223 $as_echo "$as_me: caught signal $ac_signal"
3224 $as_echo "$as_me: exit $exit_status"
3225 } >&5
3226 rm -f core *.core core.conftest.* &&
3227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3228 exit $exit_status
3230 for ac_signal in 1 2 13 15; do
3231 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3232 done
3233 ac_signal=0
3235 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3236 rm -f -r conftest* confdefs.h
3238 $as_echo "/* confdefs.h */" > confdefs.h
3240 # Predefined preprocessor variables.
3242 cat >>confdefs.h <<_ACEOF
3243 #define PACKAGE_NAME "$PACKAGE_NAME"
3244 _ACEOF
3246 cat >>confdefs.h <<_ACEOF
3247 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3248 _ACEOF
3250 cat >>confdefs.h <<_ACEOF
3251 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3252 _ACEOF
3254 cat >>confdefs.h <<_ACEOF
3255 #define PACKAGE_STRING "$PACKAGE_STRING"
3256 _ACEOF
3258 cat >>confdefs.h <<_ACEOF
3259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3260 _ACEOF
3262 cat >>confdefs.h <<_ACEOF
3263 #define PACKAGE_URL "$PACKAGE_URL"
3264 _ACEOF
3267 # Let the site file select an alternate cache file if it wants to.
3268 # Prefer an explicitly selected file to automatically selected ones.
3269 ac_site_file1=NONE
3270 ac_site_file2=NONE
3271 if test -n "$CONFIG_SITE"; then
3272 # We do not want a PATH search for config.site.
3273 case $CONFIG_SITE in #((
3274 -*) ac_site_file1=./$CONFIG_SITE;;
3275 */*) ac_site_file1=$CONFIG_SITE;;
3276 *) ac_site_file1=./$CONFIG_SITE;;
3277 esac
3278 elif test "x$prefix" != xNONE; then
3279 ac_site_file1=$prefix/share/config.site
3280 ac_site_file2=$prefix/etc/config.site
3281 else
3282 ac_site_file1=$ac_default_prefix/share/config.site
3283 ac_site_file2=$ac_default_prefix/etc/config.site
3285 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3287 test "x$ac_site_file" = xNONE && continue
3288 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3290 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3291 sed 's/^/| /' "$ac_site_file" >&5
3292 . "$ac_site_file" \
3293 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 as_fn_error $? "failed to load site script $ac_site_file
3296 See \`config.log' for more details" "$LINENO" 5; }
3298 done
3300 if test -r "$cache_file"; then
3301 # Some versions of bash will fail to source /dev/null (special files
3302 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3303 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3305 $as_echo "$as_me: loading cache $cache_file" >&6;}
3306 case $cache_file in
3307 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3308 *) . "./$cache_file";;
3309 esac
3311 else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3313 $as_echo "$as_me: creating cache $cache_file" >&6;}
3314 >$cache_file
3317 # Check that the precious variables saved in the cache have kept the same
3318 # value.
3319 ac_cache_corrupted=false
3320 for ac_var in $ac_precious_vars; do
3321 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3322 eval ac_new_set=\$ac_env_${ac_var}_set
3323 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3324 eval ac_new_val=\$ac_env_${ac_var}_value
3325 case $ac_old_set,$ac_new_set in
3326 set,)
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3328 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3329 ac_cache_corrupted=: ;;
3330 ,set)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3332 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3333 ac_cache_corrupted=: ;;
3334 ,);;
3336 if test "x$ac_old_val" != "x$ac_new_val"; then
3337 # differences in whitespace do not lead to failure.
3338 ac_old_val_w=`echo x $ac_old_val`
3339 ac_new_val_w=`echo x $ac_new_val`
3340 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3342 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3343 ac_cache_corrupted=:
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3346 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3347 eval $ac_var=\$ac_old_val
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3350 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3352 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3353 fi;;
3354 esac
3355 # Pass precious variables to config.status.
3356 if test "$ac_new_set" = set; then
3357 case $ac_new_val in
3358 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3359 *) ac_arg=$ac_var=$ac_new_val ;;
3360 esac
3361 case " $ac_configure_args " in
3362 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3363 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3364 esac
3366 done
3367 if $ac_cache_corrupted; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3371 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3372 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3374 ## -------------------- ##
3375 ## Main body of script. ##
3376 ## -------------------- ##
3378 ac_ext=c
3379 ac_cpp='$CPP $CPPFLAGS'
3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3386 ac_config_headers="$ac_config_headers include/config.h"
3388 ac_aux_dir=
3389 for ac_dir in tools "$srcdir"/tools; do
3390 if test -f "$ac_dir/install-sh"; then
3391 ac_aux_dir=$ac_dir
3392 ac_install_sh="$ac_aux_dir/install-sh -c"
3393 break
3394 elif test -f "$ac_dir/install.sh"; then
3395 ac_aux_dir=$ac_dir
3396 ac_install_sh="$ac_aux_dir/install.sh -c"
3397 break
3398 elif test -f "$ac_dir/shtool"; then
3399 ac_aux_dir=$ac_dir
3400 ac_install_sh="$ac_aux_dir/shtool install -c"
3401 break
3403 done
3404 if test -z "$ac_aux_dir"; then
3405 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3408 # These three variables are undocumented and unsupported,
3409 # and are intended to be withdrawn in a future Autoconf release.
3410 # They can cause serious problems if a builder's source tree is in a directory
3411 # whose full name contains unusual characters.
3412 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3413 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3414 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3418 libwine_version="1.0"
3422 # Check whether --enable-win16 was given.
3423 if test "${enable_win16+set}" = set; then :
3424 enableval=$enable_win16;
3427 # Check whether --enable-win64 was given.
3428 if test "${enable_win64+set}" = set; then :
3429 enableval=$enable_win64;
3432 # Check whether --enable-tests was given.
3433 if test "${enable_tests+set}" = set; then :
3434 enableval=$enable_tests;
3437 # Check whether --enable-maintainer-mode was given.
3438 if test "${enable_maintainer_mode+set}" = set; then :
3439 enableval=$enable_maintainer_mode;
3444 # Check whether --with-alsa was given.
3445 if test "${with_alsa+set}" = set; then :
3446 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3450 # Check whether --with-capi was given.
3451 if test "${with_capi+set}" = set; then :
3452 withval=$with_capi;
3456 # Check whether --with-cms was given.
3457 if test "${with_cms+set}" = set; then :
3458 withval=$with_cms;
3462 # Check whether --with-coreaudio was given.
3463 if test "${with_coreaudio+set}" = set; then :
3464 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3468 # Check whether --with-cups was given.
3469 if test "${with_cups+set}" = set; then :
3470 withval=$with_cups;
3474 # Check whether --with-curses was given.
3475 if test "${with_curses+set}" = set; then :
3476 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3480 # Check whether --with-dbus was given.
3481 if test "${with_dbus+set}" = set; then :
3482 withval=$with_dbus;
3486 # Check whether --with-fontconfig was given.
3487 if test "${with_fontconfig+set}" = set; then :
3488 withval=$with_fontconfig;
3492 # Check whether --with-freetype was given.
3493 if test "${with_freetype+set}" = set; then :
3494 withval=$with_freetype;
3498 # Check whether --with-gettext was given.
3499 if test "${with_gettext+set}" = set; then :
3500 withval=$with_gettext;
3504 # Check whether --with-gettextpo was given.
3505 if test "${with_gettextpo+set}" = set; then :
3506 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3510 # Check whether --with-gphoto was given.
3511 if test "${with_gphoto+set}" = set; then :
3512 withval=$with_gphoto;
3516 # Check whether --with-glu was given.
3517 if test "${with_glu+set}" = set; then :
3518 withval=$with_glu;
3522 # Check whether --with-gnutls was given.
3523 if test "${with_gnutls+set}" = set; then :
3524 withval=$with_gnutls;
3528 # Check whether --with-gsm was given.
3529 if test "${with_gsm+set}" = set; then :
3530 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3534 # Check whether --with-gstreamer was given.
3535 if test "${with_gstreamer+set}" = set; then :
3536 withval=$with_gstreamer;
3540 # Check whether --with-hal was given.
3541 if test "${with_hal+set}" = set; then :
3542 withval=$with_hal;
3546 # Check whether --with-jpeg was given.
3547 if test "${with_jpeg+set}" = set; then :
3548 withval=$with_jpeg;
3552 # Check whether --with-ldap was given.
3553 if test "${with_ldap+set}" = set; then :
3554 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3558 # Check whether --with-mpg123 was given.
3559 if test "${with_mpg123+set}" = set; then :
3560 withval=$with_mpg123;
3564 # Check whether --with-netapi was given.
3565 if test "${with_netapi+set}" = set; then :
3566 withval=$with_netapi;
3570 # Check whether --with-openal was given.
3571 if test "${with_openal+set}" = set; then :
3572 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3576 # Check whether --with-opencl was given.
3577 if test "${with_opencl+set}" = set; then :
3578 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3582 # Check whether --with-opengl was given.
3583 if test "${with_opengl+set}" = set; then :
3584 withval=$with_opengl;
3588 # Check whether --with-osmesa was given.
3589 if test "${with_osmesa+set}" = set; then :
3590 withval=$with_osmesa;
3594 # Check whether --with-oss was given.
3595 if test "${with_oss+set}" = set; then :
3596 withval=$with_oss;
3600 # Check whether --with-pcap was given.
3601 if test "${with_pcap+set}" = set; then :
3602 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3606 # Check whether --with-png was given.
3607 if test "${with_png+set}" = set; then :
3608 withval=$with_png;
3612 # Check whether --with-pthread was given.
3613 if test "${with_pthread+set}" = set; then :
3614 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3618 # Check whether --with-pulse was given.
3619 if test "${with_pulse+set}" = set; then :
3620 withval=$with_pulse;
3624 # Check whether --with-sane was given.
3625 if test "${with_sane+set}" = set; then :
3626 withval=$with_sane;
3630 # Check whether --with-tiff was given.
3631 if test "${with_tiff+set}" = set; then :
3632 withval=$with_tiff;
3636 # Check whether --with-udev was given.
3637 if test "${with_udev+set}" = set; then :
3638 withval=$with_udev;
3642 # Check whether --with-v4l was given.
3643 if test "${with_v4l+set}" = set; then :
3644 withval=$with_v4l;
3648 # Check whether --with-xcomposite was given.
3649 if test "${with_xcomposite+set}" = set; then :
3650 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3654 # Check whether --with-xcursor was given.
3655 if test "${with_xcursor+set}" = set; then :
3656 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3660 # Check whether --with-xinerama was given.
3661 if test "${with_xinerama+set}" = set; then :
3662 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3666 # Check whether --with-xinput was given.
3667 if test "${with_xinput+set}" = set; then :
3668 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3672 # Check whether --with-xinput2 was given.
3673 if test "${with_xinput2+set}" = set; then :
3674 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3678 # Check whether --with-xml was given.
3679 if test "${with_xml+set}" = set; then :
3680 withval=$with_xml;
3684 # Check whether --with-xrandr was given.
3685 if test "${with_xrandr+set}" = set; then :
3686 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3690 # Check whether --with-xrender was given.
3691 if test "${with_xrender+set}" = set; then :
3692 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3696 # Check whether --with-xshape was given.
3697 if test "${with_xshape+set}" = set; then :
3698 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3702 # Check whether --with-xshm was given.
3703 if test "${with_xshm+set}" = set; then :
3704 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3708 # Check whether --with-xslt was given.
3709 if test "${with_xslt+set}" = set; then :
3710 withval=$with_xslt;
3714 # Check whether --with-xxf86vm was given.
3715 if test "${with_xxf86vm+set}" = set; then :
3716 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
3720 # Check whether --with-zlib was given.
3721 if test "${with_zlib+set}" = set; then :
3722 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3727 # Check whether --with-wine-tools was given.
3728 if test "${with_wine_tools+set}" = set; then :
3729 withval=$with_wine_tools;
3733 # Check whether --with-wine64 was given.
3734 if test "${with_wine64+set}" = set; then :
3735 withval=$with_wine64;
3739 # Make sure we can run config.sub.
3740 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3741 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3744 $as_echo_n "checking build system type... " >&6; }
3745 if ${ac_cv_build+:} false; then :
3746 $as_echo_n "(cached) " >&6
3747 else
3748 ac_build_alias=$build_alias
3749 test "x$ac_build_alias" = x &&
3750 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3751 test "x$ac_build_alias" = x &&
3752 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3754 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3758 $as_echo "$ac_cv_build" >&6; }
3759 case $ac_cv_build in
3760 *-*-*) ;;
3761 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3762 esac
3763 build=$ac_cv_build
3764 ac_save_IFS=$IFS; IFS='-'
3765 set x $ac_cv_build
3766 shift
3767 build_cpu=$1
3768 build_vendor=$2
3769 shift; shift
3770 # Remember, the first character of IFS is used to create $*,
3771 # except with old shells:
3772 build_os=$*
3773 IFS=$ac_save_IFS
3774 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3778 $as_echo_n "checking host system type... " >&6; }
3779 if ${ac_cv_host+:} false; then :
3780 $as_echo_n "(cached) " >&6
3781 else
3782 if test "x$host_alias" = x; then
3783 ac_cv_host=$ac_cv_build
3784 else
3785 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3786 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3791 $as_echo "$ac_cv_host" >&6; }
3792 case $ac_cv_host in
3793 *-*-*) ;;
3794 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3795 esac
3796 host=$ac_cv_host
3797 ac_save_IFS=$IFS; IFS='-'
3798 set x $ac_cv_host
3799 shift
3800 host_cpu=$1
3801 host_vendor=$2
3802 shift; shift
3803 # Remember, the first character of IFS is used to create $*,
3804 # except with old shells:
3805 host_os=$*
3806 IFS=$ac_save_IFS
3807 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3811 case "$srcdir" in
3812 .) ;;
3813 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3814 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3815 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3816 fi ;;
3817 esac
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3821 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3822 set x ${MAKE-make}
3823 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3824 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3825 $as_echo_n "(cached) " >&6
3826 else
3827 cat >conftest.make <<\_ACEOF
3828 SHELL = /bin/sh
3829 all:
3830 @echo '@@@%%%=$(MAKE)=@@@%%%'
3831 _ACEOF
3832 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3833 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3834 *@@@%%%=?*=@@@%%%*)
3835 eval ac_cv_prog_make_${ac_make}_set=yes;;
3837 eval ac_cv_prog_make_${ac_make}_set=no;;
3838 esac
3839 rm -f conftest.make
3841 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3843 $as_echo "yes" >&6; }
3844 SET_MAKE=
3845 else
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847 $as_echo "no" >&6; }
3848 SET_MAKE="MAKE=${MAKE-make}"
3851 ac_ext=c
3852 ac_cpp='$CPP $CPPFLAGS'
3853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3856 if test -n "$ac_tool_prefix"; then
3857 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3858 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3861 if ${ac_cv_prog_CC+:} false; then :
3862 $as_echo_n "(cached) " >&6
3863 else
3864 if test -n "$CC"; then
3865 ac_cv_prog_CC="$CC" # Let the user override the test.
3866 else
3867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 for as_dir in $PATH
3870 IFS=$as_save_IFS
3871 test -z "$as_dir" && as_dir=.
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3874 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 break 2
3878 done
3879 done
3880 IFS=$as_save_IFS
3884 CC=$ac_cv_prog_CC
3885 if test -n "$CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3887 $as_echo "$CC" >&6; }
3888 else
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3895 if test -z "$ac_cv_prog_CC"; then
3896 ac_ct_CC=$CC
3897 # Extract the first word of "gcc", so it can be a program name with args.
3898 set dummy gcc; ac_word=$2
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3900 $as_echo_n "checking for $ac_word... " >&6; }
3901 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3902 $as_echo_n "(cached) " >&6
3903 else
3904 if test -n "$ac_ct_CC"; then
3905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3906 else
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3908 for as_dir in $PATH
3910 IFS=$as_save_IFS
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3914 ac_cv_prog_ac_ct_CC="gcc"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 break 2
3918 done
3919 done
3920 IFS=$as_save_IFS
3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3925 if test -n "$ac_ct_CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3927 $as_echo "$ac_ct_CC" >&6; }
3928 else
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3933 if test "x$ac_ct_CC" = x; then
3934 CC=""
3935 else
3936 case $cross_compiling:$ac_tool_warned in
3937 yes:)
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3940 ac_tool_warned=yes ;;
3941 esac
3942 CC=$ac_ct_CC
3944 else
3945 CC="$ac_cv_prog_CC"
3948 if test -z "$CC"; then
3949 if test -n "$ac_tool_prefix"; then
3950 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3951 set dummy ${ac_tool_prefix}cc; ac_word=$2
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3953 $as_echo_n "checking for $ac_word... " >&6; }
3954 if ${ac_cv_prog_CC+:} false; then :
3955 $as_echo_n "(cached) " >&6
3956 else
3957 if test -n "$CC"; then
3958 ac_cv_prog_CC="$CC" # Let the user override the test.
3959 else
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 for as_dir in $PATH
3963 IFS=$as_save_IFS
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_prog_CC="${ac_tool_prefix}cc"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969 break 2
3971 done
3972 done
3973 IFS=$as_save_IFS
3977 CC=$ac_cv_prog_CC
3978 if test -n "$CC"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3980 $as_echo "$CC" >&6; }
3981 else
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3989 if test -z "$CC"; then
3990 # Extract the first word of "cc", so it can be a program name with args.
3991 set dummy cc; ac_word=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if ${ac_cv_prog_CC+:} false; then :
3995 $as_echo_n "(cached) " >&6
3996 else
3997 if test -n "$CC"; then
3998 ac_cv_prog_CC="$CC" # Let the user override the test.
3999 else
4000 ac_prog_rejected=no
4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH
4004 IFS=$as_save_IFS
4005 test -z "$as_dir" && as_dir=.
4006 for ac_exec_ext in '' $ac_executable_extensions; do
4007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4009 ac_prog_rejected=yes
4010 continue
4012 ac_cv_prog_CC="cc"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4014 break 2
4016 done
4017 done
4018 IFS=$as_save_IFS
4020 if test $ac_prog_rejected = yes; then
4021 # We found a bogon in the path, so make sure we never use it.
4022 set dummy $ac_cv_prog_CC
4023 shift
4024 if test $# != 0; then
4025 # We chose a different compiler from the bogus one.
4026 # However, it has the same basename, so the bogon will be chosen
4027 # first if we set CC to just the basename; use the full file name.
4028 shift
4029 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4034 CC=$ac_cv_prog_CC
4035 if test -n "$CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037 $as_echo "$CC" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4045 if test -z "$CC"; then
4046 if test -n "$ac_tool_prefix"; then
4047 for ac_prog in cl.exe
4049 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4050 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4052 $as_echo_n "checking for $ac_word... " >&6; }
4053 if ${ac_cv_prog_CC+:} false; then :
4054 $as_echo_n "(cached) " >&6
4055 else
4056 if test -n "$CC"; then
4057 ac_cv_prog_CC="$CC" # Let the user override the test.
4058 else
4059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060 for as_dir in $PATH
4062 IFS=$as_save_IFS
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4066 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 break 2
4070 done
4071 done
4072 IFS=$as_save_IFS
4076 CC=$ac_cv_prog_CC
4077 if test -n "$CC"; then
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4079 $as_echo "$CC" >&6; }
4080 else
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4082 $as_echo "no" >&6; }
4086 test -n "$CC" && break
4087 done
4089 if test -z "$CC"; then
4090 ac_ct_CC=$CC
4091 for ac_prog in cl.exe
4093 # Extract the first word of "$ac_prog", so it can be a program name with args.
4094 set dummy $ac_prog; ac_word=$2
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096 $as_echo_n "checking for $ac_word... " >&6; }
4097 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4098 $as_echo_n "(cached) " >&6
4099 else
4100 if test -n "$ac_ct_CC"; then
4101 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4102 else
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 ac_cv_prog_ac_ct_CC="$ac_prog"
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 break 2
4114 done
4115 done
4116 IFS=$as_save_IFS
4120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4121 if test -n "$ac_ct_CC"; then
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4123 $as_echo "$ac_ct_CC" >&6; }
4124 else
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126 $as_echo "no" >&6; }
4130 test -n "$ac_ct_CC" && break
4131 done
4133 if test "x$ac_ct_CC" = x; then
4134 CC=""
4135 else
4136 case $cross_compiling:$ac_tool_warned in
4137 yes:)
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4140 ac_tool_warned=yes ;;
4141 esac
4142 CC=$ac_ct_CC
4149 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4151 as_fn_error $? "no acceptable C compiler found in \$PATH
4152 See \`config.log' for more details" "$LINENO" 5; }
4154 # Provide some information about the compiler.
4155 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4156 set X $ac_compile
4157 ac_compiler=$2
4158 for ac_option in --version -v -V -qversion; do
4159 { { ac_try="$ac_compiler $ac_option >&5"
4160 case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4163 esac
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4165 $as_echo "$ac_try_echo"; } >&5
4166 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4167 ac_status=$?
4168 if test -s conftest.err; then
4169 sed '10a\
4170 ... rest of stderr output deleted ...
4171 10q' conftest.err >conftest.er1
4172 cat conftest.er1 >&5
4174 rm -f conftest.er1 conftest.err
4175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4176 test $ac_status = 0; }
4177 done
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 ac_clean_files_save=$ac_clean_files
4191 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4192 # Try to create an executable without -o first, disregard a.out.
4193 # It will help us diagnose broken compilers, and finding out an intuition
4194 # of exeext.
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4196 $as_echo_n "checking whether the C compiler works... " >&6; }
4197 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4199 # The possible output files:
4200 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4202 ac_rmfiles=
4203 for ac_file in $ac_files
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4207 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4208 esac
4209 done
4210 rm -f $ac_rmfiles
4212 if { { ac_try="$ac_link_default"
4213 case "(($ac_try" in
4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215 *) ac_try_echo=$ac_try;;
4216 esac
4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4218 $as_echo "$ac_try_echo"; } >&5
4219 (eval "$ac_link_default") 2>&5
4220 ac_status=$?
4221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4222 test $ac_status = 0; }; then :
4223 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4224 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4225 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4226 # so that the user can short-circuit this test for compilers unknown to
4227 # Autoconf.
4228 for ac_file in $ac_files ''
4230 test -f "$ac_file" || continue
4231 case $ac_file in
4232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4234 [ab].out )
4235 # We found the default executable, but exeext='' is most
4236 # certainly right.
4237 break;;
4238 *.* )
4239 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4240 then :; else
4241 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4243 # We set ac_cv_exeext here because the later test for it is not
4244 # safe: cross compilers may not add the suffix if given an `-o'
4245 # argument, so we may need to know it at that point already.
4246 # Even if this section looks crufty: it has the advantage of
4247 # actually working.
4248 break;;
4250 break;;
4251 esac
4252 done
4253 test "$ac_cv_exeext" = no && ac_cv_exeext=
4255 else
4256 ac_file=''
4258 if test -z "$ac_file"; then :
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4260 $as_echo "no" >&6; }
4261 $as_echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error 77 "C compiler cannot create executables
4267 See \`config.log' for more details" "$LINENO" 5; }
4268 else
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4270 $as_echo "yes" >&6; }
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4273 $as_echo_n "checking for C compiler default output file name... " >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4275 $as_echo "$ac_file" >&6; }
4276 ac_exeext=$ac_cv_exeext
4278 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4279 ac_clean_files=$ac_clean_files_save
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4281 $as_echo_n "checking for suffix of executables... " >&6; }
4282 if { { ac_try="$ac_link"
4283 case "(($ac_try" in
4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4285 *) ac_try_echo=$ac_try;;
4286 esac
4287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4288 $as_echo "$ac_try_echo"; } >&5
4289 (eval "$ac_link") 2>&5
4290 ac_status=$?
4291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4292 test $ac_status = 0; }; then :
4293 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4294 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4295 # work properly (i.e., refer to `conftest.exe'), while it won't with
4296 # `rm'.
4297 for ac_file in conftest.exe conftest conftest.*; do
4298 test -f "$ac_file" || continue
4299 case $ac_file in
4300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4301 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4302 break;;
4303 * ) break;;
4304 esac
4305 done
4306 else
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4310 See \`config.log' for more details" "$LINENO" 5; }
4312 rm -f conftest conftest$ac_cv_exeext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4314 $as_echo "$ac_cv_exeext" >&6; }
4316 rm -f conftest.$ac_ext
4317 EXEEXT=$ac_cv_exeext
4318 ac_exeext=$EXEEXT
4319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4320 /* end confdefs.h. */
4321 #include <stdio.h>
4323 main ()
4325 FILE *f = fopen ("conftest.out", "w");
4326 return ferror (f) || fclose (f) != 0;
4329 return 0;
4331 _ACEOF
4332 ac_clean_files="$ac_clean_files conftest.out"
4333 # Check that the compiler produces executables we can run. If not, either
4334 # the compiler is broken, or we cross compile.
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4336 $as_echo_n "checking whether we are cross compiling... " >&6; }
4337 if test "$cross_compiling" != yes; then
4338 { { ac_try="$ac_link"
4339 case "(($ac_try" in
4340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4341 *) ac_try_echo=$ac_try;;
4342 esac
4343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4344 $as_echo "$ac_try_echo"; } >&5
4345 (eval "$ac_link") 2>&5
4346 ac_status=$?
4347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348 test $ac_status = 0; }
4349 if { ac_try='./conftest$ac_cv_exeext'
4350 { { case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$ac_try_echo"; } >&5
4356 (eval "$ac_try") 2>&5
4357 ac_status=$?
4358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4359 test $ac_status = 0; }; }; then
4360 cross_compiling=no
4361 else
4362 if test "$cross_compiling" = maybe; then
4363 cross_compiling=yes
4364 else
4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4367 as_fn_error $? "cannot run C compiled programs.
4368 If you meant to cross compile, use \`--host'.
4369 See \`config.log' for more details" "$LINENO" 5; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4374 $as_echo "$cross_compiling" >&6; }
4376 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4377 ac_clean_files=$ac_clean_files_save
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4379 $as_echo_n "checking for suffix of object files... " >&6; }
4380 if ${ac_cv_objext+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 rm -f conftest.o conftest.obj
4395 if { { ac_try="$ac_compile"
4396 case "(($ac_try" in
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_compile") 2>&5
4403 ac_status=$?
4404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }; then :
4406 for ac_file in conftest.o conftest.obj conftest.*; do
4407 test -f "$ac_file" || continue;
4408 case $ac_file in
4409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4410 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4411 break;;
4412 esac
4413 done
4414 else
4415 $as_echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.$ac_ext >&5
4418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 as_fn_error $? "cannot compute suffix of object files: cannot compile
4421 See \`config.log' for more details" "$LINENO" 5; }
4423 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4426 $as_echo "$ac_cv_objext" >&6; }
4427 OBJEXT=$ac_cv_objext
4428 ac_objext=$OBJEXT
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4430 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4431 if ${ac_cv_c_compiler_gnu+:} false; then :
4432 $as_echo_n "(cached) " >&6
4433 else
4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4435 /* end confdefs.h. */
4438 main ()
4440 #ifndef __GNUC__
4441 choke me
4442 #endif
4445 return 0;
4447 _ACEOF
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_compiler_gnu=yes
4450 else
4451 ac_compiler_gnu=no
4453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4454 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4458 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4459 if test $ac_compiler_gnu = yes; then
4460 GCC=yes
4461 else
4462 GCC=
4464 ac_test_CFLAGS=${CFLAGS+set}
4465 ac_save_CFLAGS=$CFLAGS
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4467 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4468 if ${ac_cv_prog_cc_g+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 ac_save_c_werror_flag=$ac_c_werror_flag
4472 ac_c_werror_flag=yes
4473 ac_cv_prog_cc_g=no
4474 CFLAGS="-g"
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4479 main ()
4483 return 0;
4485 _ACEOF
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_cv_prog_cc_g=yes
4488 else
4489 CFLAGS=""
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4503 else
4504 ac_c_werror_flag=$ac_save_c_werror_flag
4505 CFLAGS="-g"
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4514 return 0;
4516 _ACEOF
4517 if ac_fn_c_try_compile "$LINENO"; then :
4518 ac_cv_prog_cc_g=yes
4520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4525 ac_c_werror_flag=$ac_save_c_werror_flag
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4528 $as_echo "$ac_cv_prog_cc_g" >&6; }
4529 if test "$ac_test_CFLAGS" = set; then
4530 CFLAGS=$ac_save_CFLAGS
4531 elif test $ac_cv_prog_cc_g = yes; then
4532 if test "$GCC" = yes; then
4533 CFLAGS="-g -O2"
4534 else
4535 CFLAGS="-g"
4537 else
4538 if test "$GCC" = yes; then
4539 CFLAGS="-O2"
4540 else
4541 CFLAGS=
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4545 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4546 if ${ac_cv_prog_cc_c89+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 ac_cv_prog_cc_c89=no
4550 ac_save_CC=$CC
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553 #include <stdarg.h>
4554 #include <stdio.h>
4555 struct stat;
4556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4557 struct buf { int x; };
4558 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4559 static char *e (p, i)
4560 char **p;
4561 int i;
4563 return p[i];
4565 static char *f (char * (*g) (char **, int), char **p, ...)
4567 char *s;
4568 va_list v;
4569 va_start (v,p);
4570 s = g (p, va_arg (v,int));
4571 va_end (v);
4572 return s;
4575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4576 function prototypes and stuff, but not '\xHH' hex character constants.
4577 These don't provoke an error unfortunately, instead are silently treated
4578 as 'x'. The following induces an error, until -std is added to get
4579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4580 array size at least. It's necessary to write '\x00'==0 to get something
4581 that's true only with -std. */
4582 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4584 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4585 inside strings and character constants. */
4586 #define FOO(x) 'x'
4587 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4589 int test (int i, double x);
4590 struct s1 {int (*f) (int a);};
4591 struct s2 {int (*f) (double a);};
4592 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4593 int argc;
4594 char **argv;
4596 main ()
4598 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4600 return 0;
4602 _ACEOF
4603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4604 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4606 CC="$ac_save_CC $ac_arg"
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608 ac_cv_prog_cc_c89=$ac_arg
4610 rm -f core conftest.err conftest.$ac_objext
4611 test "x$ac_cv_prog_cc_c89" != "xno" && break
4612 done
4613 rm -f conftest.$ac_ext
4614 CC=$ac_save_CC
4617 # AC_CACHE_VAL
4618 case "x$ac_cv_prog_cc_c89" in
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4621 $as_echo "none needed" >&6; } ;;
4622 xno)
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4624 $as_echo "unsupported" >&6; } ;;
4626 CC="$CC $ac_cv_prog_cc_c89"
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4628 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4629 esac
4630 if test "x$ac_cv_prog_cc_c89" != xno; then :
4634 ac_ext=c
4635 ac_cpp='$CPP $CPPFLAGS'
4636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4640 ac_ext=cpp
4641 ac_cpp='$CXXCPP $CPPFLAGS'
4642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4645 if test -z "$CXX"; then
4646 if test -n "$CCC"; then
4647 CXX=$CCC
4648 else
4649 if test -n "$ac_tool_prefix"; then
4650 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4653 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if ${ac_cv_prog_CXX+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 if test -n "$CXX"; then
4660 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 CXX=$ac_cv_prog_CXX
4680 if test -n "$CXX"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4682 $as_echo "$CXX" >&6; }
4683 else
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4689 test -n "$CXX" && break
4690 done
4692 if test -z "$CXX"; then
4693 ac_ct_CXX=$CXX
4694 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4696 # Extract the first word of "$ac_prog", so it can be a program name with args.
4697 set dummy $ac_prog; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4701 $as_echo_n "(cached) " >&6
4702 else
4703 if test -n "$ac_ct_CXX"; then
4704 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4705 else
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH
4709 IFS=$as_save_IFS
4710 test -z "$as_dir" && as_dir=.
4711 for ac_exec_ext in '' $ac_executable_extensions; do
4712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CXX="$ac_prog"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715 break 2
4717 done
4718 done
4719 IFS=$as_save_IFS
4723 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4724 if test -n "$ac_ct_CXX"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4726 $as_echo "$ac_ct_CXX" >&6; }
4727 else
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 test -n "$ac_ct_CXX" && break
4734 done
4736 if test "x$ac_ct_CXX" = x; then
4737 CXX="g++"
4738 else
4739 case $cross_compiling:$ac_tool_warned in
4740 yes:)
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4742 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4743 ac_tool_warned=yes ;;
4744 esac
4745 CXX=$ac_ct_CXX
4751 # Provide some information about the compiler.
4752 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4753 set X $ac_compile
4754 ac_compiler=$2
4755 for ac_option in --version -v -V -qversion; do
4756 { { ac_try="$ac_compiler $ac_option >&5"
4757 case "(($ac_try" in
4758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4760 esac
4761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4762 $as_echo "$ac_try_echo"; } >&5
4763 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4764 ac_status=$?
4765 if test -s conftest.err; then
4766 sed '10a\
4767 ... rest of stderr output deleted ...
4768 10q' conftest.err >conftest.er1
4769 cat conftest.er1 >&5
4771 rm -f conftest.er1 conftest.err
4772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4773 test $ac_status = 0; }
4774 done
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4777 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4778 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4779 $as_echo_n "(cached) " >&6
4780 else
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4785 main ()
4787 #ifndef __GNUC__
4788 choke me
4789 #endif
4792 return 0;
4794 _ACEOF
4795 if ac_fn_cxx_try_compile "$LINENO"; then :
4796 ac_compiler_gnu=yes
4797 else
4798 ac_compiler_gnu=no
4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4801 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4805 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4806 if test $ac_compiler_gnu = yes; then
4807 GXX=yes
4808 else
4809 GXX=
4811 ac_test_CXXFLAGS=${CXXFLAGS+set}
4812 ac_save_CXXFLAGS=$CXXFLAGS
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4814 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4815 if ${ac_cv_prog_cxx_g+:} false; then :
4816 $as_echo_n "(cached) " >&6
4817 else
4818 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4819 ac_cxx_werror_flag=yes
4820 ac_cv_prog_cxx_g=no
4821 CXXFLAGS="-g"
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4826 main ()
4830 return 0;
4832 _ACEOF
4833 if ac_fn_cxx_try_compile "$LINENO"; then :
4834 ac_cv_prog_cxx_g=yes
4835 else
4836 CXXFLAGS=""
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4841 main ()
4845 return 0;
4847 _ACEOF
4848 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 else
4851 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4852 CXXFLAGS="-g"
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 main ()
4861 return 0;
4863 _ACEOF
4864 if ac_fn_cxx_try_compile "$LINENO"; then :
4865 ac_cv_prog_cxx_g=yes
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4872 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4875 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4876 if test "$ac_test_CXXFLAGS" = set; then
4877 CXXFLAGS=$ac_save_CXXFLAGS
4878 elif test $ac_cv_prog_cxx_g = yes; then
4879 if test "$GXX" = yes; then
4880 CXXFLAGS="-g -O2"
4881 else
4882 CXXFLAGS="-g"
4884 else
4885 if test "$GXX" = yes; then
4886 CXXFLAGS="-O2"
4887 else
4888 CXXFLAGS=
4891 ac_ext=c
4892 ac_cpp='$CPP $CPPFLAGS'
4893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4897 if test -n "$ac_tool_prefix"; then
4898 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4899 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4901 $as_echo_n "checking for $ac_word... " >&6; }
4902 if ${ac_cv_prog_CPPBIN+:} false; then :
4903 $as_echo_n "(cached) " >&6
4904 else
4905 if test -n "$CPPBIN"; then
4906 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4907 else
4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 for as_dir in $PATH
4911 IFS=$as_save_IFS
4912 test -z "$as_dir" && as_dir=.
4913 for ac_exec_ext in '' $ac_executable_extensions; do
4914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4915 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 break 2
4919 done
4920 done
4921 IFS=$as_save_IFS
4925 CPPBIN=$ac_cv_prog_CPPBIN
4926 if test -n "$CPPBIN"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4928 $as_echo "$CPPBIN" >&6; }
4929 else
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 $as_echo "no" >&6; }
4936 if test -z "$ac_cv_prog_CPPBIN"; then
4937 ac_ct_CPPBIN=$CPPBIN
4938 # Extract the first word of "cpp", so it can be a program name with args.
4939 set dummy cpp; ac_word=$2
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941 $as_echo_n "checking for $ac_word... " >&6; }
4942 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4943 $as_echo_n "(cached) " >&6
4944 else
4945 if test -n "$ac_ct_CPPBIN"; then
4946 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4947 else
4948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949 for as_dir in $PATH
4951 IFS=$as_save_IFS
4952 test -z "$as_dir" && as_dir=.
4953 for ac_exec_ext in '' $ac_executable_extensions; do
4954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955 ac_cv_prog_ac_ct_CPPBIN="cpp"
4956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 break 2
4959 done
4960 done
4961 IFS=$as_save_IFS
4965 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4966 if test -n "$ac_ct_CPPBIN"; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4968 $as_echo "$ac_ct_CPPBIN" >&6; }
4969 else
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971 $as_echo "no" >&6; }
4974 if test "x$ac_ct_CPPBIN" = x; then
4975 CPPBIN="cpp"
4976 else
4977 case $cross_compiling:$ac_tool_warned in
4978 yes:)
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4981 ac_tool_warned=yes ;;
4982 esac
4983 CPPBIN=$ac_ct_CPPBIN
4985 else
4986 CPPBIN="$ac_cv_prog_CPPBIN"
4990 cat >>confdefs.h <<_ACEOF
4991 #define EXEEXT "$ac_exeext"
4992 _ACEOF
4994 if test -n "$ac_tool_prefix"; then
4995 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4996 set dummy ${ac_tool_prefix}ld; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_LD+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002 if test -n "$LD"; then
5003 ac_cv_prog_LD="$LD" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_LD="${ac_tool_prefix}ld"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 LD=$ac_cv_prog_LD
5023 if test -n "$LD"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5025 $as_echo "$LD" >&6; }
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5033 if test -z "$ac_cv_prog_LD"; then
5034 ac_ct_LD=$LD
5035 # Extract the first word of "ld", so it can be a program name with args.
5036 set dummy ld; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$ac_ct_LD"; then
5043 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_LD="ld"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5063 if test -n "$ac_ct_LD"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5065 $as_echo "$ac_ct_LD" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5071 if test "x$ac_ct_LD" = x; then
5072 LD=""
5073 else
5074 case $cross_compiling:$ac_tool_warned in
5075 yes:)
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5078 ac_tool_warned=yes ;;
5079 esac
5080 LD=$ac_ct_LD
5082 else
5083 LD="$ac_cv_prog_LD"
5087 case $host in
5088 *-darwin*)
5089 with_fontconfig=${with_fontconfig:-no}
5091 *-mingw32*|*-cygwin*)
5092 enable_win16=${enable_win16:-no}
5093 CFLAGS="$CFLAGS -D_WIN32"
5095 esac
5097 case $host in
5098 x86_64*|amd64*)
5099 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5100 then
5101 CC="$CC -m32"
5102 CXX="$CXX -m32"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5104 $as_echo_n "checking whether $CC works... " >&6; }
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5110 main ()
5114 return 0;
5116 _ACEOF
5117 if ac_fn_c_try_link "$LINENO"; then :
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5119 $as_echo "yes" >&6; }
5120 else
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5123 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5125 rm -f core conftest.err conftest.$ac_objext \
5126 conftest$ac_exeext conftest.$ac_ext
5127 host_cpu="i386"
5128 notice_platform="32-bit "
5129 TARGETFLAGS="-m32"
5131 enable_win16=${enable_win16:-yes}
5132 else
5133 if test "x${GCC}" = "xyes"
5134 then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5136 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #include <stdarg.h>
5141 main ()
5143 void func(__builtin_ms_va_list *args);
5145 return 0;
5147 _ACEOF
5148 if ac_fn_c_try_compile "$LINENO"; then :
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5150 $as_echo "yes" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5158 CC="$CC -m64"
5159 CXX="$CXX -m64"
5160 host_cpu="x86_64"
5161 notice_platform="64-bit "
5162 TARGETFLAGS="-m64"
5166 arm*)
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5168 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5171 int ac_test(int i) { return i; }
5173 main ()
5175 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5177 return 0;
5179 _ACEOF
5180 if ac_fn_c_try_link "$LINENO"; then :
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5182 $as_echo "yes" >&6; }
5183 else
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5186 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5188 rm -f core conftest.err conftest.$ac_objext \
5189 conftest$ac_exeext conftest.$ac_ext
5190 CFLAGS="$CFLAGS -marm"
5191 TARGETFLAGS="-marm"
5194 i[3456789]86*)
5195 enable_win16=${enable_win16:-yes}
5197 esac
5199 enable_win16=${enable_win16:-no}
5200 enable_win64=${enable_win64:-no}
5202 enable_winetest=${enable_winetest:-$enable_tests}
5204 if test -n "$with_wine64"
5205 then
5206 if test "x$enable_win64" = "xyes"
5207 then
5208 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5209 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5211 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5212 You should create a separate build directory and run configure from there." "$LINENO" 5
5213 enable_fonts=${enable_fonts:-no}
5214 enable_server=${enable_server:-no}
5215 elif test "x$enable_win64" = "xyes"
5216 then
5217 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5221 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5222 if ${wine_cv_toolsdir+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 wine_cv_toolsdir="$with_wine_tools"
5226 if test -z "$with_wine_tools"; then
5227 if test "$cross_compiling" = "yes"; then
5228 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5229 elif test -n "$with_wine64"; then
5230 wine_cv_toolsdir="$with_wine64"
5233 if test -z "$wine_cv_toolsdir"; then
5234 wine_makedep=tools/makedep
5235 wine_cv_toolsdir="\$(top_builddir)"
5236 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5237 wine_makedep=$wine_cv_toolsdir/tools/makedep
5238 case "$wine_cv_toolsdir" in
5239 /*) ;;
5240 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5241 esac
5242 enable_tools=${enable_tools:-no}
5243 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5244 else
5245 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5249 $as_echo "$wine_cv_toolsdir" >&6; }
5250 TOOLSDIR=$wine_cv_toolsdir
5252 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5253 then
5254 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5258 for ac_prog in flex
5260 # Extract the first word of "$ac_prog", so it can be a program name with args.
5261 set dummy $ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_FLEX+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$FLEX"; then
5268 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_FLEX="$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 FLEX=$ac_cv_prog_FLEX
5288 if test -n "$FLEX"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5290 $as_echo "$FLEX" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$FLEX" && break
5298 done
5299 test -n "$FLEX" || FLEX="none"
5301 if test "$FLEX" = "none"
5302 then
5303 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5306 $as_echo_n "checking whether flex is recent enough... " >&6; }
5307 cat >conftest.l <<EOF
5308 %top{
5309 #include "prediluvian.h"
5313 if $FLEX -t conftest.l >/dev/null 2>&5
5314 then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5316 $as_echo "yes" >&6; }
5317 else
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5320 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5323 for ac_prog in bison
5325 # Extract the first word of "$ac_prog", so it can be a program name with args.
5326 set dummy $ac_prog; ac_word=$2
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5328 $as_echo_n "checking for $ac_word... " >&6; }
5329 if ${ac_cv_prog_BISON+:} false; then :
5330 $as_echo_n "(cached) " >&6
5331 else
5332 if test -n "$BISON"; then
5333 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5334 else
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH
5338 IFS=$as_save_IFS
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_BISON="$ac_prog"
5343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 break 2
5346 done
5347 done
5348 IFS=$as_save_IFS
5352 BISON=$ac_cv_prog_BISON
5353 if test -n "$BISON"; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5355 $as_echo "$BISON" >&6; }
5356 else
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5362 test -n "$BISON" && break
5363 done
5364 test -n "$BISON" || BISON="none"
5366 if test "$BISON" = "none"
5367 then
5368 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5371 if test -n "$ac_tool_prefix"; then
5372 for ac_prog in ar gar
5374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_AR+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$AR"; then
5382 ac_cv_prog_AR="$AR" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 AR=$ac_cv_prog_AR
5402 if test -n "$AR"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5404 $as_echo "$AR" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5411 test -n "$AR" && break
5412 done
5414 if test -z "$AR"; then
5415 ac_ct_AR=$AR
5416 for ac_prog in ar gar
5418 # Extract the first word of "$ac_prog", so it can be a program name with args.
5419 set dummy $ac_prog; ac_word=$2
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5421 $as_echo_n "checking for $ac_word... " >&6; }
5422 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_AR"; then
5426 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5427 else
5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429 for as_dir in $PATH
5431 IFS=$as_save_IFS
5432 test -z "$as_dir" && as_dir=.
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5435 ac_cv_prog_ac_ct_AR="$ac_prog"
5436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 break 2
5439 done
5440 done
5441 IFS=$as_save_IFS
5445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5446 if test -n "$ac_ct_AR"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5448 $as_echo "$ac_ct_AR" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5455 test -n "$ac_ct_AR" && break
5456 done
5458 if test "x$ac_ct_AR" = x; then
5459 AR="ar"
5460 else
5461 case $cross_compiling:$ac_tool_warned in
5462 yes:)
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5465 ac_tool_warned=yes ;;
5466 esac
5467 AR=$ac_ct_AR
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}strip; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_STRIP+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$STRIP"; then
5480 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 STRIP=$ac_cv_prog_STRIP
5500 if test -n "$STRIP"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5502 $as_echo "$STRIP" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5510 if test -z "$ac_cv_prog_STRIP"; then
5511 ac_ct_STRIP=$STRIP
5512 # Extract the first word of "strip", so it can be a program name with args.
5513 set dummy strip; ac_word=$2
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5515 $as_echo_n "checking for $ac_word... " >&6; }
5516 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_STRIP"; then
5520 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5529 ac_cv_prog_ac_ct_STRIP="strip"
5530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5540 if test -n "$ac_ct_STRIP"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5542 $as_echo "$ac_ct_STRIP" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5545 $as_echo "no" >&6; }
5548 if test "x$ac_ct_STRIP" = x; then
5549 STRIP="strip"
5550 else
5551 case $cross_compiling:$ac_tool_warned in
5552 yes:)
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned=yes ;;
5556 esac
5557 STRIP=$ac_ct_STRIP
5559 else
5560 STRIP="$ac_cv_prog_STRIP"
5563 ARFLAGS=rc
5565 if test -n "$ac_tool_prefix"; then
5566 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_RANLIB+:} false; then :
5571 $as_echo_n "(cached) " >&6
5572 else
5573 if test -n "$RANLIB"; then
5574 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5575 else
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5579 IFS=$as_save_IFS
5580 test -z "$as_dir" && as_dir=.
5581 for ac_exec_ext in '' $ac_executable_extensions; do
5582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 break 2
5587 done
5588 done
5589 IFS=$as_save_IFS
5593 RANLIB=$ac_cv_prog_RANLIB
5594 if test -n "$RANLIB"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5596 $as_echo "$RANLIB" >&6; }
5597 else
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5604 if test -z "$ac_cv_prog_RANLIB"; then
5605 ac_ct_RANLIB=$RANLIB
5606 # Extract the first word of "ranlib", so it can be a program name with args.
5607 set dummy ranlib; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5611 $as_echo_n "(cached) " >&6
5612 else
5613 if test -n "$ac_ct_RANLIB"; then
5614 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623 ac_cv_prog_ac_ct_RANLIB="ranlib"
5624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5634 if test -n "$ac_ct_RANLIB"; then
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5636 $as_echo "$ac_ct_RANLIB" >&6; }
5637 else
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5642 if test "x$ac_ct_RANLIB" = x; then
5643 RANLIB=":"
5644 else
5645 case $cross_compiling:$ac_tool_warned in
5646 yes:)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5650 esac
5651 RANLIB=$ac_ct_RANLIB
5653 else
5654 RANLIB="$ac_cv_prog_RANLIB"
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5658 $as_echo_n "checking whether ln -s works... " >&6; }
5659 LN_S=$as_ln_s
5660 if test "$LN_S" = "ln -s"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5662 $as_echo "yes" >&6; }
5663 else
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5665 $as_echo "no, using $LN_S" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5669 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5670 if ${ac_cv_path_GREP+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -z "$GREP"; then
5674 ac_path_GREP_found=false
5675 # Loop through the user's path and test for each of PROGNAME-LIST
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_prog in grep ggrep; do
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5684 as_fn_executable_p "$ac_path_GREP" || continue
5685 # Check for GNU ac_path_GREP and select it if it is found.
5686 # Check for GNU $ac_path_GREP
5687 case `"$ac_path_GREP" --version 2>&1` in
5688 *GNU*)
5689 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5691 ac_count=0
5692 $as_echo_n 0123456789 >"conftest.in"
5693 while :
5695 cat "conftest.in" "conftest.in" >"conftest.tmp"
5696 mv "conftest.tmp" "conftest.in"
5697 cp "conftest.in" "conftest.nl"
5698 $as_echo 'GREP' >> "conftest.nl"
5699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5701 as_fn_arith $ac_count + 1 && ac_count=$as_val
5702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5703 # Best one so far, save it but keep looking for a better one
5704 ac_cv_path_GREP="$ac_path_GREP"
5705 ac_path_GREP_max=$ac_count
5707 # 10*(2^10) chars as input seems more than enough
5708 test $ac_count -gt 10 && break
5709 done
5710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5711 esac
5713 $ac_path_GREP_found && break 3
5714 done
5715 done
5716 done
5717 IFS=$as_save_IFS
5718 if test -z "$ac_cv_path_GREP"; then
5719 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5721 else
5722 ac_cv_path_GREP=$GREP
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5727 $as_echo "$ac_cv_path_GREP" >&6; }
5728 GREP="$ac_cv_path_GREP"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5732 $as_echo_n "checking for egrep... " >&6; }
5733 if ${ac_cv_path_EGREP+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5737 then ac_cv_path_EGREP="$GREP -E"
5738 else
5739 if test -z "$EGREP"; then
5740 ac_path_EGREP_found=false
5741 # Loop through the user's path and test for each of PROGNAME-LIST
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_prog in egrep; do
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5750 as_fn_executable_p "$ac_path_EGREP" || continue
5751 # Check for GNU ac_path_EGREP and select it if it is found.
5752 # Check for GNU $ac_path_EGREP
5753 case `"$ac_path_EGREP" --version 2>&1` in
5754 *GNU*)
5755 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5757 ac_count=0
5758 $as_echo_n 0123456789 >"conftest.in"
5759 while :
5761 cat "conftest.in" "conftest.in" >"conftest.tmp"
5762 mv "conftest.tmp" "conftest.in"
5763 cp "conftest.in" "conftest.nl"
5764 $as_echo 'EGREP' >> "conftest.nl"
5765 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5766 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5767 as_fn_arith $ac_count + 1 && ac_count=$as_val
5768 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5769 # Best one so far, save it but keep looking for a better one
5770 ac_cv_path_EGREP="$ac_path_EGREP"
5771 ac_path_EGREP_max=$ac_count
5773 # 10*(2^10) chars as input seems more than enough
5774 test $ac_count -gt 10 && break
5775 done
5776 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5777 esac
5779 $ac_path_EGREP_found && break 3
5780 done
5781 done
5782 done
5783 IFS=$as_save_IFS
5784 if test -z "$ac_cv_path_EGREP"; then
5785 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5787 else
5788 ac_cv_path_EGREP=$EGREP
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5794 $as_echo "$ac_cv_path_EGREP" >&6; }
5795 EGREP="$ac_cv_path_EGREP"
5798 # Extract the first word of "ldconfig", so it can be a program name with args.
5799 set dummy ldconfig; ac_word=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if ${ac_cv_path_LDCONFIG+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 case $LDCONFIG in
5806 [\\/]* | ?:[\\/]*)
5807 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in /sbin /usr/sbin $PATH
5813 IFS=$as_save_IFS
5814 test -z "$as_dir" && as_dir=.
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 break 2
5821 done
5822 done
5823 IFS=$as_save_IFS
5825 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5827 esac
5829 LDCONFIG=$ac_cv_path_LDCONFIG
5830 if test -n "$LDCONFIG"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5832 $as_echo "$LDCONFIG" >&6; }
5833 else
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5839 for ac_prog in msgfmt
5841 # Extract the first word of "$ac_prog", so it can be a program name with args.
5842 set dummy $ac_prog; ac_word=$2
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844 $as_echo_n "checking for $ac_word... " >&6; }
5845 if ${ac_cv_prog_MSGFMT+:} false; then :
5846 $as_echo_n "(cached) " >&6
5847 else
5848 if test -n "$MSGFMT"; then
5849 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5850 else
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_prog_MSGFMT="$ac_prog"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5868 MSGFMT=$ac_cv_prog_MSGFMT
5869 if test -n "$MSGFMT"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5871 $as_echo "$MSGFMT" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874 $as_echo "no" >&6; }
5878 test -n "$MSGFMT" && break
5879 done
5880 test -n "$MSGFMT" || MSGFMT="false"
5882 if ${ac_tool_prefix+:} false; then :
5883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5886 $as_echo_n "checking for $ac_word... " >&6; }
5887 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5888 $as_echo_n "(cached) " >&6
5889 else
5890 if test -n "$PKG_CONFIG"; then
5891 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5892 else
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH
5896 IFS=$as_save_IFS
5897 test -z "$as_dir" && as_dir=.
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5900 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 break 2
5904 done
5905 done
5906 IFS=$as_save_IFS
5910 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5911 if test -n "$PKG_CONFIG"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5913 $as_echo "$PKG_CONFIG" >&6; }
5914 else
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5916 $as_echo "no" >&6; }
5921 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5922 if test "x$cross_compiling" = xyes; then :
5924 else
5925 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5926 # Extract the first word of "pkg-config", so it can be a program name with args.
5927 set dummy pkg-config; ac_word=$2
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929 $as_echo_n "checking for $ac_word... " >&6; }
5930 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 if test -n "$PKG_CONFIG"; then
5934 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5935 else
5936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937 for as_dir in $PATH
5939 IFS=$as_save_IFS
5940 test -z "$as_dir" && as_dir=.
5941 for ac_exec_ext in '' $ac_executable_extensions; do
5942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943 ac_cv_prog_PKG_CONFIG="pkg-config"
5944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 break 2
5947 done
5948 done
5949 IFS=$as_save_IFS
5953 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5954 if test -n "$PKG_CONFIG"; then
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5956 $as_echo "$PKG_CONFIG" >&6; }
5957 else
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5964 else
5965 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5968 if test "x$enable_maintainer_mode" != "xyes"
5969 then
5970 FONTFORGE=""
5971 RSVG=""
5972 CONVERT=""
5973 ICOTOOL=""
5974 else
5975 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5976 for ac_prog in fontforge
5978 # Extract the first word of "$ac_prog", so it can be a program name with args.
5979 set dummy $ac_prog; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if ${ac_cv_prog_FONTFORGE+:} false; then :
5983 $as_echo_n "(cached) " >&6
5984 else
5985 if test -n "$FONTFORGE"; then
5986 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5991 IFS=$as_save_IFS
5992 test -z "$as_dir" && as_dir=.
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_FONTFORGE="$ac_prog"
5996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 FONTFORGE=$ac_cv_prog_FONTFORGE
6006 if test -n "$FONTFORGE"; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6008 $as_echo "$FONTFORGE" >&6; }
6009 else
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6015 test -n "$FONTFORGE" && break
6016 done
6017 test -n "$FONTFORGE" || FONTFORGE="false"
6019 for ac_prog in rsvg-convert rsvg
6021 # Extract the first word of "$ac_prog", so it can be a program name with args.
6022 set dummy $ac_prog; ac_word=$2
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 $as_echo_n "checking for $ac_word... " >&6; }
6025 if ${ac_cv_prog_RSVG+:} false; then :
6026 $as_echo_n "(cached) " >&6
6027 else
6028 if test -n "$RSVG"; then
6029 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6030 else
6031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032 for as_dir in $PATH
6034 IFS=$as_save_IFS
6035 test -z "$as_dir" && as_dir=.
6036 for ac_exec_ext in '' $ac_executable_extensions; do
6037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6038 ac_cv_prog_RSVG="$ac_prog"
6039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6040 break 2
6042 done
6043 done
6044 IFS=$as_save_IFS
6048 RSVG=$ac_cv_prog_RSVG
6049 if test -n "$RSVG"; then
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6051 $as_echo "$RSVG" >&6; }
6052 else
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6054 $as_echo "no" >&6; }
6058 test -n "$RSVG" && break
6059 done
6060 test -n "$RSVG" || RSVG="false"
6062 for ac_prog in convert
6064 # Extract the first word of "$ac_prog", so it can be a program name with args.
6065 set dummy $ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_CONVERT+:} false; then :
6069 $as_echo_n "(cached) " >&6
6070 else
6071 if test -n "$CONVERT"; then
6072 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6073 else
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 for as_dir in $PATH
6077 IFS=$as_save_IFS
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_CONVERT="$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 break 2
6085 done
6086 done
6087 IFS=$as_save_IFS
6091 CONVERT=$ac_cv_prog_CONVERT
6092 if test -n "$CONVERT"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6094 $as_echo "$CONVERT" >&6; }
6095 else
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$CONVERT" && break
6102 done
6103 test -n "$CONVERT" || CONVERT="false"
6105 for ac_prog in icotool
6107 # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 set dummy $ac_prog; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ICOTOOL+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ICOTOOL"; then
6115 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ICOTOOL="$ac_prog"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ICOTOOL=$ac_cv_prog_ICOTOOL
6135 if test -n "$ICOTOOL"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6137 $as_echo "$ICOTOOL" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6144 test -n "$ICOTOOL" && break
6145 done
6146 test -n "$ICOTOOL" || ICOTOOL="false"
6148 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6149 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6151 if test "$CONVERT" = false
6152 then
6153 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6156 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6157 convert_version=`convert --version | head -n1`
6158 if test "x$convert_version" != "x"
6159 then
6160 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6161 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6162 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6163 then
6164 CONVERT=false
6167 if test "$CONVERT" = false
6168 then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6170 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6171 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6174 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6178 if test "$ICOTOOL" = false
6179 then
6180 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6183 $as_echo_n "checking for recent enough icotool... " >&6; }
6184 icotool_version=`icotool --version | head -n1`
6185 if test "x$icotool_version" != "x"
6186 then
6187 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6188 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6189 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6190 then
6191 ICOTOOL=false
6192 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6195 if test "$ICOTOOL" = false
6196 then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6198 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6199 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6200 else
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6202 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6206 with_gettext=yes
6207 with_gettextpo=yes
6208 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6211 test "x$with_gettext" != xno || MSGFMT=false
6212 if test "$MSGFMT" != "false"
6213 then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6215 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6216 cat >conftest.po <<EOF
6217 # comment
6218 msgctxt "ctxt"
6219 msgid "id"
6220 msgstr "str"
6222 if $MSGFMT -o /dev/null conftest.po 2>&5
6223 then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6225 $as_echo "yes" >&6; }
6226 else
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6228 $as_echo "no" >&6; }
6229 MSGFMT=false
6232 if test "$MSGFMT" = false; then :
6233 case "x$with_gettext" in
6234 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6235 xno) ;;
6236 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6237 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6238 esac
6239 enable_po=${enable_po:-no}
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6244 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6245 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 ac_check_lib_save_LIBS=$LIBS
6249 LIBS="-li386 $LIBS"
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6253 /* Override any GCC internal prototype to avoid an error.
6254 Use char because int might match the return type of a GCC
6255 builtin and then its argument prototype would still apply. */
6256 #ifdef __cplusplus
6257 extern "C"
6258 #endif
6259 char i386_set_ldt ();
6261 main ()
6263 return i386_set_ldt ();
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_link "$LINENO"; then :
6269 ac_cv_lib_i386_i386_set_ldt=yes
6270 else
6271 ac_cv_lib_i386_i386_set_ldt=no
6273 rm -f core conftest.err conftest.$ac_objext \
6274 conftest$ac_exeext conftest.$ac_ext
6275 LIBS=$ac_check_lib_save_LIBS
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6278 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6279 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6280 cat >>confdefs.h <<_ACEOF
6281 #define HAVE_LIBI386 1
6282 _ACEOF
6284 LIBS="-li386 $LIBS"
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6289 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6290 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 ac_check_lib_save_LIBS=$LIBS
6294 LIBS="-lossaudio $LIBS"
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6298 /* Override any GCC internal prototype to avoid an error.
6299 Use char because int might match the return type of a GCC
6300 builtin and then its argument prototype would still apply. */
6301 #ifdef __cplusplus
6302 extern "C"
6303 #endif
6304 char _oss_ioctl ();
6306 main ()
6308 return _oss_ioctl ();
6310 return 0;
6312 _ACEOF
6313 if ac_fn_c_try_link "$LINENO"; then :
6314 ac_cv_lib_ossaudio__oss_ioctl=yes
6315 else
6316 ac_cv_lib_ossaudio__oss_ioctl=no
6318 rm -f core conftest.err conftest.$ac_objext \
6319 conftest$ac_exeext conftest.$ac_ext
6320 LIBS=$ac_check_lib_save_LIBS
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6323 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6324 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6325 cat >>confdefs.h <<_ACEOF
6326 #define HAVE_LIBOSSAUDIO 1
6327 _ACEOF
6329 LIBS="-lossaudio $LIBS"
6334 OPENGL_LIBS=""
6338 # Check whether --enable-largefile was given.
6339 if test "${enable_largefile+set}" = set; then :
6340 enableval=$enable_largefile;
6343 if test "$enable_largefile" != no; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6346 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6347 if ${ac_cv_sys_largefile_CC+:} false; then :
6348 $as_echo_n "(cached) " >&6
6349 else
6350 ac_cv_sys_largefile_CC=no
6351 if test "$GCC" != yes; then
6352 ac_save_CC=$CC
6353 while :; do
6354 # IRIX 6.2 and later do not support large files by default,
6355 # so use the C compiler's -n32 option if that helps.
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6366 ? 1 : -1];
6368 main ()
6372 return 0;
6374 _ACEOF
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 break
6378 rm -f core conftest.err conftest.$ac_objext
6379 CC="$CC -n32"
6380 if ac_fn_c_try_compile "$LINENO"; then :
6381 ac_cv_sys_largefile_CC=' -n32'; break
6383 rm -f core conftest.err conftest.$ac_objext
6384 break
6385 done
6386 CC=$ac_save_CC
6387 rm -f conftest.$ac_ext
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6391 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6392 if test "$ac_cv_sys_largefile_CC" != no; then
6393 CC=$CC$ac_cv_sys_largefile_CC
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6397 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6398 if ${ac_cv_sys_file_offset_bits+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 while :; do
6402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 /* end confdefs.h. */
6404 #include <sys/types.h>
6405 /* Check that off_t can represent 2**63 - 1 correctly.
6406 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6407 since some C++ compilers masquerading as C compilers
6408 incorrectly reject 9223372036854775807. */
6409 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6410 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6411 && LARGE_OFF_T % 2147483647 == 1)
6412 ? 1 : -1];
6414 main ()
6418 return 0;
6420 _ACEOF
6421 if ac_fn_c_try_compile "$LINENO"; then :
6422 ac_cv_sys_file_offset_bits=no; break
6424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #define _FILE_OFFSET_BITS 64
6428 #include <sys/types.h>
6429 /* Check that off_t can represent 2**63 - 1 correctly.
6430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6431 since some C++ compilers masquerading as C compilers
6432 incorrectly reject 9223372036854775807. */
6433 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6435 && LARGE_OFF_T % 2147483647 == 1)
6436 ? 1 : -1];
6438 main ()
6442 return 0;
6444 _ACEOF
6445 if ac_fn_c_try_compile "$LINENO"; then :
6446 ac_cv_sys_file_offset_bits=64; break
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449 ac_cv_sys_file_offset_bits=unknown
6450 break
6451 done
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6454 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6455 case $ac_cv_sys_file_offset_bits in #(
6456 no | unknown) ;;
6458 cat >>confdefs.h <<_ACEOF
6459 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6460 _ACEOF
6462 esac
6463 rm -rf conftest*
6464 if test $ac_cv_sys_file_offset_bits = unknown; then
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6466 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6467 if ${ac_cv_sys_large_files+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 while :; do
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <sys/types.h>
6474 /* Check that off_t can represent 2**63 - 1 correctly.
6475 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6476 since some C++ compilers masquerading as C compilers
6477 incorrectly reject 9223372036854775807. */
6478 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6479 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6480 && LARGE_OFF_T % 2147483647 == 1)
6481 ? 1 : -1];
6483 main ()
6487 return 0;
6489 _ACEOF
6490 if ac_fn_c_try_compile "$LINENO"; then :
6491 ac_cv_sys_large_files=no; break
6493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 /* end confdefs.h. */
6496 #define _LARGE_FILES 1
6497 #include <sys/types.h>
6498 /* Check that off_t can represent 2**63 - 1 correctly.
6499 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6500 since some C++ compilers masquerading as C compilers
6501 incorrectly reject 9223372036854775807. */
6502 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6503 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6504 && LARGE_OFF_T % 2147483647 == 1)
6505 ? 1 : -1];
6507 main ()
6511 return 0;
6513 _ACEOF
6514 if ac_fn_c_try_compile "$LINENO"; then :
6515 ac_cv_sys_large_files=1; break
6517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6518 ac_cv_sys_large_files=unknown
6519 break
6520 done
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6523 $as_echo "$ac_cv_sys_large_files" >&6; }
6524 case $ac_cv_sys_large_files in #(
6525 no | unknown) ;;
6527 cat >>confdefs.h <<_ACEOF
6528 #define _LARGE_FILES $ac_cv_sys_large_files
6529 _ACEOF
6531 esac
6532 rm -rf conftest*
6539 ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6545 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6546 # On Suns, sometimes $CPP names a directory.
6547 if test -n "$CPP" && test -d "$CPP"; then
6548 CPP=
6550 if test -z "$CPP"; then
6551 if ${ac_cv_prog_CPP+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 # Double quotes because CPP needs to be expanded
6555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6557 ac_preproc_ok=false
6558 for ac_c_preproc_warn_flag in '' yes
6560 # Use a header file that comes with gcc, so configuring glibc
6561 # with a fresh cross-compiler works.
6562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6563 # <limits.h> exists even on freestanding compilers.
6564 # On the NeXT, cc -E runs the code through the compiler's parser,
6565 # not just through cpp. "Syntax error" is here to catch this case.
6566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6567 /* end confdefs.h. */
6568 #ifdef __STDC__
6569 # include <limits.h>
6570 #else
6571 # include <assert.h>
6572 #endif
6573 Syntax error
6574 _ACEOF
6575 if ac_fn_c_try_cpp "$LINENO"; then :
6577 else
6578 # Broken: fails on valid input.
6579 continue
6581 rm -f conftest.err conftest.i conftest.$ac_ext
6583 # OK, works on sane cases. Now check whether nonexistent headers
6584 # can be detected and how.
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <ac_nonexistent.h>
6588 _ACEOF
6589 if ac_fn_c_try_cpp "$LINENO"; then :
6590 # Broken: success on invalid input.
6591 continue
6592 else
6593 # Passes both tests.
6594 ac_preproc_ok=:
6595 break
6597 rm -f conftest.err conftest.i conftest.$ac_ext
6599 done
6600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6601 rm -f conftest.i conftest.err conftest.$ac_ext
6602 if $ac_preproc_ok; then :
6603 break
6606 done
6607 ac_cv_prog_CPP=$CPP
6610 CPP=$ac_cv_prog_CPP
6611 else
6612 ac_cv_prog_CPP=$CPP
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6615 $as_echo "$CPP" >&6; }
6616 ac_preproc_ok=false
6617 for ac_c_preproc_warn_flag in '' yes
6619 # Use a header file that comes with gcc, so configuring glibc
6620 # with a fresh cross-compiler works.
6621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6622 # <limits.h> exists even on freestanding compilers.
6623 # On the NeXT, cc -E runs the code through the compiler's parser,
6624 # not just through cpp. "Syntax error" is here to catch this case.
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6627 #ifdef __STDC__
6628 # include <limits.h>
6629 #else
6630 # include <assert.h>
6631 #endif
6632 Syntax error
6633 _ACEOF
6634 if ac_fn_c_try_cpp "$LINENO"; then :
6636 else
6637 # Broken: fails on valid input.
6638 continue
6640 rm -f conftest.err conftest.i conftest.$ac_ext
6642 # OK, works on sane cases. Now check whether nonexistent headers
6643 # can be detected and how.
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #include <ac_nonexistent.h>
6647 _ACEOF
6648 if ac_fn_c_try_cpp "$LINENO"; then :
6649 # Broken: success on invalid input.
6650 continue
6651 else
6652 # Passes both tests.
6653 ac_preproc_ok=:
6654 break
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 done
6659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6660 rm -f conftest.i conftest.err conftest.$ac_ext
6661 if $ac_preproc_ok; then :
6663 else
6664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6666 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6667 See \`config.log' for more details" "$LINENO" 5; }
6670 ac_ext=c
6671 ac_cpp='$CPP $CPPFLAGS'
6672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6678 $as_echo_n "checking for ANSI C header files... " >&6; }
6679 if ${ac_cv_header_stdc+:} false; then :
6680 $as_echo_n "(cached) " >&6
6681 else
6682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6683 /* end confdefs.h. */
6684 #include <stdlib.h>
6685 #include <stdarg.h>
6686 #include <string.h>
6687 #include <float.h>
6690 main ()
6694 return 0;
6696 _ACEOF
6697 if ac_fn_c_try_compile "$LINENO"; then :
6698 ac_cv_header_stdc=yes
6699 else
6700 ac_cv_header_stdc=no
6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6704 if test $ac_cv_header_stdc = yes; then
6705 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6707 /* end confdefs.h. */
6708 #include <string.h>
6710 _ACEOF
6711 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6712 $EGREP "memchr" >/dev/null 2>&1; then :
6714 else
6715 ac_cv_header_stdc=no
6717 rm -f conftest*
6721 if test $ac_cv_header_stdc = yes; then
6722 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <stdlib.h>
6727 _ACEOF
6728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6729 $EGREP "free" >/dev/null 2>&1; then :
6731 else
6732 ac_cv_header_stdc=no
6734 rm -f conftest*
6738 if test $ac_cv_header_stdc = yes; then
6739 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6740 if test "$cross_compiling" = yes; then :
6742 else
6743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6744 /* end confdefs.h. */
6745 #include <ctype.h>
6746 #include <stdlib.h>
6747 #if ((' ' & 0x0FF) == 0x020)
6748 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6749 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6750 #else
6751 # define ISLOWER(c) \
6752 (('a' <= (c) && (c) <= 'i') \
6753 || ('j' <= (c) && (c) <= 'r') \
6754 || ('s' <= (c) && (c) <= 'z'))
6755 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6756 #endif
6758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6760 main ()
6762 int i;
6763 for (i = 0; i < 256; i++)
6764 if (XOR (islower (i), ISLOWER (i))
6765 || toupper (i) != TOUPPER (i))
6766 return 2;
6767 return 0;
6769 _ACEOF
6770 if ac_fn_c_try_run "$LINENO"; then :
6772 else
6773 ac_cv_header_stdc=no
6775 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6776 conftest.$ac_objext conftest.beam conftest.$ac_ext
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6782 $as_echo "$ac_cv_header_stdc" >&6; }
6783 if test $ac_cv_header_stdc = yes; then
6785 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6789 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6790 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6791 inttypes.h stdint.h unistd.h
6792 do :
6793 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6794 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6796 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6797 cat >>confdefs.h <<_ACEOF
6798 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6799 _ACEOF
6803 done
6806 for ac_header in \
6807 AL/al.h \
6808 ApplicationServices/ApplicationServices.h \
6809 AudioToolbox/AudioConverter.h \
6810 AudioUnit/AudioUnit.h \
6811 AudioUnit/AudioComponent.h \
6812 CL/cl.h \
6813 Carbon/Carbon.h \
6814 CommonCrypto/CommonDigest.h \
6815 CoreAudio/CoreAudio.h \
6816 CoreServices/CoreServices.h \
6817 DiskArbitration/DiskArbitration.h \
6818 IOKit/IOKitLib.h \
6819 IOKit/hid/IOHIDLib.h \
6820 OpenAL/al.h \
6821 OpenCL/opencl.h \
6822 QuickTime/ImageCompression.h \
6823 Security/Security.h \
6824 alias.h \
6825 alsa/asoundlib.h \
6826 arpa/inet.h \
6827 arpa/nameser.h \
6828 asm/types.h \
6829 asm/user.h \
6830 curses.h \
6831 direct.h \
6832 dirent.h \
6833 dlfcn.h \
6834 elf.h \
6835 float.h \
6836 fnmatch.h \
6837 getopt.h \
6838 gettext-po.h \
6839 grp.h \
6840 gsm.h \
6841 gsm/gsm.h \
6842 ieeefp.h \
6843 inet/mib2.h \
6844 io.h \
6845 kstat.h \
6846 lber.h \
6847 ldap.h \
6848 libproc.h \
6849 link.h \
6850 linux/cdrom.h \
6851 linux/compiler.h \
6852 linux/filter.h \
6853 linux/hdreg.h \
6854 linux/hidraw.h \
6855 linux/input.h \
6856 linux/ioctl.h \
6857 linux/joystick.h \
6858 linux/major.h \
6859 linux/param.h \
6860 linux/serial.h \
6861 linux/types.h \
6862 linux/ucdrom.h \
6863 lwp.h \
6864 mach-o/nlist.h \
6865 mach-o/loader.h \
6866 mach/mach.h \
6867 mach/machine.h \
6868 machine/cpu.h \
6869 machine/limits.h \
6870 machine/sysarch.h \
6871 mntent.h \
6872 ncurses.h \
6873 netdb.h \
6874 netinet/in.h \
6875 netinet/in_systm.h \
6876 netinet/tcp.h \
6877 netinet/tcp_fsm.h \
6878 pcap/pcap.h \
6879 poll.h \
6880 port.h \
6881 process.h \
6882 pthread.h \
6883 pwd.h \
6884 sched.h \
6885 scsi/scsi.h \
6886 scsi/scsi_ioctl.h \
6887 scsi/sg.h \
6888 stdbool.h \
6889 stdint.h \
6890 stropts.h \
6891 sys/asoundlib.h \
6892 sys/attr.h \
6893 sys/auxv.h \
6894 sys/cdio.h \
6895 sys/elf32.h \
6896 sys/epoll.h \
6897 sys/event.h \
6898 sys/exec_elf.h \
6899 sys/filio.h \
6900 sys/inotify.h \
6901 sys/ioctl.h \
6902 sys/ipc.h \
6903 sys/limits.h \
6904 sys/link.h \
6905 sys/mman.h \
6906 sys/modem.h \
6907 sys/msg.h \
6908 sys/mtio.h \
6909 sys/param.h \
6910 sys/poll.h \
6911 sys/prctl.h \
6912 sys/protosw.h \
6913 sys/ptrace.h \
6914 sys/queue.h \
6915 sys/resource.h \
6916 sys/scsiio.h \
6917 sys/shm.h \
6918 sys/signal.h \
6919 sys/socket.h \
6920 sys/socketvar.h \
6921 sys/sockio.h \
6922 sys/statvfs.h \
6923 sys/strtio.h \
6924 sys/syscall.h \
6925 sys/sysinfo.h \
6926 sys/tihdr.h \
6927 sys/time.h \
6928 sys/timeout.h \
6929 sys/times.h \
6930 sys/uio.h \
6931 sys/user.h \
6932 sys/utsname.h \
6933 sys/vm86.h \
6934 sys/vnode.h \
6935 sys/wait.h \
6936 syscall.h \
6937 termios.h \
6938 unistd.h \
6939 utime.h \
6940 valgrind/memcheck.h \
6941 valgrind/valgrind.h \
6942 zlib.h
6944 do :
6945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6946 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6948 cat >>confdefs.h <<_ACEOF
6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950 _ACEOF
6954 done
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6957 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6958 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6959 $as_echo_n "(cached) " >&6
6960 else
6961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6962 /* end confdefs.h. */
6963 #include <sys/types.h>
6965 main ()
6967 return makedev(0, 0);
6969 return 0;
6971 _ACEOF
6972 if ac_fn_c_try_link "$LINENO"; then :
6973 ac_cv_header_sys_types_h_makedev=yes
6974 else
6975 ac_cv_header_sys_types_h_makedev=no
6977 rm -f core conftest.err conftest.$ac_objext \
6978 conftest$ac_exeext conftest.$ac_ext
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6982 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6984 if test $ac_cv_header_sys_types_h_makedev = no; then
6985 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6986 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6988 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6994 if test $ac_cv_header_sys_mkdev_h = no; then
6995 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6996 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6998 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7007 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7008 if ${ac_cv_header_stat_broken+:} false; then :
7009 $as_echo_n "(cached) " >&6
7010 else
7011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7013 #include <sys/types.h>
7014 #include <sys/stat.h>
7016 #if defined S_ISBLK && defined S_IFDIR
7017 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7018 #endif
7020 #if defined S_ISBLK && defined S_IFCHR
7021 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7022 #endif
7024 #if defined S_ISLNK && defined S_IFREG
7025 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7026 #endif
7028 #if defined S_ISSOCK && defined S_IFREG
7029 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7030 #endif
7032 _ACEOF
7033 if ac_fn_c_try_compile "$LINENO"; then :
7034 ac_cv_header_stat_broken=no
7035 else
7036 ac_cv_header_stat_broken=yes
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7041 $as_echo "$ac_cv_header_stat_broken" >&6; }
7042 if test $ac_cv_header_stat_broken = yes; then
7044 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7050 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7051 do :
7052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7053 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7054 #ifdef HAVE_SYS_PARAM_H
7055 # include <sys/param.h>
7056 #endif
7058 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7059 cat >>confdefs.h <<_ACEOF
7060 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7061 _ACEOF
7065 done
7068 for ac_header in \
7069 netinet/ip.h \
7070 net/if.h \
7071 net/if_arp.h \
7072 net/if_dl.h \
7073 net/if_types.h \
7074 net/route.h \
7075 netinet/if_ether.h \
7076 netinet/if_inarp.h \
7077 netinet/in_pcb.h \
7078 netinet/ip_icmp.h \
7079 netinet/ip_var.h \
7080 netinet/udp.h \
7081 netipx/ipx.h \
7082 sys/un.h \
7084 do :
7085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7086 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7087 #ifdef HAVE_SYS_SOCKET_H
7088 # include <sys/socket.h>
7089 #endif
7090 #ifdef HAVE_SYS_SOCKETVAR_H
7091 # include <sys/socketvar.h>
7092 #endif
7093 #ifdef HAVE_NET_ROUTE_H
7094 # include <net/route.h>
7095 #endif
7096 #ifdef HAVE_NETINET_IN_H
7097 # include <netinet/in.h>
7098 #endif
7099 #ifdef HAVE_NETINET_IN_SYSTM_H
7100 # include <netinet/in_systm.h>
7101 #endif
7102 #ifdef HAVE_NET_IF_H
7103 # include <net/if.h>
7104 #endif
7105 #ifdef HAVE_NETINET_IP_H
7106 # include <netinet/ip.h>
7107 #endif
7109 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7110 cat >>confdefs.h <<_ACEOF
7111 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7112 _ACEOF
7116 done
7119 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7120 do :
7121 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7122 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7123 #ifdef HAVE_ALIAS_H
7124 # include <alias.h>
7125 #endif
7126 #ifdef HAVE_SYS_SOCKET_H
7127 # include <sys/socket.h>
7128 #endif
7129 #ifdef HAVE_SYS_SOCKETVAR_H
7130 # include <sys/socketvar.h>
7131 #endif
7132 #ifdef HAVE_SYS_TIMEOUT_H
7133 # include <sys/timeout.h>
7134 #endif
7135 #ifdef HAVE_NETINET_IN_H
7136 # include <netinet/in.h>
7137 #endif
7138 #ifdef HAVE_NETINET_IN_SYSTM_H
7139 # include <netinet/in_systm.h>
7140 #endif
7141 #ifdef HAVE_NETINET_IP_H
7142 # include <netinet/ip.h>
7143 #endif
7144 #ifdef HAVE_NETINET_IP_VAR_H
7145 # include <netinet/ip_var.h>
7146 #endif
7147 #ifdef HAVE_NETINET_IP_ICMP_H
7148 # include <netinet/ip_icmp.h>
7149 #endif
7150 #ifdef HAVE_NETINET_UDP_H
7151 # include <netinet/udp.h>
7152 #endif
7153 #ifdef HAVE_NETINET_TCP_H
7154 # include <netinet/tcp.h>
7155 #endif
7156 #ifdef HAVE_NETINET_TCP_TIMER_H
7157 #include <netinet/tcp_timer.h>
7158 #endif
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7163 _ACEOF
7167 done
7170 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7171 do :
7172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7173 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7174 #ifdef HAVE_ASM_TYPES_H
7175 # include <asm/types.h>
7176 #endif
7177 #ifdef HAVE_SYS_SOCKET_H
7178 # include <sys/socket.h>
7179 #endif
7180 #ifdef HAVE_LINUX_TYPES_H
7181 # include <linux/types.h>
7182 #endif
7184 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7185 cat >>confdefs.h <<_ACEOF
7186 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 _ACEOF
7191 done
7194 for ac_header in mach-o/dyld_images.h
7195 do :
7196 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7197 # include <stdbool.h>
7198 #endif
7199 #ifdef HAVE_STDINT_H
7200 # include <stdint.h>
7201 #endif
7203 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7206 _ACEOF
7210 done
7213 for ac_header in resolv.h
7214 do :
7215 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7216 #ifdef HAVE_SYS_SOCKET_H
7217 # include <sys/socket.h>
7218 #endif
7219 #ifdef HAVE_NETINET_IN_H
7220 # include <netinet/in.h>
7221 #endif
7222 #ifdef HAVE_ARPA_NAMESER_H
7223 # include <arpa/nameser.h>
7224 #endif
7226 if test "x$ac_cv_header_resolv_h" = xyes; then :
7227 cat >>confdefs.h <<_ACEOF
7228 #define HAVE_RESOLV_H 1
7229 _ACEOF
7233 done
7236 for ac_header in ifaddrs.h
7237 do :
7238 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7240 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define HAVE_IFADDRS_H 1
7243 _ACEOF
7247 done
7250 for ac_header in sys/ucontext.h
7251 do :
7252 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7254 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_SYS_UCONTEXT_H 1
7257 _ACEOF
7261 done
7264 for ac_header in sys/thr.h
7265 do :
7266 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7267 #ifdef HAVE_SYS_UCONTEXT_H
7268 #include <sys/ucontext.h>
7269 #endif
7271 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7272 cat >>confdefs.h <<_ACEOF
7273 #define HAVE_SYS_THR_H 1
7274 _ACEOF
7278 done
7281 for ac_header in pthread_np.h
7282 do :
7283 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7284 #include <pthread.h>
7285 #endif
7287 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7288 cat >>confdefs.h <<_ACEOF
7289 #define HAVE_PTHREAD_NP_H 1
7290 _ACEOF
7294 done
7297 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7298 do :
7299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7301 #include <sys/time.h>
7302 #endif
7303 #include <sys/types.h>
7304 #ifdef HAVE_ASM_TYPES_H
7305 #include <asm/types.h>
7306 #endif
7308 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7309 cat >>confdefs.h <<_ACEOF
7310 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7311 _ACEOF
7315 done
7318 for ac_header in libprocstat.h
7319 do :
7320 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7321 #include <sys/param.h>
7322 #endif
7323 #ifdef HAVE_SYS_QUEUE_H
7324 #include <sys/queue.h>
7325 #endif
7326 #ifdef HAVE_SYS_SOCKET_H
7327 #include <sys/socket.h>
7328 #endif
7330 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7331 cat >>confdefs.h <<_ACEOF
7332 #define HAVE_LIBPROCSTAT_H 1
7333 _ACEOF
7337 done
7341 dlldir="\${libdir}/wine"
7343 DLLFLAGS="-D_REENTRANT"
7345 LDRPATH_INSTALL=""
7347 LDRPATH_LOCAL=""
7349 LDEXECFLAGS=""
7351 WINELOADER_LDFLAGS=""
7353 LIBEXT="so"
7354 DLLEXT=".so"
7355 IMPLIBEXT="def"
7356 # Extract the first word of "ldd", so it can be a program name with args.
7357 set dummy ldd; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_path_LDD+:} false; then :
7361 $as_echo_n "(cached) " >&6
7362 else
7363 case $LDD in
7364 [\\/]* | ?:[\\/]*)
7365 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 as_dummy="/sbin:/usr/sbin:$PATH"
7370 for as_dir in $as_dummy
7372 IFS=$as_save_IFS
7373 test -z "$as_dir" && as_dir=.
7374 for ac_exec_ext in '' $ac_executable_extensions; do
7375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 break 2
7380 done
7381 done
7382 IFS=$as_save_IFS
7384 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7386 esac
7388 LDD=$ac_cv_path_LDD
7389 if test -n "$LDD"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7391 $as_echo "$LDD" >&6; }
7392 else
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7398 if test -n "$ac_tool_prefix"; then
7399 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7400 set dummy ${ac_tool_prefix}otool; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_OTOOL+:} false; then :
7404 $as_echo_n "(cached) " >&6
7405 else
7406 if test -n "$OTOOL"; then
7407 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7412 IFS=$as_save_IFS
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 break 2
7420 done
7421 done
7422 IFS=$as_save_IFS
7426 OTOOL=$ac_cv_prog_OTOOL
7427 if test -n "$OTOOL"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7429 $as_echo "$OTOOL" >&6; }
7430 else
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7437 if test -z "$ac_cv_prog_OTOOL"; then
7438 ac_ct_OTOOL=$OTOOL
7439 # Extract the first word of "otool", so it can be a program name with args.
7440 set dummy otool; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$ac_ct_OTOOL"; then
7447 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_ac_ct_OTOOL="otool"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7467 if test -n "$ac_ct_OTOOL"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7469 $as_echo "$ac_ct_OTOOL" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7475 if test "x$ac_ct_OTOOL" = x; then
7476 OTOOL="otool"
7477 else
7478 case $cross_compiling:$ac_tool_warned in
7479 yes:)
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7482 ac_tool_warned=yes ;;
7483 esac
7484 OTOOL=$ac_ct_OTOOL
7486 else
7487 OTOOL="$ac_cv_prog_OTOOL"
7490 if test -n "$ac_tool_prefix"; then
7491 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7492 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if ${ac_cv_prog_READELF+:} false; then :
7496 $as_echo_n "(cached) " >&6
7497 else
7498 if test -n "$READELF"; then
7499 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7500 else
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH
7504 IFS=$as_save_IFS
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7508 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7510 break 2
7512 done
7513 done
7514 IFS=$as_save_IFS
7518 READELF=$ac_cv_prog_READELF
7519 if test -n "$READELF"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7521 $as_echo "$READELF" >&6; }
7522 else
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7529 if test -z "$ac_cv_prog_READELF"; then
7530 ac_ct_READELF=$READELF
7531 # Extract the first word of "readelf", so it can be a program name with args.
7532 set dummy readelf; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$ac_ct_READELF"; then
7539 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_ac_ct_READELF="readelf"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7559 if test -n "$ac_ct_READELF"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7561 $as_echo "$ac_ct_READELF" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7567 if test "x$ac_ct_READELF" = x; then
7568 READELF="true"
7569 else
7570 case $cross_compiling:$ac_tool_warned in
7571 yes:)
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7574 ac_tool_warned=yes ;;
7575 esac
7576 READELF=$ac_ct_READELF
7578 else
7579 READELF="$ac_cv_prog_READELF"
7582 wine_rules_file=conf$$rules.make
7583 rm -f $wine_rules_file
7584 SUBDIRS=""
7586 DISABLED_SUBDIRS=""
7588 CONFIGURE_TARGETS=""
7590 ALL_TEST_RESOURCES=""
7593 wine_fn_append_file ()
7595 as_fn_append $1 " \\$as_nl $2"
7598 wine_fn_append_rule ()
7600 $as_echo "$1" >>$wine_rules_file
7603 wine_fn_has_flag ()
7605 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7608 wine_fn_all_rules ()
7610 wine_fn_append_file SUBDIRS $ac_dir
7611 wine_fn_append_rule \
7612 "all: $ac_dir
7613 .PHONY: $ac_dir
7614 $ac_dir: dummy
7615 @cd $ac_dir && \$(MAKE)"
7618 wine_fn_install_rules ()
7620 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7622 wine_fn_append_rule \
7623 ".PHONY: $ac_dir/install $ac_dir/uninstall
7624 $ac_dir/install:: $ac_dir
7625 @cd $ac_dir && \$(MAKE) install
7626 $ac_dir/uninstall::
7627 @cd $ac_dir && \$(MAKE) uninstall
7628 install:: $ac_dir/install
7629 __uninstall__: $ac_dir/uninstall"
7631 if wine_fn_has_flag install-lib
7632 then
7633 wine_fn_append_rule \
7634 ".PHONY: $ac_dir/install-lib
7635 $ac_dir/install-lib:: $ac_dir
7636 @cd $ac_dir && \$(MAKE) install-lib
7637 install-lib:: $ac_dir/install-lib"
7640 if wine_fn_has_flag install-dev
7641 then
7642 wine_fn_append_rule \
7643 ".PHONY: $ac_dir/install-dev
7644 $ac_dir/install-dev:: $ac_dir
7645 @cd $ac_dir && \$(MAKE) install-dev
7646 install-dev:: $ac_dir/install-dev"
7650 wine_fn_clean_rules ()
7652 ac_clean=$@
7654 if wine_fn_has_flag clean
7655 then
7656 wine_fn_append_rule \
7657 "$ac_dir/clean: dummy
7658 @cd $ac_dir && \$(MAKE) clean"
7659 else
7660 wine_fn_append_rule \
7661 "$ac_dir/clean: dummy
7662 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7664 wine_fn_append_rule \
7665 "__clean__: $ac_dir/clean
7666 .PHONY: $ac_dir/clean"
7669 wine_fn_disabled_rules ()
7671 ac_clean=$@
7673 wine_fn_append_file SUBDIRS $ac_dir
7674 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7675 wine_fn_append_rule \
7676 "__clean__: $ac_dir/clean
7677 .PHONY: $ac_dir/clean
7678 $ac_dir/clean: dummy
7679 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7682 wine_fn_config_makefile ()
7684 ac_dir=$1
7685 ac_enable=$2
7686 ac_flags=$3
7688 case $ac_dir in
7689 fonts|server) test -z "$with_wine64" || return ;;
7690 esac
7691 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7692 wine_fn_disabled_rules; return
7694 wine_fn_all_rules
7695 wine_fn_install_rules
7696 wine_fn_clean_rules
7699 wine_fn_config_lib ()
7701 ac_name=$1
7702 ac_flags=$2
7703 ac_dir=dlls/$ac_name
7704 ac_deps="include"
7706 if test "x$enable_tools" = xno; then :
7708 else
7709 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7711 wine_fn_all_rules
7712 wine_fn_clean_rules
7714 wine_fn_append_rule \
7715 ".PHONY: $ac_dir/install $ac_dir/uninstall
7716 $ac_dir/install:: $ac_dir
7717 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7718 $ac_dir/uninstall::
7719 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7720 install install-dev:: $ac_dir/install
7721 __uninstall__: $ac_dir/uninstall
7722 __builddeps__: $ac_dir
7723 $ac_dir: $ac_deps"
7726 wine_fn_config_dll ()
7728 ac_name=$1
7729 ac_dir=dlls/$ac_name
7730 ac_enable=$2
7731 ac_flags=$3
7732 ac_implib=${4:-$ac_name}
7733 ac_file=$ac_dir/lib$ac_implib
7734 ac_dll=$ac_name
7735 ac_deps="include"
7736 ac_implibflags=""
7738 if test "x$enable_tools" = xno; then :
7740 else
7741 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7743 case $ac_name in
7744 *.*16) ac_implibflags=" -m16" ;;
7745 *.*) ;;
7746 *) ac_dll=$ac_dll.dll ;;
7747 esac
7749 ac_clean=
7750 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7751 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7753 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7754 if test "$ac_enable" != enable_win16
7755 then
7756 wine_fn_clean_rules $ac_clean
7757 wine_fn_append_file SUBDIRS $ac_dir
7758 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7759 else
7760 wine_fn_disabled_rules $ac_clean
7761 return
7763 else
7764 wine_fn_all_rules
7765 wine_fn_clean_rules $ac_clean
7766 wine_fn_append_rule \
7767 "$ac_dir: __builddeps__
7768 manpages htmlpages sgmlpages xmlpages::
7769 @cd $ac_dir && \$(MAKE) \$@
7770 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7771 install install-lib:: $ac_dir/install-lib
7772 __uninstall__: $ac_dir/uninstall"
7773 if test -n "$DLLEXT"
7774 then
7775 wine_fn_append_rule \
7776 "$ac_dir/install-lib:: $ac_dir
7777 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7778 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7781 else
7782 wine_fn_append_rule \
7783 "$ac_dir/install-lib:: $ac_dir
7784 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7790 if wine_fn_has_flag staticimplib
7791 then
7792 wine_fn_append_rule \
7793 "__builddeps__: $ac_file.a
7794 $ac_file.a $ac_file.cross.a: $ac_deps
7795 $ac_file.a: dummy
7796 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7797 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7798 $ac_dir/install-dev:: $ac_file.a
7799 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7800 $ac_dir/uninstall::
7801 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7802 install install-dev:: $ac_dir/install-dev
7803 __uninstall__: $ac_dir/uninstall"
7805 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7806 then
7807 wine_fn_append_rule \
7808 "__builddeps__: $ac_file.cross.a
7809 $ac_file.cross.a: dummy
7810 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7813 elif wine_fn_has_flag implib
7814 then
7815 wine_fn_append_rule \
7816 "__builddeps__: $ac_file.$IMPLIBEXT
7817 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7818 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7819 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7820 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7821 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7822 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7823 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7824 $ac_dir/uninstall::
7825 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7826 install install-dev:: $ac_dir/install-dev
7827 __uninstall__: $ac_dir/uninstall"
7828 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7829 then
7830 wine_fn_append_rule \
7831 "__builddeps__: $ac_file.cross.a
7832 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7833 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7838 wine_fn_config_program ()
7840 ac_name=$1
7841 ac_dir=programs/$ac_name
7842 ac_enable=$2
7843 ac_flags=$3
7844 ac_program=$ac_name
7846 case $ac_name in
7847 *.*) ;;
7848 *) ac_program=$ac_program.exe ;;
7849 esac
7851 ac_clean=
7852 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7853 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7855 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7856 wine_fn_disabled_rules $ac_clean; return
7859 wine_fn_all_rules
7860 wine_fn_clean_rules $ac_clean
7861 wine_fn_append_rule "$ac_dir: __builddeps__"
7863 wine_fn_has_flag install || return
7864 wine_fn_append_rule \
7865 ".PHONY: $ac_dir/install $ac_dir/uninstall
7866 install install-lib:: $ac_dir/install
7867 __uninstall__: $ac_dir/uninstall"
7869 if test -n "$DLLEXT"
7870 then
7871 wine_fn_append_rule \
7872 "$ac_dir/install:: $ac_dir
7873 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7874 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7875 $ac_dir/uninstall::
7876 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7878 if test -z "$with_wine64" && wine_fn_has_flag installbin
7879 then
7880 wine_fn_append_rule \
7881 "$ac_dir/install:: __tooldeps__
7882 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7883 $ac_dir/uninstall::
7884 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7886 else
7887 wine_fn_append_rule \
7888 "$ac_dir/install:: $ac_dir
7889 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7894 if test -z "$with_wine64" && wine_fn_has_flag manpage
7895 then
7896 wine_fn_append_rule \
7897 "$ac_dir/install:: $ac_dir
7898 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7899 $ac_dir/uninstall::
7900 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7904 wine_fn_config_test ()
7906 ac_dir=$1
7907 ac_name=$2
7908 ac_flags=$3
7910 ac_clean=
7911 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7912 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7914 if test "x$enable_tests" = xno; then :
7915 wine_fn_disabled_rules $ac_clean; return
7918 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7919 wine_fn_all_rules
7920 wine_fn_clean_rules $ac_clean
7922 wine_fn_append_rule \
7923 "$ac_dir: __builddeps__
7924 programs/winetest: $ac_dir
7925 check test: $ac_dir/test
7926 .PHONY: $ac_dir/test
7927 $ac_dir/test: dummy
7928 @cd $ac_dir && \$(MAKE) test
7929 testclean::
7930 \$(RM) $ac_dir/*.ok"
7932 if test -n "$CROSSTARGET"
7933 then
7934 wine_fn_append_rule \
7935 "crosstest: $ac_dir/crosstest
7936 .PHONY: $ac_dir/crosstest
7937 $ac_dir/crosstest: __builddeps__ dummy
7938 @cd $ac_dir && \$(MAKE) crosstest"
7942 wine_fn_config_tool ()
7944 ac_dir=$1
7945 ac_flags=$2
7946 if test "x$enable_tools" = xno; then :
7947 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7950 wine_fn_all_rules
7951 wine_fn_install_rules
7952 wine_fn_clean_rules
7954 wine_fn_append_rule "__tooldeps__: $ac_dir"
7955 wine_fn_append_rule "$ac_dir: libs/port"
7956 case $ac_dir in
7957 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7958 esac
7961 wine_fn_config_symlink ()
7963 ac_linkdir=
7964 if test "x$1" = "x-d"
7965 then
7966 ac_linkdir=$2
7967 shift; shift
7969 ac_links=$@
7970 wine_fn_append_rule \
7971 "$ac_links:
7972 @./config.status \$@"
7973 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7974 test -n "$ac_linkdir" || return
7975 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7978 wine_binary="wine"
7979 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7980 WINELOADER_PROGRAMS="$wine_binary"
7982 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7984 case $host_os in
7985 cygwin*|mingw32*)
7986 if test -n "$ac_tool_prefix"; then
7987 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7988 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_DLLTOOL+:} false; then :
7992 $as_echo_n "(cached) " >&6
7993 else
7994 if test -n "$DLLTOOL"; then
7995 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7996 else
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 for as_dir in $PATH
8000 IFS=$as_save_IFS
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006 break 2
8008 done
8009 done
8010 IFS=$as_save_IFS
8014 DLLTOOL=$ac_cv_prog_DLLTOOL
8015 if test -n "$DLLTOOL"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8017 $as_echo "$DLLTOOL" >&6; }
8018 else
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test -z "$ac_cv_prog_DLLTOOL"; then
8026 ac_ct_DLLTOOL=$DLLTOOL
8027 # Extract the first word of "dlltool", so it can be a program name with args.
8028 set dummy dlltool; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$ac_ct_DLLTOOL"; then
8035 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8055 if test -n "$ac_ct_DLLTOOL"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8057 $as_echo "$ac_ct_DLLTOOL" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8063 if test "x$ac_ct_DLLTOOL" = x; then
8064 DLLTOOL="false"
8065 else
8066 case $cross_compiling:$ac_tool_warned in
8067 yes:)
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8070 ac_tool_warned=yes ;;
8071 esac
8072 DLLTOOL=$ac_ct_DLLTOOL
8074 else
8075 DLLTOOL="$ac_cv_prog_DLLTOOL"
8078 LIBEXT="dll"
8079 DLLEXT=""
8080 IMPLIBEXT="a"
8081 enable_iphlpapi=${enable_iphlpapi:-no}
8082 enable_kernel32=${enable_kernel32:-no}
8083 enable_msvcrt=${enable_msvcrt:-no}
8084 enable_ntdll=${enable_ntdll:-no}
8085 enable_ws2_32=${enable_ws2_32:-no}
8086 enable_loader=${enable_loader:-no}
8087 enable_server=${enable_server:-no}
8088 with_x=${with_x:-no}
8089 with_pthread=${with_pthread:-no}
8091 crtlibs=""
8092 case $host_os in
8093 mingw32*)
8094 crtlibs="-lmsvcrt"
8095 SOCKET_LIBS="-lws2_32"
8097 esac
8099 LIBWINE_SHAREDLIB="libwine.dll"
8101 LIBWINE_IMPORTLIB="libwine.a"
8103 LIBWINE_INSTALL_LIB="libwine.dll"
8105 LIBWINE_INSTALL_DEV="libwine.a"
8107 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8109 LIBWINE_DEPENDS="wine.def"
8113 darwin*|macosx*)
8114 for ac_header in libunwind.h
8115 do :
8116 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8117 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8118 cat >>confdefs.h <<_ACEOF
8119 #define HAVE_LIBUNWIND_H 1
8120 _ACEOF
8124 done
8126 LIBEXT="dylib"
8127 DLLFLAGS="$DLLFLAGS -fPIC"
8128 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8129 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8130 COREFOUNDATION_LIBS="-framework CoreFoundation"
8132 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8134 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8136 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8138 CORESERVICES_LIBS="-framework CoreServices"
8140 APPKIT_LIBS="-framework AppKit"
8142 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8144 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8145 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8146 $as_echo_n "(cached) " >&6
8147 else
8148 ac_wine_try_cflags_saved=$CFLAGS
8149 CFLAGS="$CFLAGS -Wl,-no_pie"
8150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151 /* end confdefs.h. */
8152 int main(int argc, char **argv) { return 0; }
8153 _ACEOF
8154 if ac_fn_c_try_link "$LINENO"; then :
8155 ac_cv_cflags__Wl__no_pie=yes
8156 else
8157 ac_cv_cflags__Wl__no_pie=no
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 CFLAGS=$ac_wine_try_cflags_saved
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8164 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8165 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8166 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8168 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8169 then
8170 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8173 if test "$ac_cv_header_Security_Security_h" = "yes"
8174 then
8175 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8177 ac_save_LIBS="$LIBS"
8178 LIBS="$LIBS $SECURITY_LIBS"
8179 for ac_func in SSLCopyPeerCertificates
8180 do :
8181 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8182 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8183 cat >>confdefs.h <<_ACEOF
8184 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8185 _ACEOF
8188 done
8190 LIBS="$ac_save_LIBS"
8191 with_gnutls=${with_gnutls:-no}
8193 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8194 then
8195 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8196 then
8197 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8199 else
8200 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8203 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8204 ac_save_LIBS="$LIBS"
8205 LIBS="$LIBS $COREAUDIO_LIBS"
8206 for ac_func in AUGraphAddNode
8207 do :
8208 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8209 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8210 cat >>confdefs.h <<_ACEOF
8211 #define HAVE_AUGRAPHADDNODE 1
8212 _ACEOF
8215 done
8217 LIBS="$ac_save_LIBS"
8219 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8220 then
8221 OPENAL_LIBS="-framework OpenAL"
8224 cat >>confdefs.h <<_ACEOF
8225 #define HAVE_OPENAL 1
8226 _ACEOF
8228 ac_cv_lib_openal=yes
8230 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8231 then
8232 OPENCL_LIBS="-framework OpenCL"
8234 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8236 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8237 then
8238 ac_save_LIBS="$LIBS"
8239 LIBS="$LIBS $IOKIT_LIBS"
8240 for ac_func in IOHIDManagerCreate
8241 do :
8242 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8243 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8244 cat >>confdefs.h <<_ACEOF
8245 #define HAVE_IOHIDMANAGERCREATE 1
8246 _ACEOF
8249 done
8251 LIBS="$ac_save_LIBS"
8253 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8254 then
8255 ac_save_LIBS="$LIBS"
8256 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8258 $as_echo_n "checking for the QuickTime framework... " >&6; }
8259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8260 /* end confdefs.h. */
8261 #include <QuickTime/ImageCompression.h>
8263 main ()
8265 CodecManagerVersion(NULL);
8267 return 0;
8269 _ACEOF
8270 if ac_fn_c_try_link "$LINENO"; then :
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8272 $as_echo "yes" >&6; }
8273 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8275 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8279 ac_cv_header_QuickTime_ImageCompression_h=no
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 LIBS="$ac_save_LIBS"
8285 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8286 then
8287 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8289 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8290 then
8291 CARBON_LIBS="-framework Carbon"
8295 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8296 then
8297 ac_save_LIBS="$LIBS"
8298 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8299 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8300 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8301 enable_winemac_drv=${enable_winemac_drv:-yes}
8304 LIBS="$ac_save_LIBS"
8307 if test "x$enable_win16" = "xyes"
8308 then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8310 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8311 if test "$cross_compiling" = yes; then :
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8313 $as_echo "cross-compiling, assuming yes" >&6; }
8314 else
8315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8316 /* end confdefs.h. */
8317 asm(".text\n"
8318 "bad:\tnop;nop\n"
8319 "good:\tnop;nop\n\t"
8320 ".globl _testfunc\n"
8321 "_testfunc:\tcallw good");
8322 extern void testfunc();
8324 main ()
8326 unsigned short *p = (unsigned short *)testfunc;
8327 return p[0] != 0xe866 || p[1] != 0xfffa
8329 return 0;
8331 _ACEOF
8332 if ac_fn_c_try_run "$LINENO"; then :
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8334 $as_echo "yes" >&6; }
8335 else
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337 $as_echo "no" >&6; }
8338 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
8340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8341 conftest.$ac_objext conftest.beam conftest.$ac_ext
8346 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8348 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8350 LIBWINE_INSTALL_DEV="libwine.dylib"
8352 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8354 WINELOADER_DEPENDS="wine_info.plist"
8358 linux-android*)
8359 DLLFLAGS="$DLLFLAGS -fPIC"
8360 LDEXECFLAGS="-Wl,-pie"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8363 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8374 else
8375 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8384 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8386 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8388 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8389 if eval \${$as_ac_var+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_wine_try_cflags_saved=$CFLAGS
8393 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8396 int main(int argc, char **argv) { return 0; }
8397 _ACEOF
8398 if ac_fn_c_try_link "$LINENO"; then :
8399 eval "$as_ac_var=yes"
8400 else
8401 eval "$as_ac_var=no"
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 CFLAGS=$ac_wine_try_cflags_saved
8407 eval ac_res=\$$as_ac_var
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8409 $as_echo "$ac_res" >&6; }
8410 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8411 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8412 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8413 else
8414 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8416 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8417 if eval \${$as_ac_var+:} false; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 ac_wine_try_cflags_saved=$CFLAGS
8421 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8423 /* end confdefs.h. */
8424 int main(int argc, char **argv) { return 0; }
8425 _ACEOF
8426 if ac_fn_c_try_link "$LINENO"; then :
8427 eval "$as_ac_var=yes"
8428 else
8429 eval "$as_ac_var=no"
8431 rm -f core conftest.err conftest.$ac_objext \
8432 conftest$ac_exeext conftest.$ac_ext
8433 CFLAGS=$ac_wine_try_cflags_saved
8435 eval ac_res=\$$as_ac_var
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8437 $as_echo "$ac_res" >&6; }
8438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8439 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8440 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8444 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8445 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 ac_wine_try_cflags_saved=$CFLAGS
8449 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8451 /* end confdefs.h. */
8452 int main(int argc, char **argv) { return 0; }
8453 _ACEOF
8454 if ac_fn_c_try_link "$LINENO"; then :
8455 ac_cv_cflags__Wl___enable_new_dtags=yes
8456 else
8457 ac_cv_cflags__Wl___enable_new_dtags=no
8459 rm -f core conftest.err conftest.$ac_objext \
8460 conftest$ac_exeext conftest.$ac_ext
8461 CFLAGS=$ac_wine_try_cflags_saved
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8464 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8465 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8466 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8469 LIBWINE_SHAREDLIB="libwine.so"
8471 LIBWINE_INSTALL_LIB="libwine.so"
8473 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8478 DLLFLAGS="$DLLFLAGS -fPIC"
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8480 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8481 if ${ac_cv_c_dll_gnuelf+:} false; then :
8482 $as_echo_n "(cached) " >&6
8483 else
8484 ac_wine_try_cflags_saved=$CFLAGS
8485 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 void myfunc() {}
8489 _ACEOF
8490 if ac_fn_c_try_link "$LINENO"; then :
8491 ac_cv_c_dll_gnuelf="yes"
8492 else
8493 ac_cv_c_dll_gnuelf="no"
8495 rm -f core conftest.err conftest.$ac_objext \
8496 conftest$ac_exeext conftest.$ac_ext
8497 CFLAGS=$ac_wine_try_cflags_saved
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8500 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8501 if test "$ac_cv_c_dll_gnuelf" = "yes"
8502 then
8503 LIBWINE_LDFLAGS="-shared"
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8505 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8506 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_wine_try_cflags_saved=$CFLAGS
8510 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8512 /* end confdefs.h. */
8513 int main(int argc, char **argv) { return 0; }
8514 _ACEOF
8515 if ac_fn_c_try_link "$LINENO"; then :
8516 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8517 else
8518 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8520 rm -f core conftest.err conftest.$ac_objext \
8521 conftest$ac_exeext conftest.$ac_ext
8522 CFLAGS=$ac_wine_try_cflags_saved
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8525 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8526 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8527 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8530 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8531 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8532 $as_echo_n "(cached) " >&6
8533 else
8534 ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 int main(int argc, char **argv) { return 0; }
8539 _ACEOF
8540 if ac_fn_c_try_link "$LINENO"; then :
8541 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8542 else
8543 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8545 rm -f core conftest.err conftest.$ac_objext \
8546 conftest$ac_exeext conftest.$ac_ext
8547 CFLAGS=$ac_wine_try_cflags_saved
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8550 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8551 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8552 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8556 echo '{ global: *; };' >conftest.map
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8558 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8559 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 ac_wine_try_cflags_saved=$CFLAGS
8563 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8565 /* end confdefs.h. */
8566 int main(int argc, char **argv) { return 0; }
8567 _ACEOF
8568 if ac_fn_c_try_link "$LINENO"; then :
8569 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8570 else
8571 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8573 rm -f core conftest.err conftest.$ac_objext \
8574 conftest$ac_exeext conftest.$ac_ext
8575 CFLAGS=$ac_wine_try_cflags_saved
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8578 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8579 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8580 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8582 rm -f conftest.map
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8585 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8586 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8587 $as_echo_n "(cached) " >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8593 int main(int argc, char **argv) { return 0; }
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8597 else
8598 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8600 rm -f core conftest.err conftest.$ac_objext \
8601 conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8605 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8606 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8607 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8610 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8612 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8613 if eval \${$as_ac_var+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 eval "$as_ac_var=yes"
8624 else
8625 eval "$as_ac_var=no"
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 eval ac_res=\$$as_ac_var
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8633 $as_echo "$ac_res" >&6; }
8634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8635 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8636 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8637 else
8638 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8640 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8641 if eval \${$as_ac_var+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 eval "$as_ac_var=yes"
8652 else
8653 eval "$as_ac_var=no"
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 eval ac_res=\$$as_ac_var
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8661 $as_echo "$ac_res" >&6; }
8662 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8663 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8664 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8670 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl___enable_new_dtags=yes
8681 else
8682 ac_cv_cflags__Wl___enable_new_dtags=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8689 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8690 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8691 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8694 case $host_cpu in
8695 *i[3456789]86* | x86_64)
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8697 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8698 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8699 $as_echo_n "(cached) " >&6
8700 else
8701 ac_wine_try_cflags_saved=$CFLAGS
8702 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8704 /* end confdefs.h. */
8705 int main(int argc, char **argv) { return 0; }
8706 _ACEOF
8707 if ac_fn_c_try_link "$LINENO"; then :
8708 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8709 else
8710 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8712 rm -f core conftest.err conftest.$ac_objext \
8713 conftest$ac_exeext conftest.$ac_ext
8714 CFLAGS=$ac_wine_try_cflags_saved
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8717 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8718 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8719 case $host_os in
8720 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8721 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8722 esac
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8725 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8726 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8737 else
8738 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8745 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8746 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8747 case $host_os in
8748 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8749 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8750 esac
8752 # Extract the first word of "prelink", so it can be a program name with args.
8753 set dummy prelink; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_PRELINK+:} false; then :
8757 $as_echo_n "(cached) " >&6
8758 else
8759 case $PRELINK in
8760 [\\/]* | ?:[\\/]*)
8761 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in /sbin /usr/sbin $PATH
8767 IFS=$as_save_IFS
8768 test -z "$as_dir" && as_dir=.
8769 for ac_exec_ext in '' $ac_executable_extensions; do
8770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773 break 2
8775 done
8776 done
8777 IFS=$as_save_IFS
8779 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8781 esac
8783 PRELINK=$ac_cv_path_PRELINK
8784 if test -n "$PRELINK"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8786 $as_echo "$PRELINK" >&6; }
8787 else
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8789 $as_echo "no" >&6; }
8793 if test "x$PRELINK" = xfalse
8794 then
8795 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8799 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8800 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 ac_wine_try_cflags_saved=$CFLAGS
8804 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8807 int main(int argc, char **argv) { return 0; }
8808 _ACEOF
8809 if ac_fn_c_try_link "$LINENO"; then :
8810 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8811 else
8812 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8814 rm -f core conftest.err conftest.$ac_objext \
8815 conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8819 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8820 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8821 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8824 esac
8826 else
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8828 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8829 if ${ac_cv_c_dll_unixware+:} false; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 ac_wine_try_cflags_saved=$CFLAGS
8833 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8836 void myfunc() {}
8837 _ACEOF
8838 if ac_fn_c_try_link "$LINENO"; then :
8839 ac_cv_c_dll_unixware="yes"
8840 else
8841 ac_cv_c_dll_unixware="no"
8843 rm -f core conftest.err conftest.$ac_objext \
8844 conftest$ac_exeext conftest.$ac_ext
8845 CFLAGS=$ac_wine_try_cflags_saved
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8848 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8849 if test "$ac_cv_c_dll_unixware" = "yes"
8850 then
8851 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8854 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8856 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8858 LIBWINE_INSTALL_DEV="libwine.so"
8860 LIBWINE_DEPENDS="wine.map"
8863 esac
8865 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8866 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8867 enable_winemac_drv=${enable_winemac_drv:-no}
8868 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8870 CROSSTARGET=""
8872 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8873 then
8874 case "$host_cpu" in
8875 arm*)
8876 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8877 i[3456789]86*)
8878 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
8879 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8880 mingw32-gcc" ;;
8881 x86_64)
8882 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
8883 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8885 ac_prefix_list="" ;;
8886 esac
8887 for ac_prog in $ac_prefix_list
8889 # Extract the first word of "$ac_prog", so it can be a program name with args.
8890 set dummy $ac_prog; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_CROSSCC+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 if test -n "$CROSSCC"; then
8897 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8898 else
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8900 for as_dir in $PATH
8902 IFS=$as_save_IFS
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_CROSSCC="$ac_prog"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8908 break 2
8910 done
8911 done
8912 IFS=$as_save_IFS
8916 CROSSCC=$ac_cv_prog_CROSSCC
8917 if test -n "$CROSSCC"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8919 $as_echo "$CROSSCC" >&6; }
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8926 test -n "$CROSSCC" && break
8927 done
8928 test -n "$CROSSCC" || CROSSCC="false"
8930 if test "$CROSSCC" != "false"
8931 then
8932 ac_save_CC="$CC"
8933 CC="$CROSSCC"
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8935 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8937 /* end confdefs.h. */
8940 main ()
8944 return 0;
8946 _ACEOF
8947 if ac_fn_c_try_compile "$LINENO"; then :
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8949 $as_echo "yes" >&6; }
8950 set x $CROSSCC
8951 shift
8952 while test $# -ge 1
8954 case "$1" in
8955 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8956 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8957 esac
8958 shift
8959 done
8960 else
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8962 $as_echo "no" >&6; }
8964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965 CC="$ac_save_CC"
8970 if test "$ac_cv_header_pthread_h" = "yes"
8971 then
8972 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8973 if test "x$ac_cv_func_pthread_create" = xyes; then :
8975 else
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8977 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8978 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8979 $as_echo_n "(cached) " >&6
8980 else
8981 ac_check_lib_save_LIBS=$LIBS
8982 LIBS="-lpthread $LIBS"
8983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8984 /* end confdefs.h. */
8986 /* Override any GCC internal prototype to avoid an error.
8987 Use char because int might match the return type of a GCC
8988 builtin and then its argument prototype would still apply. */
8989 #ifdef __cplusplus
8990 extern "C"
8991 #endif
8992 char pthread_create ();
8994 main ()
8996 return pthread_create ();
8998 return 0;
9000 _ACEOF
9001 if ac_fn_c_try_link "$LINENO"; then :
9002 ac_cv_lib_pthread_pthread_create=yes
9003 else
9004 ac_cv_lib_pthread_pthread_create=no
9006 rm -f core conftest.err conftest.$ac_objext \
9007 conftest$ac_exeext conftest.$ac_ext
9008 LIBS=$ac_check_lib_save_LIBS
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9011 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9012 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9013 PTHREAD_LIBS="-lpthread"
9020 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9021 case "x$with_pthread" in
9022 xno) ;;
9023 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9024 Wine cannot support threads without libpthread.
9025 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9026 esac
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9032 $as_echo_n "checking for X... " >&6; }
9035 # Check whether --with-x was given.
9036 if test "${with_x+set}" = set; then :
9037 withval=$with_x;
9040 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9041 if test "x$with_x" = xno; then
9042 # The user explicitly disabled X.
9043 have_x=disabled
9044 else
9045 case $x_includes,$x_libraries in #(
9046 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9047 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9048 $as_echo_n "(cached) " >&6
9049 else
9050 # One or both of the vars are not set, and there is no cached value.
9051 ac_x_includes=no ac_x_libraries=no
9052 rm -f -r conftest.dir
9053 if mkdir conftest.dir; then
9054 cd conftest.dir
9055 cat >Imakefile <<'_ACEOF'
9056 incroot:
9057 @echo incroot='${INCROOT}'
9058 usrlibdir:
9059 @echo usrlibdir='${USRLIBDIR}'
9060 libdir:
9061 @echo libdir='${LIBDIR}'
9062 _ACEOF
9063 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9065 for ac_var in incroot usrlibdir libdir; do
9066 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9067 done
9068 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9069 for ac_extension in a so sl dylib la dll; do
9070 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9071 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9072 ac_im_usrlibdir=$ac_im_libdir; break
9074 done
9075 # Screen out bogus values from the imake configuration. They are
9076 # bogus both because they are the default anyway, and because
9077 # using them would break gcc on systems where it needs fixed includes.
9078 case $ac_im_incroot in
9079 /usr/include) ac_x_includes= ;;
9080 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9081 esac
9082 case $ac_im_usrlibdir in
9083 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9084 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9085 esac
9087 cd ..
9088 rm -f -r conftest.dir
9091 # Standard set of common directories for X headers.
9092 # Check X11 before X11Rn because it is often a symlink to the current release.
9093 ac_x_header_dirs='
9094 /usr/X11/include
9095 /usr/X11R7/include
9096 /usr/X11R6/include
9097 /usr/X11R5/include
9098 /usr/X11R4/include
9100 /usr/include/X11
9101 /usr/include/X11R7
9102 /usr/include/X11R6
9103 /usr/include/X11R5
9104 /usr/include/X11R4
9106 /usr/local/X11/include
9107 /usr/local/X11R7/include
9108 /usr/local/X11R6/include
9109 /usr/local/X11R5/include
9110 /usr/local/X11R4/include
9112 /usr/local/include/X11
9113 /usr/local/include/X11R7
9114 /usr/local/include/X11R6
9115 /usr/local/include/X11R5
9116 /usr/local/include/X11R4
9118 /usr/X386/include
9119 /usr/x386/include
9120 /usr/XFree86/include/X11
9122 /usr/include
9123 /usr/local/include
9124 /usr/unsupported/include
9125 /usr/athena/include
9126 /usr/local/x11r5/include
9127 /usr/lpp/Xamples/include
9129 /usr/openwin/include
9130 /usr/openwin/share/include'
9132 if test "$ac_x_includes" = no; then
9133 # Guess where to find include files, by looking for Xlib.h.
9134 # First, try using that file with no special directory specified.
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9137 #include <X11/Xlib.h>
9138 _ACEOF
9139 if ac_fn_c_try_cpp "$LINENO"; then :
9140 # We can compile using X headers with no special include directory.
9141 ac_x_includes=
9142 else
9143 for ac_dir in $ac_x_header_dirs; do
9144 if test -r "$ac_dir/X11/Xlib.h"; then
9145 ac_x_includes=$ac_dir
9146 break
9148 done
9150 rm -f conftest.err conftest.i conftest.$ac_ext
9151 fi # $ac_x_includes = no
9153 if test "$ac_x_libraries" = no; then
9154 # Check for the libraries.
9155 # See if we find them without any special options.
9156 # Don't add to $LIBS permanently.
9157 ac_save_LIBS=$LIBS
9158 LIBS="-lX11 $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9161 #include <X11/Xlib.h>
9163 main ()
9165 XrmInitialize ()
9167 return 0;
9169 _ACEOF
9170 if ac_fn_c_try_link "$LINENO"; then :
9171 LIBS=$ac_save_LIBS
9172 # We can link X programs with no special library path.
9173 ac_x_libraries=
9174 else
9175 LIBS=$ac_save_LIBS
9176 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9178 # Don't even attempt the hair of trying to link an X program!
9179 for ac_extension in a so sl dylib la dll; do
9180 if test -r "$ac_dir/libX11.$ac_extension"; then
9181 ac_x_libraries=$ac_dir
9182 break 2
9184 done
9185 done
9187 rm -f core conftest.err conftest.$ac_objext \
9188 conftest$ac_exeext conftest.$ac_ext
9189 fi # $ac_x_libraries = no
9191 case $ac_x_includes,$ac_x_libraries in #(
9192 no,* | *,no | *\'*)
9193 # Didn't find X, or a directory has "'" in its name.
9194 ac_cv_have_x="have_x=no";; #(
9196 # Record where we found X for the cache.
9197 ac_cv_have_x="have_x=yes\
9198 ac_x_includes='$ac_x_includes'\
9199 ac_x_libraries='$ac_x_libraries'"
9200 esac
9202 ;; #(
9203 *) have_x=yes;;
9204 esac
9205 eval "$ac_cv_have_x"
9206 fi # $with_x != no
9208 if test "$have_x" != yes; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9210 $as_echo "$have_x" >&6; }
9211 no_x=yes
9212 else
9213 # If each of the values was on the command line, it overrides each guess.
9214 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9215 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9216 # Update the cache value to reflect the command line values.
9217 ac_cv_have_x="have_x=yes\
9218 ac_x_includes='$x_includes'\
9219 ac_x_libraries='$x_libraries'"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9221 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9224 if test "$no_x" = yes; then
9225 # Not all programs may use this symbol, but it does not hurt to define it.
9227 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9229 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9230 else
9231 if test -n "$x_includes"; then
9232 X_CFLAGS="$X_CFLAGS -I$x_includes"
9235 # It would also be nice to do this for all -L options, not just this one.
9236 if test -n "$x_libraries"; then
9237 X_LIBS="$X_LIBS -L$x_libraries"
9238 # For Solaris; some versions of Sun CC require a space after -R and
9239 # others require no space. Words are not sufficient . . . .
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9241 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9242 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9243 ac_xsave_c_werror_flag=$ac_c_werror_flag
9244 ac_c_werror_flag=yes
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9249 main ()
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9258 $as_echo "no" >&6; }
9259 X_LIBS="$X_LIBS -R$x_libraries"
9260 else
9261 LIBS="$ac_xsave_LIBS -R $x_libraries"
9262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9263 /* end confdefs.h. */
9266 main ()
9270 return 0;
9272 _ACEOF
9273 if ac_fn_c_try_link "$LINENO"; then :
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9275 $as_echo "yes" >&6; }
9276 X_LIBS="$X_LIBS -R $x_libraries"
9277 else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9279 $as_echo "neither works" >&6; }
9281 rm -f core conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9284 rm -f core conftest.err conftest.$ac_objext \
9285 conftest$ac_exeext conftest.$ac_ext
9286 ac_c_werror_flag=$ac_xsave_c_werror_flag
9287 LIBS=$ac_xsave_LIBS
9290 # Check for system-dependent libraries X programs must link with.
9291 # Do this before checking for the system-independent R6 libraries
9292 # (-lICE), since we may need -lsocket or whatever for X linking.
9294 if test "$ISC" = yes; then
9295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9296 else
9297 # Martyn Johnson says this is needed for Ultrix, if the X
9298 # libraries were built with DECnet support. And Karl Berry says
9299 # the Alpha needs dnet_stub (dnet does not exist).
9300 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char XOpenDisplay ();
9312 main ()
9314 return XOpenDisplay ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9321 else
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9323 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9324 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_check_lib_save_LIBS=$LIBS
9328 LIBS="-ldnet $LIBS"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9332 /* Override any GCC internal prototype to avoid an error.
9333 Use char because int might match the return type of a GCC
9334 builtin and then its argument prototype would still apply. */
9335 #ifdef __cplusplus
9336 extern "C"
9337 #endif
9338 char dnet_ntoa ();
9340 main ()
9342 return dnet_ntoa ();
9344 return 0;
9346 _ACEOF
9347 if ac_fn_c_try_link "$LINENO"; then :
9348 ac_cv_lib_dnet_dnet_ntoa=yes
9349 else
9350 ac_cv_lib_dnet_dnet_ntoa=no
9352 rm -f core conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9357 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9358 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9359 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9362 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9364 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9365 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-ldnet_stub $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char dnet_ntoa ();
9381 main ()
9383 return dnet_ntoa ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9390 else
9391 ac_cv_lib_dnet_stub_dnet_ntoa=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9398 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9399 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS="$ac_xsave_LIBS"
9409 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9410 # to get the SysV transport functions.
9411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9412 # needs -lnsl.
9413 # The nsl library prevents programs from opening the X display
9414 # on Irix 5.2, according to T.E. Dickey.
9415 # The functions gethostbyname, getservbyname, and inet_addr are
9416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9417 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9418 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9422 if test $ac_cv_func_gethostbyname = no; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9424 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9425 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_check_lib_save_LIBS=$LIBS
9429 LIBS="-lnsl $LIBS"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9433 /* Override any GCC internal prototype to avoid an error.
9434 Use char because int might match the return type of a GCC
9435 builtin and then its argument prototype would still apply. */
9436 #ifdef __cplusplus
9437 extern "C"
9438 #endif
9439 char gethostbyname ();
9441 main ()
9443 return gethostbyname ();
9445 return 0;
9447 _ACEOF
9448 if ac_fn_c_try_link "$LINENO"; then :
9449 ac_cv_lib_nsl_gethostbyname=yes
9450 else
9451 ac_cv_lib_nsl_gethostbyname=no
9453 rm -f core conftest.err conftest.$ac_objext \
9454 conftest$ac_exeext conftest.$ac_ext
9455 LIBS=$ac_check_lib_save_LIBS
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9458 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9459 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9463 if test $ac_cv_lib_nsl_gethostbyname = no; then
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9465 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9466 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_check_lib_save_LIBS=$LIBS
9470 LIBS="-lbsd $LIBS"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9474 /* Override any GCC internal prototype to avoid an error.
9475 Use char because int might match the return type of a GCC
9476 builtin and then its argument prototype would still apply. */
9477 #ifdef __cplusplus
9478 extern "C"
9479 #endif
9480 char gethostbyname ();
9482 main ()
9484 return gethostbyname ();
9486 return 0;
9488 _ACEOF
9489 if ac_fn_c_try_link "$LINENO"; then :
9490 ac_cv_lib_bsd_gethostbyname=yes
9491 else
9492 ac_cv_lib_bsd_gethostbyname=no
9494 rm -f core conftest.err conftest.$ac_objext \
9495 conftest$ac_exeext conftest.$ac_ext
9496 LIBS=$ac_check_lib_save_LIBS
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9499 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9500 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9508 # socket/setsockopt and other routines are undefined under SCO ODT
9509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9510 # on later versions), says Simon Leinen: it contains gethostby*
9511 # variants that don't use the name server (or something). -lsocket
9512 # must be given before -lnsl if both are needed. We assume that
9513 # if connect needs -lnsl, so does gethostbyname.
9514 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9515 if test "x$ac_cv_func_connect" = xyes; then :
9519 if test $ac_cv_func_connect = no; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9521 $as_echo_n "checking for connect in -lsocket... " >&6; }
9522 if ${ac_cv_lib_socket_connect+:} false; then :
9523 $as_echo_n "(cached) " >&6
9524 else
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char connect ();
9538 main ()
9540 return connect ();
9542 return 0;
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_socket_connect=yes
9547 else
9548 ac_cv_lib_socket_connect=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9555 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9556 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9557 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9562 # Guillermo Gomez says -lposix is necessary on A/UX.
9563 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9564 if test "x$ac_cv_func_remove" = xyes; then :
9568 if test $ac_cv_func_remove = no; then
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9570 $as_echo_n "checking for remove in -lposix... " >&6; }
9571 if ${ac_cv_lib_posix_remove+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_check_lib_save_LIBS=$LIBS
9575 LIBS="-lposix $LIBS"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9582 #ifdef __cplusplus
9583 extern "C"
9584 #endif
9585 char remove ();
9587 main ()
9589 return remove ();
9591 return 0;
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595 ac_cv_lib_posix_remove=yes
9596 else
9597 ac_cv_lib_posix_remove=no
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 LIBS=$ac_check_lib_save_LIBS
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9604 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9605 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9612 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9613 if test "x$ac_cv_func_shmat" = xyes; then :
9617 if test $ac_cv_func_shmat = no; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9619 $as_echo_n "checking for shmat in -lipc... " >&6; }
9620 if ${ac_cv_lib_ipc_shmat+:} false; then :
9621 $as_echo_n "(cached) " >&6
9622 else
9623 ac_check_lib_save_LIBS=$LIBS
9624 LIBS="-lipc $LIBS"
9625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9626 /* end confdefs.h. */
9628 /* Override any GCC internal prototype to avoid an error.
9629 Use char because int might match the return type of a GCC
9630 builtin and then its argument prototype would still apply. */
9631 #ifdef __cplusplus
9632 extern "C"
9633 #endif
9634 char shmat ();
9636 main ()
9638 return shmat ();
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9644 ac_cv_lib_ipc_shmat=yes
9645 else
9646 ac_cv_lib_ipc_shmat=no
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9653 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9654 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9661 # Check for libraries that X11R6 Xt/Xaw programs need.
9662 ac_save_LDFLAGS=$LDFLAGS
9663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9665 # check for ICE first), but we must link in the order -lSM -lICE or
9666 # we get undefined symbols. So assume we have SM if we have ICE.
9667 # These have to be linked with before -lX11, unlike the other
9668 # libraries we check for below, so use a different variable.
9669 # John Interrante, Karl Berry
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9671 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9672 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_check_lib_save_LIBS=$LIBS
9676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9680 /* Override any GCC internal prototype to avoid an error.
9681 Use char because int might match the return type of a GCC
9682 builtin and then its argument prototype would still apply. */
9683 #ifdef __cplusplus
9684 extern "C"
9685 #endif
9686 char IceConnectionNumber ();
9688 main ()
9690 return IceConnectionNumber ();
9692 return 0;
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696 ac_cv_lib_ICE_IceConnectionNumber=yes
9697 else
9698 ac_cv_lib_ICE_IceConnectionNumber=no
9700 rm -f core conftest.err conftest.$ac_objext \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9705 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9706 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9707 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9710 LDFLAGS=$ac_save_LDFLAGS
9715 if test "$have_x" = "yes"
9716 then
9717 ac_save_CPPFLAGS="$CPPFLAGS"
9718 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9721 $as_echo_n "checking for -lX11... " >&6; }
9722 if ${ac_cv_lib_soname_X11+:} false; then :
9723 $as_echo_n "(cached) " >&6
9724 else
9725 ac_check_soname_save_LIBS=$LIBS
9726 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9730 /* Override any GCC internal prototype to avoid an error.
9731 Use char because int might match the return type of a GCC
9732 builtin and then its argument prototype would still apply. */
9733 #ifdef __cplusplus
9734 extern "C"
9735 #endif
9736 char XCreateWindow ();
9738 main ()
9740 return XCreateWindow ();
9742 return 0;
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746 case "$LIBEXT" in
9747 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9748 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'` ;;
9749 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9750 if ${ac_cv_lib_soname_X11:+false} :; then :
9751 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9752 fi ;;
9753 esac
9755 rm -f core conftest.err conftest.$ac_objext \
9756 conftest$ac_exeext conftest.$ac_ext
9757 LIBS=$ac_check_soname_save_LIBS
9759 if ${ac_cv_lib_soname_X11:+false} :; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9763 else
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9765 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9767 cat >>confdefs.h <<_ACEOF
9768 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9769 _ACEOF
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9774 $as_echo_n "checking for -lXext... " >&6; }
9775 if ${ac_cv_lib_soname_Xext+:} false; then :
9776 $as_echo_n "(cached) " >&6
9777 else
9778 ac_check_soname_save_LIBS=$LIBS
9779 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9783 /* Override any GCC internal prototype to avoid an error.
9784 Use char because int might match the return type of a GCC
9785 builtin and then its argument prototype would still apply. */
9786 #ifdef __cplusplus
9787 extern "C"
9788 #endif
9789 char XextCreateExtension ();
9791 main ()
9793 return XextCreateExtension ();
9795 return 0;
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 case "$LIBEXT" in
9800 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9801 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'` ;;
9802 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9803 if ${ac_cv_lib_soname_Xext:+false} :; then :
9804 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9805 fi ;;
9806 esac
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_soname_save_LIBS
9812 if ${ac_cv_lib_soname_Xext:+false} :; then :
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9814 $as_echo "not found" >&6; }
9816 else
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9818 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9820 cat >>confdefs.h <<_ACEOF
9821 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9822 _ACEOF
9824 X_LIBS="$X_LIBS -lXext"
9826 X_LIBS="$X_LIBS -lX11"
9828 for ac_header in X11/Xlib.h \
9829 X11/XKBlib.h \
9830 X11/Xutil.h \
9831 X11/Xcursor/Xcursor.h \
9832 X11/extensions/shape.h \
9833 X11/extensions/XInput.h \
9834 X11/extensions/XInput2.h \
9835 X11/extensions/XShm.h \
9836 X11/extensions/Xcomposite.h \
9837 X11/extensions/Xinerama.h \
9838 X11/extensions/Xrandr.h \
9839 X11/extensions/Xrender.h \
9840 X11/extensions/xf86vmode.h \
9841 X11/extensions/xf86vmproto.h
9842 do :
9843 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9844 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9845 # include <X11/Xlib.h>
9846 #endif
9847 #ifdef HAVE_X11_XUTIL_H
9848 # include <X11/Xutil.h>
9849 #endif
9851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9852 cat >>confdefs.h <<_ACEOF
9853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9854 _ACEOF
9858 done
9861 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9862 then
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9864 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9865 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9866 $as_echo_n "(cached) " >&6
9867 else
9868 ac_check_lib_save_LIBS=$LIBS
9869 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9873 /* Override any GCC internal prototype to avoid an error.
9874 Use char because int might match the return type of a GCC
9875 builtin and then its argument prototype would still apply. */
9876 #ifdef __cplusplus
9877 extern "C"
9878 #endif
9879 char XkbQueryExtension ();
9881 main ()
9883 return XkbQueryExtension ();
9885 return 0;
9887 _ACEOF
9888 if ac_fn_c_try_link "$LINENO"; then :
9889 ac_cv_lib_X11_XkbQueryExtension=yes
9890 else
9891 ac_cv_lib_X11_XkbQueryExtension=no
9893 rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9898 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9899 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9901 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9907 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9908 then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9910 $as_echo_n "checking for -lXcursor... " >&6; }
9911 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9912 $as_echo_n "(cached) " >&6
9913 else
9914 ac_check_soname_save_LIBS=$LIBS
9915 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9919 /* Override any GCC internal prototype to avoid an error.
9920 Use char because int might match the return type of a GCC
9921 builtin and then its argument prototype would still apply. */
9922 #ifdef __cplusplus
9923 extern "C"
9924 #endif
9925 char XcursorImageLoadCursor ();
9927 main ()
9929 return XcursorImageLoadCursor ();
9931 return 0;
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 case "$LIBEXT" in
9936 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9937 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'` ;;
9938 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9939 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9940 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9941 fi ;;
9942 esac
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_soname_save_LIBS
9948 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9952 else
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9954 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9956 cat >>confdefs.h <<_ACEOF
9957 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9958 _ACEOF
9963 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9964 case "x$with_xcursor" in
9965 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9966 xno) ;;
9967 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9968 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9969 esac
9973 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9974 then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9976 $as_echo_n "checking for -lXi... " >&6; }
9977 if ${ac_cv_lib_soname_Xi+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_check_soname_save_LIBS=$LIBS
9981 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 #ifdef __cplusplus
9989 extern "C"
9990 #endif
9991 char XOpenDevice ();
9993 main ()
9995 return XOpenDevice ();
9997 return 0;
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 case "$LIBEXT" in
10002 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10003 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'` ;;
10004 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10005 if ${ac_cv_lib_soname_Xi:+false} :; then :
10006 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 fi ;;
10008 esac
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 LIBS=$ac_check_soname_save_LIBS
10014 if ${ac_cv_lib_soname_Xi:+false} :; then :
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10016 $as_echo "not found" >&6; }
10018 else
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10020 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10022 cat >>confdefs.h <<_ACEOF
10023 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10024 _ACEOF
10029 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10030 case "x$with_xinput" in
10031 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10032 xno) ;;
10033 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10034 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10035 esac
10039 if test "x$ac_cv_lib_soname_Xi" != x
10040 then
10041 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10042 case "x$with_xinput2" in
10043 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10046 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10047 esac
10052 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10053 then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10055 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10056 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_check_lib_save_LIBS=$LIBS
10060 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 #ifdef __cplusplus
10068 extern "C"
10069 #endif
10070 char XShmQueryExtension ();
10072 main ()
10074 return XShmQueryExtension ();
10076 return 0;
10078 _ACEOF
10079 if ac_fn_c_try_link "$LINENO"; then :
10080 ac_cv_lib_Xext_XShmQueryExtension=yes
10081 else
10082 ac_cv_lib_Xext_XShmQueryExtension=no
10084 rm -f core conftest.err conftest.$ac_objext \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10089 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10090 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10092 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10097 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10098 case "x$with_xshm" in
10099 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10100 xno) ;;
10101 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10102 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10103 esac
10107 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10108 then
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10110 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10111 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_check_lib_save_LIBS=$LIBS
10115 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10122 #ifdef __cplusplus
10123 extern "C"
10124 #endif
10125 char XShapeQueryExtension ();
10127 main ()
10129 return XShapeQueryExtension ();
10131 return 0;
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"; then :
10135 ac_cv_lib_Xext_XShapeQueryExtension=yes
10136 else
10137 ac_cv_lib_Xext_XShapeQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10144 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10145 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10147 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10152 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10153 case "x$with_xshape" in
10154 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10155 xno) ;;
10156 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10158 esac
10162 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10163 then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10165 $as_echo_n "checking for -lXxf86vm... " >&6; }
10166 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10174 /* Override any GCC internal prototype to avoid an error.
10175 Use char because int might match the return type of a GCC
10176 builtin and then its argument prototype would still apply. */
10177 #ifdef __cplusplus
10178 extern "C"
10179 #endif
10180 char XF86VidModeQueryExtension ();
10182 main ()
10184 return XF86VidModeQueryExtension ();
10186 return 0;
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 case "$LIBEXT" in
10191 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10192 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'` ;;
10193 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10194 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10195 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10196 fi ;;
10197 esac
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 LIBS=$ac_check_soname_save_LIBS
10203 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10205 $as_echo "not found" >&6; }
10207 else
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10209 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10211 cat >>confdefs.h <<_ACEOF
10212 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10213 _ACEOF
10218 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10219 case "x$with_xxf86vm" in
10220 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10221 xno) ;;
10222 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10223 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10224 esac
10228 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10229 then
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10231 $as_echo_n "checking for -lXrender... " >&6; }
10232 if ${ac_cv_lib_soname_Xrender+:} false; then :
10233 $as_echo_n "(cached) " >&6
10234 else
10235 ac_check_soname_save_LIBS=$LIBS
10236 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10240 /* Override any GCC internal prototype to avoid an error.
10241 Use char because int might match the return type of a GCC
10242 builtin and then its argument prototype would still apply. */
10243 #ifdef __cplusplus
10244 extern "C"
10245 #endif
10246 char XRenderQueryExtension ();
10248 main ()
10250 return XRenderQueryExtension ();
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 case "$LIBEXT" in
10257 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10258 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'` ;;
10259 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10260 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10261 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10262 fi ;;
10263 esac
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_soname_save_LIBS
10269 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10271 $as_echo "not found" >&6; }
10273 else
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10275 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10277 cat >>confdefs.h <<_ACEOF
10278 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10279 _ACEOF
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10282 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10283 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10284 $as_echo_n "(cached) " >&6
10285 else
10286 ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XRenderSetPictureTransform ();
10299 main ()
10301 return XRenderSetPictureTransform ();
10303 return 0;
10305 _ACEOF
10306 if ac_fn_c_try_link "$LINENO"; then :
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10308 else
10309 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10311 rm -f core conftest.err conftest.$ac_objext \
10312 conftest$ac_exeext conftest.$ac_ext
10313 LIBS=$ac_check_lib_save_LIBS
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10316 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10317 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10319 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10324 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10325 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10326 $as_echo_n "(cached) " >&6
10327 else
10328 ac_check_lib_save_LIBS=$LIBS
10329 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10336 #ifdef __cplusplus
10337 extern "C"
10338 #endif
10339 char XRenderCreateLinearGradient ();
10341 main ()
10343 return XRenderCreateLinearGradient ();
10345 return 0;
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10350 else
10351 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 LIBS=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10358 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10359 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10361 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10368 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10369 case "x$with_xrender" in
10370 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10373 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10374 esac
10378 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10379 then
10380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10382 #include <X11/Xlib.h>
10383 #include <X11/extensions/Xrandr.h>
10385 main ()
10387 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10389 return 0;
10391 _ACEOF
10392 if ac_fn_c_try_compile "$LINENO"; then :
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10394 $as_echo_n "checking for -lXrandr... " >&6; }
10395 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_check_soname_save_LIBS=$LIBS
10399 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10403 /* Override any GCC internal prototype to avoid an error.
10404 Use char because int might match the return type of a GCC
10405 builtin and then its argument prototype would still apply. */
10406 #ifdef __cplusplus
10407 extern "C"
10408 #endif
10409 char XRRQueryExtension ();
10411 main ()
10413 return XRRQueryExtension ();
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_link "$LINENO"; then :
10419 case "$LIBEXT" in
10420 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10421 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'` ;;
10422 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10423 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10424 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10425 fi ;;
10426 esac
10428 rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
10430 LIBS=$ac_check_soname_save_LIBS
10432 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10434 $as_echo "not found" >&6; }
10436 else
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10438 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10440 cat >>confdefs.h <<_ACEOF
10441 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10442 _ACEOF
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10446 #include <X11/Xlib.h>
10447 #include <X11/extensions/Xrandr.h>
10449 main ()
10451 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_compile "$LINENO"; then :
10458 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10466 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10467 case "x$with_xrandr" in
10468 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10469 xno) ;;
10470 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10471 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10472 esac
10476 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10477 then
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10480 #include <X11/Xlib.h>
10481 #include <X11/extensions/Xinerama.h>
10483 main ()
10485 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10487 return 0;
10489 _ACEOF
10490 if ac_fn_c_try_compile "$LINENO"; then :
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10492 $as_echo_n "checking for -lXinerama... " >&6; }
10493 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10494 $as_echo_n "(cached) " >&6
10495 else
10496 ac_check_soname_save_LIBS=$LIBS
10497 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10499 /* end confdefs.h. */
10501 /* Override any GCC internal prototype to avoid an error.
10502 Use char because int might match the return type of a GCC
10503 builtin and then its argument prototype would still apply. */
10504 #ifdef __cplusplus
10505 extern "C"
10506 #endif
10507 char XineramaQueryScreens ();
10509 main ()
10511 return XineramaQueryScreens ();
10513 return 0;
10515 _ACEOF
10516 if ac_fn_c_try_link "$LINENO"; then :
10517 case "$LIBEXT" in
10518 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10519 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'` ;;
10520 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10521 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10522 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10523 fi ;;
10524 esac
10526 rm -f core conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS=$ac_check_soname_save_LIBS
10530 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10532 $as_echo "not found" >&6; }
10534 else
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10536 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10538 cat >>confdefs.h <<_ACEOF
10539 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10540 _ACEOF
10545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10547 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10548 case "x$with_xinerama" in
10549 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10550 xno) ;;
10551 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10552 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10553 esac
10557 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10558 then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10560 $as_echo_n "checking for -lXcomposite... " >&6; }
10561 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_check_soname_save_LIBS=$LIBS
10565 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char XCompositeRedirectWindow ();
10577 main ()
10579 return XCompositeRedirectWindow ();
10581 return 0;
10583 _ACEOF
10584 if ac_fn_c_try_link "$LINENO"; then :
10585 case "$LIBEXT" in
10586 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10587 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'` ;;
10588 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10589 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10590 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10591 fi ;;
10592 esac
10594 rm -f core conftest.err conftest.$ac_objext \
10595 conftest$ac_exeext conftest.$ac_ext
10596 LIBS=$ac_check_soname_save_LIBS
10598 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10600 $as_echo "not found" >&6; }
10602 else
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10604 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10606 cat >>confdefs.h <<_ACEOF
10607 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10608 _ACEOF
10613 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10614 case "x$with_xcomposite" in
10615 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10616 xno) ;;
10617 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10618 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10619 esac
10623 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10624 #include <X11/Xlib.h>
10625 #endif
10627 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10629 cat >>confdefs.h <<_ACEOF
10630 #define HAVE_XICCALLBACK_CALLBACK 1
10631 _ACEOF
10635 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10636 #include <X11/Xlib.h>
10637 #endif
10639 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10641 cat >>confdefs.h <<_ACEOF
10642 #define HAVE_XEVENT_XCOOKIE 1
10643 _ACEOF
10650 opengl_msg=""
10651 if test "x$with_opengl" != "xno"
10652 then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10654 $as_echo_n "checking for -lGL... " >&6; }
10655 if ${ac_cv_lib_soname_GL+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char glXCreateContext ();
10671 main ()
10673 return glXCreateContext ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 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'` ;;
10682 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_GL:+false} :; then :
10684 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_GL:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10696 $as_echo_n "checking for -lGL... " >&6; }
10697 if ${ac_cv_lib_soname_GL+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_soname_save_LIBS=$LIBS
10701 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"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char glXCreateContext ();
10713 main ()
10715 return glXCreateContext ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 case "$LIBEXT" in
10722 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10723 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'` ;;
10724 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10725 if ${ac_cv_lib_soname_GL:+false} :; then :
10726 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 fi ;;
10728 esac
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_soname_save_LIBS
10734 if ${ac_cv_lib_soname_GL:+false} :; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10736 $as_echo "not found" >&6; }
10737 if test -f /usr/X11R6/lib/libGL.a
10738 then
10739 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10740 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10741 else
10742 opengl_msg="No OpenGL library found on this system."
10744 else
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10746 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10748 cat >>confdefs.h <<_ACEOF
10749 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10750 _ACEOF
10752 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"
10754 else
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10756 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10758 cat >>confdefs.h <<_ACEOF
10759 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10760 _ACEOF
10762 OPENGL_LIBS="-lGL"
10764 if test "x$with_glu" != "xno"
10765 then
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10767 $as_echo_n "checking for -lGLU... " >&6; }
10768 if ${ac_cv_lib_soname_GLU+:} false; then :
10769 $as_echo_n "(cached) " >&6
10770 else
10771 ac_check_soname_save_LIBS=$LIBS
10772 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10774 /* end confdefs.h. */
10776 /* Override any GCC internal prototype to avoid an error.
10777 Use char because int might match the return type of a GCC
10778 builtin and then its argument prototype would still apply. */
10779 #ifdef __cplusplus
10780 extern "C"
10781 #endif
10782 char gluLookAt ();
10784 main ()
10786 return gluLookAt ();
10788 return 0;
10790 _ACEOF
10791 if ac_fn_c_try_link "$LINENO"; then :
10792 case "$LIBEXT" in
10793 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10794 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'` ;;
10795 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10796 if ${ac_cv_lib_soname_GLU:+false} :; then :
10797 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10798 fi ;;
10799 esac
10801 rm -f core conftest.err conftest.$ac_objext \
10802 conftest$ac_exeext conftest.$ac_ext
10803 LIBS=$ac_check_soname_save_LIBS
10805 if ${ac_cv_lib_soname_GLU:+false} :; then :
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10807 $as_echo "not found" >&6; }
10809 else
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10811 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10813 cat >>confdefs.h <<_ACEOF
10814 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10815 _ACEOF
10819 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10820 case "x$with_glu" in
10821 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10822 xno) ;;
10823 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10824 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10825 esac
10830 if test "x$with_osmesa" != "xno"
10831 then
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10833 $as_echo_n "checking for -lOSMesa... " >&6; }
10834 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10835 $as_echo_n "(cached) " >&6
10836 else
10837 ac_check_soname_save_LIBS=$LIBS
10838 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char OSMesaGetProcAddress ();
10850 main ()
10852 return OSMesaGetProcAddress ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10858 case "$LIBEXT" in
10859 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10860 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'` ;;
10861 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10862 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10863 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10864 fi ;;
10865 esac
10867 rm -f core conftest.err conftest.$ac_objext \
10868 conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_soname_save_LIBS
10871 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10873 $as_echo "not found" >&6; }
10875 else
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10877 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10879 cat >>confdefs.h <<_ACEOF
10880 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10881 _ACEOF
10885 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10886 case "x$with_osmesa" in
10887 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10888 xno) ;;
10889 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10890 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10891 esac
10896 if test -n "$opengl_msg"; then :
10897 case "x$with_opengl" in
10898 x) as_fn_append wine_warnings "|$opengl_msg
10899 OpenGL and Direct3D won't be supported." ;;
10900 xno) ;;
10901 *) as_fn_error $? "$opengl_msg
10902 OpenGL and Direct3D won't be supported.
10903 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10904 esac
10908 CPPFLAGS="$ac_save_CPPFLAGS"
10909 else
10910 X_CFLAGS=""
10911 X_LIBS=""
10914 if test "$enable_winemac_drv" = "no"
10915 then
10916 if test "x$X_LIBS" = "x"; then :
10917 case "x$with_x" in
10918 xno) ;;
10919 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10920 without X support, which probably isn't what you want. You will need
10921 to install ${notice_platform}development packages of Xlib at the very least.
10922 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10923 esac
10924 enable_winex11_drv=${enable_winex11_drv:-no}
10926 else
10927 if test "x$X_LIBS" = "x"; then :
10928 case "x$with_x" in
10929 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10930 xno) ;;
10931 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10932 This is an error since --with-x was requested." "$LINENO" 5 ;;
10933 esac
10934 enable_winex11_drv=${enable_winex11_drv:-no}
10938 if test "$ac_cv_header_CL_cl_h" = "yes"
10939 then
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10941 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10942 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10943 $as_echo_n "(cached) " >&6
10944 else
10945 ac_check_lib_save_LIBS=$LIBS
10946 LIBS="-lOpenCL $LIBS"
10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10950 /* Override any GCC internal prototype to avoid an error.
10951 Use char because int might match the return type of a GCC
10952 builtin and then its argument prototype would still apply. */
10953 #ifdef __cplusplus
10954 extern "C"
10955 #endif
10956 char clGetPlatformInfo ();
10958 main ()
10960 return clGetPlatformInfo ();
10962 return 0;
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"; then :
10966 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10967 else
10968 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10970 rm -f core conftest.err conftest.$ac_objext \
10971 conftest$ac_exeext conftest.$ac_ext
10972 LIBS=$ac_check_lib_save_LIBS
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10975 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10976 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10977 OPENCL_LIBS="-lOpenCL"
10982 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10983 case "x$with_opencl" in
10984 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10985 xno) ;;
10986 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10987 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10988 esac
10989 enable_opencl=${enable_opencl:-no}
10992 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10993 then
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10995 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10996 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10997 $as_echo_n "(cached) " >&6
10998 else
10999 ac_check_lib_save_LIBS=$LIBS
11000 LIBS="-lpcap $LIBS"
11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11002 /* end confdefs.h. */
11004 /* Override any GCC internal prototype to avoid an error.
11005 Use char because int might match the return type of a GCC
11006 builtin and then its argument prototype would still apply. */
11007 #ifdef __cplusplus
11008 extern "C"
11009 #endif
11010 char pcap_create ();
11012 main ()
11014 return pcap_create ();
11016 return 0;
11018 _ACEOF
11019 if ac_fn_c_try_link "$LINENO"; then :
11020 ac_cv_lib_pcap_pcap_create=yes
11021 else
11022 ac_cv_lib_pcap_pcap_create=no
11024 rm -f core conftest.err conftest.$ac_objext \
11025 conftest$ac_exeext conftest.$ac_ext
11026 LIBS=$ac_check_lib_save_LIBS
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11029 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11030 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11031 PCAP_LIBS="-lpcap"
11036 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11037 case "x$with_pcap" in
11038 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11039 xno) ;;
11040 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11041 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11042 esac
11043 enable_wpcap=${enable_wpcap:-no}
11047 if test "x$with_xml" != "xno"
11048 then
11049 if ${XML2_CFLAGS:+false} :; then :
11050 if ${PKG_CONFIG+:} false; then :
11051 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11054 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11055 if ${XML2_LIBS:+false} :; then :
11056 if ${PKG_CONFIG+:} false; then :
11057 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11060 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11061 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11062 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11063 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11064 ac_save_CPPFLAGS=$CPPFLAGS
11065 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11066 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11067 do :
11068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11069 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11071 cat >>confdefs.h <<_ACEOF
11072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11073 _ACEOF
11077 done
11079 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"
11080 then
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11082 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11083 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11084 $as_echo_n "(cached) " >&6
11085 else
11086 ac_check_lib_save_LIBS=$LIBS
11087 LIBS="-lxml2 $XML2_LIBS $LIBS"
11088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11091 /* Override any GCC internal prototype to avoid an error.
11092 Use char because int might match the return type of a GCC
11093 builtin and then its argument prototype would still apply. */
11094 #ifdef __cplusplus
11095 extern "C"
11096 #endif
11097 char xmlParseMemory ();
11099 main ()
11101 return xmlParseMemory ();
11103 return 0;
11105 _ACEOF
11106 if ac_fn_c_try_link "$LINENO"; then :
11107 ac_cv_lib_xml2_xmlParseMemory=yes
11108 else
11109 ac_cv_lib_xml2_xmlParseMemory=no
11111 rm -f core conftest.err conftest.$ac_objext \
11112 conftest$ac_exeext conftest.$ac_ext
11113 LIBS=$ac_check_lib_save_LIBS
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11116 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11117 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11119 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11121 else
11122 XML2_LIBS=""
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11126 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11127 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_lib_save_LIBS=$LIBS
11131 LIBS="-lxml2 $XML2_LIBS $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char xmlReadMemory ();
11143 main ()
11145 return xmlReadMemory ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 ac_cv_lib_xml2_xmlReadMemory=yes
11152 else
11153 ac_cv_lib_xml2_xmlReadMemory=no
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_lib_save_LIBS
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11160 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11161 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11163 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11168 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11169 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11170 $as_echo_n "(cached) " >&6
11171 else
11172 ac_check_lib_save_LIBS=$LIBS
11173 LIBS="-lxml2 $XML2_LIBS $LIBS"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11177 /* Override any GCC internal prototype to avoid an error.
11178 Use char because int might match the return type of a GCC
11179 builtin and then its argument prototype would still apply. */
11180 #ifdef __cplusplus
11181 extern "C"
11182 #endif
11183 char xmlNewDocPI ();
11185 main ()
11187 return xmlNewDocPI ();
11189 return 0;
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"; then :
11193 ac_cv_lib_xml2_xmlNewDocPI=yes
11194 else
11195 ac_cv_lib_xml2_xmlNewDocPI=no
11197 rm -f core conftest.err conftest.$ac_objext \
11198 conftest$ac_exeext conftest.$ac_ext
11199 LIBS=$ac_check_lib_save_LIBS
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11202 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11203 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11205 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11210 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11211 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 ac_check_lib_save_LIBS=$LIBS
11215 LIBS="-lxml2 $XML2_LIBS $LIBS"
11216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11217 /* end confdefs.h. */
11219 /* Override any GCC internal prototype to avoid an error.
11220 Use char because int might match the return type of a GCC
11221 builtin and then its argument prototype would still apply. */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char xmlSchemaSetParserStructuredErrors ();
11227 main ()
11229 return xmlSchemaSetParserStructuredErrors ();
11231 return 0;
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11236 else
11237 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_lib_save_LIBS
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11244 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11245 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11247 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11252 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11253 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11254 $as_echo_n "(cached) " >&6
11255 else
11256 ac_check_lib_save_LIBS=$LIBS
11257 LIBS="-lxml2 $XML2_LIBS $LIBS"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char xmlSchemaSetValidStructuredErrors ();
11269 main ()
11271 return xmlSchemaSetValidStructuredErrors ();
11273 return 0;
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11278 else
11279 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11281 rm -f core conftest.err conftest.$ac_objext \
11282 conftest$ac_exeext conftest.$ac_ext
11283 LIBS=$ac_check_lib_save_LIBS
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11286 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11287 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11289 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11294 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11295 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11296 $as_echo_n "(cached) " >&6
11297 else
11298 ac_check_lib_save_LIBS=$LIBS
11299 LIBS="-lxml2 $XML2_LIBS $LIBS"
11300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11301 /* end confdefs.h. */
11303 /* Override any GCC internal prototype to avoid an error.
11304 Use char because int might match the return type of a GCC
11305 builtin and then its argument prototype would still apply. */
11306 #ifdef __cplusplus
11307 extern "C"
11308 #endif
11309 char xmlFirstElementChild ();
11311 main ()
11313 return xmlFirstElementChild ();
11315 return 0;
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"; then :
11319 ac_cv_lib_xml2_xmlFirstElementChild=yes
11320 else
11321 ac_cv_lib_xml2_xmlFirstElementChild=no
11323 rm -f core conftest.err conftest.$ac_objext \
11324 conftest$ac_exeext conftest.$ac_ext
11325 LIBS=$ac_check_lib_save_LIBS
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11328 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11329 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11331 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11335 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11337 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11339 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11343 else
11344 XML2_CFLAGS=""
11345 XML2_LIBS=""
11347 CPPFLAGS=$ac_save_CPPFLAGS
11348 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11349 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11352 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11353 case "x$with_xml" in
11354 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11355 xno) ;;
11356 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11357 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11358 esac
11362 if test "x$with_xslt" != "xno"
11363 then
11364 if ${XSLT_CFLAGS:+false} :; then :
11365 if ${PKG_CONFIG+:} false; then :
11366 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11369 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11370 if ${XSLT_LIBS:+false} :; then :
11371 if ${PKG_CONFIG+:} false; then :
11372 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11375 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11376 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11377 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11379 ac_save_CPPFLAGS=$CPPFLAGS
11380 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11381 for ac_header in libxslt/pattern.h libxslt/transform.h
11382 do :
11383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11384 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11385 # include <libxslt/pattern.h>
11386 #endif
11388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11389 cat >>confdefs.h <<_ACEOF
11390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11391 _ACEOF
11395 done
11397 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11398 then
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11400 $as_echo_n "checking for -lxslt... " >&6; }
11401 if ${ac_cv_lib_soname_xslt+:} false; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_soname_save_LIBS=$LIBS
11405 LIBS="-lxslt $XSLT_LIBS $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char xsltCompilePattern ();
11417 main ()
11419 return xsltCompilePattern ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 case "$LIBEXT" in
11426 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11427 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'` ;;
11428 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11429 if ${ac_cv_lib_soname_xslt:+false} :; then :
11430 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11431 fi ;;
11432 esac
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_soname_save_LIBS
11438 if ${ac_cv_lib_soname_xslt:+false} :; then :
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11440 $as_echo "not found" >&6; }
11442 else
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11444 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11446 cat >>confdefs.h <<_ACEOF
11447 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11448 _ACEOF
11452 else
11453 XSLT_CFLAGS=""
11455 CPPFLAGS=$ac_save_CPPFLAGS
11456 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11457 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11460 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11461 case "x$with_xslt" in
11462 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11463 xno) ;;
11464 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11465 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11466 esac
11470 if test "x$with_dbus" != "xno"
11471 then
11472 if ${DBUS_CFLAGS:+false} :; then :
11473 if ${PKG_CONFIG+:} false; then :
11474 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11478 if ${DBUS_LIBS:+false} :; then :
11479 if ${PKG_CONFIG+:} false; then :
11480 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11485 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11486 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11487 ac_save_CPPFLAGS=$CPPFLAGS
11488 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11489 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11490 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11492 $as_echo_n "checking for -ldbus-1... " >&6; }
11493 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11494 $as_echo_n "(cached) " >&6
11495 else
11496 ac_check_soname_save_LIBS=$LIBS
11497 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char dbus_connection_close ();
11509 main ()
11511 return dbus_connection_close ();
11513 return 0;
11515 _ACEOF
11516 if ac_fn_c_try_link "$LINENO"; then :
11517 case "$LIBEXT" in
11518 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11519 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'` ;;
11520 *) 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'`
11521 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11522 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11523 fi ;;
11524 esac
11526 rm -f core conftest.err conftest.$ac_objext \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_soname_save_LIBS
11530 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11532 $as_echo "not found" >&6; }
11533 DBUS_CFLAGS=""
11534 else
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11536 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11538 cat >>confdefs.h <<_ACEOF
11539 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11540 _ACEOF
11544 else
11545 DBUS_CFLAGS=""
11549 CPPFLAGS=$ac_save_CPPFLAGS
11550 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11551 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11554 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11555 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11556 case "x$with_dbus" in
11557 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11558 xno) ;;
11559 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11560 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11561 esac
11565 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11566 then
11567 if ${HAL_CFLAGS:+false} :; then :
11568 if ${PKG_CONFIG+:} false; then :
11569 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11573 if ${HAL_LIBS:+false} :; then :
11574 if ${PKG_CONFIG+:} false; then :
11575 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11579 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11580 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11581 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11582 ac_save_CPPFLAGS=$CPPFLAGS
11583 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11584 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11585 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11587 $as_echo_n "checking for -lhal... " >&6; }
11588 if ${ac_cv_lib_soname_hal+:} false; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 ac_check_soname_save_LIBS=$LIBS
11592 LIBS="-lhal $HAL_LIBS $LIBS"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11599 #ifdef __cplusplus
11600 extern "C"
11601 #endif
11602 char libhal_ctx_new ();
11604 main ()
11606 return libhal_ctx_new ();
11608 return 0;
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"; then :
11612 case "$LIBEXT" in
11613 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11614 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'` ;;
11615 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11616 if ${ac_cv_lib_soname_hal:+false} :; then :
11617 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11618 fi ;;
11619 esac
11621 rm -f core conftest.err conftest.$ac_objext \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_soname_save_LIBS
11625 if ${ac_cv_lib_soname_hal:+false} :; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11628 HAL_CFLAGS=""
11629 else
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11631 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11633 cat >>confdefs.h <<_ACEOF
11634 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11635 _ACEOF
11639 else
11640 HAL_CFLAGS=""
11644 CPPFLAGS=$ac_save_CPPFLAGS
11645 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11646 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11648 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11649 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11650 case "x$with_hal" in
11651 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11652 xno) ;;
11653 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11654 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11655 esac
11660 if test "x$with_gnutls" != "xno"
11661 then
11662 if ${GNUTLS_CFLAGS:+false} :; then :
11663 if ${PKG_CONFIG+:} false; then :
11664 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11668 if ${GNUTLS_LIBS:+false} :; then :
11669 if ${PKG_CONFIG+:} false; then :
11670 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11675 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11676 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11677 ac_save_CPPFLAGS=$CPPFLAGS
11678 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11679 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11680 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 /* end confdefs.h. */
11683 #include <gnutls/gnutls.h>
11684 #include <gnutls/crypto.h>
11686 main ()
11688 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11690 return 0;
11692 _ACEOF
11693 if ac_fn_c_try_compile "$LINENO"; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11695 $as_echo_n "checking for -lgnutls... " >&6; }
11696 if ${ac_cv_lib_soname_gnutls+:} false; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 ac_check_soname_save_LIBS=$LIBS
11700 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 char gnutls_global_init ();
11712 main ()
11714 return gnutls_global_init ();
11716 return 0;
11718 _ACEOF
11719 if ac_fn_c_try_link "$LINENO"; then :
11720 case "$LIBEXT" in
11721 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11722 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'` ;;
11723 *) 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'`
11724 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11725 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'`
11726 fi ;;
11727 esac
11729 rm -f core conftest.err conftest.$ac_objext \
11730 conftest$ac_exeext conftest.$ac_ext
11731 LIBS=$ac_check_soname_save_LIBS
11733 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11735 $as_echo "not found" >&6; }
11736 GNUTLS_CFLAGS=""
11737 else
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11739 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11741 cat >>confdefs.h <<_ACEOF
11742 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11743 _ACEOF
11747 ac_wine_check_funcs_save_LIBS="$LIBS"
11748 LIBS="$LIBS $GNUTLS_LIBS"
11749 for ac_func in gnutls_hash
11750 do :
11751 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11752 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11753 cat >>confdefs.h <<_ACEOF
11754 #define HAVE_GNUTLS_HASH 1
11755 _ACEOF
11757 else
11758 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11760 done
11762 LIBS="$ac_wine_check_funcs_save_LIBS"
11764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11765 else
11766 GNUTLS_CFLAGS=""
11770 CPPFLAGS=$ac_save_CPPFLAGS
11771 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11772 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11775 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11776 case "x$with_gnutls" in
11777 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11780 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11781 esac
11785 CURSES_LIBS=""
11786 if test "$ac_cv_header_ncurses_h" = "yes"
11787 then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11789 $as_echo_n "checking for -lncurses... " >&6; }
11790 if ${ac_cv_lib_soname_ncurses+:} false; then :
11791 $as_echo_n "(cached) " >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lncurses $LIBS"
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11796 /* end confdefs.h. */
11798 /* Override any GCC internal prototype to avoid an error.
11799 Use char because int might match the return type of a GCC
11800 builtin and then its argument prototype would still apply. */
11801 #ifdef __cplusplus
11802 extern "C"
11803 #endif
11804 char waddch ();
11806 main ()
11808 return waddch ();
11810 return 0;
11812 _ACEOF
11813 if ac_fn_c_try_link "$LINENO"; then :
11814 case "$LIBEXT" in
11815 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11816 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'` ;;
11817 *) 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'`
11818 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11819 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11820 fi ;;
11821 esac
11823 rm -f core conftest.err conftest.$ac_objext \
11824 conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_soname_save_LIBS
11827 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11829 $as_echo "not found" >&6; }
11831 else
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11833 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11835 cat >>confdefs.h <<_ACEOF
11836 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11837 _ACEOF
11839 CURSES_LIBS="-lncurses"
11841 elif test "$ac_cv_header_curses_h" = "yes"
11842 then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11844 $as_echo_n "checking for -lcurses... " >&6; }
11845 if ${ac_cv_lib_soname_curses+:} false; then :
11846 $as_echo_n "(cached) " >&6
11847 else
11848 ac_check_soname_save_LIBS=$LIBS
11849 LIBS="-lcurses $LIBS"
11850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11851 /* end confdefs.h. */
11853 /* Override any GCC internal prototype to avoid an error.
11854 Use char because int might match the return type of a GCC
11855 builtin and then its argument prototype would still apply. */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char waddch ();
11861 main ()
11863 return waddch ();
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_link "$LINENO"; then :
11869 case "$LIBEXT" in
11870 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11871 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'` ;;
11872 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11873 if ${ac_cv_lib_soname_curses:+false} :; then :
11874 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11875 fi ;;
11876 esac
11878 rm -f core conftest.err conftest.$ac_objext \
11879 conftest$ac_exeext conftest.$ac_ext
11880 LIBS=$ac_check_soname_save_LIBS
11882 if ${ac_cv_lib_soname_curses:+false} :; then :
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11884 $as_echo "not found" >&6; }
11886 else
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11888 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11890 cat >>confdefs.h <<_ACEOF
11891 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11892 _ACEOF
11894 CURSES_LIBS="-lcurses"
11897 ac_save_LIBS="$LIBS"
11898 LIBS="$LIBS $CURSES_LIBS"
11899 for ac_func in mousemask
11900 do :
11901 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11902 if test "x$ac_cv_func_mousemask" = xyes; then :
11903 cat >>confdefs.h <<_ACEOF
11904 #define HAVE_MOUSEMASK 1
11905 _ACEOF
11908 done
11910 LIBS="$ac_save_LIBS"
11911 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11912 case "x$with_curses" in
11913 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11916 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11917 esac
11921 if test "x$with_sane" != "xno"
11922 then
11923 if ${SANE_CFLAGS:+false} :; then :
11924 if ${PKG_CONFIG+:} false; then :
11925 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11928 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11929 if ${SANE_LIBS:+false} :; then :
11930 if ${PKG_CONFIG+:} false; then :
11931 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11934 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11936 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11937 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11938 ac_save_CPPFLAGS=$CPPFLAGS
11939 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11940 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11941 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11943 $as_echo_n "checking for -lsane... " >&6; }
11944 if ${ac_cv_lib_soname_sane+:} false; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 ac_check_soname_save_LIBS=$LIBS
11948 LIBS="-lsane $SANE_LIBS $LIBS"
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 char sane_init ();
11960 main ()
11962 return sane_init ();
11964 return 0;
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 case "$LIBEXT" in
11969 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11970 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'` ;;
11971 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11972 if ${ac_cv_lib_soname_sane:+false} :; then :
11973 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11974 fi ;;
11975 esac
11977 rm -f core conftest.err conftest.$ac_objext \
11978 conftest$ac_exeext conftest.$ac_ext
11979 LIBS=$ac_check_soname_save_LIBS
11981 if ${ac_cv_lib_soname_sane:+false} :; then :
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11983 $as_echo "not found" >&6; }
11984 SANE_CFLAGS=""
11985 else
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11987 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11989 cat >>confdefs.h <<_ACEOF
11990 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11991 _ACEOF
11995 else
11996 SANE_CFLAGS=""
12000 CPPFLAGS=$ac_save_CPPFLAGS
12001 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12002 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12005 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12006 case "x$with_sane" in
12007 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12008 xno) ;;
12009 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12010 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12011 esac
12015 if test "x$with_v4l" != "xno"
12016 then
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12018 $as_echo_n "checking for -lv4l1... " >&6; }
12019 if ${ac_cv_lib_soname_v4l1+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_soname_save_LIBS=$LIBS
12023 LIBS="-lv4l1 $LIBS"
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 #ifdef __cplusplus
12031 extern "C"
12032 #endif
12033 char v4l1_open ();
12035 main ()
12037 return v4l1_open ();
12039 return 0;
12041 _ACEOF
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 case "$LIBEXT" in
12044 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12045 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'` ;;
12046 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12047 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12048 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12049 fi ;;
12050 esac
12052 rm -f core conftest.err conftest.$ac_objext \
12053 conftest$ac_exeext conftest.$ac_ext
12054 LIBS=$ac_check_soname_save_LIBS
12056 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12058 $as_echo "not found" >&6; }
12060 else
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12062 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12064 cat >>confdefs.h <<_ACEOF
12065 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12066 _ACEOF
12071 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12072 case "x$with_v4l" in
12073 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12074 xno) ;;
12075 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12076 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12077 esac
12081 if test "x$with_gphoto" != "xno"
12082 then
12083 if ${GPHOTO2_CFLAGS:+false} :; then :
12084 if ${PKG_CONFIG+:} false; then :
12085 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12088 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12089 if ${GPHOTO2_LIBS:+false} :; then :
12090 if ${PKG_CONFIG+:} false; then :
12091 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12094 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12095 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12096 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12097 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12098 ac_save_CPPFLAGS=$CPPFLAGS
12099 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12100 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12101 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12103 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12104 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_lib_save_LIBS=$LIBS
12108 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char gp_camera_new ();
12120 main ()
12122 return gp_camera_new ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_lib_gphoto2_gp_camera_new=yes
12129 else
12130 ac_cv_lib_gphoto2_gp_camera_new=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12137 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12138 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12140 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12142 else
12143 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12146 else
12147 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12151 CPPFLAGS=$ac_save_CPPFLAGS
12152 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12153 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12155 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12156 if ${PKG_CONFIG+:} false; then :
12157 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12160 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12161 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12162 if ${PKG_CONFIG+:} false; then :
12163 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12166 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12167 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12168 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12169 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12170 ac_save_CPPFLAGS=$CPPFLAGS
12171 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12172 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12175 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12176 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12177 $as_echo_n "(cached) " >&6
12178 else
12179 ac_check_lib_save_LIBS=$LIBS
12180 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12182 /* end confdefs.h. */
12184 /* Override any GCC internal prototype to avoid an error.
12185 Use char because int might match the return type of a GCC
12186 builtin and then its argument prototype would still apply. */
12187 #ifdef __cplusplus
12188 extern "C"
12189 #endif
12190 char gp_port_info_list_new ();
12192 main ()
12194 return gp_port_info_list_new ();
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_link "$LINENO"; then :
12200 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12201 else
12202 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12204 rm -f core conftest.err conftest.$ac_objext \
12205 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12209 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12210 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12212 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12214 else
12215 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12218 else
12219 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12223 CPPFLAGS=$ac_save_CPPFLAGS
12224 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12225 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12228 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12229 case "x$with_gphoto" in
12230 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12231 xno) ;;
12232 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12233 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12234 esac
12237 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12238 case "x$with_gphoto" in
12239 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12240 xno) ;;
12241 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12242 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12243 esac
12248 if test "$ac_cv_header_resolv_h" = "yes"
12249 then
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12251 $as_echo_n "checking for resolver library... " >&6; }
12252 if ${ac_cv_have_resolv+:} false; then :
12253 $as_echo_n "(cached) " >&6
12254 else
12255 ac_save_LIBS="$LIBS"
12256 for lib in '' -lresolv
12258 LIBS="$lib $ac_save_LIBS"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 #ifdef HAVE_NETINET_IN_H
12262 #include <netinet/in.h>
12263 #endif
12264 #include <resolv.h>
12266 main ()
12268 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 ac_cv_have_resolv=${lib:-"none required"}
12275 else
12276 ac_cv_have_resolv="not found"
12278 rm -f core conftest.err conftest.$ac_objext \
12279 conftest$ac_exeext conftest.$ac_ext
12280 test "x$ac_cv_have_resolv" = "xnot found" || break
12281 done
12282 LIBS="$ac_save_LIBS"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12285 $as_echo "$ac_cv_have_resolv" >&6; }
12287 case "$ac_cv_have_resolv" in
12288 "not found") ;;
12289 "none required")
12291 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12294 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12296 RESOLV_LIBS=$ac_cv_have_resolv
12298 esac
12301 if test "x$with_cms" != "xno"
12302 then
12303 if ${LCMS2_CFLAGS:+false} :; then :
12304 if ${PKG_CONFIG+:} false; then :
12305 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12309 if ${LCMS2_LIBS:+false} :; then :
12310 if ${PKG_CONFIG+:} false; then :
12311 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12315 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12316 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12317 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12318 ac_save_CPPFLAGS=$CPPFLAGS
12319 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12320 for ac_header in lcms2.h
12321 do :
12322 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12323 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12324 cat >>confdefs.h <<_ACEOF
12325 #define HAVE_LCMS2_H 1
12326 _ACEOF
12330 done
12332 if test "$ac_cv_header_lcms2_h" = "yes"
12333 then
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12335 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12336 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12337 $as_echo_n "(cached) " >&6
12338 else
12339 ac_check_lib_save_LIBS=$LIBS
12340 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12344 /* Override any GCC internal prototype to avoid an error.
12345 Use char because int might match the return type of a GCC
12346 builtin and then its argument prototype would still apply. */
12347 #ifdef __cplusplus
12348 extern "C"
12349 #endif
12350 char cmsOpenProfileFromFile ();
12352 main ()
12354 return cmsOpenProfileFromFile ();
12356 return 0;
12358 _ACEOF
12359 if ac_fn_c_try_link "$LINENO"; then :
12360 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12361 else
12362 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 LIBS=$ac_check_lib_save_LIBS
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12369 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12370 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12372 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12374 else
12375 LCMS2_LIBS=""
12378 else
12379 LCMS2_CFLAGS=""
12380 LCMS2_LIBS=""
12382 CPPFLAGS=$ac_save_CPPFLAGS
12383 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12384 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12387 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12388 case "x$with_cms" in
12389 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12390 xno) ;;
12391 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12392 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12393 esac
12397 if test "x$with_freetype" != "xno"
12398 then
12399 if ${FREETYPE_CFLAGS:+false} :; then :
12400 if ${PKG_CONFIG+:} false; then :
12401 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12404 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12405 if ${FREETYPE_LIBS:+false} :; then :
12406 if ${PKG_CONFIG+:} false; then :
12407 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12410 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12411 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12412 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12413 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12414 ac_save_CPPFLAGS=$CPPFLAGS
12415 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12416 for ac_header in ft2build.h
12417 do :
12418 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12419 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12420 cat >>confdefs.h <<_ACEOF
12421 #define HAVE_FT2BUILD_H 1
12422 _ACEOF
12426 done
12428 if test "$ac_cv_header_ft2build_h" = "yes"
12429 then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12431 $as_echo_n "checking for -lfreetype... " >&6; }
12432 if ${ac_cv_lib_soname_freetype+:} false; then :
12433 $as_echo_n "(cached) " >&6
12434 else
12435 ac_check_soname_save_LIBS=$LIBS
12436 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12443 #ifdef __cplusplus
12444 extern "C"
12445 #endif
12446 char FT_Init_FreeType ();
12448 main ()
12450 return FT_Init_FreeType ();
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_link "$LINENO"; then :
12456 case "$LIBEXT" in
12457 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12458 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'` ;;
12459 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12460 if ${ac_cv_lib_soname_freetype:+false} :; then :
12461 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12462 fi ;;
12463 esac
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467 LIBS=$ac_check_soname_save_LIBS
12469 if ${ac_cv_lib_soname_freetype:+false} :; then :
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12471 $as_echo "not found" >&6; }
12472 FREETYPE_LIBS=""
12473 else
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12475 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12477 cat >>confdefs.h <<_ACEOF
12478 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12479 _ACEOF
12482 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12484 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12485 #include FT_MODULE_H
12487 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12489 cat >>confdefs.h <<_ACEOF
12490 #define HAVE_FT_TRUETYPEENGINETYPE 1
12491 _ACEOF
12497 else
12498 FREETYPE_CFLAGS=""
12499 FREETYPE_LIBS=""
12501 CPPFLAGS=$ac_save_CPPFLAGS
12502 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12503 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12506 if test "x$ac_cv_lib_soname_freetype" = x; then :
12507 case "x$with_freetype" in
12508 xno) ;;
12509 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12510 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12511 esac
12512 enable_fonts=${enable_fonts:-no}
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12516 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12517 if ${ac_cv_c_ppdev+:} false; then :
12518 $as_echo_n "(cached) " >&6
12519 else
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12522 #ifdef HAVE_SYS_IOCTL_H
12523 # include <sys/ioctl.h>
12524 #endif
12525 #include <linux/ppdev.h>
12527 main ()
12529 ioctl (1,PPCLAIM,0)
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_compile "$LINENO"; then :
12535 ac_cv_c_ppdev="yes"
12536 else
12537 ac_cv_c_ppdev="no"
12539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12542 $as_echo "$ac_cv_c_ppdev" >&6; }
12543 if test "$ac_cv_c_ppdev" = "yes"
12544 then
12546 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12550 ac_wine_check_funcs_save_LIBS="$LIBS"
12551 LIBS="$LIBS $PTHREAD_LIBS"
12552 for ac_func in \
12553 pthread_attr_get_np \
12554 pthread_getattr_np \
12555 pthread_getthreadid_np \
12556 pthread_get_stackaddr_np \
12557 pthread_get_stacksize_np
12558 do :
12559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12561 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12562 cat >>confdefs.h <<_ACEOF
12563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12564 _ACEOF
12567 done
12569 LIBS="$ac_wine_check_funcs_save_LIBS"
12571 if test "$ac_cv_header_zlib_h" = "yes"
12572 then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12574 $as_echo_n "checking for inflate in -lz... " >&6; }
12575 if ${ac_cv_lib_z_inflate+:} false; then :
12576 $as_echo_n "(cached) " >&6
12577 else
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-lz $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12586 #ifdef __cplusplus
12587 extern "C"
12588 #endif
12589 char inflate ();
12591 main ()
12593 return inflate ();
12595 return 0;
12597 _ACEOF
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_lib_z_inflate=yes
12600 else
12601 ac_cv_lib_z_inflate=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12608 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12609 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12611 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12613 Z_LIBS="-lz"
12618 if test "x$Z_LIBS" = "x"; then :
12619 case "x$with_zlib" in
12620 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12621 xno) ;;
12622 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12623 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12624 esac
12628 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12629 then
12630 if test "$ac_cv_header_gettext_po_h" = "yes"
12631 then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12633 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12634 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12635 $as_echo_n "(cached) " >&6
12636 else
12637 ac_check_lib_save_LIBS=$LIBS
12638 LIBS="-lgettextpo $LIBS"
12639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12645 #ifdef __cplusplus
12646 extern "C"
12647 #endif
12648 char po_message_msgctxt ();
12650 main ()
12652 return po_message_msgctxt ();
12654 return 0;
12656 _ACEOF
12657 if ac_fn_c_try_link "$LINENO"; then :
12658 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12659 else
12660 ac_cv_lib_gettextpo_po_message_msgctxt=no
12662 rm -f core conftest.err conftest.$ac_objext \
12663 conftest$ac_exeext conftest.$ac_ext
12664 LIBS=$ac_check_lib_save_LIBS
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12667 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12668 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12670 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12672 GETTEXTPO_LIBS="-lgettextpo"
12677 if test "x$GETTEXTPO_LIBS" = "x"; then :
12678 case "x$with_gettextpo" in
12679 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12680 xno) ;;
12681 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12682 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12683 esac
12686 if test "$srcdir" != .; then :
12687 case "x$with_gettextpo" in
12688 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12689 xno) ;;
12690 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12691 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12692 esac
12697 if test "x$with_pulse" != "xno";
12698 then
12699 if ${PULSE_CFLAGS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12705 if ${PULSE_LIBS:+false} :; then :
12706 if ${PKG_CONFIG+:} false; then :
12707 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12712 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12713 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12716 for ac_header in pulse/pulseaudio.h
12717 do :
12718 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12719 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12720 cat >>confdefs.h <<_ACEOF
12721 #define HAVE_PULSE_PULSEAUDIO_H 1
12722 _ACEOF
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12724 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12725 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_check_lib_save_LIBS=$LIBS
12729 LIBS="-lpulse $PULSE_LIBS $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 char pa_stream_is_corked ();
12741 main ()
12743 return pa_stream_is_corked ();
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 ac_cv_lib_pulse_pa_stream_is_corked=yes
12750 else
12751 ac_cv_lib_pulse_pa_stream_is_corked=no
12753 rm -f core conftest.err conftest.$ac_objext \
12754 conftest$ac_exeext conftest.$ac_ext
12755 LIBS=$ac_check_lib_save_LIBS
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12758 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12759 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12761 else
12762 PULSE_LIBS=""
12765 else
12766 PULSE_LIBS=""
12769 done
12771 CPPFLAGS=$ac_save_CPPFLAGS
12772 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12773 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12776 if test -z "$PULSE_LIBS"; then :
12777 case "x$with_pulse" in
12778 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12779 xno) ;;
12780 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12781 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12782 esac
12783 enable_winepulse_drv=${enable_winepulse_drv:-no}
12786 if test "x$with_gstreamer" != "xno"
12787 then
12788 if ${GSTREAMER_CFLAGS:+false} :; then :
12789 if ${PKG_CONFIG+:} false; then :
12790 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12794 if ${GSTREAMER_LIBS:+false} :; then :
12795 if ${PKG_CONFIG+:} false; then :
12796 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12801 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12802 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12803 ac_save_CPPFLAGS=$CPPFLAGS
12804 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12805 ac_gst_incl=""
12806 for i in $GSTREAMER_CFLAGS
12808 case "$i" in
12809 -I*) ac_gst_incl="$ac_gst_incl $i";;
12810 esac
12811 done
12812 GSTREAMER_CFLAGS=$ac_gst_incl
12813 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12814 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12815 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12817 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12819 /* end confdefs.h. */
12820 #include <gst/gst.h>
12822 main ()
12824 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_compile "$LINENO"; then :
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12831 $as_echo "yes" >&6; }
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12833 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12834 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12835 $as_echo_n "(cached) " >&6
12836 else
12837 ac_check_lib_save_LIBS=$LIBS
12838 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12845 #ifdef __cplusplus
12846 extern "C"
12847 #endif
12848 char gst_pad_new ();
12850 main ()
12852 return gst_pad_new ();
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12859 else
12860 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12862 rm -f core conftest.err conftest.$ac_objext \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_lib_save_LIBS
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12867 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12868 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12872 else
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12875 ac_glib2_broken=yes
12876 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12882 CPPFLAGS=$ac_save_CPPFLAGS
12883 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12884 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12887 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 :
12888 case "x$with_gstreamer" in
12889 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12890 xno) ;;
12891 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12892 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12893 esac
12896 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12898 ALSA_LIBS=""
12900 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12901 then
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12903 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12904 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12905 $as_echo_n "(cached) " >&6
12906 else
12907 ac_check_lib_save_LIBS=$LIBS
12908 LIBS="-lasound $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12910 /* end confdefs.h. */
12912 /* Override any GCC internal prototype to avoid an error.
12913 Use char because int might match the return type of a GCC
12914 builtin and then its argument prototype would still apply. */
12915 #ifdef __cplusplus
12916 extern "C"
12917 #endif
12918 char snd_pcm_hw_params_get_access_mask ();
12920 main ()
12922 return snd_pcm_hw_params_get_access_mask ();
12924 return 0;
12926 _ACEOF
12927 if ac_fn_c_try_link "$LINENO"; then :
12928 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12929 else
12930 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12932 rm -f core conftest.err conftest.$ac_objext \
12933 conftest$ac_exeext conftest.$ac_ext
12934 LIBS=$ac_check_lib_save_LIBS
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12937 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12938 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12941 #ifdef HAVE_ALSA_ASOUNDLIB_H
12942 #include <alsa/asoundlib.h>
12943 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12944 #include <sys/asoundlib.h>
12945 #endif
12947 main ()
12949 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_compile "$LINENO"; then :
12955 ALSA_LIBS="-lasound"
12957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12961 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12963 if test "x$with_oss" != xno
12964 then
12965 ac_save_CPPFLAGS="$CPPFLAGS"
12966 if test -f /etc/oss.conf
12967 then
12968 . /etc/oss.conf
12970 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12971 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12972 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12974 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12976 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12978 cat >>confdefs.h <<_ACEOF
12979 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12980 _ACEOF
12982 OSS4_CFLAGS="$ac_oss_incl"
12989 CPPFLAGS="$ac_save_CPPFLAGS"
12991 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12992 case "x$with_oss" in
12993 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12994 xno) ;;
12995 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12996 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12997 esac
12998 enable_wineoss_drv=${enable_wineoss_drv:-no}
13001 if test "x$with_udev" != "xno"
13002 then
13003 if ${UDEV_CFLAGS:+false} :; then :
13004 if ${PKG_CONFIG+:} false; then :
13005 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13009 if ${UDEV_LIBS:+false} :; then :
13010 if ${PKG_CONFIG+:} false; then :
13011 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13015 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13016 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13017 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13018 ac_save_CPPFLAGS=$CPPFLAGS
13019 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13020 for ac_header in libudev.h
13021 do :
13022 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13023 if test "x$ac_cv_header_libudev_h" = xyes; then :
13024 cat >>confdefs.h <<_ACEOF
13025 #define HAVE_LIBUDEV_H 1
13026 _ACEOF
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13028 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13029 if ${ac_cv_lib_udev_udev_new+:} false; then :
13030 $as_echo_n "(cached) " >&6
13031 else
13032 ac_check_lib_save_LIBS=$LIBS
13033 LIBS="-ludev $UDEV_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13040 #ifdef __cplusplus
13041 extern "C"
13042 #endif
13043 char udev_new ();
13045 main ()
13047 return udev_new ();
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_link "$LINENO"; then :
13053 ac_cv_lib_udev_udev_new=yes
13054 else
13055 ac_cv_lib_udev_udev_new=no
13057 rm -f core conftest.err conftest.$ac_objext \
13058 conftest$ac_exeext conftest.$ac_ext
13059 LIBS=$ac_check_lib_save_LIBS
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13062 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13063 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13065 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13067 else
13068 UDEV_LIBS=""
13071 else
13072 UDEV_LIBS=""
13075 done
13077 CPPFLAGS=$ac_save_CPPFLAGS
13078 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13079 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13082 if test "x$UDEV_LIBS" = "x"; then :
13083 case "x$with_udev" in
13084 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13085 xno) ;;
13086 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13087 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13088 esac
13092 if test "x$with_capi" != "xno"
13093 then
13094 if ${CAPI20_CFLAGS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13100 if ${CAPI20_LIBS:+false} :; then :
13101 if ${PKG_CONFIG+:} false; then :
13102 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13107 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13108 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13109 ac_save_CPPFLAGS=$CPPFLAGS
13110 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13111 for ac_header in capi20.h linux/capi.h
13112 do :
13113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13114 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13117 cat >>confdefs.h <<_ACEOF
13118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13119 _ACEOF
13123 done
13125 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13126 then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13128 $as_echo_n "checking for -lcapi20... " >&6; }
13129 if ${ac_cv_lib_soname_capi20+:} false; then :
13130 $as_echo_n "(cached) " >&6
13131 else
13132 ac_check_soname_save_LIBS=$LIBS
13133 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13137 /* Override any GCC internal prototype to avoid an error.
13138 Use char because int might match the return type of a GCC
13139 builtin and then its argument prototype would still apply. */
13140 #ifdef __cplusplus
13141 extern "C"
13142 #endif
13143 char capi20_register ();
13145 main ()
13147 return capi20_register ();
13149 return 0;
13151 _ACEOF
13152 if ac_fn_c_try_link "$LINENO"; then :
13153 case "$LIBEXT" in
13154 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13155 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'` ;;
13156 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13157 if ${ac_cv_lib_soname_capi20:+false} :; then :
13158 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13159 fi ;;
13160 esac
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_soname_save_LIBS
13166 if ${ac_cv_lib_soname_capi20:+false} :; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13168 $as_echo "not found" >&6; }
13170 else
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13172 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13174 cat >>confdefs.h <<_ACEOF
13175 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13176 _ACEOF
13181 CPPFLAGS=$ac_save_CPPFLAGS
13182 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13183 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13186 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13187 case "x$with_capi" in
13188 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13189 xno) ;;
13190 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13191 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13192 esac
13196 CUPS_CFLAGS=""
13198 if test "x$with_cups" != "xno"
13199 then
13200 ac_save_CPPFLAGS="$CPPFLAGS"
13201 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13202 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13203 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13204 for ac_header in cups/cups.h
13205 do :
13206 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13207 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13208 cat >>confdefs.h <<_ACEOF
13209 #define HAVE_CUPS_CUPS_H 1
13210 _ACEOF
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13212 $as_echo_n "checking for -lcups... " >&6; }
13213 if ${ac_cv_lib_soname_cups+:} false; then :
13214 $as_echo_n "(cached) " >&6
13215 else
13216 ac_check_soname_save_LIBS=$LIBS
13217 LIBS="-lcups $ac_cups_libs $LIBS"
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13219 /* end confdefs.h. */
13221 /* Override any GCC internal prototype to avoid an error.
13222 Use char because int might match the return type of a GCC
13223 builtin and then its argument prototype would still apply. */
13224 #ifdef __cplusplus
13225 extern "C"
13226 #endif
13227 char cupsGetDefault ();
13229 main ()
13231 return cupsGetDefault ();
13233 return 0;
13235 _ACEOF
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 case "$LIBEXT" in
13238 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13239 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'` ;;
13240 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13241 if ${ac_cv_lib_soname_cups:+false} :; then :
13242 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13243 fi ;;
13244 esac
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_soname_save_LIBS
13250 if ${ac_cv_lib_soname_cups:+false} :; then :
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13252 $as_echo "not found" >&6; }
13254 else
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13256 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13258 cat >>confdefs.h <<_ACEOF
13259 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13260 _ACEOF
13262 CUPS_CFLAGS="$ac_cups_cflags"
13264 for ac_header in cups/ppd.h
13265 do :
13266 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13267 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13268 cat >>confdefs.h <<_ACEOF
13269 #define HAVE_CUPS_PPD_H 1
13270 _ACEOF
13274 done
13278 done
13280 CPPFLAGS="$ac_save_CPPFLAGS"
13282 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13283 case "x$with_cups" in
13284 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13285 xno) ;;
13286 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13287 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13288 esac
13292 if test "x$with_fontconfig" != "xno"
13293 then
13294 if ${FONTCONFIG_CFLAGS:+false} :; then :
13295 if ${PKG_CONFIG+:} false; then :
13296 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13299 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13300 if ${FONTCONFIG_LIBS:+false} :; then :
13301 if ${PKG_CONFIG+:} false; then :
13302 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13305 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13307 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13308 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13309 ac_save_CPPFLAGS=$CPPFLAGS
13310 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13311 for ac_header in fontconfig/fontconfig.h
13312 do :
13313 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13314 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13315 cat >>confdefs.h <<_ACEOF
13316 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13317 _ACEOF
13321 done
13323 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13324 then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13326 $as_echo_n "checking for -lfontconfig... " >&6; }
13327 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13328 $as_echo_n "(cached) " >&6
13329 else
13330 ac_check_soname_save_LIBS=$LIBS
13331 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13335 /* Override any GCC internal prototype to avoid an error.
13336 Use char because int might match the return type of a GCC
13337 builtin and then its argument prototype would still apply. */
13338 #ifdef __cplusplus
13339 extern "C"
13340 #endif
13341 char FcInit ();
13343 main ()
13345 return FcInit ();
13347 return 0;
13349 _ACEOF
13350 if ac_fn_c_try_link "$LINENO"; then :
13351 case "$LIBEXT" in
13352 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13353 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'` ;;
13354 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13355 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13356 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13357 fi ;;
13358 esac
13360 rm -f core conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_check_soname_save_LIBS
13364 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13366 $as_echo "not found" >&6; }
13367 FONTCONFIG_CFLAGS=""
13368 else
13369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13370 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13372 cat >>confdefs.h <<_ACEOF
13373 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13374 _ACEOF
13378 else
13379 FONTCONFIG_CFLAGS=""
13381 CPPFLAGS=$ac_save_CPPFLAGS
13382 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13383 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13386 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13387 case "x$with_fontconfig" in
13388 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13389 xno) ;;
13390 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13391 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13392 esac
13396 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13397 then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13399 $as_echo_n "checking for -lgsm... " >&6; }
13400 if ${ac_cv_lib_soname_gsm+:} false; then :
13401 $as_echo_n "(cached) " >&6
13402 else
13403 ac_check_soname_save_LIBS=$LIBS
13404 LIBS="-lgsm $LIBS"
13405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13411 #ifdef __cplusplus
13412 extern "C"
13413 #endif
13414 char gsm_create ();
13416 main ()
13418 return gsm_create ();
13420 return 0;
13422 _ACEOF
13423 if ac_fn_c_try_link "$LINENO"; then :
13424 case "$LIBEXT" in
13425 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13426 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'` ;;
13427 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13428 if ${ac_cv_lib_soname_gsm:+false} :; then :
13429 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13430 fi ;;
13431 esac
13433 rm -f core conftest.err conftest.$ac_objext \
13434 conftest$ac_exeext conftest.$ac_ext
13435 LIBS=$ac_check_soname_save_LIBS
13437 if ${ac_cv_lib_soname_gsm:+false} :; then :
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13439 $as_echo "not found" >&6; }
13441 else
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13443 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13445 cat >>confdefs.h <<_ACEOF
13446 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13447 _ACEOF
13452 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13453 case "x$with_gsm" in
13454 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13455 xno) ;;
13456 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13457 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13458 esac
13462 if test "x$with_jpeg" != "xno"
13463 then
13464 if ${JPEG_CFLAGS:+false} :; then :
13465 if ${PKG_CONFIG+:} false; then :
13466 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13470 if ${JPEG_LIBS:+false} :; then :
13471 if ${PKG_CONFIG+:} false; then :
13472 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13477 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13478 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13479 ac_save_CPPFLAGS=$CPPFLAGS
13480 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13481 for ac_header in jpeglib.h
13482 do :
13483 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13484 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13485 cat >>confdefs.h <<_ACEOF
13486 #define HAVE_JPEGLIB_H 1
13487 _ACEOF
13491 done
13493 if test "$ac_cv_header_jpeglib_h" = "yes"
13494 then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13496 $as_echo_n "checking for -ljpeg... " >&6; }
13497 if ${ac_cv_lib_soname_jpeg+:} false; then :
13498 $as_echo_n "(cached) " >&6
13499 else
13500 ac_check_soname_save_LIBS=$LIBS
13501 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13503 /* end confdefs.h. */
13505 /* Override any GCC internal prototype to avoid an error.
13506 Use char because int might match the return type of a GCC
13507 builtin and then its argument prototype would still apply. */
13508 #ifdef __cplusplus
13509 extern "C"
13510 #endif
13511 char jpeg_start_decompress ();
13513 main ()
13515 return jpeg_start_decompress ();
13517 return 0;
13519 _ACEOF
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 case "$LIBEXT" in
13522 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13523 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'` ;;
13524 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13525 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13526 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13527 fi ;;
13528 esac
13530 rm -f core conftest.err conftest.$ac_objext \
13531 conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_soname_save_LIBS
13534 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13536 $as_echo "not found" >&6; }
13537 JPEG_CFLAGS=""
13538 else
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13540 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13542 cat >>confdefs.h <<_ACEOF
13543 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13544 _ACEOF
13548 else
13549 JPEG_CFLAGS=""
13551 CPPFLAGS=$ac_save_CPPFLAGS
13552 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13553 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13556 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13557 case "x$with_jpeg" in
13558 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13559 xno) ;;
13560 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13561 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13562 esac
13566 if test "x$with_png" != "xno"
13567 then
13568 if ${PNG_CFLAGS:+false} :; then :
13569 if ${PKG_CONFIG+:} false; then :
13570 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13573 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13574 if ${PNG_LIBS:+false} :; then :
13575 if ${PKG_CONFIG+:} false; then :
13576 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13579 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13581 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13582 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13583 ac_save_CPPFLAGS=$CPPFLAGS
13584 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13585 for ac_header in png.h
13586 do :
13587 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13588 if test "x$ac_cv_header_png_h" = xyes; then :
13589 cat >>confdefs.h <<_ACEOF
13590 #define HAVE_PNG_H 1
13591 _ACEOF
13595 done
13597 if test "$ac_cv_header_png_h" = "yes"
13598 then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13600 $as_echo_n "checking for -lpng... " >&6; }
13601 if ${ac_cv_lib_soname_png+:} false; then :
13602 $as_echo_n "(cached) " >&6
13603 else
13604 ac_check_soname_save_LIBS=$LIBS
13605 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13607 /* end confdefs.h. */
13609 /* Override any GCC internal prototype to avoid an error.
13610 Use char because int might match the return type of a GCC
13611 builtin and then its argument prototype would still apply. */
13612 #ifdef __cplusplus
13613 extern "C"
13614 #endif
13615 char png_create_read_struct ();
13617 main ()
13619 return png_create_read_struct ();
13621 return 0;
13623 _ACEOF
13624 if ac_fn_c_try_link "$LINENO"; then :
13625 case "$LIBEXT" in
13626 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13627 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'` ;;
13628 *) 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'`
13629 if ${ac_cv_lib_soname_png:+false} :; then :
13630 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13631 fi ;;
13632 esac
13634 rm -f core conftest.err conftest.$ac_objext \
13635 conftest$ac_exeext conftest.$ac_ext
13636 LIBS=$ac_check_soname_save_LIBS
13638 if ${ac_cv_lib_soname_png:+false} :; then :
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13640 $as_echo "not found" >&6; }
13641 PNG_CFLAGS=""
13642 else
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13644 $as_echo "$ac_cv_lib_soname_png" >&6; }
13646 cat >>confdefs.h <<_ACEOF
13647 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13648 _ACEOF
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13652 #include <png.h>
13654 main ()
13656 typeof(png_set_expand_gray_1_2_4_to_8) *p
13658 return 0;
13660 _ACEOF
13661 if ac_fn_c_try_compile "$LINENO"; then :
13663 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13668 else
13669 PNG_CFLAGS=""
13671 CPPFLAGS=$ac_save_CPPFLAGS
13672 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13673 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13676 if test "x$ac_cv_lib_soname_png" = "x"; then :
13677 case "x$with_png" in
13678 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13679 xno) ;;
13680 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13681 This is an error since --with-png was requested." "$LINENO" 5 ;;
13682 esac
13686 if test "x$with_tiff" != "xno"
13687 then
13688 if ${TIFF_CFLAGS:+false} :; then :
13689 if ${PKG_CONFIG+:} false; then :
13690 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13694 if ${TIFF_LIBS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13701 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13702 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13703 ac_save_CPPFLAGS=$CPPFLAGS
13704 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13705 for ac_header in tiffio.h
13706 do :
13707 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13708 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13709 cat >>confdefs.h <<_ACEOF
13710 #define HAVE_TIFFIO_H 1
13711 _ACEOF
13715 done
13717 if test "$ac_cv_header_tiffio_h" = "yes"
13718 then
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13720 $as_echo_n "checking for -ltiff... " >&6; }
13721 if ${ac_cv_lib_soname_tiff+:} false; then :
13722 $as_echo_n "(cached) " >&6
13723 else
13724 ac_check_soname_save_LIBS=$LIBS
13725 LIBS="-ltiff $TIFF_LIBS $LIBS"
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727 /* end confdefs.h. */
13729 /* Override any GCC internal prototype to avoid an error.
13730 Use char because int might match the return type of a GCC
13731 builtin and then its argument prototype would still apply. */
13732 #ifdef __cplusplus
13733 extern "C"
13734 #endif
13735 char TIFFClientOpen ();
13737 main ()
13739 return TIFFClientOpen ();
13741 return 0;
13743 _ACEOF
13744 if ac_fn_c_try_link "$LINENO"; then :
13745 case "$LIBEXT" in
13746 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13747 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'` ;;
13748 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13749 if ${ac_cv_lib_soname_tiff:+false} :; then :
13750 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13751 fi ;;
13752 esac
13754 rm -f core conftest.err conftest.$ac_objext \
13755 conftest$ac_exeext conftest.$ac_ext
13756 LIBS=$ac_check_soname_save_LIBS
13758 if ${ac_cv_lib_soname_tiff:+false} :; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13760 $as_echo "not found" >&6; }
13762 else
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13764 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13766 cat >>confdefs.h <<_ACEOF
13767 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13768 _ACEOF
13773 CPPFLAGS=$ac_save_CPPFLAGS
13774 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13775 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13778 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13779 case "x$with_tiff" in
13780 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13781 xno) ;;
13782 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13783 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13784 esac
13788 if test "x$with_mpg123" != "xno"
13789 then
13790 if ${MPG123_CFLAGS:+false} :; then :
13791 if ${PKG_CONFIG+:} false; then :
13792 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13796 if ${MPG123_LIBS:+false} :; then :
13797 if ${PKG_CONFIG+:} false; then :
13798 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13802 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13803 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13804 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13805 ac_save_CPPFLAGS=$CPPFLAGS
13806 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13807 for ac_header in mpg123.h
13808 do :
13809 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13810 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13811 cat >>confdefs.h <<_ACEOF
13812 #define HAVE_MPG123_H 1
13813 _ACEOF
13817 done
13819 if test "$ac_cv_header_mpg123_h" = "yes"
13820 then
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13822 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13823 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 ac_check_lib_save_LIBS=$LIBS
13827 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13831 /* Override any GCC internal prototype to avoid an error.
13832 Use char because int might match the return type of a GCC
13833 builtin and then its argument prototype would still apply. */
13834 #ifdef __cplusplus
13835 extern "C"
13836 #endif
13837 char mpg123_feed ();
13839 main ()
13841 return mpg123_feed ();
13843 return 0;
13845 _ACEOF
13846 if ac_fn_c_try_link "$LINENO"; then :
13847 ac_cv_lib_mpg123_mpg123_feed=yes
13848 else
13849 ac_cv_lib_mpg123_mpg123_feed=no
13851 rm -f core conftest.err conftest.$ac_objext \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_lib_save_LIBS
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13856 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13857 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13859 else
13860 MPG123_LIBS=""
13863 else
13864 MPG123_CFLAGS=""
13865 MPG123_LIBS=""
13867 CPPFLAGS=$ac_save_CPPFLAGS
13868 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13869 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13872 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13873 case "x$with_mpg123" in
13874 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13875 xno) ;;
13876 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13877 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13878 esac
13879 enable_winemp3_acm=${enable_winemp3_acm:-no}
13882 if test "$ac_cv_header_AL_al_h" = "yes"
13883 then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13885 $as_echo_n "checking for -lopenal... " >&6; }
13886 if ${ac_cv_lib_soname_openal+:} false; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 ac_check_soname_save_LIBS=$LIBS
13890 LIBS="-lopenal $LIBS"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 #ifdef __cplusplus
13898 extern "C"
13899 #endif
13900 char alGetSource3i ();
13902 main ()
13904 return alGetSource3i ();
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"; then :
13910 case "$LIBEXT" in
13911 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13912 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'` ;;
13913 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13914 if ${ac_cv_lib_soname_openal:+false} :; then :
13915 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13916 fi ;;
13917 esac
13919 rm -f core conftest.err conftest.$ac_objext \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS=$ac_check_soname_save_LIBS
13923 if ${ac_cv_lib_soname_openal:+false} :; then :
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13925 $as_echo "not found" >&6; }
13927 else
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13929 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13931 cat >>confdefs.h <<_ACEOF
13932 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13933 _ACEOF
13935 OPENAL_LIBS="-lopenal"
13937 ac_cv_lib_openal=yes
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_OPENAL 1
13941 _ACEOF
13945 if test "x$ac_cv_lib_openal" != xyes; then :
13946 case "x$with_openal" in
13947 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
13948 xno) ;;
13949 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
13950 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13951 esac
13952 enable_openal32=${enable_openal32:-no}
13955 if test "x$ac_cv_lib_openal" = xyes
13956 then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13958 $as_echo_n "checking for openal-soft... " >&6; }
13959 if ${ac_cv_have_openalsoft+:} false; then :
13960 $as_echo_n "(cached) " >&6
13961 else
13962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13964 #include <AL/al.h>
13965 #include <AL/alc.h>
13966 #include <AL/alext.h>
13967 LPALCRENDERSAMPLESSOFT x;
13969 main ()
13973 return 0;
13975 _ACEOF
13976 if ac_fn_c_try_compile "$LINENO"; then :
13977 ac_cv_have_openalsoft=yes
13978 else
13979 ac_cv_have_openalsoft=no
13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13984 $as_echo "$ac_cv_have_openalsoft" >&6; }
13986 if test "x$ac_cv_have_openalsoft" != xyes
13987 then
13988 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
13989 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13990 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13991 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13992 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13993 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13994 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13995 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13996 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13997 enable_xapofx1_1=${enable_xapofx1_1:-no}
13998 enable_xapofx1_2=${enable_xapofx1_2:-no}
13999 enable_xapofx1_3=${enable_xapofx1_3:-no}
14000 enable_xapofx1_4=${enable_xapofx1_4:-no}
14001 enable_xapofx1_5=${enable_xapofx1_5:-no}
14002 enable_xaudio2_0=${enable_xaudio2_0:-no}
14003 enable_xaudio2_1=${enable_xaudio2_1:-no}
14004 enable_xaudio2_2=${enable_xaudio2_2:-no}
14005 enable_xaudio2_3=${enable_xaudio2_3:-no}
14006 enable_xaudio2_4=${enable_xaudio2_4:-no}
14007 enable_xaudio2_5=${enable_xaudio2_5:-no}
14008 enable_xaudio2_6=${enable_xaudio2_6:-no}
14009 enable_xaudio2_7=${enable_xaudio2_7:-no}
14010 enable_xaudio2_8=${enable_xaudio2_8:-no}
14011 enable_xaudio2_9=${enable_xaudio2_9:-no}
14014 if test "$ac_cv_header_kstat_h" = "yes"
14015 then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14017 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14018 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14019 $as_echo_n "(cached) " >&6
14020 else
14021 ac_check_lib_save_LIBS=$LIBS
14022 LIBS="-lkstat $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14026 /* Override any GCC internal prototype to avoid an error.
14027 Use char because int might match the return type of a GCC
14028 builtin and then its argument prototype would still apply. */
14029 #ifdef __cplusplus
14030 extern "C"
14031 #endif
14032 char kstat_open ();
14034 main ()
14036 return kstat_open ();
14038 return 0;
14040 _ACEOF
14041 if ac_fn_c_try_link "$LINENO"; then :
14042 ac_cv_lib_kstat_kstat_open=yes
14043 else
14044 ac_cv_lib_kstat_kstat_open=no
14046 rm -f core conftest.err conftest.$ac_objext \
14047 conftest$ac_exeext conftest.$ac_ext
14048 LIBS=$ac_check_lib_save_LIBS
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14051 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14052 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14054 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14056 KSTAT_LIBS="-lkstat"
14062 if test "$ac_cv_header_libprocstat_h" = "yes"
14063 then
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14065 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14066 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14067 $as_echo_n "(cached) " >&6
14068 else
14069 ac_check_lib_save_LIBS=$LIBS
14070 LIBS="-lprocstat $LIBS"
14071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14074 /* Override any GCC internal prototype to avoid an error.
14075 Use char because int might match the return type of a GCC
14076 builtin and then its argument prototype would still apply. */
14077 #ifdef __cplusplus
14078 extern "C"
14079 #endif
14080 char procstat_open_sysctl ();
14082 main ()
14084 return procstat_open_sysctl ();
14086 return 0;
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_lib_procstat_procstat_open_sysctl=yes
14091 else
14092 ac_cv_lib_procstat_procstat_open_sysctl=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 LIBS=$ac_check_lib_save_LIBS
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14099 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14100 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14102 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14104 PROCSTAT_LIBS="-lprocstat"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14111 $as_echo_n "checking for -lodbc... " >&6; }
14112 if ${ac_cv_lib_soname_odbc+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_check_soname_save_LIBS=$LIBS
14116 LIBS="-lodbc $LIBS"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14120 /* Override any GCC internal prototype to avoid an error.
14121 Use char because int might match the return type of a GCC
14122 builtin and then its argument prototype would still apply. */
14123 #ifdef __cplusplus
14124 extern "C"
14125 #endif
14126 char SQLConnect ();
14128 main ()
14130 return SQLConnect ();
14132 return 0;
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 case "$LIBEXT" in
14137 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14138 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'` ;;
14139 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14140 if ${ac_cv_lib_soname_odbc:+false} :; then :
14141 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14142 fi ;;
14143 esac
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 LIBS=$ac_check_soname_save_LIBS
14149 if ${ac_cv_lib_soname_odbc:+false} :; then :
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14151 $as_echo "not found" >&6; }
14152 cat >>confdefs.h <<_ACEOF
14153 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14154 _ACEOF
14156 else
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14158 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14160 cat >>confdefs.h <<_ACEOF
14161 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14162 _ACEOF
14167 if test "x$with_netapi" != "xno"
14168 then
14169 if ${NETAPI_CFLAGS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14175 if ${NETAPI_LIBS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14182 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14184 ac_save_CPPFLAGS=$CPPFLAGS
14185 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14187 $as_echo_n "checking for -lnetapi... " >&6; }
14188 if ${ac_cv_lib_soname_netapi+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_check_soname_save_LIBS=$LIBS
14192 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14196 /* Override any GCC internal prototype to avoid an error.
14197 Use char because int might match the return type of a GCC
14198 builtin and then its argument prototype would still apply. */
14199 #ifdef __cplusplus
14200 extern "C"
14201 #endif
14202 char libnetapi_init ();
14204 main ()
14206 return libnetapi_init ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"; then :
14212 case "$LIBEXT" in
14213 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14214 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'` ;;
14215 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14216 if ${ac_cv_lib_soname_netapi:+false} :; then :
14217 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14218 fi ;;
14219 esac
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_check_soname_save_LIBS
14225 if ${ac_cv_lib_soname_netapi:+false} :; then :
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14227 $as_echo "not found" >&6; }
14228 cat >>confdefs.h <<_ACEOF
14229 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14230 _ACEOF
14232 else
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14234 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14236 cat >>confdefs.h <<_ACEOF
14237 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14238 _ACEOF
14242 CPPFLAGS=$ac_save_CPPFLAGS
14243 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14244 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14248 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14249 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14250 then
14251 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14255 EXTRACFLAGS=""
14257 if test "x${GCC}" = "xyes"
14258 then
14259 EXTRACFLAGS="-Wall -pipe"
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14262 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14263 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14264 $as_echo_n "(cached) " >&6
14265 else
14266 if test "$cross_compiling" = yes; then :
14267 ac_cv_c_gcc_strength_bug="no"
14268 else
14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14270 /* end confdefs.h. */
14271 int L[4] = {0,1,2,3};
14273 main ()
14275 static int Array[3];
14276 unsigned int B = 3;
14277 int i;
14278 for(i=0; i<B; i++) Array[i] = i - 3;
14279 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14280 L[i] = 4;
14281 return (Array[1] != -2 || L[2] != 3)
14283 return 0;
14285 _ACEOF
14286 if ac_fn_c_try_run "$LINENO"; then :
14287 ac_cv_c_gcc_strength_bug="no"
14288 else
14289 ac_cv_c_gcc_strength_bug="yes"
14291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14292 conftest.$ac_objext conftest.beam conftest.$ac_ext
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14297 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14298 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14299 then
14300 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14304 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14305 if ${ac_cv_cflags__fno_builtin+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -fno-builtin"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int main(int argc, char **argv) { return 0; }
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"; then :
14315 ac_cv_cflags__fno_builtin=yes
14316 else
14317 ac_cv_cflags__fno_builtin=no
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 CFLAGS=$ac_wine_try_cflags_saved
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14324 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14325 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14326 BUILTINFLAG="-fno-builtin"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14330 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14331 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_wine_try_cflags_saved=$CFLAGS
14335 CFLAGS="$CFLAGS -fno-strict-aliasing"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_cflags__fno_strict_aliasing=yes
14342 else
14343 ac_cv_cflags__fno_strict_aliasing=no
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14350 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14351 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14352 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14355 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14356 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 ac_wine_try_cflags_saved=$CFLAGS
14360 CFLAGS="$CFLAGS -fexcess-precision=standard"
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14363 int main(int argc, char **argv) { return 0; }
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_cflags__fexcess_precision_standard=yes
14367 else
14368 ac_cv_cflags__fexcess_precision_standard=no
14370 rm -f core conftest.err conftest.$ac_objext \
14371 conftest$ac_exeext conftest.$ac_ext
14372 CFLAGS=$ac_wine_try_cflags_saved
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14375 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14376 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14377 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14380 saved_CFLAGS=$CFLAGS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14382 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14383 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14384 $as_echo_n "(cached) " >&6
14385 else
14386 ac_wine_try_cflags_saved=$CFLAGS
14387 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14389 /* end confdefs.h. */
14390 int main(int argc, char **argv) { return 0; }
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_cflags__Werror_unknown_warning_option=yes
14394 else
14395 ac_cv_cflags__Werror_unknown_warning_option=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 CFLAGS=$ac_wine_try_cflags_saved
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14402 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14403 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14404 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14407 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14408 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14409 $as_echo_n "(cached) " >&6
14410 else
14411 ac_wine_try_cflags_saved=$CFLAGS
14412 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 int main(int argc, char **argv) { return 0; }
14416 _ACEOF
14417 if ac_fn_c_try_link "$LINENO"; then :
14418 ac_cv_cflags__Wdeclaration_after_statement=yes
14419 else
14420 ac_cv_cflags__Wdeclaration_after_statement=no
14422 rm -f core conftest.err conftest.$ac_objext \
14423 conftest$ac_exeext conftest.$ac_ext
14424 CFLAGS=$ac_wine_try_cflags_saved
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14427 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14428 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14429 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14432 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14433 if ${ac_cv_cflags__Wempty_body+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_wine_try_cflags_saved=$CFLAGS
14437 CFLAGS="$CFLAGS -Wempty-body"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_cflags__Wempty_body=yes
14444 else
14445 ac_cv_cflags__Wempty_body=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14452 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14453 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14454 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14457 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14458 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 ac_wine_try_cflags_saved=$CFLAGS
14462 CFLAGS="$CFLAGS -Wignored-qualifiers"
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14464 /* end confdefs.h. */
14465 int main(int argc, char **argv) { return 0; }
14466 _ACEOF
14467 if ac_fn_c_try_link "$LINENO"; then :
14468 ac_cv_cflags__Wignored_qualifiers=yes
14469 else
14470 ac_cv_cflags__Wignored_qualifiers=no
14472 rm -f core conftest.err conftest.$ac_objext \
14473 conftest$ac_exeext conftest.$ac_ext
14474 CFLAGS=$ac_wine_try_cflags_saved
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14477 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14478 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14479 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14482 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14483 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14484 $as_echo_n "(cached) " >&6
14485 else
14486 ac_wine_try_cflags_saved=$CFLAGS
14487 CFLAGS="$CFLAGS -Wshift-overflow=2"
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int main(int argc, char **argv) { return 0; }
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_cflags__Wshift_overflow_2=yes
14494 else
14495 ac_cv_cflags__Wshift_overflow_2=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 CFLAGS=$ac_wine_try_cflags_saved
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14502 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14503 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14504 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14507 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14508 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14509 $as_echo_n "(cached) " >&6
14510 else
14511 ac_wine_try_cflags_saved=$CFLAGS
14512 CFLAGS="$CFLAGS -Wstrict-prototypes"
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 int main(int argc, char **argv) { return 0; }
14516 _ACEOF
14517 if ac_fn_c_try_link "$LINENO"; then :
14518 ac_cv_cflags__Wstrict_prototypes=yes
14519 else
14520 ac_cv_cflags__Wstrict_prototypes=no
14522 rm -f core conftest.err conftest.$ac_objext \
14523 conftest$ac_exeext conftest.$ac_ext
14524 CFLAGS=$ac_wine_try_cflags_saved
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14527 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14528 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14529 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14532 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14533 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14534 $as_echo_n "(cached) " >&6
14535 else
14536 ac_wine_try_cflags_saved=$CFLAGS
14537 CFLAGS="$CFLAGS -Wtype-limits"
14538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14540 int main(int argc, char **argv) { return 0; }
14541 _ACEOF
14542 if ac_fn_c_try_link "$LINENO"; then :
14543 ac_cv_cflags__Wtype_limits=yes
14544 else
14545 ac_cv_cflags__Wtype_limits=no
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 CFLAGS=$ac_wine_try_cflags_saved
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14552 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14553 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14554 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14557 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14558 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__Wunused_but_set_parameter=yes
14569 else
14570 ac_cv_cflags__Wunused_but_set_parameter=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14577 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14578 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14582 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14583 if ${ac_cv_cflags__Wvla+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -Wvla"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__Wvla=yes
14594 else
14595 ac_cv_cflags__Wvla=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14602 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14603 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14604 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14607 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14608 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14609 $as_echo_n "(cached) " >&6
14610 else
14611 ac_wine_try_cflags_saved=$CFLAGS
14612 CFLAGS="$CFLAGS -Wwrite-strings"
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h. */
14615 int main(int argc, char **argv) { return 0; }
14616 _ACEOF
14617 if ac_fn_c_try_link "$LINENO"; then :
14618 ac_cv_cflags__Wwrite_strings=yes
14619 else
14620 ac_cv_cflags__Wwrite_strings=no
14622 rm -f core conftest.err conftest.$ac_objext \
14623 conftest$ac_exeext conftest.$ac_ext
14624 CFLAGS=$ac_wine_try_cflags_saved
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14627 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14628 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14629 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14633 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14634 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14635 $as_echo_n "(cached) " >&6
14636 else
14637 ac_wine_try_cflags_saved=$CFLAGS
14638 CFLAGS="$CFLAGS -Wpointer-arith"
14639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* end confdefs.h. */
14641 int main(int argc, char **argv) { return 0; }
14642 _ACEOF
14643 if ac_fn_c_try_link "$LINENO"; then :
14644 ac_cv_cflags__Wpointer_arith=yes
14645 else
14646 ac_cv_cflags__Wpointer_arith=no
14648 rm -f core conftest.err conftest.$ac_objext \
14649 conftest$ac_exeext conftest.$ac_ext
14650 CFLAGS=$ac_wine_try_cflags_saved
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14653 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14654 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14655 saved_string_h_CFLAGS=$CFLAGS
14656 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14658 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14659 if ${ac_cv_c_string_h_warnings+:} false; then :
14660 $as_echo_n "(cached) " >&6
14661 else
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 #include <string.h>
14666 main ()
14670 return 0;
14672 _ACEOF
14673 if ac_fn_c_try_compile "$LINENO"; then :
14674 ac_cv_c_string_h_warnings=no
14675 else
14676 ac_cv_c_string_h_warnings=yes
14678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14681 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14682 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14683 CFLAGS=$saved_string_h_CFLAGS
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14687 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14688 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 ac_wine_try_cflags_saved=$CFLAGS
14692 CFLAGS="$CFLAGS -Wlogical-op"
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 int main(int argc, char **argv) { return 0; }
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_cflags__Wlogical_op=yes
14699 else
14700 ac_cv_cflags__Wlogical_op=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 CFLAGS=$ac_wine_try_cflags_saved
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14707 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14708 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14709 saved_string_h_CFLAGS=$CFLAGS
14710 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14712 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14713 if ${ac_cv_c_logicalop_noisy+:} false; then :
14714 $as_echo_n "(cached) " >&6
14715 else
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14718 #include <string.h>
14719 char*f(const char *h,char n) {return strchr(h,n);}
14721 main ()
14725 return 0;
14727 _ACEOF
14728 if ac_fn_c_try_compile "$LINENO"; then :
14729 ac_cv_c_logicalop_noisy=no
14730 else
14731 ac_cv_c_logicalop_noisy=yes
14733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14736 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14737 CFLAGS=$saved_string_h_CFLAGS
14738 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14741 CFLAGS=$saved_CFLAGS
14743 for ac_flag in $CFLAGS; do
14744 case $ac_flag in
14745 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14746 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14747 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -gdwarf-2"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__gdwarf_2=yes
14758 else
14759 ac_cv_cflags__gdwarf_2=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14766 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14767 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14768 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14771 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14772 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14773 $as_echo_n "(cached) " >&6
14774 else
14775 ac_wine_try_cflags_saved=$CFLAGS
14776 CFLAGS="$CFLAGS -gstrict-dwarf"
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14779 int main(int argc, char **argv) { return 0; }
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_cflags__gstrict_dwarf=yes
14783 else
14784 ac_cv_cflags__gstrict_dwarf=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 CFLAGS=$ac_wine_try_cflags_saved
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14791 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14792 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14793 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14794 fi ;;
14795 esac
14796 done
14798 case $host_cpu in
14799 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14800 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14801 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14802 $as_echo_n "(cached) " >&6
14803 else
14804 ac_wine_try_cflags_saved=$CFLAGS
14805 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14808 int main(int argc, char **argv) { return 0; }
14809 _ACEOF
14810 if ac_fn_c_try_link "$LINENO"; then :
14811 ac_cv_cflags__fno_omit_frame_pointer=yes
14812 else
14813 ac_cv_cflags__fno_omit_frame_pointer=no
14815 rm -f core conftest.err conftest.$ac_objext \
14816 conftest$ac_exeext conftest.$ac_ext
14817 CFLAGS=$ac_wine_try_cflags_saved
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14820 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14821 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14822 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14823 fi ;;
14824 esac
14826 case $host in
14827 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14828 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14829 if ${ac_cv_cflags__Wno_format+:} false; then :
14830 $as_echo_n "(cached) " >&6
14831 else
14832 ac_wine_try_cflags_saved=$CFLAGS
14833 CFLAGS="$CFLAGS -Wno-format"
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14835 /* end confdefs.h. */
14836 int main(int argc, char **argv) { return 0; }
14837 _ACEOF
14838 if ac_fn_c_try_link "$LINENO"; then :
14839 ac_cv_cflags__Wno_format=yes
14840 else
14841 ac_cv_cflags__Wno_format=no
14843 rm -f core conftest.err conftest.$ac_objext \
14844 conftest$ac_exeext conftest.$ac_ext
14845 CFLAGS=$ac_wine_try_cflags_saved
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14848 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14849 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14850 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14851 fi ;;
14852 esac
14854 if test "x$enable_maintainer_mode" = "xyes"
14855 then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14857 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14858 if ${ac_cv_cflags__Werror+:} false; then :
14859 $as_echo_n "(cached) " >&6
14860 else
14861 ac_wine_try_cflags_saved=$CFLAGS
14862 CFLAGS="$CFLAGS -Werror"
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 /* end confdefs.h. */
14865 int main(int argc, char **argv) { return 0; }
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_cflags__Werror=yes
14869 else
14870 ac_cv_cflags__Werror=no
14872 rm -f core conftest.err conftest.$ac_objext \
14873 conftest$ac_exeext conftest.$ac_ext
14874 CFLAGS=$ac_wine_try_cflags_saved
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14877 $as_echo "$ac_cv_cflags__Werror" >&6; }
14878 if test "x$ac_cv_cflags__Werror" = xyes; then :
14879 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14883 saved_CFLAGS="$CFLAGS"
14884 CFLAGS="$CFLAGS -Werror"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14886 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14887 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14888 $as_echo_n "(cached) " >&6
14889 else
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14894 main ()
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_compile "$LINENO"; then :
14902 ac_cv_have_ms_hook_prologue="yes"
14903 else
14904 ac_cv_have_ms_hook_prologue="no"
14906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14909 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14910 CFLAGS="$saved_CFLAGS"
14911 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14912 then
14914 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14916 else
14917 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14924 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14925 if ${ac_cv_c_fortify_enabled+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14930 #include <string.h>
14932 main ()
14934 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14935 #error Fortify enabled
14936 #endif
14938 return 0;
14940 _ACEOF
14941 if ac_fn_c_try_compile "$LINENO"; then :
14942 ac_cv_c_fortify_enabled=no
14943 else
14944 ac_cv_c_fortify_enabled=yes
14946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14949 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14950 if test "$ac_cv_c_fortify_enabled" = yes
14951 then
14952 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14957 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14958 if ${ac_cv_c_extern_prefix+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 extern int ac_test;
14965 main ()
14967 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14969 return 0;
14971 _ACEOF
14972 if ac_fn_c_try_link "$LINENO"; then :
14973 ac_cv_c_extern_prefix="yes"
14974 else
14975 ac_cv_c_extern_prefix="no"
14977 rm -f core conftest.err conftest.$ac_objext \
14978 conftest$ac_exeext conftest.$ac_ext
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14981 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14983 case $host_cpu in
14984 *i[3456789]86*)
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14986 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14987 if ${ac_cv_c_stdcall_suffix+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 #ifndef _MSC_VER
14993 #define __stdcall __attribute__((__stdcall__))
14994 #endif
14995 int __stdcall ac_test(int i) { return i; }
14997 main ()
14999 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15001 return 0;
15003 _ACEOF
15004 if ac_fn_c_try_link "$LINENO"; then :
15005 ac_cv_c_stdcall_suffix="yes"
15006 else
15007 ac_cv_c_stdcall_suffix="no"
15009 rm -f core conftest.err conftest.$ac_objext \
15010 conftest$ac_exeext conftest.$ac_ext
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15013 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15014 *) ac_cv_c_stdcall_suffix="no" ;;
15015 esac
15018 if test "$ac_cv_c_extern_prefix" = "yes"
15019 then
15020 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15022 asm_name_prefix="_"
15023 else
15024 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15026 asm_name_prefix=""
15030 if test "$ac_cv_c_stdcall_suffix" = "yes"
15031 then
15032 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15034 else
15035 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15041 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15042 if ${ac_cv_asm_func_def+:} false; then :
15043 $as_echo_n "(cached) " >&6
15044 else
15045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15046 /* end confdefs.h. */
15049 main ()
15051 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_link "$LINENO"; then :
15057 ac_cv_asm_func_def=".def"
15058 else
15059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 /* end confdefs.h. */
15063 main ()
15065 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15067 return 0;
15069 _ACEOF
15070 if ac_fn_c_try_link "$LINENO"; then :
15071 ac_cv_asm_func_def=".type @function"
15072 else
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15077 main ()
15079 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_asm_func_def=".type 2"
15086 else
15087 ac_cv_asm_func_def="unknown"
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15092 rm -f core conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15099 $as_echo "$ac_cv_asm_func_def" >&6; }
15102 case "$ac_cv_asm_func_def" in
15103 ".def")
15104 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15106 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15107 ".type @function")
15108 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15110 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15111 ".type 2")
15112 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15114 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15116 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15118 asm_func_header="" ;;
15119 esac
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15122 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15123 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 asm(".text\n\t.long 0");
15130 main ()
15134 return 0;
15136 _ACEOF
15137 if ac_fn_c_try_compile "$LINENO"; then :
15138 ac_cv_c_asm_outside_funcs="yes"
15139 else
15140 ac_cv_c_asm_outside_funcs="no"
15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15145 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15148 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15149 if ${ac_cv_c_dot_previous+:} false; then :
15150 $as_echo_n "(cached) " >&6
15151 else
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15156 main ()
15158 asm(".text\nac_test:\t.long 0\n\t.previous");
15160 return 0;
15162 _ACEOF
15163 if ac_fn_c_try_link "$LINENO"; then :
15164 ac_cv_c_dot_previous="yes"
15165 else
15166 ac_cv_c_dot_previous="no"
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15172 $as_echo "$ac_cv_c_dot_previous" >&6; }
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15175 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15176 if ${ac_cv_c_cfi_support+:} false; then :
15177 $as_echo_n "(cached) " >&6
15178 else
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15183 main ()
15187 return 0;
15189 _ACEOF
15190 if ac_fn_c_try_compile "$LINENO"; then :
15191 ac_cv_c_cfi_support="yes"
15192 else
15193 ac_cv_c_cfi_support="no"
15195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15198 $as_echo "$ac_cv_c_cfi_support" >&6; }
15200 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15201 asm_func_trailer=""
15202 if test "$ac_cv_c_dot_previous" = "yes"
15203 then
15204 asm_func_trailer="\\n\\t.previous"
15206 if test "$ac_cv_c_cfi_support" = "yes"
15207 then
15208 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15209 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15211 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15213 UNWINDFLAGS=-fasynchronous-unwind-tables
15215 else
15216 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15218 if test "x$enable_win64" = "xyes"
15219 then
15220 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15224 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15227 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15228 then
15229 cat >>confdefs.h <<_ACEOF
15230 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15231 _ACEOF
15233 else
15234 cat >>confdefs.h <<_ACEOF
15235 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15236 _ACEOF
15240 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15243 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15247 case $build_os in
15248 cygwin*|mingw32*) TOOLSEXT=".exe"
15250 esac
15252 case $host_os in
15253 linux*)
15254 case $host_cpu in
15255 *i[3456789]86*|x86_64*)
15256 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15257 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15259 esac
15261 esac
15264 ac_save_CFLAGS="$CFLAGS"
15265 CFLAGS="$CFLAGS $BUILTINFLAG"
15266 for ac_func in \
15267 __res_get_state \
15268 __res_getservers \
15269 _finite \
15270 _isnan \
15271 _pclose \
15272 _popen \
15273 _snprintf \
15274 _spawnvp \
15275 _strdup \
15276 _stricmp \
15277 _strnicmp \
15278 _strtoi64 \
15279 _strtoui64 \
15280 _vsnprintf \
15281 asctime_r \
15282 chsize \
15283 dlopen \
15284 epoll_create \
15285 ffs \
15286 finitef \
15287 fnmatch \
15288 fork \
15289 fpclass \
15290 fstatfs \
15291 fstatvfs \
15292 ftruncate \
15293 futimens \
15294 futimes \
15295 futimesat \
15296 getattrlist \
15297 getauxval \
15298 getopt_long_only \
15299 getpwuid \
15300 gettimeofday \
15301 getuid \
15302 isnanf \
15303 kqueue \
15304 lstat \
15305 memmove \
15306 mmap \
15307 pclose \
15308 pipe2 \
15309 poll \
15310 popen \
15311 port_create \
15312 prctl \
15313 pread \
15314 proc_pidinfo \
15315 pwrite \
15316 readdir \
15317 readlink \
15318 sched_yield \
15319 select \
15320 setproctitle \
15321 setprogname \
15322 setrlimit \
15323 settimeofday \
15324 sigaltstack \
15325 sigprocmask \
15326 snprintf \
15327 statfs \
15328 statvfs \
15329 strcasecmp \
15330 strdup \
15331 strerror \
15332 strncasecmp \
15333 strtold \
15334 strtoll \
15335 strtoull \
15336 symlink \
15337 sysinfo \
15338 tcdrain \
15339 thr_kill2 \
15340 timegm \
15341 usleep \
15342 vsnprintf
15344 do :
15345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15348 cat >>confdefs.h <<_ACEOF
15349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15350 _ACEOF
15353 done
15355 CFLAGS="$ac_save_CFLAGS"
15357 if test "$ac_cv_func_dlopen" = no
15358 then
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15360 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15361 if ${ac_cv_lib_dl_dlopen+:} false; then :
15362 $as_echo_n "(cached) " >&6
15363 else
15364 ac_check_lib_save_LIBS=$LIBS
15365 LIBS="-ldl $LIBS"
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15369 /* Override any GCC internal prototype to avoid an error.
15370 Use char because int might match the return type of a GCC
15371 builtin and then its argument prototype would still apply. */
15372 #ifdef __cplusplus
15373 extern "C"
15374 #endif
15375 char dlopen ();
15377 main ()
15379 return dlopen ();
15381 return 0;
15383 _ACEOF
15384 if ac_fn_c_try_link "$LINENO"; then :
15385 ac_cv_lib_dl_dlopen=yes
15386 else
15387 ac_cv_lib_dl_dlopen=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15391 LIBS=$ac_check_lib_save_LIBS
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15395 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15396 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15397 DL_LIBS="-ldl"
15402 ac_wine_check_funcs_save_LIBS="$LIBS"
15403 LIBS="$LIBS $DL_LIBS"
15404 for ac_func in dladdr
15405 do :
15406 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15407 if test "x$ac_cv_func_dladdr" = xyes; then :
15408 cat >>confdefs.h <<_ACEOF
15409 #define HAVE_DLADDR 1
15410 _ACEOF
15413 done
15415 LIBS="$ac_wine_check_funcs_save_LIBS"
15417 if test "$ac_cv_func_poll" = no
15418 then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15420 $as_echo_n "checking for poll in -lpoll... " >&6; }
15421 if ${ac_cv_lib_poll_poll+:} false; then :
15422 $as_echo_n "(cached) " >&6
15423 else
15424 ac_check_lib_save_LIBS=$LIBS
15425 LIBS="-lpoll $LIBS"
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15429 /* Override any GCC internal prototype to avoid an error.
15430 Use char because int might match the return type of a GCC
15431 builtin and then its argument prototype would still apply. */
15432 #ifdef __cplusplus
15433 extern "C"
15434 #endif
15435 char poll ();
15437 main ()
15439 return poll ();
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 ac_cv_lib_poll_poll=yes
15446 else
15447 ac_cv_lib_poll_poll=no
15449 rm -f core conftest.err conftest.$ac_objext \
15450 conftest$ac_exeext conftest.$ac_ext
15451 LIBS=$ac_check_lib_save_LIBS
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15454 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15455 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15456 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15457 POLL_LIBS="-lpoll"
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15464 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15465 if ${ac_cv_search_gethostbyname+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 ac_func_search_save_LIBS=$LIBS
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 #ifdef __cplusplus
15476 extern "C"
15477 #endif
15478 char gethostbyname ();
15480 main ()
15482 return gethostbyname ();
15484 return 0;
15486 _ACEOF
15487 for ac_lib in '' nsl; do
15488 if test -z "$ac_lib"; then
15489 ac_res="none required"
15490 else
15491 ac_res=-l$ac_lib
15492 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15494 if ac_fn_c_try_link "$LINENO"; then :
15495 ac_cv_search_gethostbyname=$ac_res
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext
15499 if ${ac_cv_search_gethostbyname+:} false; then :
15500 break
15502 done
15503 if ${ac_cv_search_gethostbyname+:} false; then :
15505 else
15506 ac_cv_search_gethostbyname=no
15508 rm conftest.$ac_ext
15509 LIBS=$ac_func_search_save_LIBS
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15512 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15513 ac_res=$ac_cv_search_gethostbyname
15514 if test "$ac_res" != no; then :
15515 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15521 $as_echo_n "checking for library containing connect... " >&6; }
15522 if ${ac_cv_search_connect+:} false; then :
15523 $as_echo_n "(cached) " >&6
15524 else
15525 ac_func_search_save_LIBS=$LIBS
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15529 /* Override any GCC internal prototype to avoid an error.
15530 Use char because int might match the return type of a GCC
15531 builtin and then its argument prototype would still apply. */
15532 #ifdef __cplusplus
15533 extern "C"
15534 #endif
15535 char connect ();
15537 main ()
15539 return connect ();
15541 return 0;
15543 _ACEOF
15544 for ac_lib in '' socket; do
15545 if test -z "$ac_lib"; then
15546 ac_res="none required"
15547 else
15548 ac_res=-l$ac_lib
15549 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15551 if ac_fn_c_try_link "$LINENO"; then :
15552 ac_cv_search_connect=$ac_res
15554 rm -f core conftest.err conftest.$ac_objext \
15555 conftest$ac_exeext
15556 if ${ac_cv_search_connect+:} false; then :
15557 break
15559 done
15560 if ${ac_cv_search_connect+:} false; then :
15562 else
15563 ac_cv_search_connect=no
15565 rm conftest.$ac_ext
15566 LIBS=$ac_func_search_save_LIBS
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15569 $as_echo "$ac_cv_search_connect" >&6; }
15570 ac_res=$ac_cv_search_connect
15571 if test "$ac_res" != no; then :
15572 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15578 $as_echo_n "checking for library containing inet_aton... " >&6; }
15579 if ${ac_cv_search_inet_aton+:} false; then :
15580 $as_echo_n "(cached) " >&6
15581 else
15582 ac_func_search_save_LIBS=$LIBS
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15589 #ifdef __cplusplus
15590 extern "C"
15591 #endif
15592 char inet_aton ();
15594 main ()
15596 return inet_aton ();
15598 return 0;
15600 _ACEOF
15601 for ac_lib in '' resolv; do
15602 if test -z "$ac_lib"; then
15603 ac_res="none required"
15604 else
15605 ac_res=-l$ac_lib
15606 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 ac_cv_search_inet_aton=$ac_res
15611 rm -f core conftest.err conftest.$ac_objext \
15612 conftest$ac_exeext
15613 if ${ac_cv_search_inet_aton+:} false; then :
15614 break
15616 done
15617 if ${ac_cv_search_inet_aton+:} false; then :
15619 else
15620 ac_cv_search_inet_aton=no
15622 rm conftest.$ac_ext
15623 LIBS=$ac_func_search_save_LIBS
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15626 $as_echo "$ac_cv_search_inet_aton" >&6; }
15627 ac_res=$ac_cv_search_inet_aton
15628 if test "$ac_res" != no; then :
15629 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15634 for ac_func in \
15635 getaddrinfo \
15636 getnameinfo \
15637 getnetbyname \
15638 getprotobyname \
15639 getprotobynumber \
15640 getservbyport \
15641 inet_addr \
15642 inet_network \
15643 inet_ntop \
15644 inet_pton \
15645 sendmsg \
15646 socketpair \
15648 do :
15649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15651 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15652 cat >>confdefs.h <<_ACEOF
15653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15654 _ACEOF
15657 done
15660 ac_save_LIBS=$LIBS
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15662 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15663 if ${ac_cv_search_clock_gettime+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 ac_func_search_save_LIBS=$LIBS
15667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15668 /* end confdefs.h. */
15670 /* Override any GCC internal prototype to avoid an error.
15671 Use char because int might match the return type of a GCC
15672 builtin and then its argument prototype would still apply. */
15673 #ifdef __cplusplus
15674 extern "C"
15675 #endif
15676 char clock_gettime ();
15678 main ()
15680 return clock_gettime ();
15682 return 0;
15684 _ACEOF
15685 for ac_lib in '' rt; do
15686 if test -z "$ac_lib"; then
15687 ac_res="none required"
15688 else
15689 ac_res=-l$ac_lib
15690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15692 if ac_fn_c_try_link "$LINENO"; then :
15693 ac_cv_search_clock_gettime=$ac_res
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext
15697 if ${ac_cv_search_clock_gettime+:} false; then :
15698 break
15700 done
15701 if ${ac_cv_search_clock_gettime+:} false; then :
15703 else
15704 ac_cv_search_clock_gettime=no
15706 rm conftest.$ac_ext
15707 LIBS=$ac_func_search_save_LIBS
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15710 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15711 ac_res=$ac_cv_search_clock_gettime
15712 if test "$ac_res" != no; then :
15713 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15715 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15717 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15721 LIBS=$ac_save_LIBS
15723 LDAP_LIBS=""
15725 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15726 then
15727 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15729 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15731 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15732 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15733 $as_echo_n "(cached) " >&6
15734 else
15735 ac_check_lib_save_LIBS=$LIBS
15736 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15740 /* Override any GCC internal prototype to avoid an error.
15741 Use char because int might match the return type of a GCC
15742 builtin and then its argument prototype would still apply. */
15743 #ifdef __cplusplus
15744 extern "C"
15745 #endif
15746 char ldap_initialize ();
15748 main ()
15750 return ldap_initialize ();
15752 return 0;
15754 _ACEOF
15755 if ac_fn_c_try_link "$LINENO"; then :
15756 ac_cv_lib_ldap_r_ldap_initialize=yes
15757 else
15758 ac_cv_lib_ldap_r_ldap_initialize=no
15760 rm -f core conftest.err conftest.$ac_objext \
15761 conftest$ac_exeext conftest.$ac_ext
15762 LIBS=$ac_check_lib_save_LIBS
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15765 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15766 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15768 $as_echo_n "checking for ber_init in -llber... " >&6; }
15769 if ${ac_cv_lib_lber_ber_init+:} false; then :
15770 $as_echo_n "(cached) " >&6
15771 else
15772 ac_check_lib_save_LIBS=$LIBS
15773 LIBS="-llber $PTHREAD_LIBS $LIBS"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15780 #ifdef __cplusplus
15781 extern "C"
15782 #endif
15783 char ber_init ();
15785 main ()
15787 return ber_init ();
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_link "$LINENO"; then :
15793 ac_cv_lib_lber_ber_init=yes
15794 else
15795 ac_cv_lib_lber_ber_init=no
15797 rm -f core conftest.err conftest.$ac_objext \
15798 conftest$ac_exeext conftest.$ac_ext
15799 LIBS=$ac_check_lib_save_LIBS
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15802 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15803 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15805 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15807 LDAP_LIBS="-lldap_r -llber"
15814 ac_wine_check_funcs_save_LIBS="$LIBS"
15815 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15816 for ac_func in \
15817 ldap_count_references \
15818 ldap_first_reference \
15819 ldap_next_reference \
15820 ldap_parse_reference \
15821 ldap_parse_sort_control \
15822 ldap_parse_sortresponse_control \
15823 ldap_parse_vlv_control \
15824 ldap_parse_vlvresponse_control
15825 do :
15826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15828 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15829 cat >>confdefs.h <<_ACEOF
15830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15831 _ACEOF
15834 done
15836 LIBS="$ac_wine_check_funcs_save_LIBS"
15838 if test "x$LDAP_LIBS" = "x"; then :
15839 case "x$with_ldap" in
15840 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15841 xno) ;;
15842 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15843 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15844 esac
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15849 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15850 if ${wine_cv_one_arg_mkdir+:} false; then :
15851 $as_echo_n "(cached) " >&6
15852 else
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15855 #include <sys/stat.h>
15857 main ()
15859 mkdir("foo");
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_compile "$LINENO"; then :
15865 wine_cv_one_arg_mkdir=yes
15866 else
15867 wine_cv_one_arg_mkdir=no
15869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15872 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15873 if test "$wine_cv_one_arg_mkdir" = "yes"
15874 then
15876 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15881 $as_echo_n "checking for sched_setaffinity... " >&6; }
15882 if ${wine_cv_have_sched_setaffinity+:} false; then :
15883 $as_echo_n "(cached) " >&6
15884 else
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15887 #define _GNU_SOURCE
15888 #include <sched.h>
15890 main ()
15892 sched_setaffinity(0, 0, 0);
15894 return 0;
15896 _ACEOF
15897 if ac_fn_c_try_link "$LINENO"; then :
15898 wine_cv_have_sched_setaffinity=yes
15899 else
15900 wine_cv_have_sched_setaffinity=no
15902 rm -f core conftest.err conftest.$ac_objext \
15903 conftest$ac_exeext conftest.$ac_ext
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15906 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15907 if test "$wine_cv_have_sched_setaffinity" = "yes"
15908 then
15910 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15915 $as_echo_n "checking for fallocate... " >&6; }
15916 if ${wine_cv_have_fallocate+:} false; then :
15917 $as_echo_n "(cached) " >&6
15918 else
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15921 #define _GNU_SOURCE
15922 #include <fcntl.h>
15924 main ()
15926 fallocate(-1, 0, 0, 0);
15928 return 0;
15930 _ACEOF
15931 if ac_fn_c_try_link "$LINENO"; then :
15932 wine_cv_have_fallocate=yes
15933 else
15934 wine_cv_have_fallocate=no
15936 rm -f core conftest.err conftest.$ac_objext \
15937 conftest$ac_exeext conftest.$ac_ext
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15940 $as_echo "$wine_cv_have_fallocate" >&6; }
15941 if test "$wine_cv_have_fallocate" = "yes"
15942 then
15944 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15950 $as_echo_n "checking for inline... " >&6; }
15951 if ${ac_cv_c_inline+:} false; then :
15952 $as_echo_n "(cached) " >&6
15953 else
15954 ac_cv_c_inline=no
15955 for ac_kw in inline __inline__ __inline; do
15956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 /* end confdefs.h. */
15958 #ifndef __cplusplus
15959 typedef int foo_t;
15960 static $ac_kw foo_t static_foo () {return 0; }
15961 $ac_kw foo_t foo () {return 0; }
15962 #endif
15964 _ACEOF
15965 if ac_fn_c_try_compile "$LINENO"; then :
15966 ac_cv_c_inline=$ac_kw
15968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15969 test "$ac_cv_c_inline" != no && break
15970 done
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15974 $as_echo "$ac_cv_c_inline" >&6; }
15976 case $ac_cv_c_inline in
15977 inline | yes) ;;
15979 case $ac_cv_c_inline in
15980 no) ac_val=;;
15981 *) ac_val=$ac_cv_c_inline;;
15982 esac
15983 cat >>confdefs.h <<_ACEOF
15984 #ifndef __cplusplus
15985 #define inline $ac_val
15986 #endif
15987 _ACEOF
15989 esac
15991 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15992 if test "x$ac_cv_type_mode_t" = xyes; then :
15994 cat >>confdefs.h <<_ACEOF
15995 #define HAVE_MODE_T 1
15996 _ACEOF
16000 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16001 if test "x$ac_cv_type_off_t" = xyes; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define HAVE_OFF_T 1
16005 _ACEOF
16009 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16010 if test "x$ac_cv_type_pid_t" = xyes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_PID_T 1
16014 _ACEOF
16018 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16019 if test "x$ac_cv_type_size_t" = xyes; then :
16021 cat >>confdefs.h <<_ACEOF
16022 #define HAVE_SIZE_T 1
16023 _ACEOF
16027 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16028 if test "x$ac_cv_type_ssize_t" = xyes; then :
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_SSIZE_T 1
16032 _ACEOF
16036 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16037 if test "x$ac_cv_type_long_long" = xyes; then :
16039 cat >>confdefs.h <<_ACEOF
16040 #define HAVE_LONG_LONG 1
16041 _ACEOF
16045 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16046 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16048 cat >>confdefs.h <<_ACEOF
16049 #define HAVE_FSBLKCNT_T 1
16050 _ACEOF
16054 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16055 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_FSFILCNT_T 1
16059 _ACEOF
16064 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16065 #include <signal.h>
16067 if test "x$ac_cv_type_sigset_t" = xyes; then :
16069 cat >>confdefs.h <<_ACEOF
16070 #define HAVE_SIGSET_T 1
16071 _ACEOF
16076 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16078 if test "x$ac_cv_type_request_sense" = xyes; then :
16080 cat >>confdefs.h <<_ACEOF
16081 #define HAVE_REQUEST_SENSE 1
16082 _ACEOF
16088 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_SOCKET_H
16090 #include <sys/socket.h>
16091 #endif
16092 #ifdef HAVE_SYS_SOCKETVAR_H
16093 #include <sys/socketvar.h>
16094 #endif
16095 #ifdef HAVE_NET_ROUTE_H
16096 #include <net/route.h>
16097 #endif
16098 #ifdef HAVE_NETINET_IN_H
16099 #include <netinet/in.h>
16100 #endif
16101 #ifdef HAVE_NETINET_IN_SYSTM_H
16102 #include <netinet/in_systm.h>
16103 #endif
16104 #ifdef HAVE_NETINET_IP_H
16105 #include <netinet/ip.h>
16106 #endif
16107 #ifdef HAVE_NETINET_IN_PCB_H
16108 #include <netinet/in_pcb.h>
16109 #endif
16111 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16113 cat >>confdefs.h <<_ACEOF
16114 #define HAVE_STRUCT_XINPGEN 1
16115 _ACEOF
16121 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#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_r_debug" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_R_DEBUG 1
16132 _ACEOF
16136 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16137 #include <link.h>
16138 #endif
16139 #ifdef HAVE_SYS_LINK_H
16140 #include <sys/link.h>
16141 #endif
16143 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_LINK_MAP 1
16147 _ACEOF
16153 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16154 #include <linux/input.h>
16155 #endif
16157 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16159 cat >>confdefs.h <<_ACEOF
16160 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16161 _ACEOF
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16168 $as_echo_n "checking for if_nameindex... " >&6; }
16169 if ${wine_cv_have_if_nameindex+:} false; then :
16170 $as_echo_n "(cached) " >&6
16171 else
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16174 #ifdef HAVE_SYS_TYPES_H
16175 #include <sys/types.h>
16176 #endif
16177 #ifdef HAVE_NET_IF_H
16178 # include <net/if.h>
16179 #endif
16181 main ()
16183 struct if_nameindex *p = if_nameindex(); return p->if_index;
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"; then :
16189 wine_cv_have_if_nameindex=yes
16190 else
16191 wine_cv_have_if_nameindex=no
16193 rm -f core conftest.err conftest.$ac_objext \
16194 conftest$ac_exeext conftest.$ac_ext
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16197 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16198 if test "$wine_cv_have_if_nameindex" = "yes"
16199 then
16201 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16206 $as_echo_n "checking for sigaddset... " >&6; }
16207 if ${wine_cv_have_sigaddset+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16212 #include <signal.h>
16214 main ()
16216 sigset_t set; sigaddset(&set,SIGTERM);
16218 return 0;
16220 _ACEOF
16221 if ac_fn_c_try_link "$LINENO"; then :
16222 wine_cv_have_sigaddset=yes
16223 else
16224 wine_cv_have_sigaddset=no
16226 rm -f core conftest.err conftest.$ac_objext \
16227 conftest$ac_exeext conftest.$ac_ext
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16230 $as_echo "$wine_cv_have_sigaddset" >&6; }
16231 if test "$wine_cv_have_sigaddset" = "yes"
16232 then
16234 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16240 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16241 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16242 $as_echo_n "(cached) " >&6
16243 else
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16246 #include <netdb.h>
16248 main ()
16251 char *name=0;
16252 struct hostent he;
16253 struct hostent *result;
16254 char *buf=0;
16255 int bufsize=0;
16256 int errnr;
16257 char *addr=0;
16258 int addrlen=0;
16259 int addrtype=0;
16260 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16261 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16264 return 0;
16266 _ACEOF
16267 if ac_fn_c_try_link "$LINENO"; then :
16268 wine_cv_linux_gethostbyname_r_6=yes
16269 else
16270 wine_cv_linux_gethostbyname_r_6=no
16273 rm -f core conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16278 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16279 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16280 then
16282 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16286 if test "$ac_cv_header_linux_joystick_h" = "yes"
16287 then
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16289 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16290 if ${wine_cv_linux_joystick_22_api+:} false; then :
16291 $as_echo_n "(cached) " >&6
16292 else
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16294 /* end confdefs.h. */
16296 #include <sys/ioctl.h>
16297 #include <sys/types.h>
16298 #include <linux/joystick.h>
16300 struct js_event blub;
16301 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16302 #error "no 2.2 header"
16303 #endif
16306 main ()
16308 /*empty*/
16310 return 0;
16312 _ACEOF
16313 if ac_fn_c_try_compile "$LINENO"; then :
16314 wine_cv_linux_joystick_22_api=yes
16315 else
16316 wine_cv_linux_joystick_22_api=no
16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16322 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16323 if test "$wine_cv_linux_joystick_22_api" = "yes"
16324 then
16326 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16332 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16333 #ifdef HAVE_SYS_PARAM_H
16334 # include <sys/param.h>
16335 #endif
16336 #ifdef HAVE_SYS_MOUNT_H
16337 # include <sys/mount.h>
16338 #endif
16339 #ifdef HAVE_SYS_VFS_H
16340 # include <sys/vfs.h>
16341 #endif
16342 #ifdef HAVE_SYS_STATFS_H
16343 # include <sys/statfs.h>
16344 #endif
16346 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_STATFS_F_BFREE 1
16350 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16355 #ifdef HAVE_SYS_PARAM_H
16356 # include <sys/param.h>
16357 #endif
16358 #ifdef HAVE_SYS_MOUNT_H
16359 # include <sys/mount.h>
16360 #endif
16361 #ifdef HAVE_SYS_VFS_H
16362 # include <sys/vfs.h>
16363 #endif
16364 #ifdef HAVE_SYS_STATFS_H
16365 # include <sys/statfs.h>
16366 #endif
16368 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16372 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16377 #ifdef HAVE_SYS_PARAM_H
16378 # include <sys/param.h>
16379 #endif
16380 #ifdef HAVE_SYS_MOUNT_H
16381 # include <sys/mount.h>
16382 #endif
16383 #ifdef HAVE_SYS_VFS_H
16384 # include <sys/vfs.h>
16385 #endif
16386 #ifdef HAVE_SYS_STATFS_H
16387 # include <sys/statfs.h>
16388 #endif
16390 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16394 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16399 #ifdef HAVE_SYS_PARAM_H
16400 # include <sys/param.h>
16401 #endif
16402 #ifdef HAVE_SYS_MOUNT_H
16403 # include <sys/mount.h>
16404 #endif
16405 #ifdef HAVE_SYS_VFS_H
16406 # include <sys/vfs.h>
16407 #endif
16408 #ifdef HAVE_SYS_STATFS_H
16409 # include <sys/statfs.h>
16410 #endif
16412 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_STRUCT_STATFS_F_FFREE 1
16416 _ACEOF
16420 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16421 #ifdef HAVE_SYS_PARAM_H
16422 # include <sys/param.h>
16423 #endif
16424 #ifdef HAVE_SYS_MOUNT_H
16425 # include <sys/mount.h>
16426 #endif
16427 #ifdef HAVE_SYS_VFS_H
16428 # include <sys/vfs.h>
16429 #endif
16430 #ifdef HAVE_SYS_STATFS_H
16431 # include <sys/statfs.h>
16432 #endif
16434 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16438 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16443 #ifdef HAVE_SYS_PARAM_H
16444 # include <sys/param.h>
16445 #endif
16446 #ifdef HAVE_SYS_MOUNT_H
16447 # include <sys/mount.h>
16448 #endif
16449 #ifdef HAVE_SYS_VFS_H
16450 # include <sys/vfs.h>
16451 #endif
16452 #ifdef HAVE_SYS_STATFS_H
16453 # include <sys/statfs.h>
16454 #endif
16456 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16467 #include <sys/statvfs.h>
16468 #endif
16470 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16474 _ACEOF
16480 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16481 #include <dirent.h>
16482 #endif
16484 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16488 _ACEOF
16494 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16495 #ifdef HAVE_SYS_SOCKET_H
16496 # include <sys/socket.h>
16497 #endif
16498 #ifdef HAVE_SYS_UN_H
16499 # include <sys/un.h>
16500 #endif
16502 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16506 _ACEOF
16510 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16511 #ifdef HAVE_SYS_SOCKET_H
16512 # include <sys/socket.h>
16513 #endif
16514 #ifdef HAVE_SYS_UN_H
16515 # include <sys/un.h>
16516 #endif
16518 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16522 _ACEOF
16526 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16527 #ifdef HAVE_SYS_SOCKET_H
16528 # include <sys/socket.h>
16529 #endif
16530 #ifdef HAVE_SYS_UN_H
16531 # include <sys/un.h>
16532 #endif
16534 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16538 _ACEOF
16544 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16545 #ifdef HAVE_SCSI_SG_H
16546 #include <scsi/sg.h>
16547 #endif
16549 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_SCSIREQ_T_CMD 1
16553 _ACEOF
16557 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>
16558 #ifdef HAVE_SCSI_SG_H
16559 #include <scsi/sg.h>
16560 #endif
16562 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16566 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16574 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_SIGINFO_T_SI_FD 1
16578 _ACEOF
16584 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16585 #ifdef HAVE_SYS_MTIO_H
16586 #include <sys/mtio.h>
16587 #endif
16589 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16593 _ACEOF
16597 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16598 #ifdef HAVE_SYS_MTIO_H
16599 #include <sys/mtio.h>
16600 #endif
16602 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16606 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16611 #ifdef HAVE_SYS_MTIO_H
16612 #include <sys/mtio.h>
16613 #endif
16615 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16617 cat >>confdefs.h <<_ACEOF
16618 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16619 _ACEOF
16625 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16626 #include <getopt.h>
16627 #endif
16629 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_OPTION_NAME 1
16633 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16640 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16642 cat >>confdefs.h <<_ACEOF
16643 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16644 _ACEOF
16648 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16649 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_STAT_ST_MTIM 1
16653 _ACEOF
16657 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16658 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16660 cat >>confdefs.h <<_ACEOF
16661 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16662 _ACEOF
16666 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16667 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_STAT_ST_CTIM 1
16671 _ACEOF
16675 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16676 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16680 _ACEOF
16684 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16685 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT_STAT_ST_ATIM 1
16689 _ACEOF
16693 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16694 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16696 cat >>confdefs.h <<_ACEOF
16697 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16698 _ACEOF
16702 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16703 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16707 _ACEOF
16711 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16712 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16716 _ACEOF
16720 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16721 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16723 cat >>confdefs.h <<_ACEOF
16724 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16725 _ACEOF
16729 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16730 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16732 cat >>confdefs.h <<_ACEOF
16733 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16734 _ACEOF
16738 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16739 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16741 cat >>confdefs.h <<_ACEOF
16742 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16743 _ACEOF
16749 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
16750 #include <sys/types.h>
16751 #endif
16752 #ifdef HAVE_NETINET_IN_H
16753 #include <netinet/in.h>
16754 #endif
16756 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16758 cat >>confdefs.h <<_ACEOF
16759 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16760 _ACEOF
16766 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16767 #include <sys/types.h>
16768 #endif
16769 #ifdef HAVE_NETINET_IN_H
16770 #include <netinet/in.h>
16771 #endif
16772 #ifdef HAVE_RESOLV_H
16773 #include <resolv.h>
16774 #endif
16776 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16778 cat >>confdefs.h <<_ACEOF
16779 #define HAVE_STRUCT___RES_STATE 1
16780 _ACEOF
16786 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
16787 #include <resolv.h>
16788 #endif
16790 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16794 _ACEOF
16800 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16801 #include <sys/types.h>
16802 #endif
16803 #ifdef HAVE_NETINET_IN_H
16804 # include <netinet/in.h>
16805 #endif
16806 #ifdef HAVE_ARPA_NAMESER_H
16807 # include <arpa/nameser.h>
16808 #endif
16810 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16812 cat >>confdefs.h <<_ACEOF
16813 #define HAVE_NS_MSG__MSG_PTR 1
16814 _ACEOF
16820 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16821 #include <sys/types.h>
16822 #endif
16823 #ifdef HAVE_NETINET_IN_H
16824 #include <netinet/in.h>
16825 #endif
16826 #ifdef HAVE_NETINET_IP_H
16827 #include <netinet/ip.h>
16828 #endif
16829 #ifdef HAVE_NETINET_IP_ICMP_H
16830 #include <netinet/ip_icmp.h>
16831 #endif
16832 #ifdef HAVE_NETINET_ICMP_VAR_H
16833 #include <netinet/icmp_var.h>
16834 #endif
16836 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16838 cat >>confdefs.h <<_ACEOF
16839 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16840 _ACEOF
16846 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16847 #include <sys/types.h>
16848 #endif
16849 #ifdef HAVE_ALIAS_H
16850 #include <alias.h>
16851 #endif
16852 #ifdef HAVE_SYS_SOCKET_H
16853 #include <sys/socket.h>
16854 #endif
16855 #ifdef HAVE_SYS_SOCKETVAR_H
16856 #include <sys/socketvar.h>
16857 #endif
16858 #ifdef HAVE_SYS_TIMEOUT_H
16859 #include <sys/timeout.h>
16860 #endif
16861 #ifdef HAVE_NETINET_IN_H
16862 #include <netinet/in.h>
16863 #endif
16864 #ifdef HAVE_NETINET_IN_SYSTM_H
16865 #include <netinet/in_systm.h>
16866 #endif
16867 #ifdef HAVE_NETINET_IP_H
16868 #include <netinet/ip.h>
16869 #endif
16870 #ifdef HAVE_NETINET_IP_VAR_H
16871 #include <netinet/ip_var.h>
16872 #endif
16873 #ifdef HAVE_NETINET_IP_ICMP_H
16874 #include <netinet/ip_icmp.h>
16875 #endif
16876 #ifdef HAVE_NETINET_ICMP_VAR_H
16877 #include <netinet/icmp_var.h>
16878 #endif
16880 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16882 cat >>confdefs.h <<_ACEOF
16883 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16884 _ACEOF
16890 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16891 #include <sys/types.h>
16892 #endif
16893 #ifdef HAVE_SYS_SOCKETVAR_H
16894 #include <sys/socketvar.h>
16895 #endif
16896 #ifdef HAVE_NETINET_IN_H
16897 #include <netinet/in.h>
16898 #endif
16899 #ifdef HAVE_NETINET_IP_VAR_H
16900 #include <netinet/ip_var.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16907 _ACEOF
16913 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
16914 #include <netinet/ip_var.h>
16915 #endif
16917 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16919 cat >>confdefs.h <<_ACEOF
16920 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16921 _ACEOF
16927 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16928 #include <sys/types.h>
16929 #endif
16930 #ifdef HAVE_SYS_SOCKETVAR_H
16931 #include <sys/socketvar.h>
16932 #endif
16933 #ifdef HAVE_NETINET_IN_H
16934 #include <netinet/in.h>
16935 #endif
16936 #ifdef HAVE_NETINET_TCP_H
16937 #include <netinet/tcp.h>
16938 #endif
16939 #ifdef HAVE_NETINET_TCP_VAR_H
16940 #include <netinet/tcp_var.h>
16941 #endif
16943 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16945 cat >>confdefs.h <<_ACEOF
16946 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16947 _ACEOF
16953 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
16954 #include <netinet/tcp_var.h>
16955 #endif
16957 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16961 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16968 #include <sys/types.h>
16969 #endif
16970 #ifdef HAVE_NETINET_IN_H
16971 #include <netinet/in.h>
16972 #endif
16973 #ifdef HAVE_NETINET_IP_VAR_H
16974 #include <netinet/ip_var.h>
16975 #endif
16976 #ifdef HAVE_NETINET_UDP_H
16977 #include <netinet/udp.h>
16978 #endif
16979 #ifdef HAVE_NETINET_UDP_VAR_H
16980 #include <netinet/udp_var.h>
16981 #endif
16983 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16985 cat >>confdefs.h <<_ACEOF
16986 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16987 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16994 #include <sys/types.h>
16995 #endif
16996 #ifdef HAVE_NET_IF_H
16997 # include <net/if.h>
16998 #endif
17000 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17002 cat >>confdefs.h <<_ACEOF
17003 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17004 _ACEOF
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17011 $as_echo_n "checking for timezone variable... " >&6; }
17012 if ${ac_cv_have_timezone+:} false; then :
17013 $as_echo_n "(cached) " >&6
17014 else
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17017 #include <time.h>
17019 main ()
17021 timezone = 1
17023 return 0;
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027 ac_cv_have_timezone="yes"
17028 else
17029 ac_cv_have_timezone="no"
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17035 $as_echo "$ac_cv_have_timezone" >&6; }
17036 if test "$ac_cv_have_timezone" = "yes"
17037 then
17039 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17043 $as_echo_n "checking for daylight variable... " >&6; }
17044 if ${ac_cv_have_daylight+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #include <time.h>
17051 main ()
17053 daylight = 1
17055 return 0;
17057 _ACEOF
17058 if ac_fn_c_try_link "$LINENO"; then :
17059 ac_cv_have_daylight="yes"
17060 else
17061 ac_cv_have_daylight="no"
17063 rm -f core conftest.err conftest.$ac_objext \
17064 conftest$ac_exeext conftest.$ac_ext
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17067 $as_echo "$ac_cv_have_daylight" >&6; }
17068 if test "$ac_cv_have_daylight" = "yes"
17069 then
17071 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17075 ac_save_LIBS="$LIBS"
17076 LIBS="$LIBS -lm"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17078 $as_echo_n "checking for isfinite... " >&6; }
17079 if ${ac_cv_have_isfinite+:} false; then :
17080 $as_echo_n "(cached) " >&6
17081 else
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 #define _GNU_SOURCE
17085 #include <math.h>
17087 main ()
17089 float f = 0.0; return isfinite(f)
17091 return 0;
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 ac_cv_have_isfinite="yes"
17096 else
17097 ac_cv_have_isfinite="no"
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17103 $as_echo "$ac_cv_have_isfinite" >&6; }
17104 if test "$ac_cv_have_isfinite" = "yes"
17105 then
17107 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17112 $as_echo_n "checking for isinf... " >&6; }
17113 if ${ac_cv_have_isinf+:} false; then :
17114 $as_echo_n "(cached) " >&6
17115 else
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h. */
17118 #include <math.h>
17120 main ()
17122 float f = 0.0; return isinf(f)
17124 return 0;
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"; then :
17128 ac_cv_have_isinf="yes"
17129 else
17130 ac_cv_have_isinf="no"
17132 rm -f core conftest.err conftest.$ac_objext \
17133 conftest$ac_exeext conftest.$ac_ext
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17136 $as_echo "$ac_cv_have_isinf" >&6; }
17137 if test "$ac_cv_have_isinf" = "yes"
17138 then
17140 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17145 $as_echo_n "checking for isnan... " >&6; }
17146 if ${ac_cv_have_isnan+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17150 /* end confdefs.h. */
17151 #include <math.h>
17153 main ()
17155 float f = 0.0; return isnan(f)
17157 return 0;
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_have_isnan="yes"
17162 else
17163 ac_cv_have_isnan="no"
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17169 $as_echo "$ac_cv_have_isnan" >&6; }
17170 if test "$ac_cv_have_isnan" = "yes"
17171 then
17173 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17177 for ac_func in \
17178 asinh \
17179 asinhf \
17180 cbrt \
17181 cbrtf \
17182 erf \
17183 erff \
17184 exp2 \
17185 exp2f \
17186 lgamma \
17187 lgammaf \
17188 llrint \
17189 llrintf \
17190 llround \
17191 llroundf \
17192 log2 \
17193 log2f \
17194 lrint \
17195 lrintf \
17196 lround \
17197 lroundf \
17198 nearbyint \
17199 nearbyintf \
17200 powl \
17201 remainder \
17202 remainderf \
17203 rint \
17204 rintf \
17205 round \
17206 roundf \
17207 trunc \
17208 truncf
17210 do :
17211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17213 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17216 _ACEOF
17219 done
17221 LIBS="$ac_save_LIBS"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17224 $as_echo_n "checking for __builtin_clz... " >&6; }
17225 if ${ac_cv_have___builtin_clz+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17232 main ()
17234 return __builtin_clz(1)
17236 return 0;
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_have___builtin_clz="yes"
17241 else
17242 ac_cv_have___builtin_clz="no"
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17248 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17249 if test "$ac_cv_have___builtin_clz" = "yes"
17250 then
17252 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17257 $as_echo_n "checking for __builtin_popcount... " >&6; }
17258 if ${ac_cv_have___builtin_popcount+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17265 main ()
17267 return __builtin_popcount(1)
17269 return 0;
17271 _ACEOF
17272 if ac_fn_c_try_link "$LINENO"; then :
17273 ac_cv_have___builtin_popcount="yes"
17274 else
17275 ac_cv_have___builtin_popcount="no"
17277 rm -f core conftest.err conftest.$ac_objext \
17278 conftest$ac_exeext conftest.$ac_ext
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17281 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17282 if test "$ac_cv_have___builtin_popcount" = "yes"
17283 then
17285 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17290 case $host_cpu in
17291 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17292 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17293 if ${ac_cv_cpp_def___i386__+:} false; then :
17294 $as_echo_n "(cached) " >&6
17295 else
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297 /* end confdefs.h. */
17298 #ifndef __i386__
17300 #endif
17301 _ACEOF
17302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17303 $EGREP "yes" >/dev/null 2>&1; then :
17304 ac_cv_cpp_def___i386__=yes
17305 else
17306 ac_cv_cpp_def___i386__=no
17308 rm -f conftest*
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17312 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17313 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17314 CFLAGS="$CFLAGS -D__i386__"
17315 LINTFLAGS="$LINTFLAGS -D__i386__"
17316 fi ;;
17317 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17318 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17319 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17323 /* end confdefs.h. */
17324 #ifndef __x86_64__
17326 #endif
17327 _ACEOF
17328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17329 $EGREP "yes" >/dev/null 2>&1; then :
17330 ac_cv_cpp_def___x86_64__=yes
17331 else
17332 ac_cv_cpp_def___x86_64__=no
17334 rm -f conftest*
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17338 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17339 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17340 CFLAGS="$CFLAGS -D__x86_64__"
17341 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17342 fi ;;
17343 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17344 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17345 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #ifndef __sparc64__
17352 #endif
17353 _ACEOF
17354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17355 $EGREP "yes" >/dev/null 2>&1; then :
17356 ac_cv_cpp_def___sparc64__=yes
17357 else
17358 ac_cv_cpp_def___sparc64__=no
17360 rm -f conftest*
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17364 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17365 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17366 CFLAGS="$CFLAGS -D__sparc64__"
17367 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17368 fi ;;
17369 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17370 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17371 if ${ac_cv_cpp_def___sparc__+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375 /* end confdefs.h. */
17376 #ifndef __sparc__
17378 #endif
17379 _ACEOF
17380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17381 $EGREP "yes" >/dev/null 2>&1; then :
17382 ac_cv_cpp_def___sparc__=yes
17383 else
17384 ac_cv_cpp_def___sparc__=no
17386 rm -f conftest*
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17390 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17391 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17392 CFLAGS="$CFLAGS -D__sparc__"
17393 LINTFLAGS="$LINTFLAGS -D__sparc__"
17394 fi ;;
17395 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17396 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17397 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17398 $as_echo_n "(cached) " >&6
17399 else
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #ifndef __powerpc64__
17404 #endif
17405 _ACEOF
17406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17407 $EGREP "yes" >/dev/null 2>&1; then :
17408 ac_cv_cpp_def___powerpc64__=yes
17409 else
17410 ac_cv_cpp_def___powerpc64__=no
17412 rm -f conftest*
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17416 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17417 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17418 CFLAGS="$CFLAGS -D__powerpc64__"
17419 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17420 fi ;;
17421 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17422 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17423 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17424 $as_echo_n "(cached) " >&6
17425 else
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 #ifndef __powerpc__
17430 #endif
17431 _ACEOF
17432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17433 $EGREP "yes" >/dev/null 2>&1; then :
17434 ac_cv_cpp_def___powerpc__=yes
17435 else
17436 ac_cv_cpp_def___powerpc__=no
17438 rm -f conftest*
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17442 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17443 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17444 CFLAGS="$CFLAGS -D__powerpc__"
17445 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17446 fi ;;
17447 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17448 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17449 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17450 $as_echo_n "(cached) " >&6
17451 else
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17454 #ifndef __aarch64__
17456 #endif
17457 _ACEOF
17458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17459 $EGREP "yes" >/dev/null 2>&1; then :
17460 ac_cv_cpp_def___aarch64__=yes
17461 else
17462 ac_cv_cpp_def___aarch64__=no
17464 rm -f conftest*
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17468 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17469 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17470 CFLAGS="$CFLAGS -D__aarch64__"
17471 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17472 fi ;;
17473 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17474 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17475 if ${ac_cv_cpp_def___arm__+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 #ifndef __arm__
17482 #endif
17483 _ACEOF
17484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17485 $EGREP "yes" >/dev/null 2>&1; then :
17486 ac_cv_cpp_def___arm__=yes
17487 else
17488 ac_cv_cpp_def___arm__=no
17490 rm -f conftest*
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17494 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17495 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17496 CFLAGS="$CFLAGS -D__arm__"
17497 LINTFLAGS="$LINTFLAGS -D__arm__"
17498 fi ;;
17499 esac
17501 case $host_vendor in
17502 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17503 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17504 if ${ac_cv_cpp_def___sun__+:} false; then :
17505 $as_echo_n "(cached) " >&6
17506 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #ifndef __sun__
17511 #endif
17512 _ACEOF
17513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17514 $EGREP "yes" >/dev/null 2>&1; then :
17515 ac_cv_cpp_def___sun__=yes
17516 else
17517 ac_cv_cpp_def___sun__=no
17519 rm -f conftest*
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17523 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17524 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17525 CFLAGS="$CFLAGS -D__sun__"
17526 LINTFLAGS="$LINTFLAGS -D__sun__"
17527 fi ;;
17528 esac
17534 ac_config_commands="$ac_config_commands include/stamp-h"
17536 $as_echo_n "creating Makefile rules..." >&6
17538 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17539 SOCKET_LIBS = $SOCKET_LIBS
17540 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17541 IOKIT_LIBS = $IOKIT_LIBS
17542 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17543 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17544 CORESERVICES_LIBS = $CORESERVICES_LIBS
17545 APPKIT_LIBS = $APPKIT_LIBS
17546 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17547 SECURITY_LIBS = $SECURITY_LIBS
17548 COREAUDIO_LIBS = $COREAUDIO_LIBS
17549 OPENAL_LIBS = $OPENAL_LIBS
17550 OPENCL_LIBS = $OPENCL_LIBS
17551 QUICKTIME_LIBS = $QUICKTIME_LIBS
17552 CARBON_LIBS = $CARBON_LIBS
17553 PTHREAD_LIBS = $PTHREAD_LIBS
17554 X_CFLAGS = $X_CFLAGS
17555 X_PRE_LIBS = $X_PRE_LIBS
17556 X_LIBS = $X_LIBS
17557 X_EXTRA_LIBS = $X_EXTRA_LIBS
17558 PCAP_LIBS = $PCAP_LIBS
17559 XML2_CFLAGS = $XML2_CFLAGS
17560 XML2_LIBS = $XML2_LIBS
17561 XSLT_CFLAGS = $XSLT_CFLAGS
17562 XSLT_LIBS = $XSLT_LIBS
17563 DBUS_CFLAGS = $DBUS_CFLAGS
17564 DBUS_LIBS = $DBUS_LIBS
17565 HAL_CFLAGS = $HAL_CFLAGS
17566 HAL_LIBS = $HAL_LIBS
17567 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17568 GNUTLS_LIBS = $GNUTLS_LIBS
17569 SANE_CFLAGS = $SANE_CFLAGS
17570 SANE_LIBS = $SANE_LIBS
17571 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17572 GPHOTO2_LIBS = $GPHOTO2_LIBS
17573 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17574 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17575 RESOLV_LIBS = $RESOLV_LIBS
17576 LCMS2_CFLAGS = $LCMS2_CFLAGS
17577 LCMS2_LIBS = $LCMS2_LIBS
17578 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17579 FREETYPE_LIBS = $FREETYPE_LIBS
17580 Z_LIBS = $Z_LIBS
17581 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17582 PULSE_CFLAGS = $PULSE_CFLAGS
17583 PULSE_LIBS = $PULSE_LIBS
17584 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17585 GSTREAMER_LIBS = $GSTREAMER_LIBS
17586 ALSA_LIBS = $ALSA_LIBS
17587 OSS4_CFLAGS = $OSS4_CFLAGS
17588 UDEV_CFLAGS = $UDEV_CFLAGS
17589 UDEV_LIBS = $UDEV_LIBS
17590 CAPI20_CFLAGS = $CAPI20_CFLAGS
17591 CAPI20_LIBS = $CAPI20_LIBS
17592 CUPS_CFLAGS = $CUPS_CFLAGS
17593 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17594 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17595 JPEG_CFLAGS = $JPEG_CFLAGS
17596 JPEG_LIBS = $JPEG_LIBS
17597 PNG_CFLAGS = $PNG_CFLAGS
17598 PNG_LIBS = $PNG_LIBS
17599 TIFF_CFLAGS = $TIFF_CFLAGS
17600 TIFF_LIBS = $TIFF_LIBS
17601 MPG123_CFLAGS = $MPG123_CFLAGS
17602 MPG123_LIBS = $MPG123_LIBS
17603 KSTAT_LIBS = $KSTAT_LIBS
17604 PROCSTAT_LIBS = $PROCSTAT_LIBS
17605 NETAPI_CFLAGS = $NETAPI_CFLAGS
17606 NETAPI_LIBS = $NETAPI_LIBS
17607 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17608 DL_LIBS = $DL_LIBS
17609 POLL_LIBS = $POLL_LIBS
17610 RT_LIBS = $RT_LIBS
17611 LDAP_LIBS = $LDAP_LIBS
17616 wine_fn_append_rule "
17617 # Rules automatically generated by configure
17619 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17621 .INIT: Makefile
17622 .MAKEFILEDEPS:
17623 all: Makefile
17624 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17625 @./config.status Make.tmp Makefile
17626 depend: \$(MAKEDEP) dummy
17627 \$(MAKEDEP)"
17629 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17630 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17632 if test "x$enable_fonts" != xno; then
17633 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17634 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17635 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17636 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17637 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17638 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17640 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17641 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17642 ac_config_links="$ac_config_links wine:tools/winewrapper"
17643 wine_fn_config_symlink wine
17644 if test "x$enable_win64" != xno; then
17645 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17646 wine_fn_config_symlink wine64
17649 wine_fn_config_dll acledit enable_acledit
17650 wine_fn_config_dll aclui enable_aclui implib
17651 wine_fn_config_dll activeds enable_activeds implib
17652 wine_fn_config_dll actxprxy enable_actxprxy clean
17653 wine_fn_config_lib adsiid
17654 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17655 wine_fn_config_test dlls/advapi32/tests advapi32_test
17656 wine_fn_config_dll advpack enable_advpack implib
17657 wine_fn_config_test dlls/advpack/tests advpack_test
17658 wine_fn_config_dll amstream enable_amstream clean
17659 wine_fn_config_test dlls/amstream/tests amstream_test
17660 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17661 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17662 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17663 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17664 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17665 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17666 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17667 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17668 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17669 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17670 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17671 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17672 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17673 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17674 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17675 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17676 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17677 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17678 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17679 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17680 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17681 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17682 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17683 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17684 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17685 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17686 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17687 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17688 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17689 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17690 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17691 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17692 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17693 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17694 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17695 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17696 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17697 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17698 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17699 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17700 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17701 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17702 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17703 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17704 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17705 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17706 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17707 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17708 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17709 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17710 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17711 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17712 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17713 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17714 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17715 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17716 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17717 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17718 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17719 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17720 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17721 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17722 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17723 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17724 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17725 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17726 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17727 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17728 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17729 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17730 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17731 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17732 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17733 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17734 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17735 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17736 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17737 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17738 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17739 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17740 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17741 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17742 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17743 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17744 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17745 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17746 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17747 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17748 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17749 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17750 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17751 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17752 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17753 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17754 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17755 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17756 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17757 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17758 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17759 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17760 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17761 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17762 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17763 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17764 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17765 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17766 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17767 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17768 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17769 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17770 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17771 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17772 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17773 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17774 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17775 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17776 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17777 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17778 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17779 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17780 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17781 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17782 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17783 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17784 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17785 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17786 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17787 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
17788 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
17789 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17790 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17791 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17792 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17793 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17794 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17795 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17796 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17797 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17798 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
17799 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17800 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
17801 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
17802 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17803 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17804 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
17805 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
17806 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17807 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
17808 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
17809 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
17810 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
17811 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17812 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17813 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
17814 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
17815 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17816 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17817 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
17818 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
17819 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17820 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
17821 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
17822 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17823 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17824 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
17825 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
17826 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
17827 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17828 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
17829 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17830 wine_fn_config_dll apphelp enable_apphelp
17831 wine_fn_config_test dlls/apphelp/tests apphelp_test
17832 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17833 wine_fn_config_dll atl enable_atl clean,implib
17834 wine_fn_config_test dlls/atl/tests atl_test
17835 wine_fn_config_dll atl100 enable_atl100 clean,implib
17836 wine_fn_config_test dlls/atl100/tests atl100_test
17837 wine_fn_config_dll atl110 enable_atl110 clean
17838 wine_fn_config_dll atl80 enable_atl80 clean,implib
17839 wine_fn_config_test dlls/atl80/tests atl80_test
17840 wine_fn_config_dll atl90 enable_atl90 clean
17841 wine_fn_config_dll authz enable_authz
17842 wine_fn_config_dll avicap32 enable_avicap32 implib
17843 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17844 wine_fn_config_test dlls/avifil32/tests avifil32_test
17845 wine_fn_config_dll avifile.dll16 enable_win16
17846 wine_fn_config_dll avrt enable_avrt implib
17847 wine_fn_config_dll bcrypt enable_bcrypt implib
17848 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17849 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17850 wine_fn_config_dll browseui enable_browseui clean
17851 wine_fn_config_test dlls/browseui/tests browseui_test
17852 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17853 wine_fn_config_dll cabinet enable_cabinet implib
17854 wine_fn_config_test dlls/cabinet/tests cabinet_test
17855 wine_fn_config_dll capi2032 enable_capi2032 implib
17856 wine_fn_config_dll cards enable_cards implib
17857 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17858 wine_fn_config_dll clusapi enable_clusapi implib
17859 wine_fn_config_dll combase enable_combase
17860 wine_fn_config_test dlls/combase/tests combase_test
17861 wine_fn_config_dll comcat enable_comcat
17862 wine_fn_config_test dlls/comcat/tests comcat_test
17863 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17864 wine_fn_config_test dlls/comctl32/tests comctl32_test
17865 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17866 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17867 wine_fn_config_dll comm.drv16 enable_win16
17868 wine_fn_config_dll commdlg.dll16 enable_win16
17869 wine_fn_config_dll compobj.dll16 enable_win16
17870 wine_fn_config_dll compstui enable_compstui implib
17871 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
17872 wine_fn_config_dll concrt140 enable_concrt140
17873 wine_fn_config_dll connect enable_connect
17874 wine_fn_config_dll credui enable_credui clean,implib
17875 wine_fn_config_test dlls/credui/tests credui_test
17876 wine_fn_config_dll crtdll enable_crtdll
17877 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17878 wine_fn_config_test dlls/crypt32/tests crypt32_test
17879 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17880 wine_fn_config_dll cryptdll enable_cryptdll implib
17881 wine_fn_config_dll cryptext enable_cryptext
17882 wine_fn_config_dll cryptnet enable_cryptnet implib
17883 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17884 wine_fn_config_dll cryptui enable_cryptui clean,implib
17885 wine_fn_config_test dlls/cryptui/tests cryptui_test
17886 wine_fn_config_dll ctapi32 enable_ctapi32
17887 wine_fn_config_dll ctl3d.dll16 enable_win16
17888 wine_fn_config_dll ctl3d32 enable_ctl3d32
17889 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17890 wine_fn_config_dll d2d1 enable_d2d1 implib
17891 wine_fn_config_test dlls/d2d1/tests d2d1_test
17892 wine_fn_config_dll d3d10 enable_d3d10 implib
17893 wine_fn_config_test dlls/d3d10/tests d3d10_test
17894 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17895 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17896 wine_fn_config_dll d3d10core enable_d3d10core implib
17897 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17898 wine_fn_config_dll d3d11 enable_d3d11 implib
17899 wine_fn_config_test dlls/d3d11/tests d3d11_test
17900 wine_fn_config_dll d3d8 enable_d3d8 implib
17901 wine_fn_config_test dlls/d3d8/tests d3d8_test
17902 wine_fn_config_dll d3d9 enable_d3d9 implib
17903 wine_fn_config_test dlls/d3d9/tests d3d9_test
17904 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17905 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17906 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17907 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17908 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17909 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17910 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17911 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17912 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17913 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17914 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17915 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17916 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17917 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17918 wine_fn_config_dll d3dim enable_d3dim
17919 wine_fn_config_dll d3drm enable_d3drm implib
17920 wine_fn_config_test dlls/d3drm/tests d3drm_test
17921 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17922 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17923 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17924 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17925 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17926 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17927 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17928 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17929 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17930 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17931 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17932 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17933 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17934 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17935 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
17936 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17937 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17938 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17939 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17940 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17941 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17942 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17943 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17944 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17945 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17946 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17947 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17948 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17949 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17950 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17951 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17952 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17953 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17954 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17955 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17956 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17957 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17958 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17959 wine_fn_config_dll davclnt enable_davclnt
17960 wine_fn_config_dll dbgeng enable_dbgeng implib
17961 wine_fn_config_dll dbghelp enable_dbghelp implib
17962 wine_fn_config_dll dciman32 enable_dciman32 implib
17963 wine_fn_config_dll ddeml.dll16 enable_win16
17964 wine_fn_config_dll ddraw enable_ddraw clean,implib
17965 wine_fn_config_test dlls/ddraw/tests ddraw_test
17966 wine_fn_config_dll ddrawex enable_ddrawex clean
17967 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17968 wine_fn_config_dll devenum enable_devenum clean
17969 wine_fn_config_test dlls/devenum/tests devenum_test
17970 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17971 wine_fn_config_dll difxapi enable_difxapi
17972 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17973 wine_fn_config_test dlls/dinput/tests dinput_test
17974 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17975 wine_fn_config_test dlls/dinput8/tests dinput8_test
17976 wine_fn_config_dll dispdib.dll16 enable_win16
17977 wine_fn_config_dll dispex enable_dispex clean
17978 wine_fn_config_test dlls/dispex/tests dispex_test
17979 wine_fn_config_dll display.drv16 enable_win16
17980 wine_fn_config_dll dmband enable_dmband clean
17981 wine_fn_config_test dlls/dmband/tests dmband_test
17982 wine_fn_config_dll dmcompos enable_dmcompos clean
17983 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17984 wine_fn_config_dll dmime enable_dmime clean
17985 wine_fn_config_test dlls/dmime/tests dmime_test
17986 wine_fn_config_dll dmloader enable_dmloader clean
17987 wine_fn_config_test dlls/dmloader/tests dmloader_test
17988 wine_fn_config_dll dmscript enable_dmscript clean
17989 wine_fn_config_test dlls/dmscript/tests dmscript_test
17990 wine_fn_config_dll dmstyle enable_dmstyle clean
17991 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17992 wine_fn_config_dll dmsynth enable_dmsynth clean
17993 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17994 wine_fn_config_dll dmusic enable_dmusic clean
17995 wine_fn_config_test dlls/dmusic/tests dmusic_test
17996 wine_fn_config_dll dmusic32 enable_dmusic32
17997 wine_fn_config_dll dnsapi enable_dnsapi implib
17998 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17999 wine_fn_config_dll dplay enable_dplay
18000 wine_fn_config_dll dplayx enable_dplayx clean,implib
18001 wine_fn_config_test dlls/dplayx/tests dplayx_test
18002 wine_fn_config_dll dpnaddr enable_dpnaddr
18003 wine_fn_config_dll dpnet enable_dpnet clean,implib
18004 wine_fn_config_test dlls/dpnet/tests dpnet_test
18005 wine_fn_config_dll dpnhpast enable_dpnhpast
18006 wine_fn_config_dll dpnlobby enable_dpnlobby
18007 wine_fn_config_dll dpvoice enable_dpvoice clean
18008 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18009 wine_fn_config_dll dpwsockx enable_dpwsockx
18010 wine_fn_config_dll drmclien enable_drmclien
18011 wine_fn_config_dll dsound enable_dsound clean,implib
18012 wine_fn_config_test dlls/dsound/tests dsound_test
18013 wine_fn_config_dll dssenh enable_dssenh
18014 wine_fn_config_test dlls/dssenh/tests dssenh_test
18015 wine_fn_config_dll dswave enable_dswave clean
18016 wine_fn_config_test dlls/dswave/tests dswave_test
18017 wine_fn_config_dll dwmapi enable_dwmapi implib
18018 wine_fn_config_dll dwrite enable_dwrite implib
18019 wine_fn_config_test dlls/dwrite/tests dwrite_test
18020 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18021 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18022 wine_fn_config_lib dxerr8
18023 wine_fn_config_lib dxerr9
18024 wine_fn_config_dll dxgi enable_dxgi implib
18025 wine_fn_config_test dlls/dxgi/tests dxgi_test
18026 wine_fn_config_lib dxguid
18027 wine_fn_config_dll dxva2 enable_dxva2
18028 wine_fn_config_dll esent enable_esent
18029 wine_fn_config_dll evr enable_evr
18030 wine_fn_config_dll explorerframe enable_explorerframe clean
18031 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18032 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18033 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18034 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18035 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18036 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18037 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18038 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18039 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18040 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18041 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18042 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18043 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18044 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18045 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18046 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18047 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
18048 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18049 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18050 wine_fn_config_dll faultrep enable_faultrep implib
18051 wine_fn_config_test dlls/faultrep/tests faultrep_test
18052 wine_fn_config_dll fltlib enable_fltlib
18053 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18054 wine_fn_config_dll fntcache enable_fntcache
18055 wine_fn_config_dll fontsub enable_fontsub
18056 wine_fn_config_dll fusion enable_fusion
18057 wine_fn_config_test dlls/fusion/tests fusion_test
18058 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18059 wine_fn_config_dll gameux enable_gameux clean
18060 wine_fn_config_test dlls/gameux/tests gameux_test
18061 wine_fn_config_dll gdi.exe16 enable_win16
18062 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18063 wine_fn_config_test dlls/gdi32/tests gdi32_test
18064 wine_fn_config_dll gdiplus enable_gdiplus implib
18065 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18066 wine_fn_config_dll glu32 enable_glu32 implib
18067 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18068 wine_fn_config_dll gpkcsp enable_gpkcsp
18069 wine_fn_config_dll hal enable_hal
18070 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18071 wine_fn_config_dll hid enable_hid implib
18072 wine_fn_config_test dlls/hid/tests hid_test
18073 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18074 wine_fn_config_dll hlink enable_hlink clean,implib
18075 wine_fn_config_test dlls/hlink/tests hlink_test
18076 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18077 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18078 wine_fn_config_dll httpapi enable_httpapi
18079 wine_fn_config_dll iccvid enable_iccvid clean
18080 wine_fn_config_dll icmp enable_icmp
18081 wine_fn_config_dll ieframe enable_ieframe clean,implib
18082 wine_fn_config_test dlls/ieframe/tests ieframe_test
18083 wine_fn_config_dll ifsmgr.vxd enable_win16
18084 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18085 wine_fn_config_dll imagehlp enable_imagehlp implib
18086 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18087 wine_fn_config_dll imm.dll16 enable_win16
18088 wine_fn_config_dll imm32 enable_imm32 implib
18089 wine_fn_config_test dlls/imm32/tests imm32_test
18090 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18091 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18092 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18093 wine_fn_config_dll inetmib1 enable_inetmib1
18094 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18095 wine_fn_config_dll infosoft enable_infosoft clean
18096 wine_fn_config_test dlls/infosoft/tests infosoft_test
18097 wine_fn_config_dll initpki enable_initpki
18098 wine_fn_config_dll inkobj enable_inkobj
18099 wine_fn_config_dll inseng enable_inseng clean
18100 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18101 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18102 wine_fn_config_dll iprop enable_iprop
18103 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18104 wine_fn_config_dll itircl enable_itircl
18105 wine_fn_config_dll itss enable_itss clean
18106 wine_fn_config_test dlls/itss/tests itss_test
18107 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18108 wine_fn_config_dll jscript enable_jscript clean
18109 wine_fn_config_test dlls/jscript/tests jscript_test
18110 wine_fn_config_dll jsproxy enable_jsproxy implib
18111 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18112 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18113 wine_fn_config_test dlls/kernel32/tests kernel32_test
18114 wine_fn_config_dll kernelbase enable_kernelbase
18115 wine_fn_config_dll keyboard.drv16 enable_win16
18116 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18117 wine_fn_config_dll ksuser enable_ksuser
18118 wine_fn_config_dll ktmw32 enable_ktmw32
18119 wine_fn_config_dll loadperf enable_loadperf implib
18120 wine_fn_config_dll localspl enable_localspl clean
18121 wine_fn_config_test dlls/localspl/tests localspl_test
18122 wine_fn_config_dll localui enable_localui clean
18123 wine_fn_config_test dlls/localui/tests localui_test
18124 wine_fn_config_dll lz32 enable_lz32 implib
18125 wine_fn_config_test dlls/lz32/tests lz32_test
18126 wine_fn_config_dll lzexpand.dll16 enable_win16
18127 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18128 wine_fn_config_test dlls/mapi32/tests mapi32_test
18129 wine_fn_config_dll mapistub enable_mapistub
18130 wine_fn_config_dll mciavi32 enable_mciavi32
18131 wine_fn_config_dll mcicda enable_mcicda
18132 wine_fn_config_dll mciqtz32 enable_mciqtz32
18133 wine_fn_config_dll mciseq enable_mciseq
18134 wine_fn_config_dll mciwave enable_mciwave
18135 wine_fn_config_dll mf enable_mf
18136 wine_fn_config_dll mf3216 enable_mf3216
18137 wine_fn_config_dll mfplat enable_mfplat implib
18138 wine_fn_config_test dlls/mfplat/tests mfplat_test
18139 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18140 wine_fn_config_dll mgmtapi enable_mgmtapi
18141 wine_fn_config_dll midimap enable_midimap
18142 wine_fn_config_dll mlang enable_mlang clean,implib
18143 wine_fn_config_test dlls/mlang/tests mlang_test
18144 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18145 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18146 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18147 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18148 wine_fn_config_dll mmdevldr.vxd enable_win16
18149 wine_fn_config_dll mmsystem.dll16 enable_win16
18150 wine_fn_config_dll monodebg.vxd enable_win16
18151 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18152 wine_fn_config_dll mouse.drv16 enable_win16
18153 wine_fn_config_dll mpr enable_mpr clean,implib
18154 wine_fn_config_test dlls/mpr/tests mpr_test
18155 wine_fn_config_dll mprapi enable_mprapi implib
18156 wine_fn_config_dll msacm.dll16 enable_win16
18157 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18158 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18159 wine_fn_config_test dlls/msacm32/tests msacm32_test
18160 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18161 wine_fn_config_dll msasn1 enable_msasn1 implib
18162 wine_fn_config_dll mscat32 enable_mscat32
18163 wine_fn_config_dll mscms enable_mscms implib
18164 wine_fn_config_test dlls/mscms/tests mscms_test
18165 wine_fn_config_dll mscoree enable_mscoree clean
18166 wine_fn_config_test dlls/mscoree/tests mscoree_test
18167 wine_fn_config_dll msctf enable_msctf clean
18168 wine_fn_config_test dlls/msctf/tests msctf_test
18169 wine_fn_config_dll msctfp enable_msctfp clean
18170 wine_fn_config_dll msdaps enable_msdaps clean
18171 wine_fn_config_dll msdelta enable_msdelta
18172 wine_fn_config_dll msdmo enable_msdmo implib
18173 wine_fn_config_test dlls/msdmo/tests msdmo_test
18174 wine_fn_config_dll msdrm enable_msdrm
18175 wine_fn_config_dll msftedit enable_msftedit
18176 wine_fn_config_dll msg711.acm enable_msg711_acm
18177 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18178 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18179 wine_fn_config_dll mshtml enable_mshtml clean,implib
18180 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18181 wine_fn_config_dll msi enable_msi clean,implib
18182 wine_fn_config_test dlls/msi/tests msi_test
18183 wine_fn_config_dll msident enable_msident clean
18184 wine_fn_config_dll msimg32 enable_msimg32 implib
18185 wine_fn_config_dll msimsg enable_msimsg
18186 wine_fn_config_dll msimtf enable_msimtf clean
18187 wine_fn_config_dll msisip enable_msisip
18188 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18189 wine_fn_config_dll msls31 enable_msls31
18190 wine_fn_config_dll msnet32 enable_msnet32
18191 wine_fn_config_dll mspatcha enable_mspatcha implib
18192 wine_fn_config_dll msports enable_msports
18193 wine_fn_config_dll msrle32 enable_msrle32 clean
18194 wine_fn_config_test dlls/msrle32/tests msrle32_test
18195 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18196 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18197 wine_fn_config_dll mssign32 enable_mssign32
18198 wine_fn_config_dll mssip32 enable_mssip32
18199 wine_fn_config_dll mstask enable_mstask clean
18200 wine_fn_config_test dlls/mstask/tests mstask_test
18201 wine_fn_config_dll msvcirt enable_msvcirt
18202 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18203 wine_fn_config_dll msvcm80 enable_msvcm80
18204 wine_fn_config_dll msvcm90 enable_msvcm90
18205 wine_fn_config_dll msvcp100 enable_msvcp100
18206 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18207 wine_fn_config_dll msvcp110 enable_msvcp110
18208 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18209 wine_fn_config_dll msvcp120 enable_msvcp120
18210 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18211 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18212 wine_fn_config_dll msvcp140 enable_msvcp140
18213 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18214 wine_fn_config_dll msvcp60 enable_msvcp60
18215 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18216 wine_fn_config_dll msvcp70 enable_msvcp70
18217 wine_fn_config_dll msvcp71 enable_msvcp71
18218 wine_fn_config_dll msvcp80 enable_msvcp80
18219 wine_fn_config_dll msvcp90 enable_msvcp90
18220 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18221 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18222 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18223 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18224 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18225 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18226 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18227 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18228 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18229 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18230 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18231 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18232 wine_fn_config_dll msvcrt enable_msvcrt implib
18233 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18234 wine_fn_config_dll msvcrt20 enable_msvcrt20
18235 wine_fn_config_dll msvcrt40 enable_msvcrt40
18236 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18237 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18238 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18239 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18240 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18241 wine_fn_config_dll msvideo.dll16 enable_win16
18242 wine_fn_config_dll mswsock enable_mswsock implib
18243 wine_fn_config_dll msxml enable_msxml clean
18244 wine_fn_config_dll msxml2 enable_msxml2 clean
18245 wine_fn_config_dll msxml3 enable_msxml3 clean
18246 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18247 wine_fn_config_dll msxml4 enable_msxml4 clean
18248 wine_fn_config_dll msxml6 enable_msxml6 clean
18249 wine_fn_config_dll mtxdm enable_mtxdm
18250 wine_fn_config_dll ncrypt enable_ncrypt
18251 wine_fn_config_dll nddeapi enable_nddeapi implib
18252 wine_fn_config_dll ndis.sys enable_ndis_sys
18253 wine_fn_config_dll netapi32 enable_netapi32 implib
18254 wine_fn_config_test dlls/netapi32/tests netapi32_test
18255 wine_fn_config_dll netcfgx enable_netcfgx clean
18256 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18257 wine_fn_config_dll netprofm enable_netprofm clean
18258 wine_fn_config_test dlls/netprofm/tests netprofm_test
18259 wine_fn_config_dll newdev enable_newdev implib
18260 wine_fn_config_dll normaliz enable_normaliz implib
18261 wine_fn_config_dll npmshtml enable_npmshtml
18262 wine_fn_config_dll npptools enable_npptools
18263 wine_fn_config_dll ntdll enable_ntdll implib
18264 wine_fn_config_test dlls/ntdll/tests ntdll_test
18265 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18266 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18267 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18268 wine_fn_config_dll ntprint enable_ntprint
18269 wine_fn_config_test dlls/ntprint/tests ntprint_test
18270 wine_fn_config_dll objsel enable_objsel clean
18271 wine_fn_config_dll odbc32 enable_odbc32 implib
18272 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18273 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18274 wine_fn_config_dll odbccu32 enable_odbccu32
18275 wine_fn_config_dll ole2.dll16 enable_win16
18276 wine_fn_config_dll ole2conv.dll16 enable_win16
18277 wine_fn_config_dll ole2disp.dll16 enable_win16
18278 wine_fn_config_dll ole2nls.dll16 enable_win16
18279 wine_fn_config_dll ole2prox.dll16 enable_win16
18280 wine_fn_config_dll ole2thk.dll16 enable_win16
18281 wine_fn_config_dll ole32 enable_ole32 clean,implib
18282 wine_fn_config_test dlls/ole32/tests ole32_test
18283 wine_fn_config_dll oleacc enable_oleacc clean,implib
18284 wine_fn_config_test dlls/oleacc/tests oleacc_test
18285 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18286 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18287 wine_fn_config_dll olecli.dll16 enable_win16
18288 wine_fn_config_dll olecli32 enable_olecli32 implib
18289 wine_fn_config_dll oledb32 enable_oledb32 clean
18290 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18291 wine_fn_config_dll oledlg enable_oledlg clean,implib
18292 wine_fn_config_test dlls/oledlg/tests oledlg_test
18293 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18294 wine_fn_config_dll olesvr.dll16 enable_win16
18295 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18296 wine_fn_config_dll olethk32 enable_olethk32
18297 wine_fn_config_dll openal32 enable_openal32
18298 wine_fn_config_dll opencl enable_opencl
18299 wine_fn_config_dll opengl32 enable_opengl32 implib
18300 wine_fn_config_test dlls/opengl32/tests opengl32_test
18301 wine_fn_config_dll packager enable_packager clean
18302 wine_fn_config_test dlls/packager/tests packager_test
18303 wine_fn_config_dll pdh enable_pdh implib
18304 wine_fn_config_test dlls/pdh/tests pdh_test
18305 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18306 wine_fn_config_dll pidgen enable_pidgen
18307 wine_fn_config_dll powrprof enable_powrprof implib
18308 wine_fn_config_dll printui enable_printui
18309 wine_fn_config_dll prntvpt enable_prntvpt
18310 wine_fn_config_dll propsys enable_propsys clean,implib
18311 wine_fn_config_test dlls/propsys/tests propsys_test
18312 wine_fn_config_dll psapi enable_psapi implib
18313 wine_fn_config_test dlls/psapi/tests psapi_test
18314 wine_fn_config_dll pstorec enable_pstorec clean
18315 wine_fn_config_test dlls/pstorec/tests pstorec_test
18316 wine_fn_config_dll qcap enable_qcap
18317 wine_fn_config_test dlls/qcap/tests qcap_test
18318 wine_fn_config_dll qedit enable_qedit clean
18319 wine_fn_config_test dlls/qedit/tests qedit_test
18320 wine_fn_config_dll qmgr enable_qmgr clean
18321 wine_fn_config_test dlls/qmgr/tests qmgr_test
18322 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18323 wine_fn_config_dll quartz enable_quartz clean,implib
18324 wine_fn_config_test dlls/quartz/tests quartz_test clean
18325 wine_fn_config_dll query enable_query
18326 wine_fn_config_dll rasapi16.dll16 enable_win16
18327 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18328 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18329 wine_fn_config_dll rasdlg enable_rasdlg implib
18330 wine_fn_config_dll regapi enable_regapi
18331 wine_fn_config_dll resutils enable_resutils implib
18332 wine_fn_config_dll riched20 enable_riched20 clean,implib
18333 wine_fn_config_test dlls/riched20/tests riched20_test
18334 wine_fn_config_dll riched32 enable_riched32
18335 wine_fn_config_test dlls/riched32/tests riched32_test
18336 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18337 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18338 wine_fn_config_dll rsabase enable_rsabase
18339 wine_fn_config_dll rsaenh enable_rsaenh implib
18340 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18341 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18342 wine_fn_config_dll rtutils enable_rtutils implib
18343 wine_fn_config_dll samlib enable_samlib
18344 wine_fn_config_dll sane.ds enable_sane_ds clean
18345 wine_fn_config_dll scarddlg enable_scarddlg
18346 wine_fn_config_dll sccbase enable_sccbase
18347 wine_fn_config_dll schannel enable_schannel
18348 wine_fn_config_test dlls/schannel/tests schannel_test
18349 wine_fn_config_dll schedsvc enable_schedsvc clean
18350 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18351 wine_fn_config_dll scrobj enable_scrobj clean
18352 wine_fn_config_dll scrrun enable_scrrun clean
18353 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18354 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18355 wine_fn_config_dll secur32 enable_secur32 implib
18356 wine_fn_config_test dlls/secur32/tests secur32_test
18357 wine_fn_config_dll security enable_security
18358 wine_fn_config_dll sensapi enable_sensapi implib
18359 wine_fn_config_dll serialui enable_serialui clean
18360 wine_fn_config_test dlls/serialui/tests serialui_test
18361 wine_fn_config_dll setupapi enable_setupapi clean,implib
18362 wine_fn_config_test dlls/setupapi/tests setupapi_test
18363 wine_fn_config_dll setupx.dll16 enable_win16
18364 wine_fn_config_dll sfc enable_sfc implib
18365 wine_fn_config_dll sfc_os enable_sfc_os implib
18366 wine_fn_config_dll shdoclc enable_shdoclc clean
18367 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18368 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18369 wine_fn_config_dll shell.dll16 enable_win16
18370 wine_fn_config_dll shell32 enable_shell32 clean,implib
18371 wine_fn_config_test dlls/shell32/tests shell32_test
18372 wine_fn_config_dll shfolder enable_shfolder implib
18373 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18374 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18375 wine_fn_config_dll slbcsp enable_slbcsp
18376 wine_fn_config_dll slc enable_slc implib
18377 wine_fn_config_test dlls/slc/tests slc_test
18378 wine_fn_config_dll snmpapi enable_snmpapi implib
18379 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18380 wine_fn_config_dll softpub enable_softpub
18381 wine_fn_config_dll sound.drv16 enable_win16
18382 wine_fn_config_dll spoolss enable_spoolss implib
18383 wine_fn_config_test dlls/spoolss/tests spoolss_test
18384 wine_fn_config_dll sspicli enable_sspicli
18385 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18386 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18387 wine_fn_config_dll sti enable_sti clean,implib
18388 wine_fn_config_test dlls/sti/tests sti_test
18389 wine_fn_config_dll storage.dll16 enable_win16
18390 wine_fn_config_dll stress.dll16 enable_win16
18391 wine_fn_config_lib strmbase
18392 wine_fn_config_lib strmiids
18393 wine_fn_config_dll svrapi enable_svrapi
18394 wine_fn_config_dll sxs enable_sxs implib
18395 wine_fn_config_test dlls/sxs/tests sxs_test
18396 wine_fn_config_dll system.drv16 enable_win16
18397 wine_fn_config_dll t2embed enable_t2embed implib
18398 wine_fn_config_test dlls/t2embed/tests t2embed_test
18399 wine_fn_config_dll tapi32 enable_tapi32 implib
18400 wine_fn_config_dll taskschd enable_taskschd clean
18401 wine_fn_config_test dlls/taskschd/tests taskschd_test
18402 wine_fn_config_dll tdi.sys enable_tdi_sys
18403 wine_fn_config_dll toolhelp.dll16 enable_win16
18404 wine_fn_config_dll traffic enable_traffic
18405 wine_fn_config_dll twain.dll16 enable_win16
18406 wine_fn_config_dll twain_32 enable_twain_32
18407 wine_fn_config_test dlls/twain_32/tests twain_32_test
18408 wine_fn_config_dll typelib.dll16 enable_win16
18409 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18410 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18411 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18412 wine_fn_config_dll unicows enable_unicows implib
18413 wine_fn_config_dll updspapi enable_updspapi
18414 wine_fn_config_dll url enable_url implib
18415 wine_fn_config_dll urlmon enable_urlmon clean,implib
18416 wine_fn_config_test dlls/urlmon/tests urlmon_test
18417 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18418 wine_fn_config_dll user.exe16 enable_win16
18419 wine_fn_config_dll user32 enable_user32 clean,implib
18420 wine_fn_config_test dlls/user32/tests user32_test
18421 wine_fn_config_dll userenv enable_userenv implib
18422 wine_fn_config_test dlls/userenv/tests userenv_test
18423 wine_fn_config_dll usp10 enable_usp10 implib
18424 wine_fn_config_test dlls/usp10/tests usp10_test
18425 wine_fn_config_lib uuid
18426 wine_fn_config_dll uxtheme enable_uxtheme implib
18427 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18428 wine_fn_config_dll vbscript enable_vbscript clean
18429 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18430 wine_fn_config_dll vcomp enable_vcomp
18431 wine_fn_config_test dlls/vcomp/tests vcomp_test
18432 wine_fn_config_dll vcomp100 enable_vcomp100
18433 wine_fn_config_dll vcomp110 enable_vcomp110
18434 wine_fn_config_dll vcomp120 enable_vcomp120
18435 wine_fn_config_dll vcomp140 enable_vcomp140
18436 wine_fn_config_dll vcomp90 enable_vcomp90
18437 wine_fn_config_dll vcruntime140 enable_vcruntime140
18438 wine_fn_config_dll vdhcp.vxd enable_win16
18439 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18440 wine_fn_config_dll ver.dll16 enable_win16
18441 wine_fn_config_dll version enable_version implib
18442 wine_fn_config_test dlls/version/tests version_test
18443 wine_fn_config_dll virtdisk enable_virtdisk
18444 wine_fn_config_dll vmm.vxd enable_win16
18445 wine_fn_config_dll vnbt.vxd enable_win16
18446 wine_fn_config_dll vnetbios.vxd enable_win16
18447 wine_fn_config_dll vssapi enable_vssapi
18448 wine_fn_config_dll vtdapi.vxd enable_win16
18449 wine_fn_config_dll vwin32.vxd enable_win16
18450 wine_fn_config_dll w32skrnl enable_win16
18451 wine_fn_config_dll w32sys.dll16 enable_win16
18452 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18453 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18454 wine_fn_config_dll wbemprox enable_wbemprox clean
18455 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18456 wine_fn_config_dll webservices enable_webservices implib
18457 wine_fn_config_test dlls/webservices/tests webservices_test
18458 wine_fn_config_dll wer enable_wer implib
18459 wine_fn_config_test dlls/wer/tests wer_test
18460 wine_fn_config_dll wevtapi enable_wevtapi
18461 wine_fn_config_dll wiaservc enable_wiaservc clean
18462 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18463 wine_fn_config_dll wimgapi enable_wimgapi
18464 wine_fn_config_dll win32s16.dll16 enable_win16
18465 wine_fn_config_dll win87em.dll16 enable_win16
18466 wine_fn_config_dll winaspi.dll16 enable_win16
18467 wine_fn_config_dll windebug.dll16 enable_win16
18468 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18469 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18470 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18471 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18472 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18473 wine_fn_config_dll winebus.sys enable_winebus_sys
18474 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18475 wine_fn_config_lib winecrt0
18476 wine_fn_config_dll wined3d enable_wined3d implib
18477 wine_fn_config_dll winegstreamer enable_winegstreamer
18478 wine_fn_config_dll winehid.sys enable_winehid_sys
18479 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18480 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18481 wine_fn_config_dll winemapi enable_winemapi
18482 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18483 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18484 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18485 wine_fn_config_dll wineps16.drv16 enable_win16
18486 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18487 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18488 wine_fn_config_dll winex11.drv enable_winex11_drv
18489 wine_fn_config_dll wing.dll16 enable_win16
18490 wine_fn_config_dll wing32 enable_wing32
18491 wine_fn_config_dll winhttp enable_winhttp clean,implib
18492 wine_fn_config_test dlls/winhttp/tests winhttp_test
18493 wine_fn_config_dll wininet enable_wininet clean,implib
18494 wine_fn_config_test dlls/wininet/tests wininet_test
18495 wine_fn_config_dll winmm enable_winmm clean,implib
18496 wine_fn_config_test dlls/winmm/tests winmm_test
18497 wine_fn_config_dll winnls.dll16 enable_win16
18498 wine_fn_config_dll winnls32 enable_winnls32 implib
18499 wine_fn_config_dll winscard enable_winscard implib
18500 wine_fn_config_dll winsock.dll16 enable_win16
18501 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18502 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18503 wine_fn_config_dll winsta enable_winsta
18504 wine_fn_config_dll wintab.dll16 enable_win16
18505 wine_fn_config_dll wintab32 enable_wintab32 implib
18506 wine_fn_config_test dlls/wintab32/tests wintab32_test
18507 wine_fn_config_dll wintrust enable_wintrust implib
18508 wine_fn_config_test dlls/wintrust/tests wintrust_test
18509 wine_fn_config_dll winusb enable_winusb
18510 wine_fn_config_dll wlanapi enable_wlanapi implib
18511 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18512 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18513 wine_fn_config_test dlls/wldap32/tests wldap32_test
18514 wine_fn_config_dll wmasf enable_wmasf
18515 wine_fn_config_dll wmi enable_wmi
18516 wine_fn_config_dll wmiutils enable_wmiutils clean
18517 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18518 wine_fn_config_dll wmp enable_wmp clean
18519 wine_fn_config_test dlls/wmp/tests wmp_test
18520 wine_fn_config_dll wmvcore enable_wmvcore implib
18521 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18522 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18523 wine_fn_config_dll wow32 enable_win16 implib
18524 wine_fn_config_dll wpc enable_wpc clean
18525 wine_fn_config_test dlls/wpc/tests wpc_test
18526 wine_fn_config_dll wpcap enable_wpcap
18527 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18528 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18529 wine_fn_config_dll wsdapi enable_wsdapi implib
18530 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18531 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18532 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18533 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18534 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18535 wine_fn_config_dll wsock32 enable_wsock32 implib
18536 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18537 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18538 wine_fn_config_dll wuapi enable_wuapi clean
18539 wine_fn_config_dll wuaueng enable_wuaueng
18540 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18541 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18542 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18543 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18544 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18545 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18546 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18547 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18548 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18549 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18550 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18551 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18552 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18553 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18554 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18555 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18556 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18557 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18558 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18559 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18560 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18561 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18562 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18563 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18564 wine_fn_config_dll xinput1_1 enable_xinput1_1
18565 wine_fn_config_dll xinput1_2 enable_xinput1_2
18566 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18567 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18568 wine_fn_config_dll xinput1_4 enable_xinput1_4
18569 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18570 wine_fn_config_dll xmllite enable_xmllite implib
18571 wine_fn_config_test dlls/xmllite/tests xmllite_test
18572 wine_fn_config_dll xolehlp enable_xolehlp
18573 wine_fn_config_dll xpsprint enable_xpsprint
18574 wine_fn_config_dll xpssvcs enable_xpssvcs
18575 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18576 wine_fn_config_makefile include enable_include clean,install-dev
18577 wine_fn_config_makefile libs/port enable_libs_port
18578 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18579 wine_fn_config_makefile libs/wpp enable_libs_wpp
18580 wine_fn_config_makefile loader enable_loader clean,install-lib
18581 wine_fn_config_makefile po enable_po clean
18582 wine_fn_config_program arp enable_arp install
18583 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18584 wine_fn_config_program attrib enable_attrib clean,install
18585 wine_fn_config_program cabarc enable_cabarc install
18586 wine_fn_config_program cacls enable_cacls install
18587 wine_fn_config_program clock enable_clock clean,install
18588 wine_fn_config_program cmd enable_cmd clean,install
18589 wine_fn_config_test programs/cmd/tests cmd.exe_test
18590 wine_fn_config_program conhost enable_conhost install
18591 wine_fn_config_program control enable_control install
18592 wine_fn_config_program cscript enable_cscript clean,install
18593 wine_fn_config_program dpnsvr enable_dpnsvr install
18594 wine_fn_config_program dxdiag enable_dxdiag clean,install
18595 wine_fn_config_program eject enable_eject install
18596 wine_fn_config_program expand enable_expand install
18597 wine_fn_config_program explorer enable_explorer clean,install
18598 wine_fn_config_program extrac32 enable_extrac32 install
18599 wine_fn_config_program findstr enable_findstr install
18600 wine_fn_config_program fsutil enable_fsutil install
18601 wine_fn_config_program hh enable_hh install
18602 wine_fn_config_program hostname enable_hostname clean,install
18603 wine_fn_config_program icacls enable_icacls install
18604 wine_fn_config_program icinfo enable_icinfo install
18605 wine_fn_config_program iexplore enable_iexplore install
18606 wine_fn_config_program ipconfig enable_ipconfig clean,install
18607 wine_fn_config_program lodctr enable_lodctr install
18608 wine_fn_config_program mofcomp enable_mofcomp install
18609 wine_fn_config_program mshta enable_mshta install
18610 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18611 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18612 wine_fn_config_program net enable_net clean,install
18613 wine_fn_config_program netsh enable_netsh install
18614 wine_fn_config_program netstat enable_netstat clean,install
18615 wine_fn_config_program ngen enable_ngen install
18616 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18617 wine_fn_config_program oleview enable_oleview clean,install
18618 wine_fn_config_program ping enable_ping install
18619 wine_fn_config_program plugplay enable_plugplay install
18620 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18621 wine_fn_config_program progman enable_progman clean,install
18622 wine_fn_config_program reg enable_reg clean,install
18623 wine_fn_config_test programs/reg/tests reg.exe_test
18624 wine_fn_config_program regasm enable_regasm install
18625 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18626 wine_fn_config_test programs/regedit/tests regedit.exe_test
18627 wine_fn_config_program regsvcs enable_regsvcs install
18628 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18629 wine_fn_config_program rpcss enable_rpcss clean,install
18630 wine_fn_config_program rundll.exe16 enable_win16 install
18631 wine_fn_config_program rundll32 enable_rundll32 install
18632 wine_fn_config_program sc enable_sc install
18633 wine_fn_config_program schtasks enable_schtasks install
18634 wine_fn_config_program sdbinst enable_sdbinst install
18635 wine_fn_config_program secedit enable_secedit install
18636 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18637 wine_fn_config_program services enable_services clean,install
18638 wine_fn_config_test programs/services/tests services.exe_test
18639 wine_fn_config_program shutdown enable_shutdown install
18640 wine_fn_config_program spoolsv enable_spoolsv install
18641 wine_fn_config_program start enable_start clean,install
18642 wine_fn_config_program subst enable_subst install
18643 wine_fn_config_program svchost enable_svchost install
18644 wine_fn_config_program systeminfo enable_systeminfo install
18645 wine_fn_config_program taskkill enable_taskkill clean,install
18646 wine_fn_config_program tasklist enable_tasklist install
18647 wine_fn_config_program taskmgr enable_taskmgr clean,install
18648 wine_fn_config_program termsv enable_termsv install
18649 wine_fn_config_program uninstaller enable_uninstaller clean,install
18650 wine_fn_config_program unlodctr enable_unlodctr install
18651 wine_fn_config_program view enable_view clean,install
18652 wine_fn_config_program wevtutil enable_wevtutil install
18653 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18654 wine_fn_config_program winebrowser enable_winebrowser install
18655 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18656 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18657 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18658 wine_fn_config_program winedevice enable_winedevice install
18659 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18660 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18661 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18662 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18663 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18664 wine_fn_config_program winetest enable_winetest clean
18665 wine_fn_config_program winevdm enable_win16 install
18666 wine_fn_config_program winhelp.exe16 enable_win16 install
18667 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18668 wine_fn_config_program winoldap.mod16 enable_win16 install
18669 wine_fn_config_program winver enable_winver install
18670 wine_fn_config_program wmic enable_wmic clean,install
18671 wine_fn_config_program wmplayer enable_wmplayer install
18672 wine_fn_config_program wordpad enable_wordpad clean,install
18673 wine_fn_config_program write enable_write clean,install
18674 wine_fn_config_program wscript enable_wscript clean,install
18675 wine_fn_config_test programs/wscript/tests wscript.exe_test
18676 wine_fn_config_program wusa enable_wusa install
18677 wine_fn_config_program xcopy enable_xcopy clean,install
18678 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18679 wine_fn_config_makefile server enable_server clean,install-lib
18680 wine_fn_config_tool tools clean
18681 wine_fn_config_tool tools/sfnt2fon clean
18682 wine_fn_config_tool tools/widl clean,install-dev
18683 wine_fn_config_tool tools/winebuild clean,install-dev
18684 wine_fn_config_tool tools/winedump clean,install-dev
18685 wine_fn_config_tool tools/winegcc clean,install-dev
18686 wine_fn_config_tool tools/winemaker clean,install-dev
18687 wine_fn_config_tool tools/wmc clean,install-dev
18688 wine_fn_config_tool tools/wrc clean,install-dev
18691 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18692 wine_fn_append_file CONFIGURE_TARGETS "tags"
18693 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18694 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18695 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18696 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18697 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18698 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18700 if test "x$enable_tools" != xno
18701 then
18702 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18703 ac_config_commands="$ac_config_commands tools/makedep"
18707 ac_config_commands="$ac_config_commands Makefile"
18710 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18714 if test "x$enable_maintainer_mode" = xyes
18715 then
18716 wine_fn_append_rule "configure: configure.ac aclocal.m4
18717 autoconf --warnings=all
18718 include/config.h.in: include/stamp-h.in
18719 include/stamp-h.in: configure.ac aclocal.m4
18720 autoheader --warnings=all
18721 @echo timestamp > \$@"
18724 if test "x$enable_tools" != xno
18725 then
18726 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18727 @./config.status tools/makedep
18728 Makefile: tools/makedep$ac_exeext"
18729 else
18730 wine_fn_append_rule "\$(MAKEDEP):
18731 @echo \"You need to run make in $TOOLSDIR first\" && false"
18734 if test -n "$with_wine64"
18735 then
18736 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18737 fonts server:
18738 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18739 $with_wine64/loader/wine:
18740 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18741 $with_wine64/loader/wine-preloader:
18742 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18743 clean::
18744 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18745 else
18746 WINELOADER_INSTALL="wine.inf"
18748 wine_fn_append_rule "install install-lib::
18749 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18750 uninstall::
18751 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18752 case $host_os in
18753 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18754 *) wine_fn_append_rule "install install-lib::
18755 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18756 uninstall::
18757 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18758 esac
18761 $as_echo " done" >&6
18762 cat >confcache <<\_ACEOF
18763 # This file is a shell script that caches the results of configure
18764 # tests run on this system so they can be shared between configure
18765 # scripts and configure runs, see configure's option --config-cache.
18766 # It is not useful on other systems. If it contains results you don't
18767 # want to keep, you may remove or edit it.
18769 # config.status only pays attention to the cache file if you give it
18770 # the --recheck option to rerun configure.
18772 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18773 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18774 # following values.
18776 _ACEOF
18778 # The following way of writing the cache mishandles newlines in values,
18779 # but we know of no workaround that is simple, portable, and efficient.
18780 # So, we kill variables containing newlines.
18781 # Ultrix sh set writes to stderr and can't be redirected directly,
18782 # and sets the high bit in the cache file unless we assign to the vars.
18784 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18785 eval ac_val=\$$ac_var
18786 case $ac_val in #(
18787 *${as_nl}*)
18788 case $ac_var in #(
18789 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18790 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18791 esac
18792 case $ac_var in #(
18793 _ | IFS | as_nl) ;; #(
18794 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18795 *) { eval $ac_var=; unset $ac_var;} ;;
18796 esac ;;
18797 esac
18798 done
18800 (set) 2>&1 |
18801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18802 *${as_nl}ac_space=\ *)
18803 # `set' does not quote correctly, so add quotes: double-quote
18804 # substitution turns \\\\ into \\, and sed turns \\ into \.
18805 sed -n \
18806 "s/'/'\\\\''/g;
18807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18808 ;; #(
18810 # `set' quotes correctly as required by POSIX, so do not add quotes.
18811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18813 esac |
18814 sort
18816 sed '
18817 /^ac_cv_env_/b end
18818 t clear
18819 :clear
18820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18821 t end
18822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18823 :end' >>confcache
18824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18825 if test -w "$cache_file"; then
18826 if test "x$cache_file" != "x/dev/null"; then
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18828 $as_echo "$as_me: updating cache $cache_file" >&6;}
18829 if test ! -f "$cache_file" || test -h "$cache_file"; then
18830 cat confcache >"$cache_file"
18831 else
18832 case $cache_file in #(
18833 */* | ?:*)
18834 mv -f confcache "$cache_file"$$ &&
18835 mv -f "$cache_file"$$ "$cache_file" ;; #(
18837 mv -f confcache "$cache_file" ;;
18838 esac
18841 else
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18843 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18846 rm -f confcache
18848 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18849 # Let make expand exec_prefix.
18850 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18852 DEFS=-DHAVE_CONFIG_H
18854 ac_libobjs=
18855 ac_ltlibobjs=
18857 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18858 # 1. Remove the extension, and $U if already installed.
18859 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18860 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18861 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18862 # will be set to the directory where LIBOBJS objects are built.
18863 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18864 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18865 done
18866 LIBOBJS=$ac_libobjs
18868 LTLIBOBJS=$ac_ltlibobjs
18872 : "${CONFIG_STATUS=./config.status}"
18873 ac_write_fail=0
18874 ac_clean_files_save=$ac_clean_files
18875 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18877 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18878 as_write_fail=0
18879 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18880 #! $SHELL
18881 # Generated by $as_me.
18882 # Run this file to recreate the current configuration.
18883 # Compiler output produced by configure, useful for debugging
18884 # configure, is in config.log if it exists.
18886 debug=false
18887 ac_cs_recheck=false
18888 ac_cs_silent=false
18890 SHELL=\${CONFIG_SHELL-$SHELL}
18891 export SHELL
18892 _ASEOF
18893 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18894 ## -------------------- ##
18895 ## M4sh Initialization. ##
18896 ## -------------------- ##
18898 # Be more Bourne compatible
18899 DUALCASE=1; export DUALCASE # for MKS sh
18900 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18901 emulate sh
18902 NULLCMD=:
18903 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18904 # is contrary to our usage. Disable this feature.
18905 alias -g '${1+"$@"}'='"$@"'
18906 setopt NO_GLOB_SUBST
18907 else
18908 case `(set -o) 2>/dev/null` in #(
18909 *posix*) :
18910 set -o posix ;; #(
18911 *) :
18913 esac
18917 as_nl='
18919 export as_nl
18920 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18921 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18922 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18923 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18924 # Prefer a ksh shell builtin over an external printf program on Solaris,
18925 # but without wasting forks for bash or zsh.
18926 if test -z "$BASH_VERSION$ZSH_VERSION" \
18927 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18928 as_echo='print -r --'
18929 as_echo_n='print -rn --'
18930 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18931 as_echo='printf %s\n'
18932 as_echo_n='printf %s'
18933 else
18934 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18935 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18936 as_echo_n='/usr/ucb/echo -n'
18937 else
18938 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18939 as_echo_n_body='eval
18940 arg=$1;
18941 case $arg in #(
18942 *"$as_nl"*)
18943 expr "X$arg" : "X\\(.*\\)$as_nl";
18944 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18945 esac;
18946 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18948 export as_echo_n_body
18949 as_echo_n='sh -c $as_echo_n_body as_echo'
18951 export as_echo_body
18952 as_echo='sh -c $as_echo_body as_echo'
18955 # The user is always right.
18956 if test "${PATH_SEPARATOR+set}" != set; then
18957 PATH_SEPARATOR=:
18958 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18959 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18960 PATH_SEPARATOR=';'
18965 # IFS
18966 # We need space, tab and new line, in precisely that order. Quoting is
18967 # there to prevent editors from complaining about space-tab.
18968 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18969 # splitting by setting IFS to empty value.)
18970 IFS=" "" $as_nl"
18972 # Find who we are. Look in the path if we contain no directory separator.
18973 as_myself=
18974 case $0 in #((
18975 *[\\/]* ) as_myself=$0 ;;
18976 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18977 for as_dir in $PATH
18979 IFS=$as_save_IFS
18980 test -z "$as_dir" && as_dir=.
18981 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18982 done
18983 IFS=$as_save_IFS
18986 esac
18987 # We did not find ourselves, most probably we were run as `sh COMMAND'
18988 # in which case we are not to be found in the path.
18989 if test "x$as_myself" = x; then
18990 as_myself=$0
18992 if test ! -f "$as_myself"; then
18993 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18994 exit 1
18997 # Unset variables that we do not need and which cause bugs (e.g. in
18998 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18999 # suppresses any "Segmentation fault" message there. '((' could
19000 # trigger a bug in pdksh 5.2.14.
19001 for as_var in BASH_ENV ENV MAIL MAILPATH
19002 do eval test x\${$as_var+set} = xset \
19003 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19004 done
19005 PS1='$ '
19006 PS2='> '
19007 PS4='+ '
19009 # NLS nuisances.
19010 LC_ALL=C
19011 export LC_ALL
19012 LANGUAGE=C
19013 export LANGUAGE
19015 # CDPATH.
19016 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19019 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19020 # ----------------------------------------
19021 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19022 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19023 # script with STATUS, using 1 if that was 0.
19024 as_fn_error ()
19026 as_status=$1; test $as_status -eq 0 && as_status=1
19027 if test "$4"; then
19028 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19029 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19031 $as_echo "$as_me: error: $2" >&2
19032 as_fn_exit $as_status
19033 } # as_fn_error
19036 # as_fn_set_status STATUS
19037 # -----------------------
19038 # Set $? to STATUS, without forking.
19039 as_fn_set_status ()
19041 return $1
19042 } # as_fn_set_status
19044 # as_fn_exit STATUS
19045 # -----------------
19046 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19047 as_fn_exit ()
19049 set +e
19050 as_fn_set_status $1
19051 exit $1
19052 } # as_fn_exit
19054 # as_fn_unset VAR
19055 # ---------------
19056 # Portably unset VAR.
19057 as_fn_unset ()
19059 { eval $1=; unset $1;}
19061 as_unset=as_fn_unset
19062 # as_fn_append VAR VALUE
19063 # ----------------------
19064 # Append the text in VALUE to the end of the definition contained in VAR. Take
19065 # advantage of any shell optimizations that allow amortized linear growth over
19066 # repeated appends, instead of the typical quadratic growth present in naive
19067 # implementations.
19068 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19069 eval 'as_fn_append ()
19071 eval $1+=\$2
19073 else
19074 as_fn_append ()
19076 eval $1=\$$1\$2
19078 fi # as_fn_append
19080 # as_fn_arith ARG...
19081 # ------------------
19082 # Perform arithmetic evaluation on the ARGs, and store the result in the
19083 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19084 # must be portable across $(()) and expr.
19085 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19086 eval 'as_fn_arith ()
19088 as_val=$(( $* ))
19090 else
19091 as_fn_arith ()
19093 as_val=`expr "$@" || test $? -eq 1`
19095 fi # as_fn_arith
19098 if expr a : '\(a\)' >/dev/null 2>&1 &&
19099 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19100 as_expr=expr
19101 else
19102 as_expr=false
19105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19106 as_basename=basename
19107 else
19108 as_basename=false
19111 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19112 as_dirname=dirname
19113 else
19114 as_dirname=false
19117 as_me=`$as_basename -- "$0" ||
19118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19119 X"$0" : 'X\(//\)$' \| \
19120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19121 $as_echo X/"$0" |
19122 sed '/^.*\/\([^/][^/]*\)\/*$/{
19123 s//\1/
19126 /^X\/\(\/\/\)$/{
19127 s//\1/
19130 /^X\/\(\/\).*/{
19131 s//\1/
19134 s/.*/./; q'`
19136 # Avoid depending upon Character Ranges.
19137 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19138 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19139 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19140 as_cr_digits='0123456789'
19141 as_cr_alnum=$as_cr_Letters$as_cr_digits
19143 ECHO_C= ECHO_N= ECHO_T=
19144 case `echo -n x` in #(((((
19145 -n*)
19146 case `echo 'xy\c'` in
19147 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19148 xy) ECHO_C='\c';;
19149 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19150 ECHO_T=' ';;
19151 esac;;
19153 ECHO_N='-n';;
19154 esac
19156 rm -f conf$$ conf$$.exe conf$$.file
19157 if test -d conf$$.dir; then
19158 rm -f conf$$.dir/conf$$.file
19159 else
19160 rm -f conf$$.dir
19161 mkdir conf$$.dir 2>/dev/null
19163 if (echo >conf$$.file) 2>/dev/null; then
19164 if ln -s conf$$.file conf$$ 2>/dev/null; then
19165 as_ln_s='ln -s'
19166 # ... but there are two gotchas:
19167 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19168 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19169 # In both cases, we have to default to `cp -pR'.
19170 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19171 as_ln_s='cp -pR'
19172 elif ln conf$$.file conf$$ 2>/dev/null; then
19173 as_ln_s=ln
19174 else
19175 as_ln_s='cp -pR'
19177 else
19178 as_ln_s='cp -pR'
19180 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19181 rmdir conf$$.dir 2>/dev/null
19184 # as_fn_mkdir_p
19185 # -------------
19186 # Create "$as_dir" as a directory, including parents if necessary.
19187 as_fn_mkdir_p ()
19190 case $as_dir in #(
19191 -*) as_dir=./$as_dir;;
19192 esac
19193 test -d "$as_dir" || eval $as_mkdir_p || {
19194 as_dirs=
19195 while :; do
19196 case $as_dir in #(
19197 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19198 *) as_qdir=$as_dir;;
19199 esac
19200 as_dirs="'$as_qdir' $as_dirs"
19201 as_dir=`$as_dirname -- "$as_dir" ||
19202 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19203 X"$as_dir" : 'X\(//\)[^/]' \| \
19204 X"$as_dir" : 'X\(//\)$' \| \
19205 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19206 $as_echo X"$as_dir" |
19207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19208 s//\1/
19211 /^X\(\/\/\)[^/].*/{
19212 s//\1/
19215 /^X\(\/\/\)$/{
19216 s//\1/
19219 /^X\(\/\).*/{
19220 s//\1/
19223 s/.*/./; q'`
19224 test -d "$as_dir" && break
19225 done
19226 test -z "$as_dirs" || eval "mkdir $as_dirs"
19227 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19230 } # as_fn_mkdir_p
19231 if mkdir -p . 2>/dev/null; then
19232 as_mkdir_p='mkdir -p "$as_dir"'
19233 else
19234 test -d ./-p && rmdir ./-p
19235 as_mkdir_p=false
19239 # as_fn_executable_p FILE
19240 # -----------------------
19241 # Test if FILE is an executable regular file.
19242 as_fn_executable_p ()
19244 test -f "$1" && test -x "$1"
19245 } # as_fn_executable_p
19246 as_test_x='test -x'
19247 as_executable_p=as_fn_executable_p
19249 # Sed expression to map a string onto a valid CPP name.
19250 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19252 # Sed expression to map a string onto a valid variable name.
19253 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19256 exec 6>&1
19257 ## ----------------------------------- ##
19258 ## Main body of $CONFIG_STATUS script. ##
19259 ## ----------------------------------- ##
19260 _ASEOF
19261 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19264 # Save the log message, to keep $0 and so on meaningful, and to
19265 # report actual input values of CONFIG_FILES etc. instead of their
19266 # values after options handling.
19267 ac_log="
19268 This file was extended by Wine $as_me 2.8, which was
19269 generated by GNU Autoconf 2.69. Invocation command line was
19271 CONFIG_FILES = $CONFIG_FILES
19272 CONFIG_HEADERS = $CONFIG_HEADERS
19273 CONFIG_LINKS = $CONFIG_LINKS
19274 CONFIG_COMMANDS = $CONFIG_COMMANDS
19275 $ $0 $@
19277 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19280 _ACEOF
19282 case $ac_config_files in *"
19283 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19284 esac
19286 case $ac_config_headers in *"
19287 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19288 esac
19291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19292 # Files that config.status was made for.
19293 config_files="$ac_config_files"
19294 config_headers="$ac_config_headers"
19295 config_links="$ac_config_links"
19296 config_commands="$ac_config_commands"
19298 _ACEOF
19300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19301 ac_cs_usage="\
19302 \`$as_me' instantiates files and other configuration actions
19303 from templates according to the current configuration. Unless the files
19304 and actions are specified as TAGs, all are instantiated by default.
19306 Usage: $0 [OPTION]... [TAG]...
19308 -h, --help print this help, then exit
19309 -V, --version print version number and configuration settings, then exit
19310 --config print configuration, then exit
19311 -q, --quiet, --silent
19312 do not print progress messages
19313 -d, --debug don't remove temporary files
19314 --recheck update $as_me by reconfiguring in the same conditions
19315 --file=FILE[:TEMPLATE]
19316 instantiate the configuration file FILE
19317 --header=FILE[:TEMPLATE]
19318 instantiate the configuration header FILE
19320 Configuration files:
19321 $config_files
19323 Configuration headers:
19324 $config_headers
19326 Configuration links:
19327 $config_links
19329 Configuration commands:
19330 $config_commands
19332 Report bugs to <wine-devel@winehq.org>.
19333 Wine home page: <http://www.winehq.org>."
19335 _ACEOF
19336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19337 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19338 ac_cs_version="\\
19339 Wine config.status 2.8
19340 configured by $0, generated by GNU Autoconf 2.69,
19341 with options \\"\$ac_cs_config\\"
19343 Copyright (C) 2012 Free Software Foundation, Inc.
19344 This config.status script is free software; the Free Software Foundation
19345 gives unlimited permission to copy, distribute and modify it."
19347 ac_pwd='$ac_pwd'
19348 srcdir='$srcdir'
19349 test -n "\$AWK" || AWK=awk
19350 _ACEOF
19352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19353 # The default lists apply if the user does not specify any file.
19354 ac_need_defaults=:
19355 while test $# != 0
19357 case $1 in
19358 --*=?*)
19359 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19360 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19361 ac_shift=:
19363 --*=)
19364 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19365 ac_optarg=
19366 ac_shift=:
19369 ac_option=$1
19370 ac_optarg=$2
19371 ac_shift=shift
19373 esac
19375 case $ac_option in
19376 # Handling of the options.
19377 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19378 ac_cs_recheck=: ;;
19379 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19380 $as_echo "$ac_cs_version"; exit ;;
19381 --config | --confi | --conf | --con | --co | --c )
19382 $as_echo "$ac_cs_config"; exit ;;
19383 --debug | --debu | --deb | --de | --d | -d )
19384 debug=: ;;
19385 --file | --fil | --fi | --f )
19386 $ac_shift
19387 case $ac_optarg in
19388 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19389 '') as_fn_error $? "missing file argument" ;;
19390 esac
19391 as_fn_append CONFIG_FILES " '$ac_optarg'"
19392 ac_need_defaults=false;;
19393 --header | --heade | --head | --hea )
19394 $ac_shift
19395 case $ac_optarg in
19396 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19397 esac
19398 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19399 ac_need_defaults=false;;
19400 --he | --h)
19401 # Conflict between --help and --header
19402 as_fn_error $? "ambiguous option: \`$1'
19403 Try \`$0 --help' for more information.";;
19404 --help | --hel | -h )
19405 $as_echo "$ac_cs_usage"; exit ;;
19406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19407 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19408 ac_cs_silent=: ;;
19410 # This is an error.
19411 -*) as_fn_error $? "unrecognized option: \`$1'
19412 Try \`$0 --help' for more information." ;;
19414 *) as_fn_append ac_config_targets " $1"
19415 ac_need_defaults=false ;;
19417 esac
19418 shift
19419 done
19421 ac_configure_extra_args=
19423 if $ac_cs_silent; then
19424 exec 6>/dev/null
19425 ac_configure_extra_args="$ac_configure_extra_args --silent"
19428 _ACEOF
19429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19430 if \$ac_cs_recheck; then
19431 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19432 shift
19433 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19434 CONFIG_SHELL='$SHELL'
19435 export CONFIG_SHELL
19436 exec "\$@"
19439 _ACEOF
19440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19441 exec 5>>config.log
19443 echo
19444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19445 ## Running $as_me. ##
19446 _ASBOX
19447 $as_echo "$ac_log"
19448 } >&5
19450 _ACEOF
19451 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19453 # INIT-COMMANDS
19455 wine_fn_output_makedep ()
19457 as_dir=tools; as_fn_mkdir_p
19458 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19460 wine_fn_output_makefile ()
19462 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19463 `cat $wine_rules_file`
19464 _WINE_EOF
19465 as_fn_error $? "could not create Makefile" "$LINENO" 5
19468 _ACEOF
19470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19472 # Handling of arguments.
19473 for ac_config_target in $ac_config_targets
19475 case $ac_config_target in
19476 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19477 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19478 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19479 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19480 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19481 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19482 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19483 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19484 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19485 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19486 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19487 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19488 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19490 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19491 esac
19492 done
19495 # If the user did not use the arguments to specify the items to instantiate,
19496 # then the envvar interface is used. Set only those that are not.
19497 # We use the long form for the default assignment because of an extremely
19498 # bizarre bug on SunOS 4.1.3.
19499 if $ac_need_defaults; then
19500 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19501 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19502 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19503 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19506 # Have a temporary directory for convenience. Make it in the build tree
19507 # simply because there is no reason against having it here, and in addition,
19508 # creating and moving files from /tmp can sometimes cause problems.
19509 # Hook for its removal unless debugging.
19510 # Note that there is a small window in which the directory will not be cleaned:
19511 # after its creation but before its name has been assigned to `$tmp'.
19512 $debug ||
19514 tmp= ac_tmp=
19515 trap 'exit_status=$?
19516 : "${ac_tmp:=$tmp}"
19517 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19519 trap 'as_fn_exit 1' 1 2 13 15
19521 # Create a (secure) tmp directory for tmp files.
19524 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19525 test -d "$tmp"
19526 } ||
19528 tmp=./conf$$-$RANDOM
19529 (umask 077 && mkdir "$tmp")
19530 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19531 ac_tmp=$tmp
19533 # Set up the scripts for CONFIG_FILES section.
19534 # No need to generate them if there are no CONFIG_FILES.
19535 # This happens for instance with `./config.status config.h'.
19536 if test -n "$CONFIG_FILES"; then
19539 ac_cr=`echo X | tr X '\015'`
19540 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19541 # But we know of no other shell where ac_cr would be empty at this
19542 # point, so we can use a bashism as a fallback.
19543 if test "x$ac_cr" = x; then
19544 eval ac_cr=\$\'\\r\'
19546 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19547 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19548 ac_cs_awk_cr='\\r'
19549 else
19550 ac_cs_awk_cr=$ac_cr
19553 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19554 _ACEOF
19558 echo "cat >conf$$subs.awk <<_ACEOF" &&
19559 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19560 echo "_ACEOF"
19561 } >conf$$subs.sh ||
19562 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19563 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19564 ac_delim='%!_!# '
19565 for ac_last_try in false false false false false :; do
19566 . ./conf$$subs.sh ||
19567 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19569 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19570 if test $ac_delim_n = $ac_delim_num; then
19571 break
19572 elif $ac_last_try; then
19573 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19574 else
19575 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19577 done
19578 rm -f conf$$subs.sh
19580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19581 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19582 _ACEOF
19583 sed -n '
19585 s/^/S["/; s/!.*/"]=/
19588 s/^[^!]*!//
19589 :repl
19590 t repl
19591 s/'"$ac_delim"'$//
19592 t delim
19595 s/\(.\{148\}\)..*/\1/
19596 t more1
19597 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19600 b repl
19601 :more1
19602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19605 s/.\{148\}//
19606 t nl
19607 :delim
19609 s/\(.\{148\}\)..*/\1/
19610 t more2
19611 s/["\\]/\\&/g; s/^/"/; s/$/"/
19614 :more2
19615 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19618 s/.\{148\}//
19619 t delim
19620 ' <conf$$subs.awk | sed '
19621 /^[^""]/{
19623 s/\n//
19625 ' >>$CONFIG_STATUS || ac_write_fail=1
19626 rm -f conf$$subs.awk
19627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19628 _ACAWK
19629 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19630 for (key in S) S_is_set[key] = 1
19631 FS = "\a"
19635 line = $ 0
19636 nfields = split(line, field, "@")
19637 substed = 0
19638 len = length(field[1])
19639 for (i = 2; i < nfields; i++) {
19640 key = field[i]
19641 keylen = length(key)
19642 if (S_is_set[key]) {
19643 value = S[key]
19644 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19645 len += length(value) + length(field[++i])
19646 substed = 1
19647 } else
19648 len += 1 + keylen
19651 print line
19654 _ACAWK
19655 _ACEOF
19656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19657 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19658 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19659 else
19661 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19662 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19663 _ACEOF
19665 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19666 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19667 # trailing colons and then remove the whole line if VPATH becomes empty
19668 # (actually we leave an empty line to preserve line numbers).
19669 if test "x$srcdir" = x.; then
19670 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19672 s///
19673 s/^/:/
19674 s/[ ]*$/:/
19675 s/:\$(srcdir):/:/g
19676 s/:\${srcdir}:/:/g
19677 s/:@srcdir@:/:/g
19678 s/^:*//
19679 s/:*$//
19681 s/\(=[ ]*\).*/\1/
19683 s/\n//
19684 s/^[^=]*=[ ]*$//
19688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19689 fi # test -n "$CONFIG_FILES"
19691 # Set up the scripts for CONFIG_HEADERS section.
19692 # No need to generate them if there are no CONFIG_HEADERS.
19693 # This happens for instance with `./config.status Makefile'.
19694 if test -n "$CONFIG_HEADERS"; then
19695 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19696 BEGIN {
19697 _ACEOF
19699 # Transform confdefs.h into an awk script `defines.awk', embedded as
19700 # here-document in config.status, that substitutes the proper values into
19701 # config.h.in to produce config.h.
19703 # Create a delimiter string that does not exist in confdefs.h, to ease
19704 # handling of long lines.
19705 ac_delim='%!_!# '
19706 for ac_last_try in false false :; do
19707 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19708 if test -z "$ac_tt"; then
19709 break
19710 elif $ac_last_try; then
19711 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19712 else
19713 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19715 done
19717 # For the awk script, D is an array of macro values keyed by name,
19718 # likewise P contains macro parameters if any. Preserve backslash
19719 # newline sequences.
19721 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19722 sed -n '
19723 s/.\{148\}/&'"$ac_delim"'/g
19724 t rset
19725 :rset
19726 s/^[ ]*#[ ]*define[ ][ ]*/ /
19727 t def
19729 :def
19730 s/\\$//
19731 t bsnl
19732 s/["\\]/\\&/g
19733 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19734 D["\1"]=" \3"/p
19735 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19737 :bsnl
19738 s/["\\]/\\&/g
19739 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19740 D["\1"]=" \3\\\\\\n"\\/p
19741 t cont
19742 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19743 t cont
19745 :cont
19747 s/.\{148\}/&'"$ac_delim"'/g
19748 t clear
19749 :clear
19750 s/\\$//
19751 t bsnlc
19752 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19754 :bsnlc
19755 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19756 b cont
19757 ' <confdefs.h | sed '
19758 s/'"$ac_delim"'/"\\\
19759 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19762 for (key in D) D_is_set[key] = 1
19763 FS = "\a"
19765 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19766 line = \$ 0
19767 split(line, arg, " ")
19768 if (arg[1] == "#") {
19769 defundef = arg[2]
19770 mac1 = arg[3]
19771 } else {
19772 defundef = substr(arg[1], 2)
19773 mac1 = arg[2]
19775 split(mac1, mac2, "(") #)
19776 macro = mac2[1]
19777 prefix = substr(line, 1, index(line, defundef) - 1)
19778 if (D_is_set[macro]) {
19779 # Preserve the white space surrounding the "#".
19780 print prefix "define", macro P[macro] D[macro]
19781 next
19782 } else {
19783 # Replace #undef with comments. This is necessary, for example,
19784 # in the case of _POSIX_SOURCE, which is predefined and required
19785 # on some systems where configure will not decide to define it.
19786 if (defundef == "undef") {
19787 print "/*", prefix defundef, macro, "*/"
19788 next
19792 { print }
19793 _ACAWK
19794 _ACEOF
19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19796 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19797 fi # test -n "$CONFIG_HEADERS"
19800 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19801 shift
19802 for ac_tag
19804 case $ac_tag in
19805 :[FHLC]) ac_mode=$ac_tag; continue;;
19806 esac
19807 case $ac_mode$ac_tag in
19808 :[FHL]*:*);;
19809 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19810 :[FH]-) ac_tag=-:-;;
19811 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19812 esac
19813 ac_save_IFS=$IFS
19814 IFS=:
19815 set x $ac_tag
19816 IFS=$ac_save_IFS
19817 shift
19818 ac_file=$1
19819 shift
19821 case $ac_mode in
19822 :L) ac_source=$1;;
19823 :[FH])
19824 ac_file_inputs=
19825 for ac_f
19827 case $ac_f in
19828 -) ac_f="$ac_tmp/stdin";;
19829 *) # Look for the file first in the build tree, then in the source tree
19830 # (if the path is not absolute). The absolute path cannot be DOS-style,
19831 # because $ac_f cannot contain `:'.
19832 test -f "$ac_f" ||
19833 case $ac_f in
19834 [\\/$]*) false;;
19835 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19836 esac ||
19837 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19838 esac
19839 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19840 as_fn_append ac_file_inputs " '$ac_f'"
19841 done
19843 # Let's still pretend it is `configure' which instantiates (i.e., don't
19844 # use $as_me), people would be surprised to read:
19845 # /* config.h. Generated by config.status. */
19846 configure_input='Generated from '`
19847 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19848 `' by configure.'
19849 if test x"$ac_file" != x-; then
19850 configure_input="$ac_file. $configure_input"
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19852 $as_echo "$as_me: creating $ac_file" >&6;}
19854 # Neutralize special characters interpreted by sed in replacement strings.
19855 case $configure_input in #(
19856 *\&* | *\|* | *\\* )
19857 ac_sed_conf_input=`$as_echo "$configure_input" |
19858 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19859 *) ac_sed_conf_input=$configure_input;;
19860 esac
19862 case $ac_tag in
19863 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19864 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19865 esac
19867 esac
19869 ac_dir=`$as_dirname -- "$ac_file" ||
19870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19871 X"$ac_file" : 'X\(//\)[^/]' \| \
19872 X"$ac_file" : 'X\(//\)$' \| \
19873 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19874 $as_echo X"$ac_file" |
19875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19876 s//\1/
19879 /^X\(\/\/\)[^/].*/{
19880 s//\1/
19883 /^X\(\/\/\)$/{
19884 s//\1/
19887 /^X\(\/\).*/{
19888 s//\1/
19891 s/.*/./; q'`
19892 as_dir="$ac_dir"; as_fn_mkdir_p
19893 ac_builddir=.
19895 case "$ac_dir" in
19896 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19898 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19899 # A ".." for each directory in $ac_dir_suffix.
19900 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19901 case $ac_top_builddir_sub in
19902 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19903 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19904 esac ;;
19905 esac
19906 ac_abs_top_builddir=$ac_pwd
19907 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19908 # for backward compatibility:
19909 ac_top_builddir=$ac_top_build_prefix
19911 case $srcdir in
19912 .) # We are building in place.
19913 ac_srcdir=.
19914 ac_top_srcdir=$ac_top_builddir_sub
19915 ac_abs_top_srcdir=$ac_pwd ;;
19916 [\\/]* | ?:[\\/]* ) # Absolute name.
19917 ac_srcdir=$srcdir$ac_dir_suffix;
19918 ac_top_srcdir=$srcdir
19919 ac_abs_top_srcdir=$srcdir ;;
19920 *) # Relative name.
19921 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19922 ac_top_srcdir=$ac_top_build_prefix$srcdir
19923 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19924 esac
19925 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19928 case $ac_mode in
19931 # CONFIG_FILE
19934 _ACEOF
19936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19937 # If the template does not know about datarootdir, expand it.
19938 # FIXME: This hack should be removed a few years after 2.60.
19939 ac_datarootdir_hack=; ac_datarootdir_seen=
19940 ac_sed_dataroot='
19941 /datarootdir/ {
19945 /@datadir@/p
19946 /@docdir@/p
19947 /@infodir@/p
19948 /@localedir@/p
19949 /@mandir@/p'
19950 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19951 *datarootdir*) ac_datarootdir_seen=yes;;
19952 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19954 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19955 _ACEOF
19956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19957 ac_datarootdir_hack='
19958 s&@datadir@&$datadir&g
19959 s&@docdir@&$docdir&g
19960 s&@infodir@&$infodir&g
19961 s&@localedir@&$localedir&g
19962 s&@mandir@&$mandir&g
19963 s&\\\${datarootdir}&$datarootdir&g' ;;
19964 esac
19965 _ACEOF
19967 # Neutralize VPATH when `$srcdir' = `.'.
19968 # Shell code in configure.ac might set extrasub.
19969 # FIXME: do we really want to maintain this feature?
19970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19971 ac_sed_extra="$ac_vpsub
19972 $extrasub
19973 _ACEOF
19974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19976 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19977 s|@configure_input@|$ac_sed_conf_input|;t t
19978 s&@top_builddir@&$ac_top_builddir_sub&;t t
19979 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19980 s&@srcdir@&$ac_srcdir&;t t
19981 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19982 s&@top_srcdir@&$ac_top_srcdir&;t t
19983 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19984 s&@builddir@&$ac_builddir&;t t
19985 s&@abs_builddir@&$ac_abs_builddir&;t t
19986 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19987 $ac_datarootdir_hack
19989 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19990 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19992 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19993 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19994 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19995 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19997 which seems to be undefined. Please make sure it is defined" >&5
19998 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19999 which seems to be undefined. Please make sure it is defined" >&2;}
20001 rm -f "$ac_tmp/stdin"
20002 case $ac_file in
20003 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20004 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20005 esac \
20006 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20010 # CONFIG_HEADER
20012 if test x"$ac_file" != x-; then
20014 $as_echo "/* $configure_input */" \
20015 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20016 } >"$ac_tmp/config.h" \
20017 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20018 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20020 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20021 else
20022 rm -f "$ac_file"
20023 mv "$ac_tmp/config.h" "$ac_file" \
20024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20026 else
20027 $as_echo "/* $configure_input */" \
20028 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20029 || as_fn_error $? "could not create -" "$LINENO" 5
20034 # CONFIG_LINK
20037 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20039 else
20040 # Prefer the file from the source tree if names are identical.
20041 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20042 ac_source=$srcdir/$ac_source
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20046 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20048 if test ! -r "$ac_source"; then
20049 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20051 rm -f "$ac_file"
20053 # Try a relative symlink, then a hard link, then a copy.
20054 case $ac_source in
20055 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20056 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20057 esac
20058 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20059 ln "$ac_source" "$ac_file" 2>/dev/null ||
20060 cp -p "$ac_source" "$ac_file" ||
20061 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20064 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20065 $as_echo "$as_me: executing $ac_file commands" >&6;}
20067 esac
20070 case $ac_file$ac_mode in
20071 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20072 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20073 "Makefile":C) wine_fn_output_makefile Makefile ;;
20075 esac
20076 done # for ac_tag
20079 as_fn_exit 0
20080 _ACEOF
20081 ac_clean_files=$ac_clean_files_save
20083 test $ac_write_fail = 0 ||
20084 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20087 # configure is writing to config.log, and then calls config.status.
20088 # config.status does its own redirection, appending to config.log.
20089 # Unfortunately, on DOS this fails, as config.log is still kept open
20090 # by configure, so config.status won't be able to write to it; its
20091 # output is simply discarded. So we exec the FD to /dev/null,
20092 # effectively closing config.log, so it can be properly (re)opened and
20093 # appended to by config.status. When coming back to configure, we
20094 # need to make the FD available again.
20095 if test "$no_create" != yes; then
20096 ac_cs_success=:
20097 ac_config_status_args=
20098 test "$silent" = yes &&
20099 ac_config_status_args="$ac_config_status_args --quiet"
20100 exec 5>/dev/null
20101 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20102 exec 5>>config.log
20103 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20104 # would make configure fail if this is the last instruction.
20105 $ac_cs_success || as_fn_exit 1
20107 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20109 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20113 if test "$no_create" = "yes"
20114 then
20115 exit 0
20118 ac_save_IFS="$IFS"
20119 if test "x$wine_notices" != x; then
20120 echo >&6
20121 IFS="|"
20122 for msg in $wine_notices; do
20123 IFS="$ac_save_IFS"
20124 if ${msg:+false} :; then :
20126 else
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20128 $as_echo "$as_me: $msg" >&6;}
20130 done
20132 IFS="|"
20133 for msg in $wine_warnings; do
20134 IFS="$ac_save_IFS"
20135 if ${msg:+false} :; then :
20137 else
20138 echo >&2
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20140 $as_echo "$as_me: WARNING: $msg" >&2;}
20142 done
20143 IFS="$ac_save_IFS"
20145 $as_echo "
20146 $as_me: Finished. Do '${ac_make}' to compile Wine.
20147 " >&6