ws2_32: Accept shouldn't fail when addrlen32 is NULL.
[wine.git] / configure
blob1fde1d0878a908a68ed8aab6b835b9a1f476d237
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.18.
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='1.9.18'
584 PACKAGE_STRING='Wine 1.9.18'
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 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_console_l2_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
890 enable_api_ms_win_core_file_l1_2_1
891 enable_api_ms_win_core_file_l2_1_0
892 enable_api_ms_win_core_file_l2_1_1
893 enable_api_ms_win_core_handle_l1_1_0
894 enable_api_ms_win_core_heap_l1_1_0
895 enable_api_ms_win_core_heap_l1_2_0
896 enable_api_ms_win_core_heap_obsolete_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_1_0
898 enable_api_ms_win_core_interlocked_l1_2_0
899 enable_api_ms_win_core_io_l1_1_1
900 enable_api_ms_win_core_job_l1_1_0
901 enable_api_ms_win_core_job_l2_1_0
902 enable_api_ms_win_core_kernel32_legacy_l1_1_0
903 enable_api_ms_win_core_kernel32_legacy_l1_1_1
904 enable_api_ms_win_core_libraryloader_l1_1_0
905 enable_api_ms_win_core_libraryloader_l1_1_1
906 enable_api_ms_win_core_libraryloader_l1_2_0
907 enable_api_ms_win_core_localization_l1_1_0
908 enable_api_ms_win_core_localization_l1_2_0
909 enable_api_ms_win_core_localization_l1_2_1
910 enable_api_ms_win_core_localization_obsolete_l1_1_0
911 enable_api_ms_win_core_localization_obsolete_l1_2_0
912 enable_api_ms_win_core_localregistry_l1_1_0
913 enable_api_ms_win_core_memory_l1_1_0
914 enable_api_ms_win_core_memory_l1_1_1
915 enable_api_ms_win_core_memory_l1_1_2
916 enable_api_ms_win_core_misc_l1_1_0
917 enable_api_ms_win_core_namedpipe_l1_1_0
918 enable_api_ms_win_core_namedpipe_l1_2_0
919 enable_api_ms_win_core_namespace_l1_1_0
920 enable_api_ms_win_core_normalization_l1_1_0
921 enable_api_ms_win_core_path_l1_1_0
922 enable_api_ms_win_core_processenvironment_l1_1_0
923 enable_api_ms_win_core_processenvironment_l1_2_0
924 enable_api_ms_win_core_processthreads_l1_1_0
925 enable_api_ms_win_core_processthreads_l1_1_1
926 enable_api_ms_win_core_processthreads_l1_1_2
927 enable_api_ms_win_core_profile_l1_1_0
928 enable_api_ms_win_core_psapi_l1_1_0
929 enable_api_ms_win_core_registry_l1_1_0
930 enable_api_ms_win_core_rtlsupport_l1_1_0
931 enable_api_ms_win_core_rtlsupport_l1_2_0
932 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
933 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
934 enable_api_ms_win_core_string_l1_1_0
935 enable_api_ms_win_core_string_l2_1_0
936 enable_api_ms_win_core_string_obsolete_l1_1_0
937 enable_api_ms_win_core_synch_l1_1_0
938 enable_api_ms_win_core_synch_l1_2_0
939 enable_api_ms_win_core_sysinfo_l1_1_0
940 enable_api_ms_win_core_sysinfo_l1_2_0
941 enable_api_ms_win_core_sysinfo_l1_2_1
942 enable_api_ms_win_core_threadpool_l1_2_0
943 enable_api_ms_win_core_threadpool_legacy_l1_1_0
944 enable_api_ms_win_core_timezone_l1_1_0
945 enable_api_ms_win_core_toolhelp_l1_1_0
946 enable_api_ms_win_core_url_l1_1_0
947 enable_api_ms_win_core_util_l1_1_0
948 enable_api_ms_win_core_version_l1_1_0
949 enable_api_ms_win_core_winrt_error_l1_1_0
950 enable_api_ms_win_core_winrt_error_l1_1_1
951 enable_api_ms_win_core_winrt_l1_1_0
952 enable_api_ms_win_core_winrt_registration_l1_1_0
953 enable_api_ms_win_core_winrt_string_l1_1_0
954 enable_api_ms_win_core_wow64_l1_1_0
955 enable_api_ms_win_core_xstate_l2_1_0
956 enable_api_ms_win_crt_conio_l1_1_0
957 enable_api_ms_win_crt_convert_l1_1_0
958 enable_api_ms_win_crt_environment_l1_1_0
959 enable_api_ms_win_crt_filesystem_l1_1_0
960 enable_api_ms_win_crt_heap_l1_1_0
961 enable_api_ms_win_crt_locale_l1_1_0
962 enable_api_ms_win_crt_math_l1_1_0
963 enable_api_ms_win_crt_multibyte_l1_1_0
964 enable_api_ms_win_crt_private_l1_1_0
965 enable_api_ms_win_crt_process_l1_1_0
966 enable_api_ms_win_crt_runtime_l1_1_0
967 enable_api_ms_win_crt_stdio_l1_1_0
968 enable_api_ms_win_crt_string_l1_1_0
969 enable_api_ms_win_crt_time_l1_1_0
970 enable_api_ms_win_crt_utility_l1_1_0
971 enable_api_ms_win_downlevel_advapi32_l1_1_0
972 enable_api_ms_win_downlevel_advapi32_l2_1_0
973 enable_api_ms_win_downlevel_normaliz_l1_1_0
974 enable_api_ms_win_downlevel_ole32_l1_1_0
975 enable_api_ms_win_downlevel_shell32_l1_1_0
976 enable_api_ms_win_downlevel_shlwapi_l1_1_0
977 enable_api_ms_win_downlevel_shlwapi_l2_1_0
978 enable_api_ms_win_downlevel_user32_l1_1_0
979 enable_api_ms_win_downlevel_version_l1_1_0
980 enable_api_ms_win_eventing_classicprovider_l1_1_0
981 enable_api_ms_win_eventing_provider_l1_1_0
982 enable_api_ms_win_eventlog_legacy_l1_1_0
983 enable_api_ms_win_ntuser_dc_access_l1_1_0
984 enable_api_ms_win_security_base_l1_1_0
985 enable_api_ms_win_security_base_l1_2_0
986 enable_api_ms_win_security_lsalookup_l1_1_0
987 enable_api_ms_win_security_lsalookup_l1_1_1
988 enable_api_ms_win_security_sddl_l1_1_0
989 enable_api_ms_win_service_core_l1_1_1
990 enable_api_ms_win_service_management_l1_1_0
991 enable_api_ms_win_service_winsvc_l1_2_0
992 enable_api_ms_win_shell_shellfolders_l1_1_0
993 enable_apphelp
994 enable_appwiz_cpl
995 enable_atl
996 enable_atl100
997 enable_atl110
998 enable_atl80
999 enable_atl90
1000 enable_authz
1001 enable_avicap32
1002 enable_avifil32
1003 enable_avrt
1004 enable_bcrypt
1005 enable_bluetoothapis
1006 enable_browseui
1007 enable_bthprops_cpl
1008 enable_cabinet
1009 enable_capi2032
1010 enable_cards
1011 enable_cfgmgr32
1012 enable_clusapi
1013 enable_combase
1014 enable_comcat
1015 enable_comctl32
1016 enable_comdlg32
1017 enable_compstui
1018 enable_comsvcs
1019 enable_concrt140
1020 enable_connect
1021 enable_credui
1022 enable_crtdll
1023 enable_crypt32
1024 enable_cryptdlg
1025 enable_cryptdll
1026 enable_cryptext
1027 enable_cryptnet
1028 enable_cryptui
1029 enable_ctapi32
1030 enable_ctl3d32
1031 enable_d2d1
1032 enable_d3d10
1033 enable_d3d10_1
1034 enable_d3d10core
1035 enable_d3d11
1036 enable_d3d8
1037 enable_d3d9
1038 enable_d3dcompiler_33
1039 enable_d3dcompiler_34
1040 enable_d3dcompiler_35
1041 enable_d3dcompiler_36
1042 enable_d3dcompiler_37
1043 enable_d3dcompiler_38
1044 enable_d3dcompiler_39
1045 enable_d3dcompiler_40
1046 enable_d3dcompiler_41
1047 enable_d3dcompiler_42
1048 enable_d3dcompiler_43
1049 enable_d3dcompiler_46
1050 enable_d3dcompiler_47
1051 enable_d3dim
1052 enable_d3drm
1053 enable_d3dx10_33
1054 enable_d3dx10_34
1055 enable_d3dx10_35
1056 enable_d3dx10_36
1057 enable_d3dx10_37
1058 enable_d3dx10_38
1059 enable_d3dx10_39
1060 enable_d3dx10_40
1061 enable_d3dx10_41
1062 enable_d3dx10_42
1063 enable_d3dx10_43
1064 enable_d3dx11_42
1065 enable_d3dx11_43
1066 enable_d3dx9_24
1067 enable_d3dx9_25
1068 enable_d3dx9_26
1069 enable_d3dx9_27
1070 enable_d3dx9_28
1071 enable_d3dx9_29
1072 enable_d3dx9_30
1073 enable_d3dx9_31
1074 enable_d3dx9_32
1075 enable_d3dx9_33
1076 enable_d3dx9_34
1077 enable_d3dx9_35
1078 enable_d3dx9_36
1079 enable_d3dx9_37
1080 enable_d3dx9_38
1081 enable_d3dx9_39
1082 enable_d3dx9_40
1083 enable_d3dx9_41
1084 enable_d3dx9_42
1085 enable_d3dx9_43
1086 enable_d3dxof
1087 enable_davclnt
1088 enable_dbgeng
1089 enable_dbghelp
1090 enable_dciman32
1091 enable_ddraw
1092 enable_ddrawex
1093 enable_devenum
1094 enable_dhcpcsvc
1095 enable_difxapi
1096 enable_dinput
1097 enable_dinput8
1098 enable_dispex
1099 enable_dmband
1100 enable_dmcompos
1101 enable_dmime
1102 enable_dmloader
1103 enable_dmscript
1104 enable_dmstyle
1105 enable_dmsynth
1106 enable_dmusic
1107 enable_dmusic32
1108 enable_dnsapi
1109 enable_dplay
1110 enable_dplayx
1111 enable_dpnaddr
1112 enable_dpnet
1113 enable_dpnhpast
1114 enable_dpnlobby
1115 enable_dpvoice
1116 enable_dpwsockx
1117 enable_drmclien
1118 enable_dsound
1119 enable_dssenh
1120 enable_dswave
1121 enable_dwmapi
1122 enable_dwrite
1123 enable_dxdiagn
1124 enable_dxgi
1125 enable_dxva2
1126 enable_esent
1127 enable_evr
1128 enable_explorerframe
1129 enable_ext_ms_win_gdi_devcaps_l1_1_0
1130 enable_faultrep
1131 enable_fltlib
1132 enable_fltmgr_sys
1133 enable_fntcache
1134 enable_fontsub
1135 enable_fusion
1136 enable_fwpuclnt
1137 enable_gameux
1138 enable_gdi32
1139 enable_gdiplus
1140 enable_glu32
1141 enable_gphoto2_ds
1142 enable_gpkcsp
1143 enable_hal
1144 enable_hhctrl_ocx
1145 enable_hid
1146 enable_hidclass_sys
1147 enable_hlink
1148 enable_hnetcfg
1149 enable_httpapi
1150 enable_iccvid
1151 enable_icmp
1152 enable_ieframe
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_irprops_cpl
1165 enable_itircl
1166 enable_itss
1167 enable_joy_cpl
1168 enable_jscript
1169 enable_jsproxy
1170 enable_kernel32
1171 enable_kernelbase
1172 enable_ksuser
1173 enable_ktmw32
1174 enable_loadperf
1175 enable_localspl
1176 enable_localui
1177 enable_lz32
1178 enable_mapi32
1179 enable_mapistub
1180 enable_mciavi32
1181 enable_mcicda
1182 enable_mciqtz32
1183 enable_mciseq
1184 enable_mciwave
1185 enable_mf
1186 enable_mfplat
1187 enable_mfreadwrite
1188 enable_mgmtapi
1189 enable_midimap
1190 enable_mlang
1191 enable_mmcndmgr
1192 enable_mmdevapi
1193 enable_mountmgr_sys
1194 enable_mpr
1195 enable_mprapi
1196 enable_msacm32_drv
1197 enable_msacm32
1198 enable_msadp32_acm
1199 enable_msasn1
1200 enable_mscat32
1201 enable_mscms
1202 enable_mscoree
1203 enable_msctf
1204 enable_msctfp
1205 enable_msdaps
1206 enable_msdelta
1207 enable_msdmo
1208 enable_msdrm
1209 enable_msftedit
1210 enable_msg711_acm
1211 enable_msgsm32_acm
1212 enable_mshtml_tlb
1213 enable_mshtml
1214 enable_msi
1215 enable_msident
1216 enable_msimg32
1217 enable_msimsg
1218 enable_msimtf
1219 enable_msisip
1220 enable_msisys_ocx
1221 enable_msls31
1222 enable_msnet32
1223 enable_mspatcha
1224 enable_msports
1225 enable_msrle32
1226 enable_msscript_ocx
1227 enable_mssign32
1228 enable_mssip32
1229 enable_mstask
1230 enable_msvcirt
1231 enable_msvcm80
1232 enable_msvcm90
1233 enable_msvcp100
1234 enable_msvcp110
1235 enable_msvcp120
1236 enable_msvcp120_app
1237 enable_msvcp140
1238 enable_msvcp60
1239 enable_msvcp70
1240 enable_msvcp71
1241 enable_msvcp80
1242 enable_msvcp90
1243 enable_msvcr100
1244 enable_msvcr110
1245 enable_msvcr120
1246 enable_msvcr120_app
1247 enable_msvcr70
1248 enable_msvcr71
1249 enable_msvcr80
1250 enable_msvcr90
1251 enable_msvcrt
1252 enable_msvcrt20
1253 enable_msvcrt40
1254 enable_msvcrtd
1255 enable_msvfw32
1256 enable_msvidc32
1257 enable_mswsock
1258 enable_msxml
1259 enable_msxml2
1260 enable_msxml3
1261 enable_msxml4
1262 enable_msxml6
1263 enable_ncrypt
1264 enable_nddeapi
1265 enable_ndis_sys
1266 enable_netapi32
1267 enable_netcfgx
1268 enable_netprofm
1269 enable_newdev
1270 enable_normaliz
1271 enable_npmshtml
1272 enable_npptools
1273 enable_ntdll
1274 enable_ntdsapi
1275 enable_ntoskrnl_exe
1276 enable_ntprint
1277 enable_objsel
1278 enable_odbc32
1279 enable_odbccp32
1280 enable_odbccu32
1281 enable_ole32
1282 enable_oleacc
1283 enable_oleaut32
1284 enable_olecli32
1285 enable_oledb32
1286 enable_oledlg
1287 enable_olepro32
1288 enable_olesvr32
1289 enable_olethk32
1290 enable_openal32
1291 enable_opencl
1292 enable_opengl32
1293 enable_packager
1294 enable_pdh
1295 enable_photometadatahandler
1296 enable_pidgen
1297 enable_powrprof
1298 enable_printui
1299 enable_prntvpt
1300 enable_propsys
1301 enable_psapi
1302 enable_pstorec
1303 enable_qcap
1304 enable_qedit
1305 enable_qmgr
1306 enable_qmgrprxy
1307 enable_quartz
1308 enable_query
1309 enable_rasapi32
1310 enable_rasdlg
1311 enable_regapi
1312 enable_resutils
1313 enable_riched20
1314 enable_riched32
1315 enable_rpcrt4
1316 enable_rsabase
1317 enable_rsaenh
1318 enable_rstrtmgr
1319 enable_rtutils
1320 enable_samlib
1321 enable_sane_ds
1322 enable_scarddlg
1323 enable_sccbase
1324 enable_schannel
1325 enable_schedsvc
1326 enable_scrrun
1327 enable_scsiport_sys
1328 enable_secur32
1329 enable_security
1330 enable_sensapi
1331 enable_serialui
1332 enable_setupapi
1333 enable_sfc
1334 enable_sfc_os
1335 enable_shdoclc
1336 enable_shdocvw
1337 enable_shell32
1338 enable_shfolder
1339 enable_shlwapi
1340 enable_slbcsp
1341 enable_slc
1342 enable_snmpapi
1343 enable_softpub
1344 enable_spoolss
1345 enable_sspicli
1346 enable_stdole2_tlb
1347 enable_stdole32_tlb
1348 enable_sti
1349 enable_svrapi
1350 enable_sxs
1351 enable_t2embed
1352 enable_tapi32
1353 enable_taskschd
1354 enable_tdi_sys
1355 enable_traffic
1356 enable_twain_32
1357 enable_ucrtbase
1358 enable_unicows
1359 enable_updspapi
1360 enable_url
1361 enable_urlmon
1362 enable_usbd_sys
1363 enable_user32
1364 enable_userenv
1365 enable_usp10
1366 enable_uxtheme
1367 enable_vbscript
1368 enable_vcomp
1369 enable_vcomp100
1370 enable_vcomp110
1371 enable_vcomp120
1372 enable_vcomp140
1373 enable_vcomp90
1374 enable_vcruntime140
1375 enable_vdmdbg
1376 enable_version
1377 enable_vssapi
1378 enable_wbemdisp
1379 enable_wbemprox
1380 enable_webservices
1381 enable_wer
1382 enable_wevtapi
1383 enable_wiaservc
1384 enable_wimgapi
1385 enable_windowscodecs
1386 enable_windowscodecsext
1387 enable_winealsa_drv
1388 enable_winebus_sys
1389 enable_winecoreaudio_drv
1390 enable_wined3d
1391 enable_winegstreamer
1392 enable_winejoystick_drv
1393 enable_winemac_drv
1394 enable_winemapi
1395 enable_winemp3_acm
1396 enable_wineoss_drv
1397 enable_wineps_drv
1398 enable_winepulse_drv
1399 enable_wineqtdecoder
1400 enable_winex11_drv
1401 enable_wing32
1402 enable_winhttp
1403 enable_wininet
1404 enable_winmm
1405 enable_winnls32
1406 enable_winscard
1407 enable_winspool_drv
1408 enable_winsta
1409 enable_wintab32
1410 enable_wintrust
1411 enable_wlanapi
1412 enable_wldap32
1413 enable_wmasf
1414 enable_wmi
1415 enable_wmiutils
1416 enable_wmp
1417 enable_wmvcore
1418 enable_wnaspi32
1419 enable_wpc
1420 enable_wpcap
1421 enable_ws2_32
1422 enable_wshom_ocx
1423 enable_wsnmp32
1424 enable_wsock32
1425 enable_wtsapi32
1426 enable_wuapi
1427 enable_wuaueng
1428 enable_x3daudio1_0
1429 enable_x3daudio1_1
1430 enable_x3daudio1_2
1431 enable_x3daudio1_3
1432 enable_x3daudio1_4
1433 enable_x3daudio1_5
1434 enable_x3daudio1_6
1435 enable_x3daudio1_7
1436 enable_xapofx1_1
1437 enable_xapofx1_2
1438 enable_xapofx1_3
1439 enable_xapofx1_4
1440 enable_xapofx1_5
1441 enable_xaudio2_0
1442 enable_xaudio2_1
1443 enable_xaudio2_2
1444 enable_xaudio2_3
1445 enable_xaudio2_4
1446 enable_xaudio2_5
1447 enable_xaudio2_6
1448 enable_xaudio2_7
1449 enable_xaudio2_8
1450 enable_xaudio2_9
1451 enable_xinput1_1
1452 enable_xinput1_2
1453 enable_xinput1_3
1454 enable_xinput1_4
1455 enable_xinput9_1_0
1456 enable_xmllite
1457 enable_xolehlp
1458 enable_xpsprint
1459 enable_xpssvcs
1460 enable_fonts
1461 enable_include
1462 enable_libs_port
1463 enable_libs_wine
1464 enable_libs_wpp
1465 enable_loader
1466 enable_po
1467 enable_arp
1468 enable_aspnet_regiis
1469 enable_attrib
1470 enable_cabarc
1471 enable_cacls
1472 enable_clock
1473 enable_cmd
1474 enable_conhost
1475 enable_control
1476 enable_cscript
1477 enable_dpnsvr
1478 enable_dxdiag
1479 enable_eject
1480 enable_expand
1481 enable_explorer
1482 enable_extrac32
1483 enable_findstr
1484 enable_fsutil
1485 enable_hh
1486 enable_hostname
1487 enable_icacls
1488 enable_icinfo
1489 enable_iexplore
1490 enable_ipconfig
1491 enable_lodctr
1492 enable_mofcomp
1493 enable_mshta
1494 enable_msiexec
1495 enable_net
1496 enable_netsh
1497 enable_netstat
1498 enable_ngen
1499 enable_notepad
1500 enable_oleview
1501 enable_ping
1502 enable_plugplay
1503 enable_presentationfontcache
1504 enable_progman
1505 enable_reg
1506 enable_regasm
1507 enable_regedit
1508 enable_regsvcs
1509 enable_regsvr32
1510 enable_rpcss
1511 enable_rundll32
1512 enable_sc
1513 enable_schtasks
1514 enable_sdbinst
1515 enable_secedit
1516 enable_servicemodelreg
1517 enable_services
1518 enable_shutdown
1519 enable_spoolsv
1520 enable_start
1521 enable_svchost
1522 enable_systeminfo
1523 enable_taskkill
1524 enable_tasklist
1525 enable_taskmgr
1526 enable_termsv
1527 enable_uninstaller
1528 enable_unlodctr
1529 enable_view
1530 enable_wevtutil
1531 enable_wineboot
1532 enable_winebrowser
1533 enable_winecfg
1534 enable_wineconsole
1535 enable_winedbg
1536 enable_winedevice
1537 enable_winefile
1538 enable_winemenubuilder
1539 enable_winemine
1540 enable_winemsibuilder
1541 enable_winepath
1542 enable_winetest
1543 enable_winhlp32
1544 enable_winver
1545 enable_wmic
1546 enable_wmplayer
1547 enable_wordpad
1548 enable_write
1549 enable_wscript
1550 enable_wusa
1551 enable_xcopy
1552 enable_server
1553 enable_tools
1555 ac_precious_vars='build_alias
1556 host_alias
1557 target_alias
1559 CFLAGS
1560 LDFLAGS
1561 LIBS
1562 CPPFLAGS
1564 CXXFLAGS
1567 XMKMF
1568 XML2_CFLAGS
1569 XML2_LIBS
1570 XSLT_CFLAGS
1571 XSLT_LIBS
1572 DBUS_CFLAGS
1573 DBUS_LIBS
1574 HAL_CFLAGS
1575 HAL_LIBS
1576 GNUTLS_CFLAGS
1577 GNUTLS_LIBS
1578 SANE_CFLAGS
1579 SANE_LIBS
1580 GPHOTO2_CFLAGS
1581 GPHOTO2_LIBS
1582 GPHOTO2_PORT_CFLAGS
1583 GPHOTO2_PORT_LIBS
1584 LCMS2_CFLAGS
1585 LCMS2_LIBS
1586 FREETYPE_CFLAGS
1587 FREETYPE_LIBS
1588 PULSE_CFLAGS
1589 PULSE_LIBS
1590 GSTREAMER_CFLAGS
1591 GSTREAMER_LIBS
1592 CAPI20_CFLAGS
1593 CAPI20_LIBS
1594 FONTCONFIG_CFLAGS
1595 FONTCONFIG_LIBS
1596 JPEG_CFLAGS
1597 JPEG_LIBS
1598 PNG_CFLAGS
1599 PNG_LIBS
1600 TIFF_CFLAGS
1601 TIFF_LIBS
1602 MPG123_CFLAGS
1603 MPG123_LIBS
1604 NETAPI_CFLAGS
1605 NETAPI_LIBS'
1608 # Initialize some variables set by options.
1609 ac_init_help=
1610 ac_init_version=false
1611 ac_unrecognized_opts=
1612 ac_unrecognized_sep=
1613 # The variables have the same names as the options, with
1614 # dashes changed to underlines.
1615 cache_file=/dev/null
1616 exec_prefix=NONE
1617 no_create=
1618 no_recursion=
1619 prefix=NONE
1620 program_prefix=NONE
1621 program_suffix=NONE
1622 program_transform_name=s,x,x,
1623 silent=
1624 site=
1625 srcdir=
1626 verbose=
1627 x_includes=NONE
1628 x_libraries=NONE
1630 # Installation directory options.
1631 # These are left unexpanded so users can "make install exec_prefix=/foo"
1632 # and all the variables that are supposed to be based on exec_prefix
1633 # by default will actually change.
1634 # Use braces instead of parens because sh, perl, etc. also accept them.
1635 # (The list follows the same order as the GNU Coding Standards.)
1636 bindir='${exec_prefix}/bin'
1637 sbindir='${exec_prefix}/sbin'
1638 libexecdir='${exec_prefix}/libexec'
1639 datarootdir='${prefix}/share'
1640 datadir='${datarootdir}'
1641 sysconfdir='${prefix}/etc'
1642 sharedstatedir='${prefix}/com'
1643 localstatedir='${prefix}/var'
1644 runstatedir='${localstatedir}/run'
1645 includedir='${prefix}/include'
1646 oldincludedir='/usr/include'
1647 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1648 infodir='${datarootdir}/info'
1649 htmldir='${docdir}'
1650 dvidir='${docdir}'
1651 pdfdir='${docdir}'
1652 psdir='${docdir}'
1653 libdir='${exec_prefix}/lib'
1654 localedir='${datarootdir}/locale'
1655 mandir='${datarootdir}/man'
1657 ac_prev=
1658 ac_dashdash=
1659 for ac_option
1661 # If the previous option needs an argument, assign it.
1662 if test -n "$ac_prev"; then
1663 eval $ac_prev=\$ac_option
1664 ac_prev=
1665 continue
1668 case $ac_option in
1669 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1670 *=) ac_optarg= ;;
1671 *) ac_optarg=yes ;;
1672 esac
1674 # Accept the important Cygnus configure options, so we can diagnose typos.
1676 case $ac_dashdash$ac_option in
1678 ac_dashdash=yes ;;
1680 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1681 ac_prev=bindir ;;
1682 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1683 bindir=$ac_optarg ;;
1685 -build | --build | --buil | --bui | --bu)
1686 ac_prev=build_alias ;;
1687 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1688 build_alias=$ac_optarg ;;
1690 -cache-file | --cache-file | --cache-fil | --cache-fi \
1691 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1692 ac_prev=cache_file ;;
1693 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1694 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1695 cache_file=$ac_optarg ;;
1697 --config-cache | -C)
1698 cache_file=config.cache ;;
1700 -datadir | --datadir | --datadi | --datad)
1701 ac_prev=datadir ;;
1702 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1703 datadir=$ac_optarg ;;
1705 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1706 | --dataroo | --dataro | --datar)
1707 ac_prev=datarootdir ;;
1708 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1709 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1710 datarootdir=$ac_optarg ;;
1712 -disable-* | --disable-*)
1713 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1714 # Reject names that are not valid shell variable names.
1715 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1716 as_fn_error $? "invalid feature name: $ac_useropt"
1717 ac_useropt_orig=$ac_useropt
1718 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1719 case $ac_user_opts in
1721 "enable_$ac_useropt"
1722 "*) ;;
1723 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1724 ac_unrecognized_sep=', ';;
1725 esac
1726 eval enable_$ac_useropt=no ;;
1728 -docdir | --docdir | --docdi | --doc | --do)
1729 ac_prev=docdir ;;
1730 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1731 docdir=$ac_optarg ;;
1733 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1734 ac_prev=dvidir ;;
1735 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1736 dvidir=$ac_optarg ;;
1738 -enable-* | --enable-*)
1739 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1740 # Reject names that are not valid shell variable names.
1741 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1742 as_fn_error $? "invalid feature name: $ac_useropt"
1743 ac_useropt_orig=$ac_useropt
1744 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1745 case $ac_user_opts in
1747 "enable_$ac_useropt"
1748 "*) ;;
1749 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1750 ac_unrecognized_sep=', ';;
1751 esac
1752 eval enable_$ac_useropt=\$ac_optarg ;;
1754 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1755 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1756 | --exec | --exe | --ex)
1757 ac_prev=exec_prefix ;;
1758 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1759 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1760 | --exec=* | --exe=* | --ex=*)
1761 exec_prefix=$ac_optarg ;;
1763 -gas | --gas | --ga | --g)
1764 # Obsolete; use --with-gas.
1765 with_gas=yes ;;
1767 -help | --help | --hel | --he | -h)
1768 ac_init_help=long ;;
1769 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1770 ac_init_help=recursive ;;
1771 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1772 ac_init_help=short ;;
1774 -host | --host | --hos | --ho)
1775 ac_prev=host_alias ;;
1776 -host=* | --host=* | --hos=* | --ho=*)
1777 host_alias=$ac_optarg ;;
1779 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1780 ac_prev=htmldir ;;
1781 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1782 | --ht=*)
1783 htmldir=$ac_optarg ;;
1785 -includedir | --includedir | --includedi | --included | --include \
1786 | --includ | --inclu | --incl | --inc)
1787 ac_prev=includedir ;;
1788 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1789 | --includ=* | --inclu=* | --incl=* | --inc=*)
1790 includedir=$ac_optarg ;;
1792 -infodir | --infodir | --infodi | --infod | --info | --inf)
1793 ac_prev=infodir ;;
1794 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1795 infodir=$ac_optarg ;;
1797 -libdir | --libdir | --libdi | --libd)
1798 ac_prev=libdir ;;
1799 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1800 libdir=$ac_optarg ;;
1802 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1803 | --libexe | --libex | --libe)
1804 ac_prev=libexecdir ;;
1805 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1806 | --libexe=* | --libex=* | --libe=*)
1807 libexecdir=$ac_optarg ;;
1809 -localedir | --localedir | --localedi | --localed | --locale)
1810 ac_prev=localedir ;;
1811 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1812 localedir=$ac_optarg ;;
1814 -localstatedir | --localstatedir | --localstatedi | --localstated \
1815 | --localstate | --localstat | --localsta | --localst | --locals)
1816 ac_prev=localstatedir ;;
1817 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1818 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1819 localstatedir=$ac_optarg ;;
1821 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1822 ac_prev=mandir ;;
1823 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1824 mandir=$ac_optarg ;;
1826 -nfp | --nfp | --nf)
1827 # Obsolete; use --without-fp.
1828 with_fp=no ;;
1830 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1831 | --no-cr | --no-c | -n)
1832 no_create=yes ;;
1834 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1835 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1836 no_recursion=yes ;;
1838 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1839 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1840 | --oldin | --oldi | --old | --ol | --o)
1841 ac_prev=oldincludedir ;;
1842 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1843 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1844 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1845 oldincludedir=$ac_optarg ;;
1847 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1848 ac_prev=prefix ;;
1849 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1850 prefix=$ac_optarg ;;
1852 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1853 | --program-pre | --program-pr | --program-p)
1854 ac_prev=program_prefix ;;
1855 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1856 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1857 program_prefix=$ac_optarg ;;
1859 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1860 | --program-suf | --program-su | --program-s)
1861 ac_prev=program_suffix ;;
1862 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1863 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1864 program_suffix=$ac_optarg ;;
1866 -program-transform-name | --program-transform-name \
1867 | --program-transform-nam | --program-transform-na \
1868 | --program-transform-n | --program-transform- \
1869 | --program-transform | --program-transfor \
1870 | --program-transfo | --program-transf \
1871 | --program-trans | --program-tran \
1872 | --progr-tra | --program-tr | --program-t)
1873 ac_prev=program_transform_name ;;
1874 -program-transform-name=* | --program-transform-name=* \
1875 | --program-transform-nam=* | --program-transform-na=* \
1876 | --program-transform-n=* | --program-transform-=* \
1877 | --program-transform=* | --program-transfor=* \
1878 | --program-transfo=* | --program-transf=* \
1879 | --program-trans=* | --program-tran=* \
1880 | --progr-tra=* | --program-tr=* | --program-t=*)
1881 program_transform_name=$ac_optarg ;;
1883 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1884 ac_prev=pdfdir ;;
1885 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1886 pdfdir=$ac_optarg ;;
1888 -psdir | --psdir | --psdi | --psd | --ps)
1889 ac_prev=psdir ;;
1890 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1891 psdir=$ac_optarg ;;
1893 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1894 | -silent | --silent | --silen | --sile | --sil)
1895 silent=yes ;;
1897 -runstatedir | --runstatedir | --runstatedi | --runstated \
1898 | --runstate | --runstat | --runsta | --runst | --runs \
1899 | --run | --ru | --r)
1900 ac_prev=runstatedir ;;
1901 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1902 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1903 | --run=* | --ru=* | --r=*)
1904 runstatedir=$ac_optarg ;;
1906 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1907 ac_prev=sbindir ;;
1908 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1909 | --sbi=* | --sb=*)
1910 sbindir=$ac_optarg ;;
1912 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1913 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1914 | --sharedst | --shareds | --shared | --share | --shar \
1915 | --sha | --sh)
1916 ac_prev=sharedstatedir ;;
1917 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1918 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1919 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1920 | --sha=* | --sh=*)
1921 sharedstatedir=$ac_optarg ;;
1923 -site | --site | --sit)
1924 ac_prev=site ;;
1925 -site=* | --site=* | --sit=*)
1926 site=$ac_optarg ;;
1928 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1929 ac_prev=srcdir ;;
1930 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1931 srcdir=$ac_optarg ;;
1933 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1934 | --syscon | --sysco | --sysc | --sys | --sy)
1935 ac_prev=sysconfdir ;;
1936 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1937 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1938 sysconfdir=$ac_optarg ;;
1940 -target | --target | --targe | --targ | --tar | --ta | --t)
1941 ac_prev=target_alias ;;
1942 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1943 target_alias=$ac_optarg ;;
1945 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1946 verbose=yes ;;
1948 -version | --version | --versio | --versi | --vers | -V)
1949 ac_init_version=: ;;
1951 -with-* | --with-*)
1952 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1953 # Reject names that are not valid shell variable names.
1954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1955 as_fn_error $? "invalid package name: $ac_useropt"
1956 ac_useropt_orig=$ac_useropt
1957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1958 case $ac_user_opts in
1960 "with_$ac_useropt"
1961 "*) ;;
1962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1963 ac_unrecognized_sep=', ';;
1964 esac
1965 eval with_$ac_useropt=\$ac_optarg ;;
1967 -without-* | --without-*)
1968 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1969 # Reject names that are not valid shell variable names.
1970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1971 as_fn_error $? "invalid package name: $ac_useropt"
1972 ac_useropt_orig=$ac_useropt
1973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1974 case $ac_user_opts in
1976 "with_$ac_useropt"
1977 "*) ;;
1978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1979 ac_unrecognized_sep=', ';;
1980 esac
1981 eval with_$ac_useropt=no ;;
1983 --x)
1984 # Obsolete; use --with-x.
1985 with_x=yes ;;
1987 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1988 | --x-incl | --x-inc | --x-in | --x-i)
1989 ac_prev=x_includes ;;
1990 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1991 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1992 x_includes=$ac_optarg ;;
1994 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1995 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1996 ac_prev=x_libraries ;;
1997 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1998 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1999 x_libraries=$ac_optarg ;;
2001 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2002 Try \`$0 --help' for more information"
2005 *=*)
2006 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2007 # Reject names that are not valid shell variable names.
2008 case $ac_envvar in #(
2009 '' | [0-9]* | *[!_$as_cr_alnum]* )
2010 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2011 esac
2012 eval $ac_envvar=\$ac_optarg
2013 export $ac_envvar ;;
2016 # FIXME: should be removed in autoconf 3.0.
2017 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2018 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2019 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2020 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2023 esac
2024 done
2026 if test -n "$ac_prev"; then
2027 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2028 as_fn_error $? "missing argument to $ac_option"
2031 if test -n "$ac_unrecognized_opts"; then
2032 case $enable_option_checking in
2033 no) ;;
2034 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2035 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2036 esac
2039 # Check all directory arguments for consistency.
2040 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2041 datadir sysconfdir sharedstatedir localstatedir includedir \
2042 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2043 libdir localedir mandir runstatedir
2045 eval ac_val=\$$ac_var
2046 # Remove trailing slashes.
2047 case $ac_val in
2048 */ )
2049 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2050 eval $ac_var=\$ac_val;;
2051 esac
2052 # Be sure to have absolute directory names.
2053 case $ac_val in
2054 [\\/$]* | ?:[\\/]* ) continue;;
2055 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2056 esac
2057 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2058 done
2060 # There might be people who depend on the old broken behavior: `$host'
2061 # used to hold the argument of --host etc.
2062 # FIXME: To remove some day.
2063 build=$build_alias
2064 host=$host_alias
2065 target=$target_alias
2067 # FIXME: To remove some day.
2068 if test "x$host_alias" != x; then
2069 if test "x$build_alias" = x; then
2070 cross_compiling=maybe
2071 elif test "x$build_alias" != "x$host_alias"; then
2072 cross_compiling=yes
2076 ac_tool_prefix=
2077 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2079 test "$silent" = yes && exec 6>/dev/null
2082 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2083 ac_ls_di=`ls -di .` &&
2084 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2085 as_fn_error $? "working directory cannot be determined"
2086 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2087 as_fn_error $? "pwd does not report name of working directory"
2090 # Find the source files, if location was not specified.
2091 if test -z "$srcdir"; then
2092 ac_srcdir_defaulted=yes
2093 # Try the directory containing this script, then the parent directory.
2094 ac_confdir=`$as_dirname -- "$as_myself" ||
2095 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2096 X"$as_myself" : 'X\(//\)[^/]' \| \
2097 X"$as_myself" : 'X\(//\)$' \| \
2098 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2099 $as_echo X"$as_myself" |
2100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2101 s//\1/
2104 /^X\(\/\/\)[^/].*/{
2105 s//\1/
2108 /^X\(\/\/\)$/{
2109 s//\1/
2112 /^X\(\/\).*/{
2113 s//\1/
2116 s/.*/./; q'`
2117 srcdir=$ac_confdir
2118 if test ! -r "$srcdir/$ac_unique_file"; then
2119 srcdir=..
2121 else
2122 ac_srcdir_defaulted=no
2124 if test ! -r "$srcdir/$ac_unique_file"; then
2125 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2126 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2128 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2129 ac_abs_confdir=`(
2130 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2131 pwd)`
2132 # When building in place, set srcdir=.
2133 if test "$ac_abs_confdir" = "$ac_pwd"; then
2134 srcdir=.
2136 # Remove unnecessary trailing slashes from srcdir.
2137 # Double slashes in file names in object file debugging info
2138 # mess up M-x gdb in Emacs.
2139 case $srcdir in
2140 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2141 esac
2142 for ac_var in $ac_precious_vars; do
2143 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2144 eval ac_env_${ac_var}_value=\$${ac_var}
2145 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2146 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2147 done
2150 # Report the --help message.
2152 if test "$ac_init_help" = "long"; then
2153 # Omit some internal or obsolete options to make the list less imposing.
2154 # This message is too long to be a string in the A/UX 3.1 sh.
2155 cat <<_ACEOF
2156 \`configure' configures Wine 1.9.18 to adapt to many kinds of systems.
2158 Usage: $0 [OPTION]... [VAR=VALUE]...
2160 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2161 VAR=VALUE. See below for descriptions of some of the useful variables.
2163 Defaults for the options are specified in brackets.
2165 Configuration:
2166 -h, --help display this help and exit
2167 --help=short display options specific to this package
2168 --help=recursive display the short help of all the included packages
2169 -V, --version display version information and exit
2170 -q, --quiet, --silent do not print \`checking ...' messages
2171 --cache-file=FILE cache test results in FILE [disabled]
2172 -C, --config-cache alias for \`--cache-file=config.cache'
2173 -n, --no-create do not create output files
2174 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2176 Installation directories:
2177 --prefix=PREFIX install architecture-independent files in PREFIX
2178 [$ac_default_prefix]
2179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2180 [PREFIX]
2182 By default, \`make install' will install all the files in
2183 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2184 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2185 for instance \`--prefix=\$HOME'.
2187 For better control, use the options below.
2189 Fine tuning of the installation directories:
2190 --bindir=DIR user executables [EPREFIX/bin]
2191 --sbindir=DIR system admin executables [EPREFIX/sbin]
2192 --libexecdir=DIR program executables [EPREFIX/libexec]
2193 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2194 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2195 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2196 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2197 --libdir=DIR object code libraries [EPREFIX/lib]
2198 --includedir=DIR C header files [PREFIX/include]
2199 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2200 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2201 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2202 --infodir=DIR info documentation [DATAROOTDIR/info]
2203 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2204 --mandir=DIR man documentation [DATAROOTDIR/man]
2205 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2206 --htmldir=DIR html documentation [DOCDIR]
2207 --dvidir=DIR dvi documentation [DOCDIR]
2208 --pdfdir=DIR pdf documentation [DOCDIR]
2209 --psdir=DIR ps documentation [DOCDIR]
2210 _ACEOF
2212 cat <<\_ACEOF
2214 X features:
2215 --x-includes=DIR X include files are in DIR
2216 --x-libraries=DIR X library files are in DIR
2218 System types:
2219 --build=BUILD configure for building on BUILD [guessed]
2220 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2221 _ACEOF
2224 if test -n "$ac_init_help"; then
2225 case $ac_init_help in
2226 short | recursive ) echo "Configuration of Wine 1.9.18:";;
2227 esac
2228 cat <<\_ACEOF
2230 Optional Features:
2231 --disable-option-checking ignore unrecognized --enable/--with options
2232 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2233 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2234 --disable-win16 do not include Win16 support
2235 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2236 binaries)
2237 --disable-tests do not build the regression tests
2238 --enable-maintainer-mode
2239 enable maintainer-specific build rules
2240 --disable-largefile omit support for large files
2242 Optional Packages:
2243 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2244 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2245 --without-alsa do not use the Alsa sound support
2246 --without-capi do not use CAPI (ISDN support)
2247 --without-cms do not use CMS (color management support)
2248 --without-coreaudio do not use the CoreAudio sound support
2249 --without-cups do not use CUPS
2250 --without-curses do not use (n)curses
2251 --without-dbus do not use DBus (dynamic device support)
2252 --without-fontconfig do not use fontconfig
2253 --without-freetype do not use the FreeType library
2254 --without-gettext do not use gettext
2255 --with-gettextpo use the GetTextPO library to rebuild po files
2256 --without-gphoto do not use gphoto (Digital Camera support)
2257 --without-glu do not use the GLU library
2258 --without-gnutls do not use GnuTLS (schannel support)
2259 --without-gsm do not use libgsm (GSM 06.10 codec support)
2260 --without-gstreamer do not use GStreamer (codecs support)
2261 --without-hal do not use HAL (dynamic device support)
2262 --without-jpeg do not use JPEG
2263 --without-ldap do not use LDAP
2264 --without-mpg123 do not use the mpg123 library
2265 --without-netapi do not use the Samba NetAPI library
2266 --without-openal do not use OpenAL
2267 --without-opencl do not use OpenCL
2268 --without-opengl do not use OpenGL
2269 --without-osmesa do not use the OSMesa library
2270 --without-oss do not use the OSS sound support
2271 --without-pcap do not use the Packet Capture library
2272 --without-png do not use PNG
2273 --without-pthread do not use the pthread library
2274 --without-pulse do not use PulseAudio sound support
2275 --without-sane do not use SANE (scanner support)
2276 --without-tiff do not use TIFF
2277 --without-v4l do not use v4l1 (v4l support)
2278 --without-xcomposite do not use the Xcomposite extension
2279 --without-xcursor do not use the Xcursor extension
2280 --without-xinerama do not use Xinerama (multi-monitor support)
2281 --without-xinput do not use the Xinput extension
2282 --without-xinput2 do not use the Xinput 2 extension
2283 --without-xml do not use XML
2284 --without-xrandr do not use Xrandr (resolution changes)
2285 --without-xrender do not use the Xrender extension
2286 --without-xshape do not use the Xshape extension
2287 --without-xshm do not use XShm (shared memory extension)
2288 --without-xslt do not use XSLT
2289 --without-xxf86vm do not use XFree video mode extension
2290 --without-zlib do not use Zlib (data compression)
2291 --with-wine-tools=DIR use Wine tools from directory DIR
2292 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2293 --with-x use the X Window System
2295 Some influential environment variables:
2296 CC C compiler command
2297 CFLAGS C compiler flags
2298 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2299 nonstandard directory <lib dir>
2300 LIBS libraries to pass to the linker, e.g. -l<library>
2301 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2302 you have headers in a nonstandard directory <include dir>
2303 CXX C++ compiler command
2304 CXXFLAGS C++ compiler flags
2305 CPP C preprocessor
2306 XMKMF Path to xmkmf, Makefile generator for X Window System
2307 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2308 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2309 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2310 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2311 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2312 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2313 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2314 HAL_LIBS Linker flags for hal, overriding pkg-config
2315 GNUTLS_CFLAGS
2316 C compiler flags for gnutls, overriding pkg-config
2317 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2318 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2319 SANE_LIBS Linker flags for libsane, overriding pkg-config
2320 GPHOTO2_CFLAGS
2321 C compiler flags for libgphoto2, overriding pkg-config
2322 GPHOTO2_LIBS
2323 Linker flags for libgphoto2, overriding pkg-config
2324 GPHOTO2_PORT_CFLAGS
2325 C compiler flags for libgphoto2_port, overriding pkg-config
2326 GPHOTO2_PORT_LIBS
2327 Linker flags for libgphoto2_port, overriding pkg-config
2328 LCMS2_CFLAGS
2329 C compiler flags for lcms2, overriding pkg-config
2330 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2331 FREETYPE_CFLAGS
2332 C compiler flags for freetype2, overriding pkg-config
2333 FREETYPE_LIBS
2334 Linker flags for freetype2, overriding pkg-config
2335 PULSE_CFLAGS
2336 C compiler flags for libpulse, overriding pkg-config
2337 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2338 GSTREAMER_CFLAGS
2339 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2340 gstreamer-audio-1.0, overriding pkg-config
2341 GSTREAMER_LIBS
2342 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2343 gstreamer-audio-1.0, overriding pkg-config
2344 CAPI20_CFLAGS
2345 C compiler flags for capi20, overriding pkg-config
2346 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2347 FONTCONFIG_CFLAGS
2348 C compiler flags for fontconfig, overriding pkg-config
2349 FONTCONFIG_LIBS
2350 Linker flags for fontconfig, overriding pkg-config
2351 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2352 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2353 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2354 PNG_LIBS Linker flags for libpng, overriding pkg-config
2355 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2356 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2357 MPG123_CFLAGS
2358 C compiler flags for libmpg123, overriding pkg-config
2359 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2360 NETAPI_CFLAGS
2361 C compiler flags for netapi, overriding pkg-config
2362 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2364 Use these variables to override the choices made by `configure' or to help
2365 it to find libraries and programs with nonstandard names/locations.
2367 Report bugs to <wine-devel@winehq.org>.
2368 Wine home page: <http://www.winehq.org>.
2369 _ACEOF
2370 ac_status=$?
2373 if test "$ac_init_help" = "recursive"; then
2374 # If there are subdirs, report their specific --help.
2375 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2376 test -d "$ac_dir" ||
2377 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2378 continue
2379 ac_builddir=.
2381 case "$ac_dir" in
2382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2385 # A ".." for each directory in $ac_dir_suffix.
2386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2387 case $ac_top_builddir_sub in
2388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2390 esac ;;
2391 esac
2392 ac_abs_top_builddir=$ac_pwd
2393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2394 # for backward compatibility:
2395 ac_top_builddir=$ac_top_build_prefix
2397 case $srcdir in
2398 .) # We are building in place.
2399 ac_srcdir=.
2400 ac_top_srcdir=$ac_top_builddir_sub
2401 ac_abs_top_srcdir=$ac_pwd ;;
2402 [\\/]* | ?:[\\/]* ) # Absolute name.
2403 ac_srcdir=$srcdir$ac_dir_suffix;
2404 ac_top_srcdir=$srcdir
2405 ac_abs_top_srcdir=$srcdir ;;
2406 *) # Relative name.
2407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2408 ac_top_srcdir=$ac_top_build_prefix$srcdir
2409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2410 esac
2411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2413 cd "$ac_dir" || { ac_status=$?; continue; }
2414 # Check for guested configure.
2415 if test -f "$ac_srcdir/configure.gnu"; then
2416 echo &&
2417 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2418 elif test -f "$ac_srcdir/configure"; then
2419 echo &&
2420 $SHELL "$ac_srcdir/configure" --help=recursive
2421 else
2422 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2423 fi || ac_status=$?
2424 cd "$ac_pwd" || { ac_status=$?; break; }
2425 done
2428 test -n "$ac_init_help" && exit $ac_status
2429 if $ac_init_version; then
2430 cat <<\_ACEOF
2431 Wine configure 1.9.18
2432 generated by GNU Autoconf 2.69
2434 Copyright (C) 2012 Free Software Foundation, Inc.
2435 This configure script is free software; the Free Software Foundation
2436 gives unlimited permission to copy, distribute and modify it.
2437 _ACEOF
2438 exit
2441 ## ------------------------ ##
2442 ## Autoconf initialization. ##
2443 ## ------------------------ ##
2445 # ac_fn_c_try_compile LINENO
2446 # --------------------------
2447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2448 ac_fn_c_try_compile ()
2450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2451 rm -f conftest.$ac_objext
2452 if { { ac_try="$ac_compile"
2453 case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456 esac
2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459 (eval "$ac_compile") 2>conftest.err
2460 ac_status=$?
2461 if test -s conftest.err; then
2462 grep -v '^ *+' conftest.err >conftest.er1
2463 cat conftest.er1 >&5
2464 mv -f conftest.er1 conftest.err
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; } && {
2468 test -z "$ac_c_werror_flag" ||
2469 test ! -s conftest.err
2470 } && test -s conftest.$ac_objext; then :
2471 ac_retval=0
2472 else
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 ac_retval=1
2478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2479 as_fn_set_status $ac_retval
2481 } # ac_fn_c_try_compile
2483 # ac_fn_cxx_try_compile LINENO
2484 # ----------------------------
2485 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2486 ac_fn_cxx_try_compile ()
2488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2489 rm -f conftest.$ac_objext
2490 if { { ac_try="$ac_compile"
2491 case "(($ac_try" in
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2494 esac
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496 $as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_compile") 2>conftest.err
2498 ac_status=$?
2499 if test -s conftest.err; then
2500 grep -v '^ *+' conftest.err >conftest.er1
2501 cat conftest.er1 >&5
2502 mv -f conftest.er1 conftest.err
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; } && {
2506 test -z "$ac_cxx_werror_flag" ||
2507 test ! -s conftest.err
2508 } && test -s conftest.$ac_objext; then :
2509 ac_retval=0
2510 else
2511 $as_echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2514 ac_retval=1
2516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2517 as_fn_set_status $ac_retval
2519 } # ac_fn_cxx_try_compile
2521 # ac_fn_c_try_link LINENO
2522 # -----------------------
2523 # Try to link conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_c_try_link ()
2526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2527 rm -f conftest.$ac_objext conftest$ac_exeext
2528 if { { ac_try="$ac_link"
2529 case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2532 esac
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_link") 2>conftest.err
2536 ac_status=$?
2537 if test -s conftest.err; then
2538 grep -v '^ *+' conftest.err >conftest.er1
2539 cat conftest.er1 >&5
2540 mv -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; } && {
2544 test -z "$ac_c_werror_flag" ||
2545 test ! -s conftest.err
2546 } && test -s conftest$ac_exeext && {
2547 test "$cross_compiling" = yes ||
2548 test -x conftest$ac_exeext
2549 }; then :
2550 ac_retval=0
2551 else
2552 $as_echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 ac_retval=1
2557 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2558 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2559 # interfere with the next link command; also delete a directory that is
2560 # left behind by Apple's compiler. We do this before executing the actions.
2561 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2563 as_fn_set_status $ac_retval
2565 } # ac_fn_c_try_link
2567 # ac_fn_c_try_cpp LINENO
2568 # ----------------------
2569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2570 ac_fn_c_try_cpp ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 if { { ac_try="$ac_cpp conftest.$ac_ext"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2581 ac_status=$?
2582 if test -s conftest.err; then
2583 grep -v '^ *+' conftest.err >conftest.er1
2584 cat conftest.er1 >&5
2585 mv -f conftest.er1 conftest.err
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } > conftest.i && {
2589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2590 test ! -s conftest.err
2591 }; then :
2592 ac_retval=0
2593 else
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 ac_retval=1
2599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 as_fn_set_status $ac_retval
2602 } # ac_fn_c_try_cpp
2604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2605 # -------------------------------------------------------
2606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2607 # the include files in INCLUDES and setting the cache variable VAR
2608 # accordingly.
2609 ac_fn_c_check_header_mongrel ()
2611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612 if eval \${$3+:} false; then :
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2614 $as_echo_n "checking for $2... " >&6; }
2615 if eval \${$3+:} false; then :
2616 $as_echo_n "(cached) " >&6
2618 eval ac_res=\$$3
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2620 $as_echo "$ac_res" >&6; }
2621 else
2622 # Is the header compilable?
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2624 $as_echo_n "checking $2 usability... " >&6; }
2625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2626 /* end confdefs.h. */
2628 #include <$2>
2629 _ACEOF
2630 if ac_fn_c_try_compile "$LINENO"; then :
2631 ac_header_compiler=yes
2632 else
2633 ac_header_compiler=no
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2637 $as_echo "$ac_header_compiler" >&6; }
2639 # Is the header present?
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2641 $as_echo_n "checking $2 presence... " >&6; }
2642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2643 /* end confdefs.h. */
2644 #include <$2>
2645 _ACEOF
2646 if ac_fn_c_try_cpp "$LINENO"; then :
2647 ac_header_preproc=yes
2648 else
2649 ac_header_preproc=no
2651 rm -f conftest.err conftest.i conftest.$ac_ext
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2653 $as_echo "$ac_header_preproc" >&6; }
2655 # So? What about this header?
2656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2657 yes:no: )
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2663 no:yes:* )
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2674 ( $as_echo "## ------------------------------------ ##
2675 ## Report this to wine-devel@winehq.org ##
2676 ## ------------------------------------ ##"
2677 ) | sed "s/^/$as_me: WARNING: /" >&2
2679 esac
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2681 $as_echo_n "checking for $2... " >&6; }
2682 if eval \${$3+:} false; then :
2683 $as_echo_n "(cached) " >&6
2684 else
2685 eval "$3=\$ac_header_compiler"
2687 eval ac_res=\$$3
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2689 $as_echo "$ac_res" >&6; }
2691 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2693 } # ac_fn_c_check_header_mongrel
2695 # ac_fn_c_try_run LINENO
2696 # ----------------------
2697 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2698 # that executables *can* be run.
2699 ac_fn_c_try_run ()
2701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2702 if { { ac_try="$ac_link"
2703 case "(($ac_try" in
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2706 esac
2707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2708 $as_echo "$ac_try_echo"; } >&5
2709 (eval "$ac_link") 2>&5
2710 ac_status=$?
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2713 { { case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_try") 2>&5
2720 ac_status=$?
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; }; }; then :
2723 ac_retval=0
2724 else
2725 $as_echo "$as_me: program exited with status $ac_status" >&5
2726 $as_echo "$as_me: failed program was:" >&5
2727 sed 's/^/| /' conftest.$ac_ext >&5
2729 ac_retval=$ac_status
2731 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2732 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2733 as_fn_set_status $ac_retval
2735 } # ac_fn_c_try_run
2737 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2738 # -------------------------------------------------------
2739 # Tests whether HEADER exists and can be compiled using the include files in
2740 # INCLUDES, setting the cache variable VAR accordingly.
2741 ac_fn_c_check_header_compile ()
2743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2745 $as_echo_n "checking for $2... " >&6; }
2746 if eval \${$3+:} false; then :
2747 $as_echo_n "(cached) " >&6
2748 else
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2752 #include <$2>
2753 _ACEOF
2754 if ac_fn_c_try_compile "$LINENO"; then :
2755 eval "$3=yes"
2756 else
2757 eval "$3=no"
2759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761 eval ac_res=\$$3
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763 $as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 } # ac_fn_c_check_header_compile
2768 # ac_fn_c_check_func LINENO FUNC VAR
2769 # ----------------------------------
2770 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2771 ac_fn_c_check_func ()
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2775 $as_echo_n "checking for $2... " >&6; }
2776 if eval \${$3+:} false; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2780 /* end confdefs.h. */
2781 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2783 #define $2 innocuous_$2
2785 /* System header to define __stub macros and hopefully few prototypes,
2786 which can conflict with char $2 (); below.
2787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2788 <limits.h> exists even on freestanding compilers. */
2790 #ifdef __STDC__
2791 # include <limits.h>
2792 #else
2793 # include <assert.h>
2794 #endif
2796 #undef $2
2798 /* Override any GCC internal prototype to avoid an error.
2799 Use char because int might match the return type of a GCC
2800 builtin and then its argument prototype would still apply. */
2801 #ifdef __cplusplus
2802 extern "C"
2803 #endif
2804 char $2 ();
2805 /* The GNU C library defines this for functions which it implements
2806 to always fail with ENOSYS. Some functions are actually named
2807 something starting with __ and the normal name is an alias. */
2808 #if defined __stub_$2 || defined __stub___$2
2809 choke me
2810 #endif
2813 main ()
2815 return $2 ();
2817 return 0;
2819 _ACEOF
2820 if ac_fn_c_try_link "$LINENO"; then :
2821 eval "$3=yes"
2822 else
2823 eval "$3=no"
2825 rm -f core conftest.err conftest.$ac_objext \
2826 conftest$ac_exeext conftest.$ac_ext
2828 eval ac_res=\$$3
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2830 $as_echo "$ac_res" >&6; }
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 } # ac_fn_c_check_func
2835 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2836 # ----------------------------------------------------
2837 # Tries to find if the field MEMBER exists in type AGGR, after including
2838 # INCLUDES, setting cache variable VAR accordingly.
2839 ac_fn_c_check_member ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2843 $as_echo_n "checking for $2.$3... " >&6; }
2844 if eval \${$4+:} false; then :
2845 $as_echo_n "(cached) " >&6
2846 else
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2851 main ()
2853 static $2 ac_aggr;
2854 if (ac_aggr.$3)
2855 return 0;
2857 return 0;
2859 _ACEOF
2860 if ac_fn_c_try_compile "$LINENO"; then :
2861 eval "$4=yes"
2862 else
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2867 main ()
2869 static $2 ac_aggr;
2870 if (sizeof ac_aggr.$3)
2871 return 0;
2873 return 0;
2875 _ACEOF
2876 if ac_fn_c_try_compile "$LINENO"; then :
2877 eval "$4=yes"
2878 else
2879 eval "$4=no"
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885 eval ac_res=\$$4
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2887 $as_echo "$ac_res" >&6; }
2888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2890 } # ac_fn_c_check_member
2892 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2893 # -------------------------------------------
2894 # Tests whether TYPE exists after having included INCLUDES, setting cache
2895 # variable VAR accordingly.
2896 ac_fn_c_check_type ()
2898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2900 $as_echo_n "checking for $2... " >&6; }
2901 if eval \${$3+:} false; then :
2902 $as_echo_n "(cached) " >&6
2903 else
2904 eval "$3=no"
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2911 if (sizeof ($2))
2912 return 0;
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2922 main ()
2924 if (sizeof (($2)))
2925 return 0;
2927 return 0;
2929 _ACEOF
2930 if ac_fn_c_try_compile "$LINENO"; then :
2932 else
2933 eval "$3=yes"
2935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2939 eval ac_res=\$$3
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2941 $as_echo "$ac_res" >&6; }
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 } # ac_fn_c_check_type
2945 cat >config.log <<_ACEOF
2946 This file contains any messages produced by compilers while
2947 running configure, to aid debugging if configure makes a mistake.
2949 It was created by Wine $as_me 1.9.18, which was
2950 generated by GNU Autoconf 2.69. Invocation command line was
2952 $ $0 $@
2954 _ACEOF
2955 exec 5>>config.log
2957 cat <<_ASUNAME
2958 ## --------- ##
2959 ## Platform. ##
2960 ## --------- ##
2962 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2963 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2964 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2965 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2966 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2968 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2969 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2971 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2972 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2973 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2974 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2975 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2976 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2977 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2979 _ASUNAME
2981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 for as_dir in $PATH
2984 IFS=$as_save_IFS
2985 test -z "$as_dir" && as_dir=.
2986 $as_echo "PATH: $as_dir"
2987 done
2988 IFS=$as_save_IFS
2990 } >&5
2992 cat >&5 <<_ACEOF
2995 ## ----------- ##
2996 ## Core tests. ##
2997 ## ----------- ##
2999 _ACEOF
3002 # Keep a trace of the command line.
3003 # Strip out --no-create and --no-recursion so they do not pile up.
3004 # Strip out --silent because we don't want to record it for future runs.
3005 # Also quote any args containing shell meta-characters.
3006 # Make two passes to allow for proper duplicate-argument suppression.
3007 ac_configure_args=
3008 ac_configure_args0=
3009 ac_configure_args1=
3010 ac_must_keep_next=false
3011 for ac_pass in 1 2
3013 for ac_arg
3015 case $ac_arg in
3016 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3017 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3018 | -silent | --silent | --silen | --sile | --sil)
3019 continue ;;
3020 *\'*)
3021 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3022 esac
3023 case $ac_pass in
3024 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3026 as_fn_append ac_configure_args1 " '$ac_arg'"
3027 if test $ac_must_keep_next = true; then
3028 ac_must_keep_next=false # Got value, back to normal.
3029 else
3030 case $ac_arg in
3031 *=* | --config-cache | -C | -disable-* | --disable-* \
3032 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3033 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3034 | -with-* | --with-* | -without-* | --without-* | --x)
3035 case "$ac_configure_args0 " in
3036 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3037 esac
3039 -* ) ac_must_keep_next=true ;;
3040 esac
3042 as_fn_append ac_configure_args " '$ac_arg'"
3044 esac
3045 done
3046 done
3047 { ac_configure_args0=; unset ac_configure_args0;}
3048 { ac_configure_args1=; unset ac_configure_args1;}
3050 # When interrupted or exit'd, cleanup temporary files, and complete
3051 # config.log. We remove comments because anyway the quotes in there
3052 # would cause problems or look ugly.
3053 # WARNING: Use '\'' to represent an apostrophe within the trap.
3054 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3055 trap 'exit_status=$?
3056 # Save into config.log some information that might help in debugging.
3058 echo
3060 $as_echo "## ---------------- ##
3061 ## Cache variables. ##
3062 ## ---------------- ##"
3063 echo
3064 # The following way of writing the cache mishandles newlines in values,
3066 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3067 eval ac_val=\$$ac_var
3068 case $ac_val in #(
3069 *${as_nl}*)
3070 case $ac_var in #(
3071 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3072 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3073 esac
3074 case $ac_var in #(
3075 _ | IFS | as_nl) ;; #(
3076 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3077 *) { eval $ac_var=; unset $ac_var;} ;;
3078 esac ;;
3079 esac
3080 done
3081 (set) 2>&1 |
3082 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3083 *${as_nl}ac_space=\ *)
3084 sed -n \
3085 "s/'\''/'\''\\\\'\'''\''/g;
3086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3087 ;; #(
3089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3091 esac |
3092 sort
3094 echo
3096 $as_echo "## ----------------- ##
3097 ## Output variables. ##
3098 ## ----------------- ##"
3099 echo
3100 for ac_var in $ac_subst_vars
3102 eval ac_val=\$$ac_var
3103 case $ac_val in
3104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3105 esac
3106 $as_echo "$ac_var='\''$ac_val'\''"
3107 done | sort
3108 echo
3110 if test -n "$ac_subst_files"; then
3111 $as_echo "## ------------------- ##
3112 ## File substitutions. ##
3113 ## ------------------- ##"
3114 echo
3115 for ac_var in $ac_subst_files
3117 eval ac_val=\$$ac_var
3118 case $ac_val in
3119 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3120 esac
3121 $as_echo "$ac_var='\''$ac_val'\''"
3122 done | sort
3123 echo
3126 if test -s confdefs.h; then
3127 $as_echo "## ----------- ##
3128 ## confdefs.h. ##
3129 ## ----------- ##"
3130 echo
3131 cat confdefs.h
3132 echo
3134 test "$ac_signal" != 0 &&
3135 $as_echo "$as_me: caught signal $ac_signal"
3136 $as_echo "$as_me: exit $exit_status"
3137 } >&5
3138 rm -f core *.core core.conftest.* &&
3139 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3140 exit $exit_status
3142 for ac_signal in 1 2 13 15; do
3143 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3144 done
3145 ac_signal=0
3147 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3148 rm -f -r conftest* confdefs.h
3150 $as_echo "/* confdefs.h */" > confdefs.h
3152 # Predefined preprocessor variables.
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_NAME "$PACKAGE_NAME"
3156 _ACEOF
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3160 _ACEOF
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3164 _ACEOF
3166 cat >>confdefs.h <<_ACEOF
3167 #define PACKAGE_STRING "$PACKAGE_STRING"
3168 _ACEOF
3170 cat >>confdefs.h <<_ACEOF
3171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3172 _ACEOF
3174 cat >>confdefs.h <<_ACEOF
3175 #define PACKAGE_URL "$PACKAGE_URL"
3176 _ACEOF
3179 # Let the site file select an alternate cache file if it wants to.
3180 # Prefer an explicitly selected file to automatically selected ones.
3181 ac_site_file1=NONE
3182 ac_site_file2=NONE
3183 if test -n "$CONFIG_SITE"; then
3184 # We do not want a PATH search for config.site.
3185 case $CONFIG_SITE in #((
3186 -*) ac_site_file1=./$CONFIG_SITE;;
3187 */*) ac_site_file1=$CONFIG_SITE;;
3188 *) ac_site_file1=./$CONFIG_SITE;;
3189 esac
3190 elif test "x$prefix" != xNONE; then
3191 ac_site_file1=$prefix/share/config.site
3192 ac_site_file2=$prefix/etc/config.site
3193 else
3194 ac_site_file1=$ac_default_prefix/share/config.site
3195 ac_site_file2=$ac_default_prefix/etc/config.site
3197 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3199 test "x$ac_site_file" = xNONE && continue
3200 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3202 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3203 sed 's/^/| /' "$ac_site_file" >&5
3204 . "$ac_site_file" \
3205 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3207 as_fn_error $? "failed to load site script $ac_site_file
3208 See \`config.log' for more details" "$LINENO" 5; }
3210 done
3212 if test -r "$cache_file"; then
3213 # Some versions of bash will fail to source /dev/null (special files
3214 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3215 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3217 $as_echo "$as_me: loading cache $cache_file" >&6;}
3218 case $cache_file in
3219 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3220 *) . "./$cache_file";;
3221 esac
3223 else
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3225 $as_echo "$as_me: creating cache $cache_file" >&6;}
3226 >$cache_file
3229 # Check that the precious variables saved in the cache have kept the same
3230 # value.
3231 ac_cache_corrupted=false
3232 for ac_var in $ac_precious_vars; do
3233 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3234 eval ac_new_set=\$ac_env_${ac_var}_set
3235 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3236 eval ac_new_val=\$ac_env_${ac_var}_value
3237 case $ac_old_set,$ac_new_set in
3238 set,)
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3240 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3241 ac_cache_corrupted=: ;;
3242 ,set)
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3244 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3245 ac_cache_corrupted=: ;;
3246 ,);;
3248 if test "x$ac_old_val" != "x$ac_new_val"; then
3249 # differences in whitespace do not lead to failure.
3250 ac_old_val_w=`echo x $ac_old_val`
3251 ac_new_val_w=`echo x $ac_new_val`
3252 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3254 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3255 ac_cache_corrupted=:
3256 else
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3258 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3259 eval $ac_var=\$ac_old_val
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3262 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3264 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3265 fi;;
3266 esac
3267 # Pass precious variables to config.status.
3268 if test "$ac_new_set" = set; then
3269 case $ac_new_val in
3270 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3271 *) ac_arg=$ac_var=$ac_new_val ;;
3272 esac
3273 case " $ac_configure_args " in
3274 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3275 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3276 esac
3278 done
3279 if $ac_cache_corrupted; then
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3283 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3284 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3286 ## -------------------- ##
3287 ## Main body of script. ##
3288 ## -------------------- ##
3290 ac_ext=c
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 ac_config_headers="$ac_config_headers include/config.h"
3300 ac_aux_dir=
3301 for ac_dir in tools "$srcdir"/tools; do
3302 if test -f "$ac_dir/install-sh"; then
3303 ac_aux_dir=$ac_dir
3304 ac_install_sh="$ac_aux_dir/install-sh -c"
3305 break
3306 elif test -f "$ac_dir/install.sh"; then
3307 ac_aux_dir=$ac_dir
3308 ac_install_sh="$ac_aux_dir/install.sh -c"
3309 break
3310 elif test -f "$ac_dir/shtool"; then
3311 ac_aux_dir=$ac_dir
3312 ac_install_sh="$ac_aux_dir/shtool install -c"
3313 break
3315 done
3316 if test -z "$ac_aux_dir"; then
3317 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3320 # These three variables are undocumented and unsupported,
3321 # and are intended to be withdrawn in a future Autoconf release.
3322 # They can cause serious problems if a builder's source tree is in a directory
3323 # whose full name contains unusual characters.
3324 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3325 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3326 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3330 libwine_version="1.0"
3334 # Check whether --enable-win16 was given.
3335 if test "${enable_win16+set}" = set; then :
3336 enableval=$enable_win16;
3339 # Check whether --enable-win64 was given.
3340 if test "${enable_win64+set}" = set; then :
3341 enableval=$enable_win64;
3344 # Check whether --enable-tests was given.
3345 if test "${enable_tests+set}" = set; then :
3346 enableval=$enable_tests;
3349 # Check whether --enable-maintainer-mode was given.
3350 if test "${enable_maintainer_mode+set}" = set; then :
3351 enableval=$enable_maintainer_mode;
3356 # Check whether --with-alsa was given.
3357 if test "${with_alsa+set}" = set; then :
3358 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3362 # Check whether --with-capi was given.
3363 if test "${with_capi+set}" = set; then :
3364 withval=$with_capi;
3368 # Check whether --with-cms was given.
3369 if test "${with_cms+set}" = set; then :
3370 withval=$with_cms;
3374 # Check whether --with-coreaudio was given.
3375 if test "${with_coreaudio+set}" = set; then :
3376 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3380 # Check whether --with-cups was given.
3381 if test "${with_cups+set}" = set; then :
3382 withval=$with_cups;
3386 # Check whether --with-curses was given.
3387 if test "${with_curses+set}" = set; then :
3388 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3392 # Check whether --with-dbus was given.
3393 if test "${with_dbus+set}" = set; then :
3394 withval=$with_dbus;
3398 # Check whether --with-fontconfig was given.
3399 if test "${with_fontconfig+set}" = set; then :
3400 withval=$with_fontconfig;
3404 # Check whether --with-freetype was given.
3405 if test "${with_freetype+set}" = set; then :
3406 withval=$with_freetype;
3410 # Check whether --with-gettext was given.
3411 if test "${with_gettext+set}" = set; then :
3412 withval=$with_gettext;
3416 # Check whether --with-gettextpo was given.
3417 if test "${with_gettextpo+set}" = set; then :
3418 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3422 # Check whether --with-gphoto was given.
3423 if test "${with_gphoto+set}" = set; then :
3424 withval=$with_gphoto;
3428 # Check whether --with-glu was given.
3429 if test "${with_glu+set}" = set; then :
3430 withval=$with_glu;
3434 # Check whether --with-gnutls was given.
3435 if test "${with_gnutls+set}" = set; then :
3436 withval=$with_gnutls;
3440 # Check whether --with-gsm was given.
3441 if test "${with_gsm+set}" = set; then :
3442 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3446 # Check whether --with-gstreamer was given.
3447 if test "${with_gstreamer+set}" = set; then :
3448 withval=$with_gstreamer;
3452 # Check whether --with-hal was given.
3453 if test "${with_hal+set}" = set; then :
3454 withval=$with_hal;
3458 # Check whether --with-jpeg was given.
3459 if test "${with_jpeg+set}" = set; then :
3460 withval=$with_jpeg;
3464 # Check whether --with-ldap was given.
3465 if test "${with_ldap+set}" = set; then :
3466 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3470 # Check whether --with-mpg123 was given.
3471 if test "${with_mpg123+set}" = set; then :
3472 withval=$with_mpg123;
3476 # Check whether --with-netapi was given.
3477 if test "${with_netapi+set}" = set; then :
3478 withval=$with_netapi;
3482 # Check whether --with-openal was given.
3483 if test "${with_openal+set}" = set; then :
3484 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3488 # Check whether --with-opencl was given.
3489 if test "${with_opencl+set}" = set; then :
3490 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3494 # Check whether --with-opengl was given.
3495 if test "${with_opengl+set}" = set; then :
3496 withval=$with_opengl;
3500 # Check whether --with-osmesa was given.
3501 if test "${with_osmesa+set}" = set; then :
3502 withval=$with_osmesa;
3506 # Check whether --with-oss was given.
3507 if test "${with_oss+set}" = set; then :
3508 withval=$with_oss;
3512 # Check whether --with-pcap was given.
3513 if test "${with_pcap+set}" = set; then :
3514 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3518 # Check whether --with-png was given.
3519 if test "${with_png+set}" = set; then :
3520 withval=$with_png;
3524 # Check whether --with-pthread was given.
3525 if test "${with_pthread+set}" = set; then :
3526 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3530 # Check whether --with-pulse was given.
3531 if test "${with_pulse+set}" = set; then :
3532 withval=$with_pulse;
3536 # Check whether --with-sane was given.
3537 if test "${with_sane+set}" = set; then :
3538 withval=$with_sane;
3542 # Check whether --with-tiff was given.
3543 if test "${with_tiff+set}" = set; then :
3544 withval=$with_tiff;
3548 # Check whether --with-v4l was given.
3549 if test "${with_v4l+set}" = set; then :
3550 withval=$with_v4l;
3554 # Check whether --with-xcomposite was given.
3555 if test "${with_xcomposite+set}" = set; then :
3556 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3560 # Check whether --with-xcursor was given.
3561 if test "${with_xcursor+set}" = set; then :
3562 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3566 # Check whether --with-xinerama was given.
3567 if test "${with_xinerama+set}" = set; then :
3568 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3572 # Check whether --with-xinput was given.
3573 if test "${with_xinput+set}" = set; then :
3574 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3578 # Check whether --with-xinput2 was given.
3579 if test "${with_xinput2+set}" = set; then :
3580 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3584 # Check whether --with-xml was given.
3585 if test "${with_xml+set}" = set; then :
3586 withval=$with_xml;
3590 # Check whether --with-xrandr was given.
3591 if test "${with_xrandr+set}" = set; then :
3592 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3596 # Check whether --with-xrender was given.
3597 if test "${with_xrender+set}" = set; then :
3598 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3602 # Check whether --with-xshape was given.
3603 if test "${with_xshape+set}" = set; then :
3604 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3608 # Check whether --with-xshm was given.
3609 if test "${with_xshm+set}" = set; then :
3610 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3614 # Check whether --with-xslt was given.
3615 if test "${with_xslt+set}" = set; then :
3616 withval=$with_xslt;
3620 # Check whether --with-xxf86vm was given.
3621 if test "${with_xxf86vm+set}" = set; then :
3622 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
3626 # Check whether --with-zlib was given.
3627 if test "${with_zlib+set}" = set; then :
3628 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3633 # Check whether --with-wine-tools was given.
3634 if test "${with_wine_tools+set}" = set; then :
3635 withval=$with_wine_tools;
3639 # Check whether --with-wine64 was given.
3640 if test "${with_wine64+set}" = set; then :
3641 withval=$with_wine64;
3645 # Make sure we can run config.sub.
3646 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3647 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3650 $as_echo_n "checking build system type... " >&6; }
3651 if ${ac_cv_build+:} false; then :
3652 $as_echo_n "(cached) " >&6
3653 else
3654 ac_build_alias=$build_alias
3655 test "x$ac_build_alias" = x &&
3656 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3657 test "x$ac_build_alias" = x &&
3658 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3659 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3660 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3664 $as_echo "$ac_cv_build" >&6; }
3665 case $ac_cv_build in
3666 *-*-*) ;;
3667 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3668 esac
3669 build=$ac_cv_build
3670 ac_save_IFS=$IFS; IFS='-'
3671 set x $ac_cv_build
3672 shift
3673 build_cpu=$1
3674 build_vendor=$2
3675 shift; shift
3676 # Remember, the first character of IFS is used to create $*,
3677 # except with old shells:
3678 build_os=$*
3679 IFS=$ac_save_IFS
3680 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3684 $as_echo_n "checking host system type... " >&6; }
3685 if ${ac_cv_host+:} false; then :
3686 $as_echo_n "(cached) " >&6
3687 else
3688 if test "x$host_alias" = x; then
3689 ac_cv_host=$ac_cv_build
3690 else
3691 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3692 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3697 $as_echo "$ac_cv_host" >&6; }
3698 case $ac_cv_host in
3699 *-*-*) ;;
3700 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3701 esac
3702 host=$ac_cv_host
3703 ac_save_IFS=$IFS; IFS='-'
3704 set x $ac_cv_host
3705 shift
3706 host_cpu=$1
3707 host_vendor=$2
3708 shift; shift
3709 # Remember, the first character of IFS is used to create $*,
3710 # except with old shells:
3711 host_os=$*
3712 IFS=$ac_save_IFS
3713 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3717 case "$srcdir" in
3718 .) ;;
3719 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3720 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3721 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3722 fi ;;
3723 esac
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3728 set x ${MAKE-make}
3729 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3730 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3731 $as_echo_n "(cached) " >&6
3732 else
3733 cat >conftest.make <<\_ACEOF
3734 SHELL = /bin/sh
3735 all:
3736 @echo '@@@%%%=$(MAKE)=@@@%%%'
3737 _ACEOF
3738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3740 *@@@%%%=?*=@@@%%%*)
3741 eval ac_cv_prog_make_${ac_make}_set=yes;;
3743 eval ac_cv_prog_make_${ac_make}_set=no;;
3744 esac
3745 rm -f conftest.make
3747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 $as_echo "yes" >&6; }
3750 SET_MAKE=
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3754 SET_MAKE="MAKE=${MAKE-make}"
3757 ac_ext=c
3758 ac_cpp='$CPP $CPPFLAGS'
3759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3762 if test -n "$ac_tool_prefix"; then
3763 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3764 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if ${ac_cv_prog_CC+:} false; then :
3768 $as_echo_n "(cached) " >&6
3769 else
3770 if test -n "$CC"; then
3771 ac_cv_prog_CC="$CC" # Let the user override the test.
3772 else
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 for as_dir in $PATH
3776 IFS=$as_save_IFS
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 break 2
3784 done
3785 done
3786 IFS=$as_save_IFS
3790 CC=$ac_cv_prog_CC
3791 if test -n "$CC"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3793 $as_echo "$CC" >&6; }
3794 else
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3801 if test -z "$ac_cv_prog_CC"; then
3802 ac_ct_CC=$CC
3803 # Extract the first word of "gcc", so it can be a program name with args.
3804 set dummy gcc; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3808 $as_echo_n "(cached) " >&6
3809 else
3810 if test -n "$ac_ct_CC"; then
3811 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3812 else
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3814 for as_dir in $PATH
3816 IFS=$as_save_IFS
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_ac_ct_CC="gcc"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 break 2
3824 done
3825 done
3826 IFS=$as_save_IFS
3830 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3831 if test -n "$ac_ct_CC"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3833 $as_echo "$ac_ct_CC" >&6; }
3834 else
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3839 if test "x$ac_ct_CC" = x; then
3840 CC=""
3841 else
3842 case $cross_compiling:$ac_tool_warned in
3843 yes:)
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3846 ac_tool_warned=yes ;;
3847 esac
3848 CC=$ac_ct_CC
3850 else
3851 CC="$ac_cv_prog_CC"
3854 if test -z "$CC"; then
3855 if test -n "$ac_tool_prefix"; then
3856 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3857 set dummy ${ac_tool_prefix}cc; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_CC+:} false; then :
3861 $as_echo_n "(cached) " >&6
3862 else
3863 if test -n "$CC"; then
3864 ac_cv_prog_CC="$CC" # Let the user override the test.
3865 else
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3867 for as_dir in $PATH
3869 IFS=$as_save_IFS
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_CC="${ac_tool_prefix}cc"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 break 2
3877 done
3878 done
3879 IFS=$as_save_IFS
3883 CC=$ac_cv_prog_CC
3884 if test -n "$CC"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3886 $as_echo "$CC" >&6; }
3887 else
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3895 if test -z "$CC"; then
3896 # Extract the first word of "cc", so it can be a program name with args.
3897 set dummy cc; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 ac_prog_rejected=no
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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3915 ac_prog_rejected=yes
3916 continue
3918 ac_cv_prog_CC="cc"
3919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3924 IFS=$as_save_IFS
3926 if test $ac_prog_rejected = yes; then
3927 # We found a bogon in the path, so make sure we never use it.
3928 set dummy $ac_cv_prog_CC
3929 shift
3930 if test $# != 0; then
3931 # We chose a different compiler from the bogus one.
3932 # However, it has the same basename, so the bogon will be chosen
3933 # first if we set CC to just the basename; use the full file name.
3934 shift
3935 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3940 CC=$ac_cv_prog_CC
3941 if test -n "$CC"; then
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3943 $as_echo "$CC" >&6; }
3944 else
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3946 $as_echo "no" >&6; }
3951 if test -z "$CC"; then
3952 if test -n "$ac_tool_prefix"; then
3953 for ac_prog in cl.exe
3955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3956 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if ${ac_cv_prog_CC+:} false; then :
3960 $as_echo_n "(cached) " >&6
3961 else
3962 if test -n "$CC"; then
3963 ac_cv_prog_CC="$CC" # Let the user override the test.
3964 else
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 for as_dir in $PATH
3968 IFS=$as_save_IFS
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 break 2
3976 done
3977 done
3978 IFS=$as_save_IFS
3982 CC=$ac_cv_prog_CC
3983 if test -n "$CC"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3985 $as_echo "$CC" >&6; }
3986 else
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3988 $as_echo "no" >&6; }
3992 test -n "$CC" && break
3993 done
3995 if test -z "$CC"; then
3996 ac_ct_CC=$CC
3997 for ac_prog in cl.exe
3999 # Extract the first word of "$ac_prog", so it can be a program name with args.
4000 set dummy $ac_prog; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$ac_ct_CC"; then
4007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4008 else
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_CC="$ac_prog"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 break 2
4020 done
4021 done
4022 IFS=$as_save_IFS
4026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4027 if test -n "$ac_ct_CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4029 $as_echo "$ac_ct_CC" >&6; }
4030 else
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4036 test -n "$ac_ct_CC" && break
4037 done
4039 if test "x$ac_ct_CC" = x; then
4040 CC=""
4041 else
4042 case $cross_compiling:$ac_tool_warned in
4043 yes:)
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4046 ac_tool_warned=yes ;;
4047 esac
4048 CC=$ac_ct_CC
4055 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error $? "no acceptable C compiler found in \$PATH
4058 See \`config.log' for more details" "$LINENO" 5; }
4060 # Provide some information about the compiler.
4061 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4062 set X $ac_compile
4063 ac_compiler=$2
4064 for ac_option in --version -v -V -qversion; do
4065 { { ac_try="$ac_compiler $ac_option >&5"
4066 case "(($ac_try" in
4067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4068 *) ac_try_echo=$ac_try;;
4069 esac
4070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4071 $as_echo "$ac_try_echo"; } >&5
4072 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4073 ac_status=$?
4074 if test -s conftest.err; then
4075 sed '10a\
4076 ... rest of stderr output deleted ...
4077 10q' conftest.err >conftest.er1
4078 cat conftest.er1 >&5
4080 rm -f conftest.er1 conftest.err
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }
4083 done
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 main ()
4093 return 0;
4095 _ACEOF
4096 ac_clean_files_save=$ac_clean_files
4097 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4098 # Try to create an executable without -o first, disregard a.out.
4099 # It will help us diagnose broken compilers, and finding out an intuition
4100 # of exeext.
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4102 $as_echo_n "checking whether the C compiler works... " >&6; }
4103 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4105 # The possible output files:
4106 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4108 ac_rmfiles=
4109 for ac_file in $ac_files
4111 case $ac_file in
4112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4113 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4114 esac
4115 done
4116 rm -f $ac_rmfiles
4118 if { { ac_try="$ac_link_default"
4119 case "(($ac_try" in
4120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121 *) ac_try_echo=$ac_try;;
4122 esac
4123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124 $as_echo "$ac_try_echo"; } >&5
4125 (eval "$ac_link_default") 2>&5
4126 ac_status=$?
4127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128 test $ac_status = 0; }; then :
4129 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4130 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4131 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4132 # so that the user can short-circuit this test for compilers unknown to
4133 # Autoconf.
4134 for ac_file in $ac_files ''
4136 test -f "$ac_file" || continue
4137 case $ac_file in
4138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4140 [ab].out )
4141 # We found the default executable, but exeext='' is most
4142 # certainly right.
4143 break;;
4144 *.* )
4145 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4146 then :; else
4147 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4149 # We set ac_cv_exeext here because the later test for it is not
4150 # safe: cross compilers may not add the suffix if given an `-o'
4151 # argument, so we may need to know it at that point already.
4152 # Even if this section looks crufty: it has the advantage of
4153 # actually working.
4154 break;;
4156 break;;
4157 esac
4158 done
4159 test "$ac_cv_exeext" = no && ac_cv_exeext=
4161 else
4162 ac_file=''
4164 if test -z "$ac_file"; then :
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166 $as_echo "no" >&6; }
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.$ac_ext >&5
4170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error 77 "C compiler cannot create executables
4173 See \`config.log' for more details" "$LINENO" 5; }
4174 else
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4176 $as_echo "yes" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4179 $as_echo_n "checking for C compiler default output file name... " >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4181 $as_echo "$ac_file" >&6; }
4182 ac_exeext=$ac_cv_exeext
4184 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4185 ac_clean_files=$ac_clean_files_save
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4187 $as_echo_n "checking for suffix of executables... " >&6; }
4188 if { { ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4194 $as_echo "$ac_try_echo"; } >&5
4195 (eval "$ac_link") 2>&5
4196 ac_status=$?
4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4198 test $ac_status = 0; }; then :
4199 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4200 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4201 # work properly (i.e., refer to `conftest.exe'), while it won't with
4202 # `rm'.
4203 for ac_file in conftest.exe conftest conftest.*; do
4204 test -f "$ac_file" || continue
4205 case $ac_file in
4206 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4207 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4208 break;;
4209 * ) break;;
4210 esac
4211 done
4212 else
4213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4215 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4216 See \`config.log' for more details" "$LINENO" 5; }
4218 rm -f conftest conftest$ac_cv_exeext
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4220 $as_echo "$ac_cv_exeext" >&6; }
4222 rm -f conftest.$ac_ext
4223 EXEEXT=$ac_cv_exeext
4224 ac_exeext=$EXEEXT
4225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4226 /* end confdefs.h. */
4227 #include <stdio.h>
4229 main ()
4231 FILE *f = fopen ("conftest.out", "w");
4232 return ferror (f) || fclose (f) != 0;
4235 return 0;
4237 _ACEOF
4238 ac_clean_files="$ac_clean_files conftest.out"
4239 # Check that the compiler produces executables we can run. If not, either
4240 # the compiler is broken, or we cross compile.
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4242 $as_echo_n "checking whether we are cross compiling... " >&6; }
4243 if test "$cross_compiling" != yes; then
4244 { { ac_try="$ac_link"
4245 case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4248 esac
4249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4250 $as_echo "$ac_try_echo"; } >&5
4251 (eval "$ac_link") 2>&5
4252 ac_status=$?
4253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4254 test $ac_status = 0; }
4255 if { ac_try='./conftest$ac_cv_exeext'
4256 { { case "(($ac_try" in
4257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4258 *) ac_try_echo=$ac_try;;
4259 esac
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_try") 2>&5
4263 ac_status=$?
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; }; then
4266 cross_compiling=no
4267 else
4268 if test "$cross_compiling" = maybe; then
4269 cross_compiling=yes
4270 else
4271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4273 as_fn_error $? "cannot run C compiled programs.
4274 If you meant to cross compile, use \`--host'.
4275 See \`config.log' for more details" "$LINENO" 5; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4280 $as_echo "$cross_compiling" >&6; }
4282 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4283 ac_clean_files=$ac_clean_files_save
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4285 $as_echo_n "checking for suffix of object files... " >&6; }
4286 if ${ac_cv_objext+:} false; then :
4287 $as_echo_n "(cached) " >&6
4288 else
4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 /* end confdefs.h. */
4293 main ()
4297 return 0;
4299 _ACEOF
4300 rm -f conftest.o conftest.obj
4301 if { { ac_try="$ac_compile"
4302 case "(($ac_try" in
4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4304 *) ac_try_echo=$ac_try;;
4305 esac
4306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4307 $as_echo "$ac_try_echo"; } >&5
4308 (eval "$ac_compile") 2>&5
4309 ac_status=$?
4310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4311 test $ac_status = 0; }; then :
4312 for ac_file in conftest.o conftest.obj conftest.*; do
4313 test -f "$ac_file" || continue;
4314 case $ac_file in
4315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4316 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4317 break;;
4318 esac
4319 done
4320 else
4321 $as_echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4326 as_fn_error $? "cannot compute suffix of object files: cannot compile
4327 See \`config.log' for more details" "$LINENO" 5; }
4329 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4332 $as_echo "$ac_cv_objext" >&6; }
4333 OBJEXT=$ac_cv_objext
4334 ac_objext=$OBJEXT
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4336 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4337 if ${ac_cv_c_compiler_gnu+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4344 main ()
4346 #ifndef __GNUC__
4347 choke me
4348 #endif
4351 return 0;
4353 _ACEOF
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_compiler_gnu=yes
4356 else
4357 ac_compiler_gnu=no
4359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4364 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4365 if test $ac_compiler_gnu = yes; then
4366 GCC=yes
4367 else
4368 GCC=
4370 ac_test_CFLAGS=${CFLAGS+set}
4371 ac_save_CFLAGS=$CFLAGS
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4373 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4374 if ${ac_cv_prog_cc_g+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 ac_save_c_werror_flag=$ac_c_werror_flag
4378 ac_c_werror_flag=yes
4379 ac_cv_prog_cc_g=no
4380 CFLAGS="-g"
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 if ac_fn_c_try_compile "$LINENO"; then :
4393 ac_cv_prog_cc_g=yes
4394 else
4395 CFLAGS=""
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4400 main ()
4404 return 0;
4406 _ACEOF
4407 if ac_fn_c_try_compile "$LINENO"; then :
4409 else
4410 ac_c_werror_flag=$ac_save_c_werror_flag
4411 CFLAGS="-g"
4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h. */
4416 main ()
4420 return 0;
4422 _ACEOF
4423 if ac_fn_c_try_compile "$LINENO"; then :
4424 ac_cv_prog_cc_g=yes
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4431 ac_c_werror_flag=$ac_save_c_werror_flag
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4434 $as_echo "$ac_cv_prog_cc_g" >&6; }
4435 if test "$ac_test_CFLAGS" = set; then
4436 CFLAGS=$ac_save_CFLAGS
4437 elif test $ac_cv_prog_cc_g = yes; then
4438 if test "$GCC" = yes; then
4439 CFLAGS="-g -O2"
4440 else
4441 CFLAGS="-g"
4443 else
4444 if test "$GCC" = yes; then
4445 CFLAGS="-O2"
4446 else
4447 CFLAGS=
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4451 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4452 if ${ac_cv_prog_cc_c89+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 ac_cv_prog_cc_c89=no
4456 ac_save_CC=$CC
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4458 /* end confdefs.h. */
4459 #include <stdarg.h>
4460 #include <stdio.h>
4461 struct stat;
4462 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4463 struct buf { int x; };
4464 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4465 static char *e (p, i)
4466 char **p;
4467 int i;
4469 return p[i];
4471 static char *f (char * (*g) (char **, int), char **p, ...)
4473 char *s;
4474 va_list v;
4475 va_start (v,p);
4476 s = g (p, va_arg (v,int));
4477 va_end (v);
4478 return s;
4481 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4482 function prototypes and stuff, but not '\xHH' hex character constants.
4483 These don't provoke an error unfortunately, instead are silently treated
4484 as 'x'. The following induces an error, until -std is added to get
4485 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4486 array size at least. It's necessary to write '\x00'==0 to get something
4487 that's true only with -std. */
4488 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4490 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4491 inside strings and character constants. */
4492 #define FOO(x) 'x'
4493 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4495 int test (int i, double x);
4496 struct s1 {int (*f) (int a);};
4497 struct s2 {int (*f) (double a);};
4498 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4499 int argc;
4500 char **argv;
4502 main ()
4504 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4506 return 0;
4508 _ACEOF
4509 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4510 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4512 CC="$ac_save_CC $ac_arg"
4513 if ac_fn_c_try_compile "$LINENO"; then :
4514 ac_cv_prog_cc_c89=$ac_arg
4516 rm -f core conftest.err conftest.$ac_objext
4517 test "x$ac_cv_prog_cc_c89" != "xno" && break
4518 done
4519 rm -f conftest.$ac_ext
4520 CC=$ac_save_CC
4523 # AC_CACHE_VAL
4524 case "x$ac_cv_prog_cc_c89" in
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4527 $as_echo "none needed" >&6; } ;;
4528 xno)
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4530 $as_echo "unsupported" >&6; } ;;
4532 CC="$CC $ac_cv_prog_cc_c89"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4534 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4535 esac
4536 if test "x$ac_cv_prog_cc_c89" != xno; then :
4540 ac_ext=c
4541 ac_cpp='$CPP $CPPFLAGS'
4542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 ac_ext=cpp
4547 ac_cpp='$CXXCPP $CPPFLAGS'
4548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4551 if test -z "$CXX"; then
4552 if test -n "$CCC"; then
4553 CXX=$CCC
4554 else
4555 if test -n "$ac_tool_prefix"; then
4556 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4558 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4559 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if ${ac_cv_prog_CXX+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 if test -n "$CXX"; then
4566 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4571 IFS=$as_save_IFS
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 break 2
4579 done
4580 done
4581 IFS=$as_save_IFS
4585 CXX=$ac_cv_prog_CXX
4586 if test -n "$CXX"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4588 $as_echo "$CXX" >&6; }
4589 else
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4595 test -n "$CXX" && break
4596 done
4598 if test -z "$CXX"; then
4599 ac_ct_CXX=$CXX
4600 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4602 # Extract the first word of "$ac_prog", so it can be a program name with args.
4603 set dummy $ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$ac_ct_CXX"; then
4610 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_ac_ct_CXX="$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4630 if test -n "$ac_ct_CXX"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4632 $as_echo "$ac_ct_CXX" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$ac_ct_CXX" && break
4640 done
4642 if test "x$ac_ct_CXX" = x; then
4643 CXX="g++"
4644 else
4645 case $cross_compiling:$ac_tool_warned in
4646 yes:)
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4649 ac_tool_warned=yes ;;
4650 esac
4651 CXX=$ac_ct_CXX
4657 # Provide some information about the compiler.
4658 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4659 set X $ac_compile
4660 ac_compiler=$2
4661 for ac_option in --version -v -V -qversion; do
4662 { { ac_try="$ac_compiler $ac_option >&5"
4663 case "(($ac_try" in
4664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4665 *) ac_try_echo=$ac_try;;
4666 esac
4667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4668 $as_echo "$ac_try_echo"; } >&5
4669 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4670 ac_status=$?
4671 if test -s conftest.err; then
4672 sed '10a\
4673 ... rest of stderr output deleted ...
4674 10q' conftest.err >conftest.er1
4675 cat conftest.er1 >&5
4677 rm -f conftest.er1 conftest.err
4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4679 test $ac_status = 0; }
4680 done
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4683 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4684 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4691 main ()
4693 #ifndef __GNUC__
4694 choke me
4695 #endif
4698 return 0;
4700 _ACEOF
4701 if ac_fn_cxx_try_compile "$LINENO"; then :
4702 ac_compiler_gnu=yes
4703 else
4704 ac_compiler_gnu=no
4706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4707 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4711 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4712 if test $ac_compiler_gnu = yes; then
4713 GXX=yes
4714 else
4715 GXX=
4717 ac_test_CXXFLAGS=${CXXFLAGS+set}
4718 ac_save_CXXFLAGS=$CXXFLAGS
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4720 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4721 if ${ac_cv_prog_cxx_g+:} false; then :
4722 $as_echo_n "(cached) " >&6
4723 else
4724 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4725 ac_cxx_werror_flag=yes
4726 ac_cv_prog_cxx_g=no
4727 CXXFLAGS="-g"
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4732 main ()
4736 return 0;
4738 _ACEOF
4739 if ac_fn_cxx_try_compile "$LINENO"; then :
4740 ac_cv_prog_cxx_g=yes
4741 else
4742 CXXFLAGS=""
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4747 main ()
4751 return 0;
4753 _ACEOF
4754 if ac_fn_cxx_try_compile "$LINENO"; then :
4756 else
4757 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4758 CXXFLAGS="-g"
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4763 main ()
4767 return 0;
4769 _ACEOF
4770 if ac_fn_cxx_try_compile "$LINENO"; then :
4771 ac_cv_prog_cxx_g=yes
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4778 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4781 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4782 if test "$ac_test_CXXFLAGS" = set; then
4783 CXXFLAGS=$ac_save_CXXFLAGS
4784 elif test $ac_cv_prog_cxx_g = yes; then
4785 if test "$GXX" = yes; then
4786 CXXFLAGS="-g -O2"
4787 else
4788 CXXFLAGS="-g"
4790 else
4791 if test "$GXX" = yes; then
4792 CXXFLAGS="-O2"
4793 else
4794 CXXFLAGS=
4797 ac_ext=c
4798 ac_cpp='$CPP $CPPFLAGS'
4799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4803 if test -n "$ac_tool_prefix"; then
4804 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4805 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807 $as_echo_n "checking for $ac_word... " >&6; }
4808 if ${ac_cv_prog_CPPBIN+:} false; then :
4809 $as_echo_n "(cached) " >&6
4810 else
4811 if test -n "$CPPBIN"; then
4812 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4813 else
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 for as_dir in $PATH
4817 IFS=$as_save_IFS
4818 test -z "$as_dir" && as_dir=.
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823 break 2
4825 done
4826 done
4827 IFS=$as_save_IFS
4831 CPPBIN=$ac_cv_prog_CPPBIN
4832 if test -n "$CPPBIN"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4834 $as_echo "$CPPBIN" >&6; }
4835 else
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837 $as_echo "no" >&6; }
4842 if test -z "$ac_cv_prog_CPPBIN"; then
4843 ac_ct_CPPBIN=$CPPBIN
4844 # Extract the first word of "cpp", so it can be a program name with args.
4845 set dummy cpp; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4849 $as_echo_n "(cached) " >&6
4850 else
4851 if test -n "$ac_ct_CPPBIN"; then
4852 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4853 else
4854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855 for as_dir in $PATH
4857 IFS=$as_save_IFS
4858 test -z "$as_dir" && as_dir=.
4859 for ac_exec_ext in '' $ac_executable_extensions; do
4860 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861 ac_cv_prog_ac_ct_CPPBIN="cpp"
4862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863 break 2
4865 done
4866 done
4867 IFS=$as_save_IFS
4871 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4872 if test -n "$ac_ct_CPPBIN"; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4874 $as_echo "$ac_ct_CPPBIN" >&6; }
4875 else
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4880 if test "x$ac_ct_CPPBIN" = x; then
4881 CPPBIN="cpp"
4882 else
4883 case $cross_compiling:$ac_tool_warned in
4884 yes:)
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887 ac_tool_warned=yes ;;
4888 esac
4889 CPPBIN=$ac_ct_CPPBIN
4891 else
4892 CPPBIN="$ac_cv_prog_CPPBIN"
4896 cat >>confdefs.h <<_ACEOF
4897 #define EXEEXT "$ac_exeext"
4898 _ACEOF
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4902 set dummy ${ac_tool_prefix}ld; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if ${ac_cv_prog_LD+:} false; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 if test -n "$LD"; then
4909 ac_cv_prog_LD="$LD" # Let the user override the test.
4910 else
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 for as_dir in $PATH
4914 IFS=$as_save_IFS
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4918 ac_cv_prog_LD="${ac_tool_prefix}ld"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 break 2
4922 done
4923 done
4924 IFS=$as_save_IFS
4928 LD=$ac_cv_prog_LD
4929 if test -n "$LD"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4931 $as_echo "$LD" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4939 if test -z "$ac_cv_prog_LD"; then
4940 ac_ct_LD=$LD
4941 # Extract the first word of "ld", so it can be a program name with args.
4942 set dummy ld; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4944 $as_echo_n "checking for $ac_word... " >&6; }
4945 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 if test -n "$ac_ct_LD"; then
4949 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4950 else
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH
4954 IFS=$as_save_IFS
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4958 ac_cv_prog_ac_ct_LD="ld"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 break 2
4962 done
4963 done
4964 IFS=$as_save_IFS
4968 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4969 if test -n "$ac_ct_LD"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4971 $as_echo "$ac_ct_LD" >&6; }
4972 else
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4974 $as_echo "no" >&6; }
4977 if test "x$ac_ct_LD" = x; then
4978 LD=""
4979 else
4980 case $cross_compiling:$ac_tool_warned in
4981 yes:)
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4984 ac_tool_warned=yes ;;
4985 esac
4986 LD=$ac_ct_LD
4988 else
4989 LD="$ac_cv_prog_LD"
4993 case $host in
4994 *-darwin*)
4995 with_fontconfig=${with_fontconfig:-no}
4997 *-mingw32*|*-cygwin*)
4998 enable_win16=${enable_win16:-no}
4999 CFLAGS="$CFLAGS -D_WIN32"
5001 esac
5003 case $host in
5004 x86_64*|amd64*)
5005 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5006 then
5007 CC="$CC -m32"
5008 CXX="$CXX -m32"
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5010 $as_echo_n "checking whether $CC works... " >&6; }
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_c_try_link "$LINENO"; then :
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5025 $as_echo "yes" >&6; }
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5031 rm -f core conftest.err conftest.$ac_objext \
5032 conftest$ac_exeext conftest.$ac_ext
5033 host_cpu="i386"
5034 notice_platform="32-bit "
5035 TARGETFLAGS="-m32"
5037 enable_win16=${enable_win16:-yes}
5038 else
5039 if test "x${GCC}" = "xyes"
5040 then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5042 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5045 #include <stdarg.h>
5047 main ()
5049 void func(__builtin_ms_va_list *args);
5051 return 0;
5053 _ACEOF
5054 if ac_fn_c_try_compile "$LINENO"; then :
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5056 $as_echo "yes" >&6; }
5057 else
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5060 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5064 CC="$CC -m64"
5065 CXX="$CXX -m64"
5066 host_cpu="x86_64"
5067 notice_platform="64-bit "
5068 TARGETFLAGS="-m64"
5072 arm*)
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5074 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5077 int ac_test(int i) { return i; }
5079 main ()
5081 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5083 return 0;
5085 _ACEOF
5086 if ac_fn_c_try_link "$LINENO"; then :
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5088 $as_echo "yes" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5092 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5094 rm -f core conftest.err conftest.$ac_objext \
5095 conftest$ac_exeext conftest.$ac_ext
5096 CFLAGS="$CFLAGS -marm"
5097 TARGETFLAGS="-marm"
5100 i[3456789]86*)
5101 enable_win16=${enable_win16:-yes}
5103 esac
5105 enable_win16=${enable_win16:-no}
5106 enable_win64=${enable_win64:-no}
5108 enable_winetest=${enable_winetest:-$enable_tests}
5110 if test -n "$with_wine64"
5111 then
5112 if test "x$enable_win64" = "xyes"
5113 then
5114 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5115 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5117 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5118 You should create a separate build directory and run configure from there." "$LINENO" 5
5119 enable_fonts=${enable_fonts:-no}
5120 enable_server=${enable_server:-no}
5121 elif test "x$enable_win64" = "xyes"
5122 then
5123 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5127 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5128 if ${wine_cv_toolsdir+:} false; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 wine_cv_toolsdir="$with_wine_tools"
5132 if test -z "$with_wine_tools"; then
5133 if test "$cross_compiling" = "yes"; then
5134 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5135 elif test -n "$with_wine64"; then
5136 wine_cv_toolsdir="$with_wine64"
5139 if test -z "$wine_cv_toolsdir"; then
5140 wine_makedep=tools/makedep
5141 wine_cv_toolsdir="\$(top_builddir)"
5142 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5143 wine_makedep=$wine_cv_toolsdir/tools/makedep
5144 case "$wine_cv_toolsdir" in
5145 /*) ;;
5146 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5147 esac
5148 enable_tools=${enable_tools:-no}
5149 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5150 else
5151 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5155 $as_echo "$wine_cv_toolsdir" >&6; }
5156 TOOLSDIR=$wine_cv_toolsdir
5158 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5159 then
5160 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5164 for ac_prog in flex
5166 # Extract the first word of "$ac_prog", so it can be a program name with args.
5167 set dummy $ac_prog; ac_word=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_FLEX+:} false; then :
5171 $as_echo_n "(cached) " >&6
5172 else
5173 if test -n "$FLEX"; then
5174 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5179 IFS=$as_save_IFS
5180 test -z "$as_dir" && as_dir=.
5181 for ac_exec_ext in '' $ac_executable_extensions; do
5182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183 ac_cv_prog_FLEX="$ac_prog"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 break 2
5187 done
5188 done
5189 IFS=$as_save_IFS
5193 FLEX=$ac_cv_prog_FLEX
5194 if test -n "$FLEX"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5196 $as_echo "$FLEX" >&6; }
5197 else
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5203 test -n "$FLEX" && break
5204 done
5205 test -n "$FLEX" || FLEX="none"
5207 if test "$FLEX" = "none"
5208 then
5209 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5212 $as_echo_n "checking whether flex is recent enough... " >&6; }
5213 cat >conftest.l <<EOF
5214 %top{
5215 #include "prediluvian.h"
5219 if $FLEX -t conftest.l >/dev/null 2>&5
5220 then
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5222 $as_echo "yes" >&6; }
5223 else
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225 $as_echo "no" >&6; }
5226 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5229 for ac_prog in bison
5231 # Extract the first word of "$ac_prog", so it can be a program name with args.
5232 set dummy $ac_prog; ac_word=$2
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5234 $as_echo_n "checking for $ac_word... " >&6; }
5235 if ${ac_cv_prog_BISON+:} false; then :
5236 $as_echo_n "(cached) " >&6
5237 else
5238 if test -n "$BISON"; then
5239 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5240 else
5241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 for as_dir in $PATH
5244 IFS=$as_save_IFS
5245 test -z "$as_dir" && as_dir=.
5246 for ac_exec_ext in '' $ac_executable_extensions; do
5247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5248 ac_cv_prog_BISON="$ac_prog"
5249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 break 2
5252 done
5253 done
5254 IFS=$as_save_IFS
5258 BISON=$ac_cv_prog_BISON
5259 if test -n "$BISON"; then
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5261 $as_echo "$BISON" >&6; }
5262 else
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5264 $as_echo "no" >&6; }
5268 test -n "$BISON" && break
5269 done
5270 test -n "$BISON" || BISON="none"
5272 if test "$BISON" = "none"
5273 then
5274 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5277 if test -n "$ac_tool_prefix"; then
5278 for ac_prog in ar gar
5280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if ${ac_cv_prog_AR+:} false; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 if test -n "$AR"; then
5288 ac_cv_prog_AR="$AR" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5293 IFS=$as_save_IFS
5294 test -z "$as_dir" && as_dir=.
5295 for ac_exec_ext in '' $ac_executable_extensions; do
5296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5297 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299 break 2
5301 done
5302 done
5303 IFS=$as_save_IFS
5307 AR=$ac_cv_prog_AR
5308 if test -n "$AR"; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5310 $as_echo "$AR" >&6; }
5311 else
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5317 test -n "$AR" && break
5318 done
5320 if test -z "$AR"; then
5321 ac_ct_AR=$AR
5322 for ac_prog in ar gar
5324 # Extract the first word of "$ac_prog", so it can be a program name with args.
5325 set dummy $ac_prog; ac_word=$2
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5327 $as_echo_n "checking for $ac_word... " >&6; }
5328 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5329 $as_echo_n "(cached) " >&6
5330 else
5331 if test -n "$ac_ct_AR"; then
5332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5341 ac_cv_prog_ac_ct_AR="$ac_prog"
5342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5352 if test -n "$ac_ct_AR"; then
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5354 $as_echo "$ac_ct_AR" >&6; }
5355 else
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5361 test -n "$ac_ct_AR" && break
5362 done
5364 if test "x$ac_ct_AR" = x; then
5365 AR="ar"
5366 else
5367 case $cross_compiling:$ac_tool_warned in
5368 yes:)
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5371 ac_tool_warned=yes ;;
5372 esac
5373 AR=$ac_ct_AR
5377 if test -n "$ac_tool_prefix"; then
5378 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5379 set dummy ${ac_tool_prefix}strip; ac_word=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if ${ac_cv_prog_STRIP+:} false; then :
5383 $as_echo_n "(cached) " >&6
5384 else
5385 if test -n "$STRIP"; then
5386 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5387 else
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_exec_ext in '' $ac_executable_extensions; do
5394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5395 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397 break 2
5399 done
5400 done
5401 IFS=$as_save_IFS
5405 STRIP=$ac_cv_prog_STRIP
5406 if test -n "$STRIP"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5408 $as_echo "$STRIP" >&6; }
5409 else
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 $as_echo "no" >&6; }
5416 if test -z "$ac_cv_prog_STRIP"; then
5417 ac_ct_STRIP=$STRIP
5418 # Extract the first word of "strip", so it can be a program name with args.
5419 set dummy strip; 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_STRIP+:} false; then :
5423 $as_echo_n "(cached) " >&6
5424 else
5425 if test -n "$ac_ct_STRIP"; then
5426 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
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_STRIP=$ac_cv_prog_ac_ct_STRIP
5446 if test -n "$ac_ct_STRIP"; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5448 $as_echo "$ac_ct_STRIP" >&6; }
5449 else
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5454 if test "x$ac_ct_STRIP" = x; then
5455 STRIP="strip"
5456 else
5457 case $cross_compiling:$ac_tool_warned in
5458 yes:)
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5461 ac_tool_warned=yes ;;
5462 esac
5463 STRIP=$ac_ct_STRIP
5465 else
5466 STRIP="$ac_cv_prog_STRIP"
5469 ARFLAGS=rc
5471 if test -n "$ac_tool_prefix"; then
5472 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5473 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$RANLIB"; then
5480 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
5500 if test -n "$RANLIB"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5502 $as_echo "$RANLIB" >&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_RANLIB"; then
5511 ac_ct_RANLIB=$RANLIB
5512 # Extract the first word of "ranlib", so it can be a program name with args.
5513 set dummy ranlib; 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_RANLIB+:} false; then :
5517 $as_echo_n "(cached) " >&6
5518 else
5519 if test -n "$ac_ct_RANLIB"; then
5520 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5540 if test -n "$ac_ct_RANLIB"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5542 $as_echo "$ac_ct_RANLIB" >&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_RANLIB" = x; then
5549 RANLIB=":"
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 RANLIB=$ac_ct_RANLIB
5559 else
5560 RANLIB="$ac_cv_prog_RANLIB"
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5564 $as_echo_n "checking whether ln -s works... " >&6; }
5565 LN_S=$as_ln_s
5566 if test "$LN_S" = "ln -s"; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5568 $as_echo "yes" >&6; }
5569 else
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5571 $as_echo "no, using $LN_S" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5575 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5576 if ${ac_cv_path_GREP+:} false; then :
5577 $as_echo_n "(cached) " >&6
5578 else
5579 if test -z "$GREP"; then
5580 ac_path_GREP_found=false
5581 # Loop through the user's path and test for each of PROGNAME-LIST
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5585 IFS=$as_save_IFS
5586 test -z "$as_dir" && as_dir=.
5587 for ac_prog in grep ggrep; do
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5590 as_fn_executable_p "$ac_path_GREP" || continue
5591 # Check for GNU ac_path_GREP and select it if it is found.
5592 # Check for GNU $ac_path_GREP
5593 case `"$ac_path_GREP" --version 2>&1` in
5594 *GNU*)
5595 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5597 ac_count=0
5598 $as_echo_n 0123456789 >"conftest.in"
5599 while :
5601 cat "conftest.in" "conftest.in" >"conftest.tmp"
5602 mv "conftest.tmp" "conftest.in"
5603 cp "conftest.in" "conftest.nl"
5604 $as_echo 'GREP' >> "conftest.nl"
5605 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5606 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5607 as_fn_arith $ac_count + 1 && ac_count=$as_val
5608 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5609 # Best one so far, save it but keep looking for a better one
5610 ac_cv_path_GREP="$ac_path_GREP"
5611 ac_path_GREP_max=$ac_count
5613 # 10*(2^10) chars as input seems more than enough
5614 test $ac_count -gt 10 && break
5615 done
5616 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5617 esac
5619 $ac_path_GREP_found && break 3
5620 done
5621 done
5622 done
5623 IFS=$as_save_IFS
5624 if test -z "$ac_cv_path_GREP"; then
5625 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5627 else
5628 ac_cv_path_GREP=$GREP
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5633 $as_echo "$ac_cv_path_GREP" >&6; }
5634 GREP="$ac_cv_path_GREP"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5638 $as_echo_n "checking for egrep... " >&6; }
5639 if ${ac_cv_path_EGREP+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5643 then ac_cv_path_EGREP="$GREP -E"
5644 else
5645 if test -z "$EGREP"; then
5646 ac_path_EGREP_found=false
5647 # Loop through the user's path and test for each of PROGNAME-LIST
5648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5651 IFS=$as_save_IFS
5652 test -z "$as_dir" && as_dir=.
5653 for ac_prog in egrep; do
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5656 as_fn_executable_p "$ac_path_EGREP" || continue
5657 # Check for GNU ac_path_EGREP and select it if it is found.
5658 # Check for GNU $ac_path_EGREP
5659 case `"$ac_path_EGREP" --version 2>&1` in
5660 *GNU*)
5661 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5663 ac_count=0
5664 $as_echo_n 0123456789 >"conftest.in"
5665 while :
5667 cat "conftest.in" "conftest.in" >"conftest.tmp"
5668 mv "conftest.tmp" "conftest.in"
5669 cp "conftest.in" "conftest.nl"
5670 $as_echo 'EGREP' >> "conftest.nl"
5671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5673 as_fn_arith $ac_count + 1 && ac_count=$as_val
5674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5675 # Best one so far, save it but keep looking for a better one
5676 ac_cv_path_EGREP="$ac_path_EGREP"
5677 ac_path_EGREP_max=$ac_count
5679 # 10*(2^10) chars as input seems more than enough
5680 test $ac_count -gt 10 && break
5681 done
5682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5683 esac
5685 $ac_path_EGREP_found && break 3
5686 done
5687 done
5688 done
5689 IFS=$as_save_IFS
5690 if test -z "$ac_cv_path_EGREP"; then
5691 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5693 else
5694 ac_cv_path_EGREP=$EGREP
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5700 $as_echo "$ac_cv_path_EGREP" >&6; }
5701 EGREP="$ac_cv_path_EGREP"
5704 # Extract the first word of "ldconfig", so it can be a program name with args.
5705 set dummy ldconfig; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_path_LDCONFIG+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 case $LDCONFIG in
5712 [\\/]* | ?:[\\/]*)
5713 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 for as_dir in /sbin /usr/sbin $PATH
5719 IFS=$as_save_IFS
5720 test -z "$as_dir" && as_dir=.
5721 for ac_exec_ext in '' $ac_executable_extensions; do
5722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5723 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 break 2
5727 done
5728 done
5729 IFS=$as_save_IFS
5731 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5733 esac
5735 LDCONFIG=$ac_cv_path_LDCONFIG
5736 if test -n "$LDCONFIG"; then
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5738 $as_echo "$LDCONFIG" >&6; }
5739 else
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5741 $as_echo "no" >&6; }
5745 for ac_prog in msgfmt
5747 # Extract the first word of "$ac_prog", so it can be a program name with args.
5748 set dummy $ac_prog; ac_word=$2
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5750 $as_echo_n "checking for $ac_word... " >&6; }
5751 if ${ac_cv_prog_MSGFMT+:} false; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$MSGFMT"; then
5755 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5756 else
5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 for as_dir in $PATH
5760 IFS=$as_save_IFS
5761 test -z "$as_dir" && as_dir=.
5762 for ac_exec_ext in '' $ac_executable_extensions; do
5763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5764 ac_cv_prog_MSGFMT="$ac_prog"
5765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5766 break 2
5768 done
5769 done
5770 IFS=$as_save_IFS
5774 MSGFMT=$ac_cv_prog_MSGFMT
5775 if test -n "$MSGFMT"; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5777 $as_echo "$MSGFMT" >&6; }
5778 else
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5780 $as_echo "no" >&6; }
5784 test -n "$MSGFMT" && break
5785 done
5786 test -n "$MSGFMT" || MSGFMT="false"
5788 if ${ac_tool_prefix+:} false; then :
5789 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5790 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 if test -n "$PKG_CONFIG"; then
5797 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5798 else
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH
5802 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808 break 2
5810 done
5811 done
5812 IFS=$as_save_IFS
5816 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5817 if test -n "$PKG_CONFIG"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5819 $as_echo "$PKG_CONFIG" >&6; }
5820 else
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5827 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5828 if test "x$cross_compiling" = xyes; then :
5830 else
5831 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5832 # Extract the first word of "pkg-config", so it can be a program name with args.
5833 set dummy pkg-config; ac_word=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5837 $as_echo_n "(cached) " >&6
5838 else
5839 if test -n "$PKG_CONFIG"; then
5840 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5841 else
5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 for as_dir in $PATH
5845 IFS=$as_save_IFS
5846 test -z "$as_dir" && as_dir=.
5847 for ac_exec_ext in '' $ac_executable_extensions; do
5848 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_PKG_CONFIG="pkg-config"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 break 2
5853 done
5854 done
5855 IFS=$as_save_IFS
5859 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5860 if test -n "$PKG_CONFIG"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5862 $as_echo "$PKG_CONFIG" >&6; }
5863 else
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5870 else
5871 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5874 if test "x$enable_maintainer_mode" != "xyes"
5875 then
5876 FONTFORGE=""
5877 RSVG=""
5878 CONVERT=""
5879 ICOTOOL=""
5880 else
5881 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5882 for ac_prog in fontforge
5884 # Extract the first word of "$ac_prog", so it can be a program name with args.
5885 set dummy $ac_prog; ac_word=$2
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5887 $as_echo_n "checking for $ac_word... " >&6; }
5888 if ${ac_cv_prog_FONTFORGE+:} false; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 if test -n "$FONTFORGE"; then
5892 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5893 else
5894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5895 for as_dir in $PATH
5897 IFS=$as_save_IFS
5898 test -z "$as_dir" && as_dir=.
5899 for ac_exec_ext in '' $ac_executable_extensions; do
5900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5901 ac_cv_prog_FONTFORGE="$ac_prog"
5902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 break 2
5905 done
5906 done
5907 IFS=$as_save_IFS
5911 FONTFORGE=$ac_cv_prog_FONTFORGE
5912 if test -n "$FONTFORGE"; then
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5914 $as_echo "$FONTFORGE" >&6; }
5915 else
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5917 $as_echo "no" >&6; }
5921 test -n "$FONTFORGE" && break
5922 done
5923 test -n "$FONTFORGE" || FONTFORGE="false"
5925 for ac_prog in rsvg-convert rsvg
5927 # Extract the first word of "$ac_prog", so it can be a program name with args.
5928 set dummy $ac_prog; ac_word=$2
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5930 $as_echo_n "checking for $ac_word... " >&6; }
5931 if ${ac_cv_prog_RSVG+:} false; then :
5932 $as_echo_n "(cached) " >&6
5933 else
5934 if test -n "$RSVG"; then
5935 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5936 else
5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938 for as_dir in $PATH
5940 IFS=$as_save_IFS
5941 test -z "$as_dir" && as_dir=.
5942 for ac_exec_ext in '' $ac_executable_extensions; do
5943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5944 ac_cv_prog_RSVG="$ac_prog"
5945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 break 2
5948 done
5949 done
5950 IFS=$as_save_IFS
5954 RSVG=$ac_cv_prog_RSVG
5955 if test -n "$RSVG"; then
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5957 $as_echo "$RSVG" >&6; }
5958 else
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5960 $as_echo "no" >&6; }
5964 test -n "$RSVG" && break
5965 done
5966 test -n "$RSVG" || RSVG="false"
5968 for ac_prog in convert
5970 # Extract the first word of "$ac_prog", so it can be a program name with args.
5971 set dummy $ac_prog; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_CONVERT+:} false; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 if test -n "$CONVERT"; then
5978 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_CONVERT="$ac_prog"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5997 CONVERT=$ac_cv_prog_CONVERT
5998 if test -n "$CONVERT"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6000 $as_echo "$CONVERT" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 test -n "$CONVERT" && break
6008 done
6009 test -n "$CONVERT" || CONVERT="false"
6011 for ac_prog in icotool
6013 # Extract the first word of "$ac_prog", so it can be a program name with args.
6014 set dummy $ac_prog; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_prog_ICOTOOL+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 if test -n "$ICOTOOL"; then
6021 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6026 IFS=$as_save_IFS
6027 test -z "$as_dir" && as_dir=.
6028 for ac_exec_ext in '' $ac_executable_extensions; do
6029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030 ac_cv_prog_ICOTOOL="$ac_prog"
6031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6032 break 2
6034 done
6035 done
6036 IFS=$as_save_IFS
6040 ICOTOOL=$ac_cv_prog_ICOTOOL
6041 if test -n "$ICOTOOL"; then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6043 $as_echo "$ICOTOOL" >&6; }
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6046 $as_echo "no" >&6; }
6050 test -n "$ICOTOOL" && break
6051 done
6052 test -n "$ICOTOOL" || ICOTOOL="false"
6054 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6055 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6057 if test "$CONVERT" = false
6058 then
6059 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6062 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6063 convert_version=`convert --version | head -n1`
6064 if test "x$convert_version" != "x"
6065 then
6066 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6067 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6068 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6069 then
6070 CONVERT=false
6073 if test "$CONVERT" = false
6074 then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6076 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6077 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6080 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6084 if test "$ICOTOOL" = false
6085 then
6086 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6089 $as_echo_n "checking for recent enough icotool... " >&6; }
6090 icotool_version=`icotool --version | head -n1`
6091 if test "x$icotool_version" != "x"
6092 then
6093 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6094 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6095 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6096 then
6097 ICOTOOL=false
6098 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6101 if test "$ICOTOOL" = false
6102 then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6104 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6105 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6106 else
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6108 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6112 with_gettext=yes
6113 with_gettextpo=yes
6114 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6117 test "x$with_gettext" != xno || MSGFMT=false
6118 if test "$MSGFMT" != "false"
6119 then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6121 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6122 cat >conftest.po <<EOF
6123 # comment
6124 msgctxt "ctxt"
6125 msgid "id"
6126 msgstr "str"
6128 if $MSGFMT -o /dev/null conftest.po 2>&5
6129 then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6131 $as_echo "yes" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6135 MSGFMT=false
6138 if test "$MSGFMT" = false; then :
6139 case "x$with_gettext" in
6140 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6141 xno) ;;
6142 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6143 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6144 esac
6145 enable_po=${enable_po:-no}
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6150 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6151 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 ac_check_lib_save_LIBS=$LIBS
6155 LIBS="-li386 $LIBS"
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6159 /* Override any GCC internal prototype to avoid an error.
6160 Use char because int might match the return type of a GCC
6161 builtin and then its argument prototype would still apply. */
6162 #ifdef __cplusplus
6163 extern "C"
6164 #endif
6165 char i386_set_ldt ();
6167 main ()
6169 return i386_set_ldt ();
6171 return 0;
6173 _ACEOF
6174 if ac_fn_c_try_link "$LINENO"; then :
6175 ac_cv_lib_i386_i386_set_ldt=yes
6176 else
6177 ac_cv_lib_i386_i386_set_ldt=no
6179 rm -f core conftest.err conftest.$ac_objext \
6180 conftest$ac_exeext conftest.$ac_ext
6181 LIBS=$ac_check_lib_save_LIBS
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6184 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6185 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6186 cat >>confdefs.h <<_ACEOF
6187 #define HAVE_LIBI386 1
6188 _ACEOF
6190 LIBS="-li386 $LIBS"
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6195 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6196 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 ac_check_lib_save_LIBS=$LIBS
6200 LIBS="-lossaudio $LIBS"
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6204 /* Override any GCC internal prototype to avoid an error.
6205 Use char because int might match the return type of a GCC
6206 builtin and then its argument prototype would still apply. */
6207 #ifdef __cplusplus
6208 extern "C"
6209 #endif
6210 char _oss_ioctl ();
6212 main ()
6214 return _oss_ioctl ();
6216 return 0;
6218 _ACEOF
6219 if ac_fn_c_try_link "$LINENO"; then :
6220 ac_cv_lib_ossaudio__oss_ioctl=yes
6221 else
6222 ac_cv_lib_ossaudio__oss_ioctl=no
6224 rm -f core conftest.err conftest.$ac_objext \
6225 conftest$ac_exeext conftest.$ac_ext
6226 LIBS=$ac_check_lib_save_LIBS
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6229 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6230 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6231 cat >>confdefs.h <<_ACEOF
6232 #define HAVE_LIBOSSAUDIO 1
6233 _ACEOF
6235 LIBS="-lossaudio $LIBS"
6240 OPENGL_LIBS=""
6244 # Check whether --enable-largefile was given.
6245 if test "${enable_largefile+set}" = set; then :
6246 enableval=$enable_largefile;
6249 if test "$enable_largefile" != no; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6252 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6253 if ${ac_cv_sys_largefile_CC+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 ac_cv_sys_largefile_CC=no
6257 if test "$GCC" != yes; then
6258 ac_save_CC=$CC
6259 while :; do
6260 # IRIX 6.2 and later do not support large files by default,
6261 # so use the C compiler's -n32 option if that helps.
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6264 #include <sys/types.h>
6265 /* Check that off_t can represent 2**63 - 1 correctly.
6266 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6267 since some C++ compilers masquerading as C compilers
6268 incorrectly reject 9223372036854775807. */
6269 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6270 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6271 && LARGE_OFF_T % 2147483647 == 1)
6272 ? 1 : -1];
6274 main ()
6278 return 0;
6280 _ACEOF
6281 if ac_fn_c_try_compile "$LINENO"; then :
6282 break
6284 rm -f core conftest.err conftest.$ac_objext
6285 CC="$CC -n32"
6286 if ac_fn_c_try_compile "$LINENO"; then :
6287 ac_cv_sys_largefile_CC=' -n32'; break
6289 rm -f core conftest.err conftest.$ac_objext
6290 break
6291 done
6292 CC=$ac_save_CC
6293 rm -f conftest.$ac_ext
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6297 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6298 if test "$ac_cv_sys_largefile_CC" != no; then
6299 CC=$CC$ac_cv_sys_largefile_CC
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6303 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6304 if ${ac_cv_sys_file_offset_bits+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 while :; do
6308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6310 #include <sys/types.h>
6311 /* Check that off_t can represent 2**63 - 1 correctly.
6312 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6313 since some C++ compilers masquerading as C compilers
6314 incorrectly reject 9223372036854775807. */
6315 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6316 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6317 && LARGE_OFF_T % 2147483647 == 1)
6318 ? 1 : -1];
6320 main ()
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_compile "$LINENO"; then :
6328 ac_cv_sys_file_offset_bits=no; break
6330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6333 #define _FILE_OFFSET_BITS 64
6334 #include <sys/types.h>
6335 /* Check that off_t can represent 2**63 - 1 correctly.
6336 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6337 since some C++ compilers masquerading as C compilers
6338 incorrectly reject 9223372036854775807. */
6339 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6340 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6341 && LARGE_OFF_T % 2147483647 == 1)
6342 ? 1 : -1];
6344 main ()
6348 return 0;
6350 _ACEOF
6351 if ac_fn_c_try_compile "$LINENO"; then :
6352 ac_cv_sys_file_offset_bits=64; break
6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6355 ac_cv_sys_file_offset_bits=unknown
6356 break
6357 done
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6360 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6361 case $ac_cv_sys_file_offset_bits in #(
6362 no | unknown) ;;
6364 cat >>confdefs.h <<_ACEOF
6365 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6366 _ACEOF
6368 esac
6369 rm -rf conftest*
6370 if test $ac_cv_sys_file_offset_bits = unknown; then
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6372 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6373 if ${ac_cv_sys_large_files+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 while :; do
6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #include <sys/types.h>
6380 /* Check that off_t can represent 2**63 - 1 correctly.
6381 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6382 since some C++ compilers masquerading as C compilers
6383 incorrectly reject 9223372036854775807. */
6384 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6385 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6386 && LARGE_OFF_T % 2147483647 == 1)
6387 ? 1 : -1];
6389 main ()
6393 return 0;
6395 _ACEOF
6396 if ac_fn_c_try_compile "$LINENO"; then :
6397 ac_cv_sys_large_files=no; break
6399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401 /* end confdefs.h. */
6402 #define _LARGE_FILES 1
6403 #include <sys/types.h>
6404 /* Check that off_t can represent 2**63 - 1 correctly.
6405 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6406 since some C++ compilers masquerading as C compilers
6407 incorrectly reject 9223372036854775807. */
6408 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6409 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6410 && LARGE_OFF_T % 2147483647 == 1)
6411 ? 1 : -1];
6413 main ()
6417 return 0;
6419 _ACEOF
6420 if ac_fn_c_try_compile "$LINENO"; then :
6421 ac_cv_sys_large_files=1; break
6423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6424 ac_cv_sys_large_files=unknown
6425 break
6426 done
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6429 $as_echo "$ac_cv_sys_large_files" >&6; }
6430 case $ac_cv_sys_large_files in #(
6431 no | unknown) ;;
6433 cat >>confdefs.h <<_ACEOF
6434 #define _LARGE_FILES $ac_cv_sys_large_files
6435 _ACEOF
6437 esac
6438 rm -rf conftest*
6445 ac_ext=c
6446 ac_cpp='$CPP $CPPFLAGS'
6447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6451 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6452 # On Suns, sometimes $CPP names a directory.
6453 if test -n "$CPP" && test -d "$CPP"; then
6454 CPP=
6456 if test -z "$CPP"; then
6457 if ${ac_cv_prog_CPP+:} false; then :
6458 $as_echo_n "(cached) " >&6
6459 else
6460 # Double quotes because CPP needs to be expanded
6461 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6463 ac_preproc_ok=false
6464 for ac_c_preproc_warn_flag in '' yes
6466 # Use a header file that comes with gcc, so configuring glibc
6467 # with a fresh cross-compiler works.
6468 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6469 # <limits.h> exists even on freestanding compilers.
6470 # On the NeXT, cc -E runs the code through the compiler's parser,
6471 # not just through cpp. "Syntax error" is here to catch this case.
6472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6473 /* end confdefs.h. */
6474 #ifdef __STDC__
6475 # include <limits.h>
6476 #else
6477 # include <assert.h>
6478 #endif
6479 Syntax error
6480 _ACEOF
6481 if ac_fn_c_try_cpp "$LINENO"; then :
6483 else
6484 # Broken: fails on valid input.
6485 continue
6487 rm -f conftest.err conftest.i conftest.$ac_ext
6489 # OK, works on sane cases. Now check whether nonexistent headers
6490 # can be detected and how.
6491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 #include <ac_nonexistent.h>
6494 _ACEOF
6495 if ac_fn_c_try_cpp "$LINENO"; then :
6496 # Broken: success on invalid input.
6497 continue
6498 else
6499 # Passes both tests.
6500 ac_preproc_ok=:
6501 break
6503 rm -f conftest.err conftest.i conftest.$ac_ext
6505 done
6506 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6507 rm -f conftest.i conftest.err conftest.$ac_ext
6508 if $ac_preproc_ok; then :
6509 break
6512 done
6513 ac_cv_prog_CPP=$CPP
6516 CPP=$ac_cv_prog_CPP
6517 else
6518 ac_cv_prog_CPP=$CPP
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6521 $as_echo "$CPP" >&6; }
6522 ac_preproc_ok=false
6523 for ac_c_preproc_warn_flag in '' yes
6525 # Use a header file that comes with gcc, so configuring glibc
6526 # with a fresh cross-compiler works.
6527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6528 # <limits.h> exists even on freestanding compilers.
6529 # On the NeXT, cc -E runs the code through the compiler's parser,
6530 # not just through cpp. "Syntax error" is here to catch this case.
6531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532 /* end confdefs.h. */
6533 #ifdef __STDC__
6534 # include <limits.h>
6535 #else
6536 # include <assert.h>
6537 #endif
6538 Syntax error
6539 _ACEOF
6540 if ac_fn_c_try_cpp "$LINENO"; then :
6542 else
6543 # Broken: fails on valid input.
6544 continue
6546 rm -f conftest.err conftest.i conftest.$ac_ext
6548 # OK, works on sane cases. Now check whether nonexistent headers
6549 # can be detected and how.
6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6551 /* end confdefs.h. */
6552 #include <ac_nonexistent.h>
6553 _ACEOF
6554 if ac_fn_c_try_cpp "$LINENO"; then :
6555 # Broken: success on invalid input.
6556 continue
6557 else
6558 # Passes both tests.
6559 ac_preproc_ok=:
6560 break
6562 rm -f conftest.err conftest.i conftest.$ac_ext
6564 done
6565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6566 rm -f conftest.i conftest.err conftest.$ac_ext
6567 if $ac_preproc_ok; then :
6569 else
6570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6572 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6573 See \`config.log' for more details" "$LINENO" 5; }
6576 ac_ext=c
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6584 $as_echo_n "checking for ANSI C header files... " >&6; }
6585 if ${ac_cv_header_stdc+:} false; then :
6586 $as_echo_n "(cached) " >&6
6587 else
6588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6589 /* end confdefs.h. */
6590 #include <stdlib.h>
6591 #include <stdarg.h>
6592 #include <string.h>
6593 #include <float.h>
6596 main ()
6600 return 0;
6602 _ACEOF
6603 if ac_fn_c_try_compile "$LINENO"; then :
6604 ac_cv_header_stdc=yes
6605 else
6606 ac_cv_header_stdc=no
6608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6610 if test $ac_cv_header_stdc = yes; then
6611 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <string.h>
6616 _ACEOF
6617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6618 $EGREP "memchr" >/dev/null 2>&1; then :
6620 else
6621 ac_cv_header_stdc=no
6623 rm -f conftest*
6627 if test $ac_cv_header_stdc = yes; then
6628 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <stdlib.h>
6633 _ACEOF
6634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6635 $EGREP "free" >/dev/null 2>&1; then :
6637 else
6638 ac_cv_header_stdc=no
6640 rm -f conftest*
6644 if test $ac_cv_header_stdc = yes; then
6645 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6646 if test "$cross_compiling" = yes; then :
6648 else
6649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6650 /* end confdefs.h. */
6651 #include <ctype.h>
6652 #include <stdlib.h>
6653 #if ((' ' & 0x0FF) == 0x020)
6654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6656 #else
6657 # define ISLOWER(c) \
6658 (('a' <= (c) && (c) <= 'i') \
6659 || ('j' <= (c) && (c) <= 'r') \
6660 || ('s' <= (c) && (c) <= 'z'))
6661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6662 #endif
6664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6666 main ()
6668 int i;
6669 for (i = 0; i < 256; i++)
6670 if (XOR (islower (i), ISLOWER (i))
6671 || toupper (i) != TOUPPER (i))
6672 return 2;
6673 return 0;
6675 _ACEOF
6676 if ac_fn_c_try_run "$LINENO"; then :
6678 else
6679 ac_cv_header_stdc=no
6681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6682 conftest.$ac_objext conftest.beam conftest.$ac_ext
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6688 $as_echo "$ac_cv_header_stdc" >&6; }
6689 if test $ac_cv_header_stdc = yes; then
6691 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6695 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6696 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6697 inttypes.h stdint.h unistd.h
6698 do :
6699 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6700 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6703 cat >>confdefs.h <<_ACEOF
6704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 _ACEOF
6709 done
6712 for ac_header in \
6713 AL/al.h \
6714 ApplicationServices/ApplicationServices.h \
6715 AudioToolbox/AudioConverter.h \
6716 AudioUnit/AudioUnit.h \
6717 AudioUnit/AudioComponent.h \
6718 CL/cl.h \
6719 Carbon/Carbon.h \
6720 CommonCrypto/CommonDigest.h \
6721 CoreAudio/CoreAudio.h \
6722 CoreServices/CoreServices.h \
6723 DiskArbitration/DiskArbitration.h \
6724 IOKit/IOKitLib.h \
6725 IOKit/hid/IOHIDLib.h \
6726 OpenAL/al.h \
6727 OpenCL/opencl.h \
6728 QuickTime/ImageCompression.h \
6729 Security/Security.h \
6730 alias.h \
6731 alsa/asoundlib.h \
6732 arpa/inet.h \
6733 arpa/nameser.h \
6734 asm/types.h \
6735 asm/user.h \
6736 curses.h \
6737 direct.h \
6738 dirent.h \
6739 dlfcn.h \
6740 elf.h \
6741 float.h \
6742 fnmatch.h \
6743 getopt.h \
6744 gettext-po.h \
6745 grp.h \
6746 gsm.h \
6747 gsm/gsm.h \
6748 ieeefp.h \
6749 inet/mib2.h \
6750 io.h \
6751 kstat.h \
6752 lber.h \
6753 ldap.h \
6754 libproc.h \
6755 link.h \
6756 linux/cdrom.h \
6757 linux/compiler.h \
6758 linux/filter.h \
6759 linux/hdreg.h \
6760 linux/input.h \
6761 linux/ioctl.h \
6762 linux/joystick.h \
6763 linux/major.h \
6764 linux/param.h \
6765 linux/serial.h \
6766 linux/types.h \
6767 linux/ucdrom.h \
6768 lwp.h \
6769 mach-o/nlist.h \
6770 mach-o/loader.h \
6771 mach/mach.h \
6772 mach/machine.h \
6773 machine/cpu.h \
6774 machine/limits.h \
6775 machine/sysarch.h \
6776 mntent.h \
6777 ncurses.h \
6778 netdb.h \
6779 netinet/in.h \
6780 netinet/in_systm.h \
6781 netinet/tcp.h \
6782 netinet/tcp_fsm.h \
6783 pcap/pcap.h \
6784 poll.h \
6785 port.h \
6786 process.h \
6787 pthread.h \
6788 pwd.h \
6789 sched.h \
6790 scsi/scsi.h \
6791 scsi/scsi_ioctl.h \
6792 scsi/sg.h \
6793 stdbool.h \
6794 stdint.h \
6795 stropts.h \
6796 sys/asoundlib.h \
6797 sys/attr.h \
6798 sys/cdio.h \
6799 sys/elf32.h \
6800 sys/epoll.h \
6801 sys/event.h \
6802 sys/exec_elf.h \
6803 sys/filio.h \
6804 sys/inotify.h \
6805 sys/ioctl.h \
6806 sys/ipc.h \
6807 sys/limits.h \
6808 sys/link.h \
6809 sys/mman.h \
6810 sys/modem.h \
6811 sys/msg.h \
6812 sys/mtio.h \
6813 sys/param.h \
6814 sys/poll.h \
6815 sys/prctl.h \
6816 sys/protosw.h \
6817 sys/ptrace.h \
6818 sys/queue.h \
6819 sys/resource.h \
6820 sys/scsiio.h \
6821 sys/shm.h \
6822 sys/signal.h \
6823 sys/socket.h \
6824 sys/socketvar.h \
6825 sys/sockio.h \
6826 sys/statvfs.h \
6827 sys/strtio.h \
6828 sys/syscall.h \
6829 sys/sysinfo.h \
6830 sys/tihdr.h \
6831 sys/time.h \
6832 sys/timeout.h \
6833 sys/times.h \
6834 sys/uio.h \
6835 sys/user.h \
6836 sys/utsname.h \
6837 sys/vm86.h \
6838 sys/vnode.h \
6839 sys/wait.h \
6840 syscall.h \
6841 termios.h \
6842 unistd.h \
6843 utime.h \
6844 valgrind/memcheck.h \
6845 valgrind/valgrind.h \
6846 zlib.h
6848 do :
6849 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6850 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6851 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6852 cat >>confdefs.h <<_ACEOF
6853 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6854 _ACEOF
6858 done
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6861 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6862 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6863 $as_echo_n "(cached) " >&6
6864 else
6865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6866 /* end confdefs.h. */
6867 #include <sys/types.h>
6869 main ()
6871 return makedev(0, 0);
6873 return 0;
6875 _ACEOF
6876 if ac_fn_c_try_link "$LINENO"; then :
6877 ac_cv_header_sys_types_h_makedev=yes
6878 else
6879 ac_cv_header_sys_types_h_makedev=no
6881 rm -f core conftest.err conftest.$ac_objext \
6882 conftest$ac_exeext conftest.$ac_ext
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6886 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6888 if test $ac_cv_header_sys_types_h_makedev = no; then
6889 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6890 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6892 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6898 if test $ac_cv_header_sys_mkdev_h = no; then
6899 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6900 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6902 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6911 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6912 if ${ac_cv_header_stat_broken+:} false; then :
6913 $as_echo_n "(cached) " >&6
6914 else
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <sys/types.h>
6918 #include <sys/stat.h>
6920 #if defined S_ISBLK && defined S_IFDIR
6921 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6922 #endif
6924 #if defined S_ISBLK && defined S_IFCHR
6925 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6926 #endif
6928 #if defined S_ISLNK && defined S_IFREG
6929 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6930 #endif
6932 #if defined S_ISSOCK && defined S_IFREG
6933 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6934 #endif
6936 _ACEOF
6937 if ac_fn_c_try_compile "$LINENO"; then :
6938 ac_cv_header_stat_broken=no
6939 else
6940 ac_cv_header_stat_broken=yes
6942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6945 $as_echo "$ac_cv_header_stat_broken" >&6; }
6946 if test $ac_cv_header_stat_broken = yes; then
6948 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6954 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6955 do :
6956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6957 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6958 #ifdef HAVE_SYS_PARAM_H
6959 # include <sys/param.h>
6960 #endif
6962 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6963 cat >>confdefs.h <<_ACEOF
6964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6965 _ACEOF
6969 done
6972 for ac_header in \
6973 netinet/ip.h \
6974 net/if.h \
6975 net/if_arp.h \
6976 net/if_dl.h \
6977 net/if_types.h \
6978 net/route.h \
6979 netinet/if_ether.h \
6980 netinet/if_inarp.h \
6981 netinet/in_pcb.h \
6982 netinet/ip_icmp.h \
6983 netinet/ip_var.h \
6984 netinet/udp.h \
6985 netipx/ipx.h \
6986 sys/un.h \
6988 do :
6989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6990 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6991 #ifdef HAVE_SYS_SOCKET_H
6992 # include <sys/socket.h>
6993 #endif
6994 #ifdef HAVE_SYS_SOCKETVAR_H
6995 # include <sys/socketvar.h>
6996 #endif
6997 #ifdef HAVE_NET_ROUTE_H
6998 # include <net/route.h>
6999 #endif
7000 #ifdef HAVE_NETINET_IN_H
7001 # include <netinet/in.h>
7002 #endif
7003 #ifdef HAVE_NETINET_IN_SYSTM_H
7004 # include <netinet/in_systm.h>
7005 #endif
7006 #ifdef HAVE_NET_IF_H
7007 # include <net/if.h>
7008 #endif
7009 #ifdef HAVE_NETINET_IP_H
7010 # include <netinet/ip.h>
7011 #endif
7013 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7014 cat >>confdefs.h <<_ACEOF
7015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7016 _ACEOF
7020 done
7023 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7024 do :
7025 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7026 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7027 #ifdef HAVE_ALIAS_H
7028 # include <alias.h>
7029 #endif
7030 #ifdef HAVE_SYS_SOCKET_H
7031 # include <sys/socket.h>
7032 #endif
7033 #ifdef HAVE_SYS_SOCKETVAR_H
7034 # include <sys/socketvar.h>
7035 #endif
7036 #ifdef HAVE_SYS_TIMEOUT_H
7037 # include <sys/timeout.h>
7038 #endif
7039 #ifdef HAVE_NETINET_IN_H
7040 # include <netinet/in.h>
7041 #endif
7042 #ifdef HAVE_NETINET_IN_SYSTM_H
7043 # include <netinet/in_systm.h>
7044 #endif
7045 #ifdef HAVE_NETINET_IP_H
7046 # include <netinet/ip.h>
7047 #endif
7048 #ifdef HAVE_NETINET_IP_VAR_H
7049 # include <netinet/ip_var.h>
7050 #endif
7051 #ifdef HAVE_NETINET_IP_ICMP_H
7052 # include <netinet/ip_icmp.h>
7053 #endif
7054 #ifdef HAVE_NETINET_UDP_H
7055 # include <netinet/udp.h>
7056 #endif
7057 #ifdef HAVE_NETINET_TCP_H
7058 # include <netinet/tcp.h>
7059 #endif
7060 #ifdef HAVE_NETINET_TCP_TIMER_H
7061 #include <netinet/tcp_timer.h>
7062 #endif
7064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7065 cat >>confdefs.h <<_ACEOF
7066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7067 _ACEOF
7071 done
7074 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7075 do :
7076 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7077 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7078 #ifdef HAVE_ASM_TYPES_H
7079 # include <asm/types.h>
7080 #endif
7081 #ifdef HAVE_SYS_SOCKET_H
7082 # include <sys/socket.h>
7083 #endif
7084 #ifdef HAVE_LINUX_TYPES_H
7085 # include <linux/types.h>
7086 #endif
7088 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7091 _ACEOF
7095 done
7098 for ac_header in mach-o/dyld_images.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7101 # include <stdbool.h>
7102 #endif
7103 #ifdef HAVE_STDINT_H
7104 # include <stdint.h>
7105 #endif
7107 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7108 cat >>confdefs.h <<_ACEOF
7109 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7110 _ACEOF
7114 done
7117 for ac_header in resolv.h
7118 do :
7119 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7120 #ifdef HAVE_SYS_SOCKET_H
7121 # include <sys/socket.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IN_H
7124 # include <netinet/in.h>
7125 #endif
7126 #ifdef HAVE_ARPA_NAMESER_H
7127 # include <arpa/nameser.h>
7128 #endif
7130 if test "x$ac_cv_header_resolv_h" = xyes; then :
7131 cat >>confdefs.h <<_ACEOF
7132 #define HAVE_RESOLV_H 1
7133 _ACEOF
7137 done
7140 for ac_header in ifaddrs.h
7141 do :
7142 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7144 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7145 cat >>confdefs.h <<_ACEOF
7146 #define HAVE_IFADDRS_H 1
7147 _ACEOF
7151 done
7154 for ac_header in sys/ucontext.h
7155 do :
7156 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7158 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7159 cat >>confdefs.h <<_ACEOF
7160 #define HAVE_SYS_UCONTEXT_H 1
7161 _ACEOF
7165 done
7168 for ac_header in sys/thr.h
7169 do :
7170 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7171 #ifdef HAVE_SYS_UCONTEXT_H
7172 #include <sys/ucontext.h>
7173 #endif
7175 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7176 cat >>confdefs.h <<_ACEOF
7177 #define HAVE_SYS_THR_H 1
7178 _ACEOF
7182 done
7185 for ac_header in pthread_np.h
7186 do :
7187 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7188 #include <pthread.h>
7189 #endif
7191 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7192 cat >>confdefs.h <<_ACEOF
7193 #define HAVE_PTHREAD_NP_H 1
7194 _ACEOF
7198 done
7201 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7202 do :
7203 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7204 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7205 #include <sys/time.h>
7206 #endif
7207 #include <sys/types.h>
7208 #ifdef HAVE_ASM_TYPES_H
7209 #include <asm/types.h>
7210 #endif
7212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215 _ACEOF
7219 done
7222 for ac_header in libprocstat.h
7223 do :
7224 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7225 #include <sys/param.h>
7226 #endif
7227 #ifdef HAVE_SYS_QUEUE_H
7228 #include <sys/queue.h>
7229 #endif
7230 #ifdef HAVE_SYS_SOCKET_H
7231 #include <sys/socket.h>
7232 #endif
7234 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7235 cat >>confdefs.h <<_ACEOF
7236 #define HAVE_LIBPROCSTAT_H 1
7237 _ACEOF
7241 done
7245 dlldir="\${libdir}/wine"
7247 DLLFLAGS="-D_REENTRANT"
7249 LDRPATH_INSTALL=""
7251 LDRPATH_LOCAL=""
7253 LDEXECFLAGS=""
7255 LIBEXT="so"
7256 DLLEXT=".so"
7257 IMPLIBEXT="def"
7258 # Extract the first word of "ldd", so it can be a program name with args.
7259 set dummy ldd; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_path_LDD+:} false; then :
7263 $as_echo_n "(cached) " >&6
7264 else
7265 case $LDD in
7266 [\\/]* | ?:[\\/]*)
7267 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 as_dummy="/sbin:/usr/sbin:$PATH"
7272 for as_dir in $as_dummy
7274 IFS=$as_save_IFS
7275 test -z "$as_dir" && as_dir=.
7276 for ac_exec_ext in '' $ac_executable_extensions; do
7277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7278 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7280 break 2
7282 done
7283 done
7284 IFS=$as_save_IFS
7286 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7288 esac
7290 LDD=$ac_cv_path_LDD
7291 if test -n "$LDD"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7293 $as_echo "$LDD" >&6; }
7294 else
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7300 if test -n "$ac_tool_prefix"; then
7301 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7302 set dummy ${ac_tool_prefix}otool; ac_word=$2
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7304 $as_echo_n "checking for $ac_word... " >&6; }
7305 if ${ac_cv_prog_OTOOL+:} false; then :
7306 $as_echo_n "(cached) " >&6
7307 else
7308 if test -n "$OTOOL"; then
7309 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7310 else
7311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7312 for as_dir in $PATH
7314 IFS=$as_save_IFS
7315 test -z "$as_dir" && as_dir=.
7316 for ac_exec_ext in '' $ac_executable_extensions; do
7317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7318 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7320 break 2
7322 done
7323 done
7324 IFS=$as_save_IFS
7328 OTOOL=$ac_cv_prog_OTOOL
7329 if test -n "$OTOOL"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7331 $as_echo "$OTOOL" >&6; }
7332 else
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7339 if test -z "$ac_cv_prog_OTOOL"; then
7340 ac_ct_OTOOL=$OTOOL
7341 # Extract the first word of "otool", so it can be a program name with args.
7342 set dummy otool; ac_word=$2
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7344 $as_echo_n "checking for $ac_word... " >&6; }
7345 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7346 $as_echo_n "(cached) " >&6
7347 else
7348 if test -n "$ac_ct_OTOOL"; then
7349 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7350 else
7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7352 for as_dir in $PATH
7354 IFS=$as_save_IFS
7355 test -z "$as_dir" && as_dir=.
7356 for ac_exec_ext in '' $ac_executable_extensions; do
7357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7358 ac_cv_prog_ac_ct_OTOOL="otool"
7359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360 break 2
7362 done
7363 done
7364 IFS=$as_save_IFS
7368 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7369 if test -n "$ac_ct_OTOOL"; then
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7371 $as_echo "$ac_ct_OTOOL" >&6; }
7372 else
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7374 $as_echo "no" >&6; }
7377 if test "x$ac_ct_OTOOL" = x; then
7378 OTOOL="otool"
7379 else
7380 case $cross_compiling:$ac_tool_warned in
7381 yes:)
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7384 ac_tool_warned=yes ;;
7385 esac
7386 OTOOL=$ac_ct_OTOOL
7388 else
7389 OTOOL="$ac_cv_prog_OTOOL"
7392 if test -n "$ac_tool_prefix"; then
7393 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7394 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 $as_echo_n "checking for $ac_word... " >&6; }
7397 if ${ac_cv_prog_READELF+:} false; then :
7398 $as_echo_n "(cached) " >&6
7399 else
7400 if test -n "$READELF"; then
7401 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7402 else
7403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7404 for as_dir in $PATH
7406 IFS=$as_save_IFS
7407 test -z "$as_dir" && as_dir=.
7408 for ac_exec_ext in '' $ac_executable_extensions; do
7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7410 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7412 break 2
7414 done
7415 done
7416 IFS=$as_save_IFS
7420 READELF=$ac_cv_prog_READELF
7421 if test -n "$READELF"; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7423 $as_echo "$READELF" >&6; }
7424 else
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7426 $as_echo "no" >&6; }
7431 if test -z "$ac_cv_prog_READELF"; then
7432 ac_ct_READELF=$READELF
7433 # Extract the first word of "readelf", so it can be a program name with args.
7434 set dummy readelf; ac_word=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7438 $as_echo_n "(cached) " >&6
7439 else
7440 if test -n "$ac_ct_READELF"; then
7441 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7442 else
7443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7444 for as_dir in $PATH
7446 IFS=$as_save_IFS
7447 test -z "$as_dir" && as_dir=.
7448 for ac_exec_ext in '' $ac_executable_extensions; do
7449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_ac_ct_READELF="readelf"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 break 2
7454 done
7455 done
7456 IFS=$as_save_IFS
7460 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7461 if test -n "$ac_ct_READELF"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7463 $as_echo "$ac_ct_READELF" >&6; }
7464 else
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7469 if test "x$ac_ct_READELF" = x; then
7470 READELF="true"
7471 else
7472 case $cross_compiling:$ac_tool_warned in
7473 yes:)
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7476 ac_tool_warned=yes ;;
7477 esac
7478 READELF=$ac_ct_READELF
7480 else
7481 READELF="$ac_cv_prog_READELF"
7484 wine_rules_file=conf$$rules.make
7485 rm -f $wine_rules_file
7486 SUBDIRS=""
7488 DISABLED_SUBDIRS=""
7490 CONFIGURE_TARGETS=""
7492 ALL_TEST_RESOURCES=""
7495 wine_fn_append_file ()
7497 as_fn_append $1 " \\$as_nl $2"
7500 wine_fn_append_rule ()
7502 $as_echo "$1" >>$wine_rules_file
7505 wine_fn_has_flag ()
7507 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7510 wine_fn_all_rules ()
7512 wine_fn_append_file SUBDIRS $ac_dir
7513 wine_fn_append_rule \
7514 "all: $ac_dir
7515 .PHONY: $ac_dir
7516 $ac_dir: dummy
7517 @cd $ac_dir && \$(MAKE)"
7520 wine_fn_install_rules ()
7522 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7524 wine_fn_append_rule \
7525 ".PHONY: $ac_dir/install $ac_dir/uninstall
7526 $ac_dir/install:: $ac_dir
7527 @cd $ac_dir && \$(MAKE) install
7528 $ac_dir/uninstall::
7529 @cd $ac_dir && \$(MAKE) uninstall
7530 install:: $ac_dir/install
7531 __uninstall__: $ac_dir/uninstall"
7533 if wine_fn_has_flag install-lib
7534 then
7535 wine_fn_append_rule \
7536 ".PHONY: $ac_dir/install-lib
7537 $ac_dir/install-lib:: $ac_dir
7538 @cd $ac_dir && \$(MAKE) install-lib
7539 install-lib:: $ac_dir/install-lib"
7542 if wine_fn_has_flag install-dev
7543 then
7544 wine_fn_append_rule \
7545 ".PHONY: $ac_dir/install-dev
7546 $ac_dir/install-dev:: $ac_dir
7547 @cd $ac_dir && \$(MAKE) install-dev
7548 install-dev:: $ac_dir/install-dev"
7552 wine_fn_clean_rules ()
7554 ac_clean=$@
7556 if wine_fn_has_flag clean
7557 then
7558 wine_fn_append_rule \
7559 "$ac_dir/clean: dummy
7560 @cd $ac_dir && \$(MAKE) clean"
7561 else
7562 wine_fn_append_rule \
7563 "$ac_dir/clean: dummy
7564 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7566 wine_fn_append_rule \
7567 "__clean__: $ac_dir/clean
7568 .PHONY: $ac_dir/clean"
7571 wine_fn_disabled_rules ()
7573 ac_clean=$@
7575 wine_fn_append_file SUBDIRS $ac_dir
7576 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7577 wine_fn_append_rule \
7578 "__clean__: $ac_dir/clean
7579 .PHONY: $ac_dir/clean
7580 $ac_dir/clean: dummy
7581 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7584 wine_fn_config_makefile ()
7586 ac_dir=$1
7587 ac_enable=$2
7588 ac_flags=$3
7590 case $ac_dir in
7591 fonts|server) test -z "$with_wine64" || return ;;
7592 esac
7593 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7594 wine_fn_disabled_rules; return
7596 wine_fn_all_rules
7597 wine_fn_install_rules
7598 wine_fn_clean_rules
7601 wine_fn_config_lib ()
7603 ac_name=$1
7604 ac_flags=$2
7605 ac_dir=dlls/$ac_name
7606 ac_deps="include"
7608 if test "x$enable_tools" = xno; then :
7610 else
7611 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7613 wine_fn_all_rules
7614 wine_fn_clean_rules
7616 wine_fn_append_rule \
7617 ".PHONY: $ac_dir/install $ac_dir/uninstall
7618 $ac_dir/install:: $ac_dir
7619 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7620 $ac_dir/uninstall::
7621 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7622 install install-dev:: $ac_dir/install
7623 __uninstall__: $ac_dir/uninstall
7624 __builddeps__: $ac_dir
7625 $ac_dir: $ac_deps"
7628 wine_fn_config_dll ()
7630 ac_name=$1
7631 ac_dir=dlls/$ac_name
7632 ac_enable=$2
7633 ac_flags=$3
7634 ac_implib=${4:-$ac_name}
7635 ac_file=$ac_dir/lib$ac_implib
7636 ac_dll=$ac_name
7637 ac_deps="include"
7638 ac_implibflags=""
7640 if test "x$enable_tools" = xno; then :
7642 else
7643 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7645 case $ac_name in
7646 *16) ac_implibflags=" -m16" ;;
7647 *.*) ;;
7648 *) ac_dll=$ac_dll.dll ;;
7649 esac
7651 ac_clean=
7652 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7653 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7655 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7656 if test "$ac_enable" != enable_win16
7657 then
7658 wine_fn_clean_rules $ac_clean
7659 wine_fn_append_file SUBDIRS $ac_dir
7660 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7661 else
7662 wine_fn_disabled_rules $ac_clean
7663 return
7665 else
7666 wine_fn_all_rules
7667 wine_fn_clean_rules $ac_clean
7668 wine_fn_append_rule \
7669 "$ac_dir: __builddeps__
7670 manpages htmlpages sgmlpages xmlpages::
7671 @cd $ac_dir && \$(MAKE) \$@
7672 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7673 install install-lib:: $ac_dir/install-lib
7674 __uninstall__: $ac_dir/uninstall"
7675 if test -n "$DLLEXT"
7676 then
7677 wine_fn_append_rule \
7678 "$ac_dir/install-lib:: $ac_dir
7679 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7680 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7681 $ac_dir/uninstall::
7682 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7683 else
7684 wine_fn_append_rule \
7685 "$ac_dir/install-lib:: $ac_dir
7686 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7687 $ac_dir/uninstall::
7688 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7692 if wine_fn_has_flag staticimplib
7693 then
7694 wine_fn_append_rule \
7695 "__builddeps__: $ac_file.a
7696 $ac_file.a $ac_file.cross.a: $ac_deps
7697 $ac_file.a: dummy
7698 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7699 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7700 $ac_dir/install-dev:: $ac_file.a
7701 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7702 $ac_dir/uninstall::
7703 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7704 install install-dev:: $ac_dir/install-dev
7705 __uninstall__: $ac_dir/uninstall"
7707 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7708 then
7709 wine_fn_append_rule \
7710 "__builddeps__: $ac_file.cross.a
7711 $ac_file.cross.a: dummy
7712 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7715 elif wine_fn_has_flag implib
7716 then
7717 wine_fn_append_rule \
7718 "__builddeps__: $ac_file.$IMPLIBEXT
7719 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7720 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7721 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7722 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7723 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7724 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7725 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7726 $ac_dir/uninstall::
7727 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7728 install install-dev:: $ac_dir/install-dev
7729 __uninstall__: $ac_dir/uninstall"
7730 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7731 then
7732 wine_fn_append_rule \
7733 "__builddeps__: $ac_file.cross.a
7734 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7735 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7740 wine_fn_config_program ()
7742 ac_name=$1
7743 ac_dir=programs/$ac_name
7744 ac_enable=$2
7745 ac_flags=$3
7746 ac_program=$ac_name
7748 case $ac_name in
7749 *.*) ;;
7750 *) ac_program=$ac_program.exe ;;
7751 esac
7753 ac_clean=
7754 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7755 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7757 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7758 wine_fn_disabled_rules $ac_clean; return
7761 wine_fn_all_rules
7762 wine_fn_clean_rules $ac_clean
7763 wine_fn_append_rule "$ac_dir: __builddeps__"
7765 wine_fn_has_flag install || return
7766 wine_fn_append_rule \
7767 ".PHONY: $ac_dir/install $ac_dir/uninstall
7768 install install-lib:: $ac_dir/install
7769 __uninstall__: $ac_dir/uninstall"
7771 if test -n "$DLLEXT"
7772 then
7773 wine_fn_append_rule \
7774 "$ac_dir/install:: $ac_dir
7775 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7776 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7777 $ac_dir/uninstall::
7778 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7780 if test -z "$with_wine64" && wine_fn_has_flag installbin
7781 then
7782 wine_fn_append_rule \
7783 "$ac_dir/install:: __tooldeps__
7784 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7788 else
7789 wine_fn_append_rule \
7790 "$ac_dir/install:: $ac_dir
7791 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7792 $ac_dir/uninstall::
7793 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7796 if test -z "$with_wine64" && wine_fn_has_flag manpage
7797 then
7798 wine_fn_append_rule \
7799 "$ac_dir/install:: $ac_dir
7800 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7801 $ac_dir/uninstall::
7802 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7806 wine_fn_config_test ()
7808 ac_dir=$1
7809 ac_name=$2
7810 ac_flags=$3
7812 ac_clean=
7813 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7814 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7816 if test "x$enable_tests" = xno; then :
7817 wine_fn_disabled_rules $ac_clean; return
7820 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7821 wine_fn_all_rules
7822 wine_fn_clean_rules $ac_clean
7824 wine_fn_append_rule \
7825 "$ac_dir: __builddeps__
7826 programs/winetest: $ac_dir
7827 check test: $ac_dir/test
7828 .PHONY: $ac_dir/test
7829 $ac_dir/test: dummy
7830 @cd $ac_dir && \$(MAKE) test
7831 testclean::
7832 \$(RM) $ac_dir/*.ok"
7834 if test -n "$CROSSTARGET"
7835 then
7836 wine_fn_append_rule \
7837 "crosstest: $ac_dir/crosstest
7838 .PHONY: $ac_dir/crosstest
7839 $ac_dir/crosstest: __builddeps__ dummy
7840 @cd $ac_dir && \$(MAKE) crosstest"
7844 wine_fn_config_tool ()
7846 ac_dir=$1
7847 ac_flags=$2
7848 if test "x$enable_tools" = xno; then :
7849 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7852 wine_fn_all_rules
7853 wine_fn_install_rules
7854 wine_fn_clean_rules
7856 wine_fn_append_rule "__tooldeps__: $ac_dir"
7857 wine_fn_append_rule "$ac_dir: libs/port"
7858 case $ac_dir in
7859 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7860 esac
7863 wine_fn_config_symlink ()
7865 ac_linkdir=
7866 if test "x$1" = "x-d"
7867 then
7868 ac_linkdir=$2
7869 shift; shift
7871 ac_links=$@
7872 wine_fn_append_rule \
7873 "$ac_links:
7874 @./config.status \$@"
7875 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7876 test -n "$ac_linkdir" || return
7877 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7880 wine_binary="wine"
7881 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7882 WINELOADER_PROGRAMS="$wine_binary"
7884 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7886 case $host_os in
7887 cygwin*|mingw32*)
7888 if test -n "$ac_tool_prefix"; then
7889 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7890 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_prog_DLLTOOL+:} false; then :
7894 $as_echo_n "(cached) " >&6
7895 else
7896 if test -n "$DLLTOOL"; then
7897 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7898 else
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 for as_dir in $PATH
7902 IFS=$as_save_IFS
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 break 2
7910 done
7911 done
7912 IFS=$as_save_IFS
7916 DLLTOOL=$ac_cv_prog_DLLTOOL
7917 if test -n "$DLLTOOL"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7919 $as_echo "$DLLTOOL" >&6; }
7920 else
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7927 if test -z "$ac_cv_prog_DLLTOOL"; then
7928 ac_ct_DLLTOOL=$DLLTOOL
7929 # Extract the first word of "dlltool", so it can be a program name with args.
7930 set dummy dlltool; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7934 $as_echo_n "(cached) " >&6
7935 else
7936 if test -n "$ac_ct_DLLTOOL"; then
7937 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7938 else
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7940 for as_dir in $PATH
7942 IFS=$as_save_IFS
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 break 2
7950 done
7951 done
7952 IFS=$as_save_IFS
7956 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7957 if test -n "$ac_ct_DLLTOOL"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7959 $as_echo "$ac_ct_DLLTOOL" >&6; }
7960 else
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7965 if test "x$ac_ct_DLLTOOL" = x; then
7966 DLLTOOL="false"
7967 else
7968 case $cross_compiling:$ac_tool_warned in
7969 yes:)
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972 ac_tool_warned=yes ;;
7973 esac
7974 DLLTOOL=$ac_ct_DLLTOOL
7976 else
7977 DLLTOOL="$ac_cv_prog_DLLTOOL"
7980 LIBEXT="dll"
7981 DLLEXT=""
7982 IMPLIBEXT="a"
7983 enable_iphlpapi=${enable_iphlpapi:-no}
7984 enable_kernel32=${enable_kernel32:-no}
7985 enable_msvcrt=${enable_msvcrt:-no}
7986 enable_ntdll=${enable_ntdll:-no}
7987 enable_ws2_32=${enable_ws2_32:-no}
7988 enable_loader=${enable_loader:-no}
7989 enable_server=${enable_server:-no}
7990 with_x=${with_x:-no}
7991 with_pthread=${with_pthread:-no}
7993 crtlibs=""
7994 case $host_os in
7995 mingw32*)
7996 crtlibs="-lmsvcrt"
7997 SOCKET_LIBS="-lws2_32"
7999 esac
8001 LIBWINE_SHAREDLIB="libwine.dll"
8003 LIBWINE_IMPORTLIB="libwine.a"
8005 LIBWINE_INSTALL_LIB="libwine.dll"
8007 LIBWINE_INSTALL_DEV="libwine.a"
8009 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8011 LIBWINE_DEPENDS="wine.def"
8015 darwin*|macosx*)
8016 for ac_header in libunwind.h
8017 do :
8018 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8020 cat >>confdefs.h <<_ACEOF
8021 #define HAVE_LIBUNWIND_H 1
8022 _ACEOF
8026 done
8028 LIBEXT="dylib"
8029 DLLFLAGS="$DLLFLAGS -fPIC"
8030 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8031 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8032 COREFOUNDATION_LIBS="-framework CoreFoundation"
8034 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8036 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8038 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8040 CORESERVICES_LIBS="-framework CoreServices"
8042 APPKIT_LIBS="-framework AppKit"
8044 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8046 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8047 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8048 $as_echo_n "(cached) " >&6
8049 else
8050 ac_wine_try_cflags_saved=$CFLAGS
8051 CFLAGS="$CFLAGS -Wl,-no_pie"
8052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 /* end confdefs.h. */
8054 int main(int argc, char **argv) { return 0; }
8055 _ACEOF
8056 if ac_fn_c_try_link "$LINENO"; then :
8057 ac_cv_cflags__Wl__no_pie=yes
8058 else
8059 ac_cv_cflags__Wl__no_pie=no
8061 rm -f core conftest.err conftest.$ac_objext \
8062 conftest$ac_exeext conftest.$ac_ext
8063 CFLAGS=$ac_wine_try_cflags_saved
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8066 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8067 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8068 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8070 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8071 then
8072 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8075 if test "$ac_cv_header_Security_Security_h" = "yes"
8076 then
8077 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8079 ac_save_LIBS="$LIBS"
8080 LIBS="$LIBS $SECURITY_LIBS"
8081 for ac_func in SSLCopyPeerCertificates
8082 do :
8083 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8084 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8087 _ACEOF
8090 done
8092 LIBS="$ac_save_LIBS"
8093 with_gnutls=${with_gnutls:-no}
8095 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8096 then
8097 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8098 then
8099 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8101 else
8102 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8105 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8106 ac_save_LIBS="$LIBS"
8107 LIBS="$LIBS $COREAUDIO_LIBS"
8108 for ac_func in AUGraphAddNode
8109 do :
8110 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8111 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8112 cat >>confdefs.h <<_ACEOF
8113 #define HAVE_AUGRAPHADDNODE 1
8114 _ACEOF
8117 done
8119 LIBS="$ac_save_LIBS"
8121 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8122 then
8123 OPENAL_LIBS="-framework OpenAL"
8126 cat >>confdefs.h <<_ACEOF
8127 #define HAVE_OPENAL 1
8128 _ACEOF
8130 ac_cv_lib_openal=yes
8132 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8133 then
8134 OPENCL_LIBS="-framework OpenCL"
8136 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8138 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8139 then
8140 ac_save_LIBS="$LIBS"
8141 LIBS="$LIBS $IOKIT_LIBS"
8142 for ac_func in IOHIDManagerCreate
8143 do :
8144 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8145 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_IOHIDMANAGERCREATE 1
8148 _ACEOF
8151 done
8153 LIBS="$ac_save_LIBS"
8155 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8156 then
8157 ac_save_LIBS="$LIBS"
8158 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8160 $as_echo_n "checking for the QuickTime framework... " >&6; }
8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 #include <QuickTime/ImageCompression.h>
8165 main ()
8167 CodecManagerVersion(NULL);
8169 return 0;
8171 _ACEOF
8172 if ac_fn_c_try_link "$LINENO"; then :
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8174 $as_echo "yes" >&6; }
8175 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8177 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 ac_cv_header_QuickTime_ImageCompression_h=no
8183 rm -f core conftest.err conftest.$ac_objext \
8184 conftest$ac_exeext conftest.$ac_ext
8185 LIBS="$ac_save_LIBS"
8187 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8188 then
8189 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8191 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8192 then
8193 CARBON_LIBS="-framework Carbon"
8197 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8198 then
8199 ac_save_LIBS="$LIBS"
8200 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8201 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8202 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8203 enable_winemac_drv=${enable_winemac_drv:-yes}
8206 LIBS="$ac_save_LIBS"
8209 if test "x$enable_win16" = "xyes"
8210 then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8212 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8213 if test "$cross_compiling" = yes; then :
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8215 $as_echo "cross-compiling, assuming yes" >&6; }
8216 else
8217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8218 /* end confdefs.h. */
8219 asm(".text\n"
8220 "bad:\tnop;nop\n"
8221 "good:\tnop;nop\n\t"
8222 ".globl _testfunc\n"
8223 "_testfunc:\tcallw good");
8224 extern void testfunc();
8226 main ()
8228 unsigned short *p = (unsigned short *)testfunc;
8229 return p[0] != 0xe866 || p[1] != 0xfffa
8231 return 0;
8233 _ACEOF
8234 if ac_fn_c_try_run "$LINENO"; then :
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8236 $as_echo "yes" >&6; }
8237 else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8240 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
8242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8243 conftest.$ac_objext conftest.beam conftest.$ac_ext
8248 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8250 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8252 LIBWINE_INSTALL_DEV="libwine.dylib"
8254 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8256 WINELOADER_DEPENDS="wine_info.plist"
8260 linux-android*)
8261 DLLFLAGS="$DLLFLAGS -fPIC"
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8263 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8264 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8265 $as_echo_n "(cached) " >&6
8266 else
8267 ac_wine_try_cflags_saved=$CFLAGS
8268 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8270 /* end confdefs.h. */
8271 int main(int argc, char **argv) { return 0; }
8272 _ACEOF
8273 if ac_fn_c_try_link "$LINENO"; then :
8274 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8275 else
8276 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8278 rm -f core conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 CFLAGS=$ac_wine_try_cflags_saved
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8283 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8284 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8285 LDEXECFLAGS="-Wl,--export-dynamic"
8287 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8289 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8290 if eval \${$as_ac_var+:} false; then :
8291 $as_echo_n "(cached) " >&6
8292 else
8293 ac_wine_try_cflags_saved=$CFLAGS
8294 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8296 /* end confdefs.h. */
8297 int main(int argc, char **argv) { return 0; }
8298 _ACEOF
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 eval "$as_ac_var=yes"
8301 else
8302 eval "$as_ac_var=no"
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 CFLAGS=$ac_wine_try_cflags_saved
8308 eval ac_res=\$$as_ac_var
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8310 $as_echo "$ac_res" >&6; }
8311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8312 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8313 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8314 else
8315 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8317 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8318 if eval \${$as_ac_var+:} false; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 ac_wine_try_cflags_saved=$CFLAGS
8322 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 /* end confdefs.h. */
8325 int main(int argc, char **argv) { return 0; }
8326 _ACEOF
8327 if ac_fn_c_try_link "$LINENO"; then :
8328 eval "$as_ac_var=yes"
8329 else
8330 eval "$as_ac_var=no"
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 CFLAGS=$ac_wine_try_cflags_saved
8336 eval ac_res=\$$as_ac_var
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8338 $as_echo "$ac_res" >&6; }
8339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8340 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8341 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8346 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8347 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8348 $as_echo_n "(cached) " >&6
8349 else
8350 ac_wine_try_cflags_saved=$CFLAGS
8351 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8353 /* end confdefs.h. */
8354 int main(int argc, char **argv) { return 0; }
8355 _ACEOF
8356 if ac_fn_c_try_link "$LINENO"; then :
8357 ac_cv_cflags__Wl___enable_new_dtags=yes
8358 else
8359 ac_cv_cflags__Wl___enable_new_dtags=no
8361 rm -f core conftest.err conftest.$ac_objext \
8362 conftest$ac_exeext conftest.$ac_ext
8363 CFLAGS=$ac_wine_try_cflags_saved
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8366 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8367 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8368 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8371 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8372 if ${ac_cv_cflags__Wl__pie+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -Wl,-pie"
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 int main(int argc, char **argv) { return 0; }
8380 _ACEOF
8381 if ac_fn_c_try_link "$LINENO"; then :
8382 ac_cv_cflags__Wl__pie=yes
8383 else
8384 ac_cv_cflags__Wl__pie=no
8386 rm -f core conftest.err conftest.$ac_objext \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8391 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8392 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8393 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8396 LIBWINE_SHAREDLIB="libwine.so"
8398 LIBWINE_INSTALL_LIB="libwine.so"
8400 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8405 DLLFLAGS="$DLLFLAGS -fPIC"
8406 LDEXECFLAGS=""
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8408 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8409 if ${ac_cv_c_dll_gnuelf+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_wine_try_cflags_saved=$CFLAGS
8413 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8416 void myfunc() {}
8417 _ACEOF
8418 if ac_fn_c_try_link "$LINENO"; then :
8419 ac_cv_c_dll_gnuelf="yes"
8420 else
8421 ac_cv_c_dll_gnuelf="no"
8423 rm -f core conftest.err conftest.$ac_objext \
8424 conftest$ac_exeext conftest.$ac_ext
8425 CFLAGS=$ac_wine_try_cflags_saved
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8428 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8429 if test "$ac_cv_c_dll_gnuelf" = "yes"
8430 then
8431 LIBWINE_LDFLAGS="-shared"
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8433 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8434 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8435 $as_echo_n "(cached) " >&6
8436 else
8437 ac_wine_try_cflags_saved=$CFLAGS
8438 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8440 /* end confdefs.h. */
8441 int main(int argc, char **argv) { return 0; }
8442 _ACEOF
8443 if ac_fn_c_try_link "$LINENO"; then :
8444 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8445 else
8446 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8448 rm -f core conftest.err conftest.$ac_objext \
8449 conftest$ac_exeext conftest.$ac_ext
8450 CFLAGS=$ac_wine_try_cflags_saved
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8453 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8454 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8455 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8456 else
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8458 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8459 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8460 $as_echo_n "(cached) " >&6
8461 else
8462 ac_wine_try_cflags_saved=$CFLAGS
8463 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8465 /* end confdefs.h. */
8466 int main(int argc, char **argv) { return 0; }
8467 _ACEOF
8468 if ac_fn_c_try_link "$LINENO"; then :
8469 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8470 else
8471 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8473 rm -f core conftest.err conftest.$ac_objext \
8474 conftest$ac_exeext conftest.$ac_ext
8475 CFLAGS=$ac_wine_try_cflags_saved
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8478 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8479 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8480 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8484 echo '{ global: *; };' >conftest.map
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8486 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8487 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8498 else
8499 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8506 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8507 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8508 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8510 rm -f conftest.map
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8513 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8514 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8515 $as_echo_n "(cached) " >&6
8516 else
8517 ac_wine_try_cflags_saved=$CFLAGS
8518 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 /* end confdefs.h. */
8521 int main(int argc, char **argv) { return 0; }
8522 _ACEOF
8523 if ac_fn_c_try_link "$LINENO"; then :
8524 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8525 else
8526 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8528 rm -f core conftest.err conftest.$ac_objext \
8529 conftest$ac_exeext conftest.$ac_ext
8530 CFLAGS=$ac_wine_try_cflags_saved
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8533 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8534 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8535 LDEXECFLAGS="-Wl,--export-dynamic"
8538 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8540 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8541 if eval \${$as_ac_var+:} false; then :
8542 $as_echo_n "(cached) " >&6
8543 else
8544 ac_wine_try_cflags_saved=$CFLAGS
8545 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8548 int main(int argc, char **argv) { return 0; }
8549 _ACEOF
8550 if ac_fn_c_try_link "$LINENO"; then :
8551 eval "$as_ac_var=yes"
8552 else
8553 eval "$as_ac_var=no"
8555 rm -f core conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 CFLAGS=$ac_wine_try_cflags_saved
8559 eval ac_res=\$$as_ac_var
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8561 $as_echo "$ac_res" >&6; }
8562 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8563 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8564 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8565 else
8566 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8568 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8569 if eval \${$as_ac_var+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_wine_try_cflags_saved=$CFLAGS
8573 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 int main(int argc, char **argv) { return 0; }
8577 _ACEOF
8578 if ac_fn_c_try_link "$LINENO"; then :
8579 eval "$as_ac_var=yes"
8580 else
8581 eval "$as_ac_var=no"
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 CFLAGS=$ac_wine_try_cflags_saved
8587 eval ac_res=\$$as_ac_var
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8589 $as_echo "$ac_res" >&6; }
8590 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8591 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8592 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8597 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8598 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 ac_wine_try_cflags_saved=$CFLAGS
8602 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8605 int main(int argc, char **argv) { return 0; }
8606 _ACEOF
8607 if ac_fn_c_try_link "$LINENO"; then :
8608 ac_cv_cflags__Wl___enable_new_dtags=yes
8609 else
8610 ac_cv_cflags__Wl___enable_new_dtags=no
8612 rm -f core conftest.err conftest.$ac_objext \
8613 conftest$ac_exeext conftest.$ac_ext
8614 CFLAGS=$ac_wine_try_cflags_saved
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8617 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8618 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8619 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8622 case $host_cpu in
8623 *i[3456789]86* | x86_64)
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8625 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8626 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8627 $as_echo_n "(cached) " >&6
8628 else
8629 ac_wine_try_cflags_saved=$CFLAGS
8630 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 int main(int argc, char **argv) { return 0; }
8634 _ACEOF
8635 if ac_fn_c_try_link "$LINENO"; then :
8636 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8637 else
8638 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8640 rm -f core conftest.err conftest.$ac_objext \
8641 conftest$ac_exeext conftest.$ac_ext
8642 CFLAGS=$ac_wine_try_cflags_saved
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8645 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8646 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8647 case $host_os in
8648 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8649 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8650 esac
8651 else
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8653 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8654 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8655 $as_echo_n "(cached) " >&6
8656 else
8657 ac_wine_try_cflags_saved=$CFLAGS
8658 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8660 /* end confdefs.h. */
8661 int main(int argc, char **argv) { return 0; }
8662 _ACEOF
8663 if ac_fn_c_try_link "$LINENO"; then :
8664 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8665 else
8666 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8668 rm -f core conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8670 CFLAGS=$ac_wine_try_cflags_saved
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8673 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8674 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8675 case $host_os in
8676 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8677 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8678 esac
8680 # Extract the first word of "prelink", so it can be a program name with args.
8681 set dummy prelink; ac_word=$2
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8683 $as_echo_n "checking for $ac_word... " >&6; }
8684 if ${ac_cv_path_PRELINK+:} false; then :
8685 $as_echo_n "(cached) " >&6
8686 else
8687 case $PRELINK in
8688 [\\/]* | ?:[\\/]*)
8689 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 for as_dir in /sbin /usr/sbin $PATH
8695 IFS=$as_save_IFS
8696 test -z "$as_dir" && as_dir=.
8697 for ac_exec_ext in '' $ac_executable_extensions; do
8698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8699 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8701 break 2
8703 done
8704 done
8705 IFS=$as_save_IFS
8707 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8709 esac
8711 PRELINK=$ac_cv_path_PRELINK
8712 if test -n "$PRELINK"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8714 $as_echo "$PRELINK" >&6; }
8715 else
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8717 $as_echo "no" >&6; }
8721 if test "x$PRELINK" = xfalse
8722 then
8723 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8727 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8728 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8739 else
8740 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8747 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8748 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8749 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8752 esac
8754 else
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8756 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8757 if ${ac_cv_c_dll_unixware+:} false; then :
8758 $as_echo_n "(cached) " >&6
8759 else
8760 ac_wine_try_cflags_saved=$CFLAGS
8761 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763 /* end confdefs.h. */
8764 void myfunc() {}
8765 _ACEOF
8766 if ac_fn_c_try_link "$LINENO"; then :
8767 ac_cv_c_dll_unixware="yes"
8768 else
8769 ac_cv_c_dll_unixware="no"
8771 rm -f core conftest.err conftest.$ac_objext \
8772 conftest$ac_exeext conftest.$ac_ext
8773 CFLAGS=$ac_wine_try_cflags_saved
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8776 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8777 if test "$ac_cv_c_dll_unixware" = "yes"
8778 then
8779 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8782 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8784 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8786 LIBWINE_INSTALL_DEV="libwine.so"
8788 LIBWINE_DEPENDS="wine.map"
8791 esac
8793 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8794 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8795 enable_winemac_drv=${enable_winemac_drv:-no}
8796 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8798 CROSSTARGET=""
8800 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8801 then
8802 case "$host_cpu" in
8803 arm*)
8804 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8805 i[3456789]86*)
8806 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
8807 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8808 mingw32-gcc" ;;
8809 x86_64)
8810 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
8811 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8813 ac_prefix_list="" ;;
8814 esac
8815 for ac_prog in $ac_prefix_list
8817 # Extract the first word of "$ac_prog", so it can be a program name with args.
8818 set dummy $ac_prog; ac_word=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8820 $as_echo_n "checking for $ac_word... " >&6; }
8821 if ${ac_cv_prog_CROSSCC+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 if test -n "$CROSSCC"; then
8825 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8826 else
8827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8828 for as_dir in $PATH
8830 IFS=$as_save_IFS
8831 test -z "$as_dir" && as_dir=.
8832 for ac_exec_ext in '' $ac_executable_extensions; do
8833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8834 ac_cv_prog_CROSSCC="$ac_prog"
8835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8836 break 2
8838 done
8839 done
8840 IFS=$as_save_IFS
8844 CROSSCC=$ac_cv_prog_CROSSCC
8845 if test -n "$CROSSCC"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8847 $as_echo "$CROSSCC" >&6; }
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8850 $as_echo "no" >&6; }
8854 test -n "$CROSSCC" && break
8855 done
8856 test -n "$CROSSCC" || CROSSCC="false"
8858 if test "$CROSSCC" != "false"
8859 then
8860 ac_save_CC="$CC"
8861 CC="$CROSSCC"
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8863 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8865 /* end confdefs.h. */
8868 main ()
8872 return 0;
8874 _ACEOF
8875 if ac_fn_c_try_compile "$LINENO"; then :
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8877 $as_echo "yes" >&6; }
8878 set x $CROSSCC
8879 shift
8880 while test $# -ge 1
8882 case "$1" in
8883 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8884 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8885 esac
8886 shift
8887 done
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8893 CC="$ac_save_CC"
8898 if test "$ac_cv_header_pthread_h" = "yes"
8899 then
8900 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8901 if test "x$ac_cv_func_pthread_create" = xyes; then :
8903 else
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8905 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8906 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 ac_check_lib_save_LIBS=$LIBS
8910 LIBS="-lpthread $LIBS"
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8914 /* Override any GCC internal prototype to avoid an error.
8915 Use char because int might match the return type of a GCC
8916 builtin and then its argument prototype would still apply. */
8917 #ifdef __cplusplus
8918 extern "C"
8919 #endif
8920 char pthread_create ();
8922 main ()
8924 return pthread_create ();
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 ac_cv_lib_pthread_pthread_create=yes
8931 else
8932 ac_cv_lib_pthread_pthread_create=no
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 LIBS=$ac_check_lib_save_LIBS
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8939 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8940 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8941 PTHREAD_LIBS="-lpthread"
8948 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8949 case "x$with_pthread" in
8950 xno) ;;
8951 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8952 Wine cannot support threads without libpthread.
8953 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8954 esac
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8960 $as_echo_n "checking for X... " >&6; }
8963 # Check whether --with-x was given.
8964 if test "${with_x+set}" = set; then :
8965 withval=$with_x;
8968 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8969 if test "x$with_x" = xno; then
8970 # The user explicitly disabled X.
8971 have_x=disabled
8972 else
8973 case $x_includes,$x_libraries in #(
8974 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8975 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 # One or both of the vars are not set, and there is no cached value.
8979 ac_x_includes=no ac_x_libraries=no
8980 rm -f -r conftest.dir
8981 if mkdir conftest.dir; then
8982 cd conftest.dir
8983 cat >Imakefile <<'_ACEOF'
8984 incroot:
8985 @echo incroot='${INCROOT}'
8986 usrlibdir:
8987 @echo usrlibdir='${USRLIBDIR}'
8988 libdir:
8989 @echo libdir='${LIBDIR}'
8990 _ACEOF
8991 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8992 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8993 for ac_var in incroot usrlibdir libdir; do
8994 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8995 done
8996 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8997 for ac_extension in a so sl dylib la dll; do
8998 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8999 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9000 ac_im_usrlibdir=$ac_im_libdir; break
9002 done
9003 # Screen out bogus values from the imake configuration. They are
9004 # bogus both because they are the default anyway, and because
9005 # using them would break gcc on systems where it needs fixed includes.
9006 case $ac_im_incroot in
9007 /usr/include) ac_x_includes= ;;
9008 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9009 esac
9010 case $ac_im_usrlibdir in
9011 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9012 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9013 esac
9015 cd ..
9016 rm -f -r conftest.dir
9019 # Standard set of common directories for X headers.
9020 # Check X11 before X11Rn because it is often a symlink to the current release.
9021 ac_x_header_dirs='
9022 /usr/X11/include
9023 /usr/X11R7/include
9024 /usr/X11R6/include
9025 /usr/X11R5/include
9026 /usr/X11R4/include
9028 /usr/include/X11
9029 /usr/include/X11R7
9030 /usr/include/X11R6
9031 /usr/include/X11R5
9032 /usr/include/X11R4
9034 /usr/local/X11/include
9035 /usr/local/X11R7/include
9036 /usr/local/X11R6/include
9037 /usr/local/X11R5/include
9038 /usr/local/X11R4/include
9040 /usr/local/include/X11
9041 /usr/local/include/X11R7
9042 /usr/local/include/X11R6
9043 /usr/local/include/X11R5
9044 /usr/local/include/X11R4
9046 /usr/X386/include
9047 /usr/x386/include
9048 /usr/XFree86/include/X11
9050 /usr/include
9051 /usr/local/include
9052 /usr/unsupported/include
9053 /usr/athena/include
9054 /usr/local/x11r5/include
9055 /usr/lpp/Xamples/include
9057 /usr/openwin/include
9058 /usr/openwin/share/include'
9060 if test "$ac_x_includes" = no; then
9061 # Guess where to find include files, by looking for Xlib.h.
9062 # First, try using that file with no special directory specified.
9063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9064 /* end confdefs.h. */
9065 #include <X11/Xlib.h>
9066 _ACEOF
9067 if ac_fn_c_try_cpp "$LINENO"; then :
9068 # We can compile using X headers with no special include directory.
9069 ac_x_includes=
9070 else
9071 for ac_dir in $ac_x_header_dirs; do
9072 if test -r "$ac_dir/X11/Xlib.h"; then
9073 ac_x_includes=$ac_dir
9074 break
9076 done
9078 rm -f conftest.err conftest.i conftest.$ac_ext
9079 fi # $ac_x_includes = no
9081 if test "$ac_x_libraries" = no; then
9082 # Check for the libraries.
9083 # See if we find them without any special options.
9084 # Don't add to $LIBS permanently.
9085 ac_save_LIBS=$LIBS
9086 LIBS="-lX11 $LIBS"
9087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9088 /* end confdefs.h. */
9089 #include <X11/Xlib.h>
9091 main ()
9093 XrmInitialize ()
9095 return 0;
9097 _ACEOF
9098 if ac_fn_c_try_link "$LINENO"; then :
9099 LIBS=$ac_save_LIBS
9100 # We can link X programs with no special library path.
9101 ac_x_libraries=
9102 else
9103 LIBS=$ac_save_LIBS
9104 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9106 # Don't even attempt the hair of trying to link an X program!
9107 for ac_extension in a so sl dylib la dll; do
9108 if test -r "$ac_dir/libX11.$ac_extension"; then
9109 ac_x_libraries=$ac_dir
9110 break 2
9112 done
9113 done
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9117 fi # $ac_x_libraries = no
9119 case $ac_x_includes,$ac_x_libraries in #(
9120 no,* | *,no | *\'*)
9121 # Didn't find X, or a directory has "'" in its name.
9122 ac_cv_have_x="have_x=no";; #(
9124 # Record where we found X for the cache.
9125 ac_cv_have_x="have_x=yes\
9126 ac_x_includes='$ac_x_includes'\
9127 ac_x_libraries='$ac_x_libraries'"
9128 esac
9130 ;; #(
9131 *) have_x=yes;;
9132 esac
9133 eval "$ac_cv_have_x"
9134 fi # $with_x != no
9136 if test "$have_x" != yes; then
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9138 $as_echo "$have_x" >&6; }
9139 no_x=yes
9140 else
9141 # If each of the values was on the command line, it overrides each guess.
9142 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9143 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9144 # Update the cache value to reflect the command line values.
9145 ac_cv_have_x="have_x=yes\
9146 ac_x_includes='$x_includes'\
9147 ac_x_libraries='$x_libraries'"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9149 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9152 if test "$no_x" = yes; then
9153 # Not all programs may use this symbol, but it does not hurt to define it.
9155 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9157 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9158 else
9159 if test -n "$x_includes"; then
9160 X_CFLAGS="$X_CFLAGS -I$x_includes"
9163 # It would also be nice to do this for all -L options, not just this one.
9164 if test -n "$x_libraries"; then
9165 X_LIBS="$X_LIBS -L$x_libraries"
9166 # For Solaris; some versions of Sun CC require a space after -R and
9167 # others require no space. Words are not sufficient . . . .
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9169 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9170 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9171 ac_xsave_c_werror_flag=$ac_c_werror_flag
9172 ac_c_werror_flag=yes
9173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9174 /* end confdefs.h. */
9177 main ()
9181 return 0;
9183 _ACEOF
9184 if ac_fn_c_try_link "$LINENO"; then :
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9187 X_LIBS="$X_LIBS -R$x_libraries"
9188 else
9189 LIBS="$ac_xsave_LIBS -R $x_libraries"
9190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9194 main ()
9198 return 0;
9200 _ACEOF
9201 if ac_fn_c_try_link "$LINENO"; then :
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9203 $as_echo "yes" >&6; }
9204 X_LIBS="$X_LIBS -R $x_libraries"
9205 else
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9207 $as_echo "neither works" >&6; }
9209 rm -f core conftest.err conftest.$ac_objext \
9210 conftest$ac_exeext conftest.$ac_ext
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 ac_c_werror_flag=$ac_xsave_c_werror_flag
9215 LIBS=$ac_xsave_LIBS
9218 # Check for system-dependent libraries X programs must link with.
9219 # Do this before checking for the system-independent R6 libraries
9220 # (-lICE), since we may need -lsocket or whatever for X linking.
9222 if test "$ISC" = yes; then
9223 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9224 else
9225 # Martyn Johnson says this is needed for Ultrix, if the X
9226 # libraries were built with DECnet support. And Karl Berry says
9227 # the Alpha needs dnet_stub (dnet does not exist).
9228 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char XOpenDisplay ();
9240 main ()
9242 return XOpenDisplay ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9249 else
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9251 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9252 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 ac_check_lib_save_LIBS=$LIBS
9256 LIBS="-ldnet $LIBS"
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9260 /* Override any GCC internal prototype to avoid an error.
9261 Use char because int might match the return type of a GCC
9262 builtin and then its argument prototype would still apply. */
9263 #ifdef __cplusplus
9264 extern "C"
9265 #endif
9266 char dnet_ntoa ();
9268 main ()
9270 return dnet_ntoa ();
9272 return 0;
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 ac_cv_lib_dnet_dnet_ntoa=yes
9277 else
9278 ac_cv_lib_dnet_dnet_ntoa=no
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 LIBS=$ac_check_lib_save_LIBS
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9285 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9286 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9287 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9290 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9292 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9293 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9294 $as_echo_n "(cached) " >&6
9295 else
9296 ac_check_lib_save_LIBS=$LIBS
9297 LIBS="-ldnet_stub $LIBS"
9298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299 /* end confdefs.h. */
9301 /* Override any GCC internal prototype to avoid an error.
9302 Use char because int might match the return type of a GCC
9303 builtin and then its argument prototype would still apply. */
9304 #ifdef __cplusplus
9305 extern "C"
9306 #endif
9307 char dnet_ntoa ();
9309 main ()
9311 return dnet_ntoa ();
9313 return 0;
9315 _ACEOF
9316 if ac_fn_c_try_link "$LINENO"; then :
9317 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9318 else
9319 ac_cv_lib_dnet_stub_dnet_ntoa=no
9321 rm -f core conftest.err conftest.$ac_objext \
9322 conftest$ac_exeext conftest.$ac_ext
9323 LIBS=$ac_check_lib_save_LIBS
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9326 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9327 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9328 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS="$ac_xsave_LIBS"
9337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9338 # to get the SysV transport functions.
9339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9340 # needs -lnsl.
9341 # The nsl library prevents programs from opening the X display
9342 # on Irix 5.2, according to T.E. Dickey.
9343 # The functions gethostbyname, getservbyname, and inet_addr are
9344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9345 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9346 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9350 if test $ac_cv_func_gethostbyname = no; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9352 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9353 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_check_lib_save_LIBS=$LIBS
9357 LIBS="-lnsl $LIBS"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9364 #ifdef __cplusplus
9365 extern "C"
9366 #endif
9367 char gethostbyname ();
9369 main ()
9371 return gethostbyname ();
9373 return 0;
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_lib_nsl_gethostbyname=yes
9378 else
9379 ac_cv_lib_nsl_gethostbyname=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9386 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9387 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9391 if test $ac_cv_lib_nsl_gethostbyname = no; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9393 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9394 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396 else
9397 ac_check_lib_save_LIBS=$LIBS
9398 LIBS="-lbsd $LIBS"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9402 /* Override any GCC internal prototype to avoid an error.
9403 Use char because int might match the return type of a GCC
9404 builtin and then its argument prototype would still apply. */
9405 #ifdef __cplusplus
9406 extern "C"
9407 #endif
9408 char gethostbyname ();
9410 main ()
9412 return gethostbyname ();
9414 return 0;
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_lib_bsd_gethostbyname=yes
9419 else
9420 ac_cv_lib_bsd_gethostbyname=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 LIBS=$ac_check_lib_save_LIBS
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9427 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9428 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9435 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9436 # socket/setsockopt and other routines are undefined under SCO ODT
9437 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9438 # on later versions), says Simon Leinen: it contains gethostby*
9439 # variants that don't use the name server (or something). -lsocket
9440 # must be given before -lnsl if both are needed. We assume that
9441 # if connect needs -lnsl, so does gethostbyname.
9442 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9443 if test "x$ac_cv_func_connect" = xyes; then :
9447 if test $ac_cv_func_connect = no; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9449 $as_echo_n "checking for connect in -lsocket... " >&6; }
9450 if ${ac_cv_lib_socket_connect+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_check_lib_save_LIBS=$LIBS
9454 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9461 #ifdef __cplusplus
9462 extern "C"
9463 #endif
9464 char connect ();
9466 main ()
9468 return connect ();
9470 return 0;
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_lib_socket_connect=yes
9475 else
9476 ac_cv_lib_socket_connect=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 LIBS=$ac_check_lib_save_LIBS
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9483 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9484 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9485 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9490 # Guillermo Gomez says -lposix is necessary on A/UX.
9491 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9492 if test "x$ac_cv_func_remove" = xyes; then :
9496 if test $ac_cv_func_remove = no; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9498 $as_echo_n "checking for remove in -lposix... " >&6; }
9499 if ${ac_cv_lib_posix_remove+:} false; then :
9500 $as_echo_n "(cached) " >&6
9501 else
9502 ac_check_lib_save_LIBS=$LIBS
9503 LIBS="-lposix $LIBS"
9504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char remove ();
9515 main ()
9517 return remove ();
9519 return 0;
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_lib_posix_remove=yes
9524 else
9525 ac_cv_lib_posix_remove=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 LIBS=$ac_check_lib_save_LIBS
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9532 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9533 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9534 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9539 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9540 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9541 if test "x$ac_cv_func_shmat" = xyes; then :
9545 if test $ac_cv_func_shmat = no; then
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9547 $as_echo_n "checking for shmat in -lipc... " >&6; }
9548 if ${ac_cv_lib_ipc_shmat+:} false; then :
9549 $as_echo_n "(cached) " >&6
9550 else
9551 ac_check_lib_save_LIBS=$LIBS
9552 LIBS="-lipc $LIBS"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9556 /* Override any GCC internal prototype to avoid an error.
9557 Use char because int might match the return type of a GCC
9558 builtin and then its argument prototype would still apply. */
9559 #ifdef __cplusplus
9560 extern "C"
9561 #endif
9562 char shmat ();
9564 main ()
9566 return shmat ();
9568 return 0;
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_lib_ipc_shmat=yes
9573 else
9574 ac_cv_lib_ipc_shmat=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 LIBS=$ac_check_lib_save_LIBS
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9581 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9582 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9583 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9589 # Check for libraries that X11R6 Xt/Xaw programs need.
9590 ac_save_LDFLAGS=$LDFLAGS
9591 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9592 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9593 # check for ICE first), but we must link in the order -lSM -lICE or
9594 # we get undefined symbols. So assume we have SM if we have ICE.
9595 # These have to be linked with before -lX11, unlike the other
9596 # libraries we check for below, so use a different variable.
9597 # John Interrante, Karl Berry
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9599 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9600 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9601 $as_echo_n "(cached) " >&6
9602 else
9603 ac_check_lib_save_LIBS=$LIBS
9604 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9608 /* Override any GCC internal prototype to avoid an error.
9609 Use char because int might match the return type of a GCC
9610 builtin and then its argument prototype would still apply. */
9611 #ifdef __cplusplus
9612 extern "C"
9613 #endif
9614 char IceConnectionNumber ();
9616 main ()
9618 return IceConnectionNumber ();
9620 return 0;
9622 _ACEOF
9623 if ac_fn_c_try_link "$LINENO"; then :
9624 ac_cv_lib_ICE_IceConnectionNumber=yes
9625 else
9626 ac_cv_lib_ICE_IceConnectionNumber=no
9628 rm -f core conftest.err conftest.$ac_objext \
9629 conftest$ac_exeext conftest.$ac_ext
9630 LIBS=$ac_check_lib_save_LIBS
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9633 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9634 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9635 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9638 LDFLAGS=$ac_save_LDFLAGS
9643 if test "$have_x" = "yes"
9644 then
9645 ac_save_CPPFLAGS="$CPPFLAGS"
9646 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9649 $as_echo_n "checking for -lX11... " >&6; }
9650 if ${ac_cv_lib_soname_X11+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_check_soname_save_LIBS=$LIBS
9654 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9658 /* Override any GCC internal prototype to avoid an error.
9659 Use char because int might match the return type of a GCC
9660 builtin and then its argument prototype would still apply. */
9661 #ifdef __cplusplus
9662 extern "C"
9663 #endif
9664 char XCreateWindow ();
9666 main ()
9668 return XCreateWindow ();
9670 return 0;
9672 _ACEOF
9673 if ac_fn_c_try_link "$LINENO"; then :
9674 case "$LIBEXT" in
9675 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9676 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'` ;;
9677 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9678 if ${ac_cv_lib_soname_X11:+false} :; then :
9679 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9680 fi ;;
9681 esac
9683 rm -f core conftest.err conftest.$ac_objext \
9684 conftest$ac_exeext conftest.$ac_ext
9685 LIBS=$ac_check_soname_save_LIBS
9687 if ${ac_cv_lib_soname_X11:+false} :; then :
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9689 $as_echo "not found" >&6; }
9691 else
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9693 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9695 cat >>confdefs.h <<_ACEOF
9696 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9697 _ACEOF
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9702 $as_echo_n "checking for -lXext... " >&6; }
9703 if ${ac_cv_lib_soname_Xext+:} false; then :
9704 $as_echo_n "(cached) " >&6
9705 else
9706 ac_check_soname_save_LIBS=$LIBS
9707 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9709 /* end confdefs.h. */
9711 /* Override any GCC internal prototype to avoid an error.
9712 Use char because int might match the return type of a GCC
9713 builtin and then its argument prototype would still apply. */
9714 #ifdef __cplusplus
9715 extern "C"
9716 #endif
9717 char XextCreateExtension ();
9719 main ()
9721 return XextCreateExtension ();
9723 return 0;
9725 _ACEOF
9726 if ac_fn_c_try_link "$LINENO"; then :
9727 case "$LIBEXT" in
9728 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9729 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'` ;;
9730 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9731 if ${ac_cv_lib_soname_Xext:+false} :; then :
9732 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9733 fi ;;
9734 esac
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_soname_save_LIBS
9740 if ${ac_cv_lib_soname_Xext:+false} :; then :
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9742 $as_echo "not found" >&6; }
9744 else
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9746 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9748 cat >>confdefs.h <<_ACEOF
9749 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9750 _ACEOF
9752 X_LIBS="$X_LIBS -lXext"
9754 X_LIBS="$X_LIBS -lX11"
9756 for ac_header in X11/Xlib.h \
9757 X11/XKBlib.h \
9758 X11/Xutil.h \
9759 X11/Xcursor/Xcursor.h \
9760 X11/extensions/shape.h \
9761 X11/extensions/XInput.h \
9762 X11/extensions/XInput2.h \
9763 X11/extensions/XShm.h \
9764 X11/extensions/Xcomposite.h \
9765 X11/extensions/Xinerama.h \
9766 X11/extensions/Xrandr.h \
9767 X11/extensions/Xrender.h \
9768 X11/extensions/xf86vmode.h \
9769 X11/extensions/xf86vmproto.h
9770 do :
9771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9772 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9773 # include <X11/Xlib.h>
9774 #endif
9775 #ifdef HAVE_X11_XUTIL_H
9776 # include <X11/Xutil.h>
9777 #endif
9779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9780 cat >>confdefs.h <<_ACEOF
9781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9782 _ACEOF
9786 done
9789 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9790 then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9792 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9793 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9794 $as_echo_n "(cached) " >&6
9795 else
9796 ac_check_lib_save_LIBS=$LIBS
9797 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 char XkbQueryExtension ();
9809 main ()
9811 return XkbQueryExtension ();
9813 return 0;
9815 _ACEOF
9816 if ac_fn_c_try_link "$LINENO"; then :
9817 ac_cv_lib_X11_XkbQueryExtension=yes
9818 else
9819 ac_cv_lib_X11_XkbQueryExtension=no
9821 rm -f core conftest.err conftest.$ac_objext \
9822 conftest$ac_exeext conftest.$ac_ext
9823 LIBS=$ac_check_lib_save_LIBS
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9826 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9827 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9829 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9835 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9836 then
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9838 $as_echo_n "checking for -lXcursor... " >&6; }
9839 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_check_soname_save_LIBS=$LIBS
9843 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XcursorImageLoadCursor ();
9855 main ()
9857 return XcursorImageLoadCursor ();
9859 return 0;
9861 _ACEOF
9862 if ac_fn_c_try_link "$LINENO"; then :
9863 case "$LIBEXT" in
9864 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9865 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'` ;;
9866 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9867 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9868 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9869 fi ;;
9870 esac
9872 rm -f core conftest.err conftest.$ac_objext \
9873 conftest$ac_exeext conftest.$ac_ext
9874 LIBS=$ac_check_soname_save_LIBS
9876 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9878 $as_echo "not found" >&6; }
9880 else
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9882 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9886 _ACEOF
9891 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9892 case "x$with_xcursor" in
9893 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9894 xno) ;;
9895 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9896 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9897 esac
9901 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9902 then
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9904 $as_echo_n "checking for -lXi... " >&6; }
9905 if ${ac_cv_lib_soname_Xi+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_check_soname_save_LIBS=$LIBS
9909 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9916 #ifdef __cplusplus
9917 extern "C"
9918 #endif
9919 char XOpenDevice ();
9921 main ()
9923 return XOpenDevice ();
9925 return 0;
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 case "$LIBEXT" in
9930 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9931 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'` ;;
9932 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9933 if ${ac_cv_lib_soname_Xi:+false} :; then :
9934 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9935 fi ;;
9936 esac
9938 rm -f core conftest.err conftest.$ac_objext \
9939 conftest$ac_exeext conftest.$ac_ext
9940 LIBS=$ac_check_soname_save_LIBS
9942 if ${ac_cv_lib_soname_Xi:+false} :; then :
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9944 $as_echo "not found" >&6; }
9946 else
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9948 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9950 cat >>confdefs.h <<_ACEOF
9951 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9952 _ACEOF
9957 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9958 case "x$with_xinput" in
9959 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9960 xno) ;;
9961 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9962 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9963 esac
9967 if test "x$ac_cv_lib_soname_Xi" != x
9968 then
9969 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9970 case "x$with_xinput2" in
9971 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9972 xno) ;;
9973 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9974 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9975 esac
9980 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9981 then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9983 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9984 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9985 $as_echo_n "(cached) " >&6
9986 else
9987 ac_check_lib_save_LIBS=$LIBS
9988 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9990 /* end confdefs.h. */
9992 /* Override any GCC internal prototype to avoid an error.
9993 Use char because int might match the return type of a GCC
9994 builtin and then its argument prototype would still apply. */
9995 #ifdef __cplusplus
9996 extern "C"
9997 #endif
9998 char XShmQueryExtension ();
10000 main ()
10002 return XShmQueryExtension ();
10004 return 0;
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_lib_Xext_XShmQueryExtension=yes
10009 else
10010 ac_cv_lib_Xext_XShmQueryExtension=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_lib_save_LIBS
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10017 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10018 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10020 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10025 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10026 case "x$with_xshm" in
10027 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10028 xno) ;;
10029 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10030 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10031 esac
10035 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10036 then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10038 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10039 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_check_lib_save_LIBS=$LIBS
10043 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 #ifdef __cplusplus
10051 extern "C"
10052 #endif
10053 char XShapeQueryExtension ();
10055 main ()
10057 return XShapeQueryExtension ();
10059 return 0;
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_lib_Xext_XShapeQueryExtension=yes
10064 else
10065 ac_cv_lib_Xext_XShapeQueryExtension=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_lib_save_LIBS
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10072 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10073 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10075 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10080 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10081 case "x$with_xshape" in
10082 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10083 xno) ;;
10084 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10085 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10086 esac
10090 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10091 then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10093 $as_echo_n "checking for -lXxf86vm... " >&6; }
10094 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10095 $as_echo_n "(cached) " >&6
10096 else
10097 ac_check_soname_save_LIBS=$LIBS
10098 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10100 /* end confdefs.h. */
10102 /* Override any GCC internal prototype to avoid an error.
10103 Use char because int might match the return type of a GCC
10104 builtin and then its argument prototype would still apply. */
10105 #ifdef __cplusplus
10106 extern "C"
10107 #endif
10108 char XF86VidModeQueryExtension ();
10110 main ()
10112 return XF86VidModeQueryExtension ();
10114 return 0;
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"; then :
10118 case "$LIBEXT" in
10119 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10120 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'` ;;
10121 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10122 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10123 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10124 fi ;;
10125 esac
10127 rm -f core conftest.err conftest.$ac_objext \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS=$ac_check_soname_save_LIBS
10131 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10133 $as_echo "not found" >&6; }
10135 else
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10137 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10139 cat >>confdefs.h <<_ACEOF
10140 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10141 _ACEOF
10146 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10147 case "x$with_xxf86vm" in
10148 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10149 xno) ;;
10150 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10151 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10152 esac
10156 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10157 then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10159 $as_echo_n "checking for -lXrender... " >&6; }
10160 if ${ac_cv_lib_soname_Xrender+:} false; then :
10161 $as_echo_n "(cached) " >&6
10162 else
10163 ac_check_soname_save_LIBS=$LIBS
10164 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10168 /* Override any GCC internal prototype to avoid an error.
10169 Use char because int might match the return type of a GCC
10170 builtin and then its argument prototype would still apply. */
10171 #ifdef __cplusplus
10172 extern "C"
10173 #endif
10174 char XRenderQueryExtension ();
10176 main ()
10178 return XRenderQueryExtension ();
10180 return 0;
10182 _ACEOF
10183 if ac_fn_c_try_link "$LINENO"; then :
10184 case "$LIBEXT" in
10185 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10188 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10189 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10190 fi ;;
10191 esac
10193 rm -f core conftest.err conftest.$ac_objext \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_soname_save_LIBS
10197 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10199 $as_echo "not found" >&6; }
10201 else
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10203 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10205 cat >>confdefs.h <<_ACEOF
10206 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10207 _ACEOF
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10210 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10211 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_check_lib_save_LIBS=$LIBS
10215 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10219 /* Override any GCC internal prototype to avoid an error.
10220 Use char because int might match the return type of a GCC
10221 builtin and then its argument prototype would still apply. */
10222 #ifdef __cplusplus
10223 extern "C"
10224 #endif
10225 char XRenderSetPictureTransform ();
10227 main ()
10229 return XRenderSetPictureTransform ();
10231 return 0;
10233 _ACEOF
10234 if ac_fn_c_try_link "$LINENO"; then :
10235 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10236 else
10237 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10239 rm -f core conftest.err conftest.$ac_objext \
10240 conftest$ac_exeext conftest.$ac_ext
10241 LIBS=$ac_check_lib_save_LIBS
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10244 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10245 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10247 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10252 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10253 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10254 $as_echo_n "(cached) " >&6
10255 else
10256 ac_check_lib_save_LIBS=$LIBS
10257 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10264 #ifdef __cplusplus
10265 extern "C"
10266 #endif
10267 char XRenderCreateLinearGradient ();
10269 main ()
10271 return XRenderCreateLinearGradient ();
10273 return 0;
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"; then :
10277 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10278 else
10279 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10281 rm -f core conftest.err conftest.$ac_objext \
10282 conftest$ac_exeext conftest.$ac_ext
10283 LIBS=$ac_check_lib_save_LIBS
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10286 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10287 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10289 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10296 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10297 case "x$with_xrender" in
10298 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10299 xno) ;;
10300 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10301 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10302 esac
10306 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10307 then
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 #include <X11/Xlib.h>
10311 #include <X11/extensions/Xrandr.h>
10313 main ()
10315 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_compile "$LINENO"; then :
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10322 $as_echo_n "checking for -lXrandr... " >&6; }
10323 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_soname_save_LIBS=$LIBS
10327 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XRRQueryExtension ();
10339 main ()
10341 return XRRQueryExtension ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 case "$LIBEXT" in
10348 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10352 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10353 fi ;;
10354 esac
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10366 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10370 _ACEOF
10372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 /* end confdefs.h. */
10374 #include <X11/Xlib.h>
10375 #include <X11/extensions/Xrandr.h>
10377 main ()
10379 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_compile "$LINENO"; then :
10386 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10394 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10395 case "x$with_xrandr" in
10396 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10397 xno) ;;
10398 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10399 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10400 esac
10404 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10405 then
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 #include <X11/Xlib.h>
10409 #include <X11/extensions/Xinerama.h>
10411 main ()
10413 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10415 return 0;
10417 _ACEOF
10418 if ac_fn_c_try_compile "$LINENO"; then :
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10420 $as_echo_n "checking for -lXinerama... " >&6; }
10421 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10422 $as_echo_n "(cached) " >&6
10423 else
10424 ac_check_soname_save_LIBS=$LIBS
10425 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char XineramaQueryScreens ();
10437 main ()
10439 return XineramaQueryScreens ();
10441 return 0;
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 case "$LIBEXT" in
10446 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10447 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'` ;;
10448 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10449 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10450 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10451 fi ;;
10452 esac
10454 rm -f core conftest.err conftest.$ac_objext \
10455 conftest$ac_exeext conftest.$ac_ext
10456 LIBS=$ac_check_soname_save_LIBS
10458 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10460 $as_echo "not found" >&6; }
10462 else
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10464 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10466 cat >>confdefs.h <<_ACEOF
10467 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10468 _ACEOF
10473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10475 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10476 case "x$with_xinerama" in
10477 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10478 xno) ;;
10479 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10480 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10481 esac
10485 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10486 then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10488 $as_echo_n "checking for -lXcomposite... " >&6; }
10489 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10490 $as_echo_n "(cached) " >&6
10491 else
10492 ac_check_soname_save_LIBS=$LIBS
10493 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char XCompositeRedirectWindow ();
10505 main ()
10507 return XCompositeRedirectWindow ();
10509 return 0;
10511 _ACEOF
10512 if ac_fn_c_try_link "$LINENO"; then :
10513 case "$LIBEXT" in
10514 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10515 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'` ;;
10516 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10517 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10518 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10519 fi ;;
10520 esac
10522 rm -f core conftest.err conftest.$ac_objext \
10523 conftest$ac_exeext conftest.$ac_ext
10524 LIBS=$ac_check_soname_save_LIBS
10526 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10528 $as_echo "not found" >&6; }
10530 else
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10532 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10534 cat >>confdefs.h <<_ACEOF
10535 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10536 _ACEOF
10541 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10542 case "x$with_xcomposite" in
10543 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10544 xno) ;;
10545 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10546 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10547 esac
10551 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10552 #include <X11/Xlib.h>
10553 #endif
10555 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10557 cat >>confdefs.h <<_ACEOF
10558 #define HAVE_XICCALLBACK_CALLBACK 1
10559 _ACEOF
10563 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10564 #include <X11/Xlib.h>
10565 #endif
10567 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10569 cat >>confdefs.h <<_ACEOF
10570 #define HAVE_XEVENT_XCOOKIE 1
10571 _ACEOF
10578 opengl_msg=""
10579 if test "x$with_opengl" != "xno"
10580 then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10582 $as_echo_n "checking for -lGL... " >&6; }
10583 if ${ac_cv_lib_soname_GL+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_check_soname_save_LIBS=$LIBS
10587 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10594 #ifdef __cplusplus
10595 extern "C"
10596 #endif
10597 char glXCreateContext ();
10599 main ()
10601 return glXCreateContext ();
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 case "$LIBEXT" in
10608 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10609 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'` ;;
10610 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10611 if ${ac_cv_lib_soname_GL:+false} :; then :
10612 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10613 fi ;;
10614 esac
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_soname_save_LIBS
10620 if ${ac_cv_lib_soname_GL:+false} :; then :
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10622 $as_echo "not found" >&6; }
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10624 $as_echo_n "checking for -lGL... " >&6; }
10625 if ${ac_cv_lib_soname_GL+:} false; then :
10626 $as_echo_n "(cached) " >&6
10627 else
10628 ac_check_soname_save_LIBS=$LIBS
10629 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"
10630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10631 /* end confdefs.h. */
10633 /* Override any GCC internal prototype to avoid an error.
10634 Use char because int might match the return type of a GCC
10635 builtin and then its argument prototype would still apply. */
10636 #ifdef __cplusplus
10637 extern "C"
10638 #endif
10639 char glXCreateContext ();
10641 main ()
10643 return glXCreateContext ();
10645 return 0;
10647 _ACEOF
10648 if ac_fn_c_try_link "$LINENO"; then :
10649 case "$LIBEXT" in
10650 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10651 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'` ;;
10652 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10653 if ${ac_cv_lib_soname_GL:+false} :; then :
10654 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10655 fi ;;
10656 esac
10658 rm -f core conftest.err conftest.$ac_objext \
10659 conftest$ac_exeext conftest.$ac_ext
10660 LIBS=$ac_check_soname_save_LIBS
10662 if ${ac_cv_lib_soname_GL:+false} :; then :
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10664 $as_echo "not found" >&6; }
10665 if test -f /usr/X11R6/lib/libGL.a
10666 then
10667 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10668 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10669 else
10670 opengl_msg="No OpenGL library found on this system."
10672 else
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10674 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10676 cat >>confdefs.h <<_ACEOF
10677 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10678 _ACEOF
10680 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"
10682 else
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10684 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10686 cat >>confdefs.h <<_ACEOF
10687 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10688 _ACEOF
10690 OPENGL_LIBS="-lGL"
10692 if test "x$with_glu" != "xno"
10693 then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10695 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10696 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_check_lib_save_LIBS=$LIBS
10700 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10704 /* Override any GCC internal prototype to avoid an error.
10705 Use char because int might match the return type of a GCC
10706 builtin and then its argument prototype would still apply. */
10707 #ifdef __cplusplus
10708 extern "C"
10709 #endif
10710 char gluLookAt ();
10712 main ()
10714 return gluLookAt ();
10716 return 0;
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"; then :
10720 ac_cv_lib_GLU_gluLookAt=yes
10721 else
10722 ac_cv_lib_GLU_gluLookAt=no
10724 rm -f core conftest.err conftest.$ac_objext \
10725 conftest$ac_exeext conftest.$ac_ext
10726 LIBS=$ac_check_lib_save_LIBS
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10729 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10730 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10734 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10735 case "x$with_glu" in
10736 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10737 xno) ;;
10738 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10739 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10740 esac
10745 if test "x$with_osmesa" != "xno"
10746 then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10748 $as_echo_n "checking for -lOSMesa... " >&6; }
10749 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10750 $as_echo_n "(cached) " >&6
10751 else
10752 ac_check_soname_save_LIBS=$LIBS
10753 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10757 /* Override any GCC internal prototype to avoid an error.
10758 Use char because int might match the return type of a GCC
10759 builtin and then its argument prototype would still apply. */
10760 #ifdef __cplusplus
10761 extern "C"
10762 #endif
10763 char glAccum ();
10765 main ()
10767 return glAccum ();
10769 return 0;
10771 _ACEOF
10772 if ac_fn_c_try_link "$LINENO"; then :
10773 case "$LIBEXT" in
10774 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10775 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'` ;;
10776 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10777 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10778 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10779 fi ;;
10780 esac
10782 rm -f core conftest.err conftest.$ac_objext \
10783 conftest$ac_exeext conftest.$ac_ext
10784 LIBS=$ac_check_soname_save_LIBS
10786 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10788 $as_echo "not found" >&6; }
10790 else
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10792 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10794 cat >>confdefs.h <<_ACEOF
10795 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10796 _ACEOF
10800 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10801 case "x$with_osmesa" in
10802 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10803 xno) ;;
10804 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10805 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10806 esac
10811 if test -n "$opengl_msg"; then :
10812 case "x$with_opengl" in
10813 x) as_fn_append wine_warnings "|$opengl_msg
10814 OpenGL and Direct3D won't be supported." ;;
10815 xno) ;;
10816 *) as_fn_error $? "$opengl_msg
10817 OpenGL and Direct3D won't be supported.
10818 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10819 esac
10823 CPPFLAGS="$ac_save_CPPFLAGS"
10824 else
10825 X_CFLAGS=""
10826 X_LIBS=""
10828 if test "x$X_LIBS" = "x"; then :
10829 case "x$with_x" in
10830 xno) ;;
10831 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10832 without X support, which probably isn't what you want. You will need
10833 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10834 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10835 esac
10836 enable_winex11_drv=${enable_winex11_drv:-no}
10839 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10841 if test "$ac_cv_header_CL_cl_h" = "yes"
10842 then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10844 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10845 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lOpenCL $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char clGetPlatformInfo ();
10861 main ()
10863 return clGetPlatformInfo ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10870 else
10871 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10878 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10879 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10880 OPENCL_LIBS="-lOpenCL"
10885 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10886 case "x$with_opencl" in
10887 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10888 xno) ;;
10889 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10890 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10891 esac
10892 enable_opencl=${enable_opencl:-no}
10895 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10896 then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10898 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10899 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10900 $as_echo_n "(cached) " >&6
10901 else
10902 ac_check_lib_save_LIBS=$LIBS
10903 LIBS="-lpcap $LIBS"
10904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10910 #ifdef __cplusplus
10911 extern "C"
10912 #endif
10913 char pcap_create ();
10915 main ()
10917 return pcap_create ();
10919 return 0;
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"; then :
10923 ac_cv_lib_pcap_pcap_create=yes
10924 else
10925 ac_cv_lib_pcap_pcap_create=no
10927 rm -f core conftest.err conftest.$ac_objext \
10928 conftest$ac_exeext conftest.$ac_ext
10929 LIBS=$ac_check_lib_save_LIBS
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10932 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10933 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10934 PCAP_LIBS="-lpcap"
10939 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10940 case "x$with_pcap" in
10941 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10942 xno) ;;
10943 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10944 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10945 esac
10946 enable_wpcap=${enable_wpcap:-no}
10950 if test "x$with_xml" != "xno"
10951 then
10952 if ${XML2_CFLAGS:+false} :; then :
10953 if ${PKG_CONFIG+:} false; then :
10954 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10957 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10958 if ${XML2_LIBS:+false} :; then :
10959 if ${PKG_CONFIG+:} false; then :
10960 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10963 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10964 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10965 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10966 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10967 ac_save_CPPFLAGS=$CPPFLAGS
10968 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10969 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10970 do :
10971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10972 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10973 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10974 cat >>confdefs.h <<_ACEOF
10975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10976 _ACEOF
10980 done
10982 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"
10983 then
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10985 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10986 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10987 $as_echo_n "(cached) " >&6
10988 else
10989 ac_check_lib_save_LIBS=$LIBS
10990 LIBS="-lxml2 $XML2_LIBS $LIBS"
10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 /* end confdefs.h. */
10994 /* Override any GCC internal prototype to avoid an error.
10995 Use char because int might match the return type of a GCC
10996 builtin and then its argument prototype would still apply. */
10997 #ifdef __cplusplus
10998 extern "C"
10999 #endif
11000 char xmlParseMemory ();
11002 main ()
11004 return xmlParseMemory ();
11006 return 0;
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"; then :
11010 ac_cv_lib_xml2_xmlParseMemory=yes
11011 else
11012 ac_cv_lib_xml2_xmlParseMemory=no
11014 rm -f core conftest.err conftest.$ac_objext \
11015 conftest$ac_exeext conftest.$ac_ext
11016 LIBS=$ac_check_lib_save_LIBS
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11019 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11020 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11022 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11024 else
11025 XML2_LIBS=""
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11029 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11030 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11031 $as_echo_n "(cached) " >&6
11032 else
11033 ac_check_lib_save_LIBS=$LIBS
11034 LIBS="-lxml2 $XML2_LIBS $LIBS"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11038 /* Override any GCC internal prototype to avoid an error.
11039 Use char because int might match the return type of a GCC
11040 builtin and then its argument prototype would still apply. */
11041 #ifdef __cplusplus
11042 extern "C"
11043 #endif
11044 char xmlReadMemory ();
11046 main ()
11048 return xmlReadMemory ();
11050 return 0;
11052 _ACEOF
11053 if ac_fn_c_try_link "$LINENO"; then :
11054 ac_cv_lib_xml2_xmlReadMemory=yes
11055 else
11056 ac_cv_lib_xml2_xmlReadMemory=no
11058 rm -f core conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_lib_save_LIBS
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11063 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11064 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11066 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11071 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11072 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11073 $as_echo_n "(cached) " >&6
11074 else
11075 ac_check_lib_save_LIBS=$LIBS
11076 LIBS="-lxml2 $XML2_LIBS $LIBS"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11078 /* end confdefs.h. */
11080 /* Override any GCC internal prototype to avoid an error.
11081 Use char because int might match the return type of a GCC
11082 builtin and then its argument prototype would still apply. */
11083 #ifdef __cplusplus
11084 extern "C"
11085 #endif
11086 char xmlNewDocPI ();
11088 main ()
11090 return xmlNewDocPI ();
11092 return 0;
11094 _ACEOF
11095 if ac_fn_c_try_link "$LINENO"; then :
11096 ac_cv_lib_xml2_xmlNewDocPI=yes
11097 else
11098 ac_cv_lib_xml2_xmlNewDocPI=no
11100 rm -f core conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_lib_save_LIBS
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11105 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11106 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11108 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11113 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11114 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11115 $as_echo_n "(cached) " >&6
11116 else
11117 ac_check_lib_save_LIBS=$LIBS
11118 LIBS="-lxml2 $XML2_LIBS $LIBS"
11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11125 #ifdef __cplusplus
11126 extern "C"
11127 #endif
11128 char xmlSchemaSetParserStructuredErrors ();
11130 main ()
11132 return xmlSchemaSetParserStructuredErrors ();
11134 return 0;
11136 _ACEOF
11137 if ac_fn_c_try_link "$LINENO"; then :
11138 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11139 else
11140 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11142 rm -f core conftest.err conftest.$ac_objext \
11143 conftest$ac_exeext conftest.$ac_ext
11144 LIBS=$ac_check_lib_save_LIBS
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11147 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11148 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11150 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11155 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11156 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-lxml2 $XML2_LIBS $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char xmlSchemaSetValidStructuredErrors ();
11172 main ()
11174 return xmlSchemaSetValidStructuredErrors ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11181 else
11182 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11189 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11190 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11192 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11197 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11198 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11199 $as_echo_n "(cached) " >&6
11200 else
11201 ac_check_lib_save_LIBS=$LIBS
11202 LIBS="-lxml2 $XML2_LIBS $LIBS"
11203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char xmlFirstElementChild ();
11214 main ()
11216 return xmlFirstElementChild ();
11218 return 0;
11220 _ACEOF
11221 if ac_fn_c_try_link "$LINENO"; then :
11222 ac_cv_lib_xml2_xmlFirstElementChild=yes
11223 else
11224 ac_cv_lib_xml2_xmlFirstElementChild=no
11226 rm -f core conftest.err conftest.$ac_objext \
11227 conftest$ac_exeext conftest.$ac_ext
11228 LIBS=$ac_check_lib_save_LIBS
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11231 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11232 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11234 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11238 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11240 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11242 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11246 else
11247 XML2_CFLAGS=""
11248 XML2_LIBS=""
11250 CPPFLAGS=$ac_save_CPPFLAGS
11251 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11252 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11255 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11256 case "x$with_xml" in
11257 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11258 xno) ;;
11259 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11260 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11261 esac
11265 if test "x$with_xslt" != "xno"
11266 then
11267 if ${XSLT_CFLAGS:+false} :; then :
11268 if ${PKG_CONFIG+:} false; then :
11269 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11272 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11273 if ${XSLT_LIBS:+false} :; then :
11274 if ${PKG_CONFIG+:} false; then :
11275 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11278 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11279 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11280 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11281 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11282 ac_save_CPPFLAGS=$CPPFLAGS
11283 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11284 for ac_header in libxslt/pattern.h libxslt/transform.h
11285 do :
11286 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11287 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11288 # include <libxslt/pattern.h>
11289 #endif
11291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11292 cat >>confdefs.h <<_ACEOF
11293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11294 _ACEOF
11298 done
11300 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11301 then
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11303 $as_echo_n "checking for -lxslt... " >&6; }
11304 if ${ac_cv_lib_soname_xslt+:} false; then :
11305 $as_echo_n "(cached) " >&6
11306 else
11307 ac_check_soname_save_LIBS=$LIBS
11308 LIBS="-lxslt $XSLT_LIBS $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11315 #ifdef __cplusplus
11316 extern "C"
11317 #endif
11318 char xsltCompilePattern ();
11320 main ()
11322 return xsltCompilePattern ();
11324 return 0;
11326 _ACEOF
11327 if ac_fn_c_try_link "$LINENO"; then :
11328 case "$LIBEXT" in
11329 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11330 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'` ;;
11331 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11332 if ${ac_cv_lib_soname_xslt:+false} :; then :
11333 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11334 fi ;;
11335 esac
11337 rm -f core conftest.err conftest.$ac_objext \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_soname_save_LIBS
11341 if ${ac_cv_lib_soname_xslt:+false} :; then :
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11343 $as_echo "not found" >&6; }
11345 else
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11347 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11349 cat >>confdefs.h <<_ACEOF
11350 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11351 _ACEOF
11355 else
11356 XSLT_CFLAGS=""
11358 CPPFLAGS=$ac_save_CPPFLAGS
11359 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11360 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11363 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11364 case "x$with_xslt" in
11365 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11366 xno) ;;
11367 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11368 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11369 esac
11373 if test "x$with_dbus" != "xno"
11374 then
11375 if ${DBUS_CFLAGS:+false} :; then :
11376 if ${PKG_CONFIG+:} false; then :
11377 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11381 if ${DBUS_LIBS:+false} :; then :
11382 if ${PKG_CONFIG+:} false; then :
11383 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11388 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11389 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11390 ac_save_CPPFLAGS=$CPPFLAGS
11391 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11392 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11393 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11395 $as_echo_n "checking for -ldbus-1... " >&6; }
11396 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char dbus_connection_close ();
11412 main ()
11414 return dbus_connection_close ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) 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'`
11424 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11425 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11436 DBUS_CFLAGS=""
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11439 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11443 _ACEOF
11447 else
11448 DBUS_CFLAGS=""
11452 CPPFLAGS=$ac_save_CPPFLAGS
11453 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11454 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11457 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11458 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11459 case "x$with_dbus" in
11460 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11461 xno) ;;
11462 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11463 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11464 esac
11468 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11469 then
11470 if ${HAL_CFLAGS:+false} :; then :
11471 if ${PKG_CONFIG+:} false; then :
11472 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11476 if ${HAL_LIBS:+false} :; then :
11477 if ${PKG_CONFIG+:} false; then :
11478 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11482 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11483 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11484 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11485 ac_save_CPPFLAGS=$CPPFLAGS
11486 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11487 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11488 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11490 $as_echo_n "checking for -lhal... " >&6; }
11491 if ${ac_cv_lib_soname_hal+:} false; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 ac_check_soname_save_LIBS=$LIBS
11495 LIBS="-lhal $HAL_LIBS $LIBS"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11499 /* Override any GCC internal prototype to avoid an error.
11500 Use char because int might match the return type of a GCC
11501 builtin and then its argument prototype would still apply. */
11502 #ifdef __cplusplus
11503 extern "C"
11504 #endif
11505 char libhal_ctx_new ();
11507 main ()
11509 return libhal_ctx_new ();
11511 return 0;
11513 _ACEOF
11514 if ac_fn_c_try_link "$LINENO"; then :
11515 case "$LIBEXT" in
11516 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11517 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'` ;;
11518 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11519 if ${ac_cv_lib_soname_hal:+false} :; then :
11520 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11521 fi ;;
11522 esac
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_soname_save_LIBS
11528 if ${ac_cv_lib_soname_hal:+false} :; then :
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11530 $as_echo "not found" >&6; }
11531 HAL_CFLAGS=""
11532 else
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11534 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11536 cat >>confdefs.h <<_ACEOF
11537 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11538 _ACEOF
11542 else
11543 HAL_CFLAGS=""
11547 CPPFLAGS=$ac_save_CPPFLAGS
11548 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11549 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11551 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11552 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11553 case "x$with_hal" in
11554 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11555 xno) ;;
11556 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11557 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11558 esac
11563 if test "x$with_gnutls" != "xno"
11564 then
11565 if ${GNUTLS_CFLAGS:+false} :; then :
11566 if ${PKG_CONFIG+:} false; then :
11567 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11571 if ${GNUTLS_LIBS:+false} :; then :
11572 if ${PKG_CONFIG+:} false; then :
11573 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11578 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11579 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11580 ac_save_CPPFLAGS=$CPPFLAGS
11581 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11582 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11583 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 #include <gnutls/gnutls.h>
11587 #include <gnutls/crypto.h>
11589 main ()
11591 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11593 return 0;
11595 _ACEOF
11596 if ac_fn_c_try_compile "$LINENO"; then :
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11598 $as_echo_n "checking for -lgnutls... " >&6; }
11599 if ${ac_cv_lib_soname_gnutls+:} false; then :
11600 $as_echo_n "(cached) " >&6
11601 else
11602 ac_check_soname_save_LIBS=$LIBS
11603 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605 /* end confdefs.h. */
11607 /* Override any GCC internal prototype to avoid an error.
11608 Use char because int might match the return type of a GCC
11609 builtin and then its argument prototype would still apply. */
11610 #ifdef __cplusplus
11611 extern "C"
11612 #endif
11613 char gnutls_global_init ();
11615 main ()
11617 return gnutls_global_init ();
11619 return 0;
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"; then :
11623 case "$LIBEXT" in
11624 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11625 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'` ;;
11626 *) 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'`
11627 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11628 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'`
11629 fi ;;
11630 esac
11632 rm -f core conftest.err conftest.$ac_objext \
11633 conftest$ac_exeext conftest.$ac_ext
11634 LIBS=$ac_check_soname_save_LIBS
11636 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11638 $as_echo "not found" >&6; }
11639 GNUTLS_CFLAGS=""
11640 else
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11642 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11644 cat >>confdefs.h <<_ACEOF
11645 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11646 _ACEOF
11650 ac_wine_check_funcs_save_LIBS="$LIBS"
11651 LIBS="$LIBS $GNUTLS_LIBS"
11652 for ac_func in gnutls_hash
11653 do :
11654 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11655 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11656 cat >>confdefs.h <<_ACEOF
11657 #define HAVE_GNUTLS_HASH 1
11658 _ACEOF
11660 else
11661 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11663 done
11665 LIBS="$ac_wine_check_funcs_save_LIBS"
11667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11668 else
11669 GNUTLS_CFLAGS=""
11673 CPPFLAGS=$ac_save_CPPFLAGS
11674 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11675 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11678 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11679 case "x$with_gnutls" in
11680 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11681 xno) ;;
11682 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11683 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11684 esac
11688 CURSES_LIBS=""
11689 if test "$ac_cv_header_ncurses_h" = "yes"
11690 then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11692 $as_echo_n "checking for -lncurses... " >&6; }
11693 if ${ac_cv_lib_soname_ncurses+:} false; then :
11694 $as_echo_n "(cached) " >&6
11695 else
11696 ac_check_soname_save_LIBS=$LIBS
11697 LIBS="-lncurses $LIBS"
11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h. */
11701 /* Override any GCC internal prototype to avoid an error.
11702 Use char because int might match the return type of a GCC
11703 builtin and then its argument prototype would still apply. */
11704 #ifdef __cplusplus
11705 extern "C"
11706 #endif
11707 char waddch ();
11709 main ()
11711 return waddch ();
11713 return 0;
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"; then :
11717 case "$LIBEXT" in
11718 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11719 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'` ;;
11720 *) 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'`
11721 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11722 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11723 fi ;;
11724 esac
11726 rm -f core conftest.err conftest.$ac_objext \
11727 conftest$ac_exeext conftest.$ac_ext
11728 LIBS=$ac_check_soname_save_LIBS
11730 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11732 $as_echo "not found" >&6; }
11734 else
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11736 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11738 cat >>confdefs.h <<_ACEOF
11739 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11740 _ACEOF
11742 CURSES_LIBS="-lncurses"
11744 elif test "$ac_cv_header_curses_h" = "yes"
11745 then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11747 $as_echo_n "checking for -lcurses... " >&6; }
11748 if ${ac_cv_lib_soname_curses+:} false; then :
11749 $as_echo_n "(cached) " >&6
11750 else
11751 ac_check_soname_save_LIBS=$LIBS
11752 LIBS="-lcurses $LIBS"
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11756 /* Override any GCC internal prototype to avoid an error.
11757 Use char because int might match the return type of a GCC
11758 builtin and then its argument prototype would still apply. */
11759 #ifdef __cplusplus
11760 extern "C"
11761 #endif
11762 char waddch ();
11764 main ()
11766 return waddch ();
11768 return 0;
11770 _ACEOF
11771 if ac_fn_c_try_link "$LINENO"; then :
11772 case "$LIBEXT" in
11773 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11774 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'` ;;
11775 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11776 if ${ac_cv_lib_soname_curses:+false} :; then :
11777 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11778 fi ;;
11779 esac
11781 rm -f core conftest.err conftest.$ac_objext \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_soname_save_LIBS
11785 if ${ac_cv_lib_soname_curses:+false} :; then :
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11787 $as_echo "not found" >&6; }
11789 else
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11791 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11793 cat >>confdefs.h <<_ACEOF
11794 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11795 _ACEOF
11797 CURSES_LIBS="-lcurses"
11800 ac_save_LIBS="$LIBS"
11801 LIBS="$LIBS $CURSES_LIBS"
11802 for ac_func in mousemask
11803 do :
11804 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11805 if test "x$ac_cv_func_mousemask" = xyes; then :
11806 cat >>confdefs.h <<_ACEOF
11807 #define HAVE_MOUSEMASK 1
11808 _ACEOF
11811 done
11813 LIBS="$ac_save_LIBS"
11814 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11815 case "x$with_curses" in
11816 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11817 xno) ;;
11818 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11819 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11820 esac
11824 if test "x$with_sane" != "xno"
11825 then
11826 if ${SANE_CFLAGS:+false} :; then :
11827 if ${PKG_CONFIG+:} false; then :
11828 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11831 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11832 if ${SANE_LIBS:+false} :; then :
11833 if ${PKG_CONFIG+:} false; then :
11834 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11837 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11839 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11840 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11841 ac_save_CPPFLAGS=$CPPFLAGS
11842 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11843 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11844 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11846 $as_echo_n "checking for -lsane... " >&6; }
11847 if ${ac_cv_lib_soname_sane+:} false; then :
11848 $as_echo_n "(cached) " >&6
11849 else
11850 ac_check_soname_save_LIBS=$LIBS
11851 LIBS="-lsane $SANE_LIBS $LIBS"
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char sane_init ();
11863 main ()
11865 return sane_init ();
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_link "$LINENO"; then :
11871 case "$LIBEXT" in
11872 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11873 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'` ;;
11874 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11875 if ${ac_cv_lib_soname_sane:+false} :; then :
11876 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11877 fi ;;
11878 esac
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_soname_save_LIBS
11884 if ${ac_cv_lib_soname_sane:+false} :; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11886 $as_echo "not found" >&6; }
11887 SANE_CFLAGS=""
11888 else
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11890 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11892 cat >>confdefs.h <<_ACEOF
11893 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11894 _ACEOF
11898 else
11899 SANE_CFLAGS=""
11903 CPPFLAGS=$ac_save_CPPFLAGS
11904 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11905 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11908 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11909 case "x$with_sane" in
11910 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11911 xno) ;;
11912 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11913 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11914 esac
11918 if test "x$with_v4l" != "xno"
11919 then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11921 $as_echo_n "checking for -lv4l1... " >&6; }
11922 if ${ac_cv_lib_soname_v4l1+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_soname_save_LIBS=$LIBS
11926 LIBS="-lv4l1 $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char v4l1_open ();
11938 main ()
11940 return v4l1_open ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 case "$LIBEXT" in
11947 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11948 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'` ;;
11949 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11950 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11951 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11952 fi ;;
11953 esac
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_soname_save_LIBS
11959 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11961 $as_echo "not found" >&6; }
11963 else
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11965 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11967 cat >>confdefs.h <<_ACEOF
11968 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11969 _ACEOF
11974 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11975 case "x$with_v4l" in
11976 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11977 xno) ;;
11978 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11979 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11980 esac
11984 if test "x$with_gphoto" != "xno"
11985 then
11986 if ${GPHOTO2_CFLAGS:+false} :; then :
11987 if ${PKG_CONFIG+:} false; then :
11988 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11991 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11992 if ${GPHOTO2_LIBS:+false} :; then :
11993 if ${PKG_CONFIG+:} false; then :
11994 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11997 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11998 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11999 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12000 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12001 ac_save_CPPFLAGS=$CPPFLAGS
12002 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12003 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12004 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12006 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12007 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12008 $as_echo_n "(cached) " >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char gp_camera_new ();
12023 main ()
12025 return gp_camera_new ();
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_gphoto2_gp_camera_new=yes
12032 else
12033 ac_cv_lib_gphoto2_gp_camera_new=no
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12040 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12041 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12043 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12045 else
12046 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12049 else
12050 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12054 CPPFLAGS=$ac_save_CPPFLAGS
12055 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12056 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12058 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12059 if ${PKG_CONFIG+:} false; then :
12060 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12063 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12064 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12065 if ${PKG_CONFIG+:} false; then :
12066 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12069 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12070 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12071 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12072 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12073 ac_save_CPPFLAGS=$CPPFLAGS
12074 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12075 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12078 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12079 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12080 $as_echo_n "(cached) " >&6
12081 else
12082 ac_check_lib_save_LIBS=$LIBS
12083 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12087 /* Override any GCC internal prototype to avoid an error.
12088 Use char because int might match the return type of a GCC
12089 builtin and then its argument prototype would still apply. */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char gp_port_info_list_new ();
12095 main ()
12097 return gp_port_info_list_new ();
12099 return 0;
12101 _ACEOF
12102 if ac_fn_c_try_link "$LINENO"; then :
12103 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12104 else
12105 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12107 rm -f core conftest.err conftest.$ac_objext \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12112 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12113 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12115 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12117 else
12118 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12121 else
12122 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12126 CPPFLAGS=$ac_save_CPPFLAGS
12127 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12128 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12131 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12132 case "x$with_gphoto" in
12133 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12134 xno) ;;
12135 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12136 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12137 esac
12140 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12141 case "x$with_gphoto" in
12142 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12143 xno) ;;
12144 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12145 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12146 esac
12151 if test "$ac_cv_header_resolv_h" = "yes"
12152 then
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12154 $as_echo_n "checking for resolver library... " >&6; }
12155 if ${ac_cv_have_resolv+:} false; then :
12156 $as_echo_n "(cached) " >&6
12157 else
12158 ac_save_LIBS="$LIBS"
12159 for lib in '' -lresolv
12161 LIBS="$lib $ac_save_LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12164 #ifdef HAVE_NETINET_IN_H
12165 #include <netinet/in.h>
12166 #endif
12167 #include <resolv.h>
12169 main ()
12171 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12173 return 0;
12175 _ACEOF
12176 if ac_fn_c_try_link "$LINENO"; then :
12177 ac_cv_have_resolv=${lib:-"none required"}
12178 else
12179 ac_cv_have_resolv="not found"
12181 rm -f core conftest.err conftest.$ac_objext \
12182 conftest$ac_exeext conftest.$ac_ext
12183 test "x$ac_cv_have_resolv" = "xnot found" || break
12184 done
12185 LIBS="$ac_save_LIBS"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12188 $as_echo "$ac_cv_have_resolv" >&6; }
12190 case "$ac_cv_have_resolv" in
12191 "not found") ;;
12192 "none required")
12194 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12197 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12199 RESOLV_LIBS=$ac_cv_have_resolv
12201 esac
12204 if test "x$with_cms" != "xno"
12205 then
12206 if ${LCMS2_CFLAGS:+false} :; then :
12207 if ${PKG_CONFIG+:} false; then :
12208 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12212 if ${LCMS2_LIBS:+false} :; then :
12213 if ${PKG_CONFIG+:} false; then :
12214 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12218 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12219 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12220 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12221 ac_save_CPPFLAGS=$CPPFLAGS
12222 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12223 for ac_header in lcms2.h
12224 do :
12225 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12226 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12227 cat >>confdefs.h <<_ACEOF
12228 #define HAVE_LCMS2_H 1
12229 _ACEOF
12233 done
12235 if test "$ac_cv_header_lcms2_h" = "yes"
12236 then
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12238 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12239 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 ac_check_lib_save_LIBS=$LIBS
12243 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char cmsOpenProfileFromFile ();
12255 main ()
12257 return cmsOpenProfileFromFile ();
12259 return 0;
12261 _ACEOF
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12264 else
12265 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12267 rm -f core conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 LIBS=$ac_check_lib_save_LIBS
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12272 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12273 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12275 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12277 else
12278 LCMS2_LIBS=""
12281 else
12282 LCMS2_CFLAGS=""
12283 LCMS2_LIBS=""
12285 CPPFLAGS=$ac_save_CPPFLAGS
12286 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12287 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12290 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12291 case "x$with_cms" in
12292 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12293 xno) ;;
12294 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12295 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12296 esac
12300 if test "x$with_freetype" != "xno"
12301 then
12302 if ${FREETYPE_CFLAGS:+false} :; then :
12303 if ${PKG_CONFIG+:} false; then :
12304 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12307 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12308 if ${FREETYPE_LIBS:+false} :; then :
12309 if ${PKG_CONFIG+:} false; then :
12310 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12313 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12314 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12315 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12317 ac_save_CPPFLAGS=$CPPFLAGS
12318 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12319 for ac_header in ft2build.h
12320 do :
12321 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12322 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12323 cat >>confdefs.h <<_ACEOF
12324 #define HAVE_FT2BUILD_H 1
12325 _ACEOF
12329 done
12331 if test "$ac_cv_header_ft2build_h" = "yes"
12332 then
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12334 $as_echo_n "checking for -lfreetype... " >&6; }
12335 if ${ac_cv_lib_soname_freetype+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 ac_check_soname_save_LIBS=$LIBS
12339 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char FT_Init_FreeType ();
12351 main ()
12353 return FT_Init_FreeType ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"; then :
12359 case "$LIBEXT" in
12360 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12361 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'` ;;
12362 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12363 if ${ac_cv_lib_soname_freetype:+false} :; then :
12364 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12365 fi ;;
12366 esac
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_soname_save_LIBS
12372 if ${ac_cv_lib_soname_freetype:+false} :; then :
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12374 $as_echo "not found" >&6; }
12375 FREETYPE_LIBS=""
12376 else
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12378 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12380 cat >>confdefs.h <<_ACEOF
12381 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12382 _ACEOF
12385 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12387 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12388 #include FT_MODULE_H
12390 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12392 cat >>confdefs.h <<_ACEOF
12393 #define HAVE_FT_TRUETYPEENGINETYPE 1
12394 _ACEOF
12400 else
12401 FREETYPE_CFLAGS=""
12402 FREETYPE_LIBS=""
12404 CPPFLAGS=$ac_save_CPPFLAGS
12405 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12406 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12409 if test "x$ac_cv_lib_soname_freetype" = x; then :
12410 case "x$with_freetype" in
12411 xno) ;;
12412 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12413 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12414 esac
12415 enable_fonts=${enable_fonts:-no}
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12419 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12420 if ${ac_cv_c_ppdev+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12425 #ifdef HAVE_SYS_IOCTL_H
12426 # include <sys/ioctl.h>
12427 #endif
12428 #include <linux/ppdev.h>
12430 main ()
12432 ioctl (1,PPCLAIM,0)
12434 return 0;
12436 _ACEOF
12437 if ac_fn_c_try_compile "$LINENO"; then :
12438 ac_cv_c_ppdev="yes"
12439 else
12440 ac_cv_c_ppdev="no"
12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12445 $as_echo "$ac_cv_c_ppdev" >&6; }
12446 if test "$ac_cv_c_ppdev" = "yes"
12447 then
12449 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12453 ac_wine_check_funcs_save_LIBS="$LIBS"
12454 LIBS="$LIBS $PTHREAD_LIBS"
12455 for ac_func in \
12456 pthread_attr_get_np \
12457 pthread_getattr_np \
12458 pthread_getthreadid_np \
12459 pthread_get_stackaddr_np \
12460 pthread_get_stacksize_np
12461 do :
12462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12465 cat >>confdefs.h <<_ACEOF
12466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12467 _ACEOF
12470 done
12472 LIBS="$ac_wine_check_funcs_save_LIBS"
12474 if test "$ac_cv_header_zlib_h" = "yes"
12475 then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12477 $as_echo_n "checking for inflate in -lz... " >&6; }
12478 if ${ac_cv_lib_z_inflate+:} false; then :
12479 $as_echo_n "(cached) " >&6
12480 else
12481 ac_check_lib_save_LIBS=$LIBS
12482 LIBS="-lz $LIBS"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 /* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12489 #ifdef __cplusplus
12490 extern "C"
12491 #endif
12492 char inflate ();
12494 main ()
12496 return inflate ();
12498 return 0;
12500 _ACEOF
12501 if ac_fn_c_try_link "$LINENO"; then :
12502 ac_cv_lib_z_inflate=yes
12503 else
12504 ac_cv_lib_z_inflate=no
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_lib_save_LIBS
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12511 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12512 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12514 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12516 Z_LIBS="-lz"
12521 if test "x$Z_LIBS" = "x"; then :
12522 case "x$with_zlib" in
12523 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12524 xno) ;;
12525 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12526 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12527 esac
12531 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12532 then
12533 if test "$ac_cv_header_gettext_po_h" = "yes"
12534 then
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12536 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12537 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12538 $as_echo_n "(cached) " >&6
12539 else
12540 ac_check_lib_save_LIBS=$LIBS
12541 LIBS="-lgettextpo $LIBS"
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12545 /* Override any GCC internal prototype to avoid an error.
12546 Use char because int might match the return type of a GCC
12547 builtin and then its argument prototype would still apply. */
12548 #ifdef __cplusplus
12549 extern "C"
12550 #endif
12551 char po_message_msgctxt ();
12553 main ()
12555 return po_message_msgctxt ();
12557 return 0;
12559 _ACEOF
12560 if ac_fn_c_try_link "$LINENO"; then :
12561 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12562 else
12563 ac_cv_lib_gettextpo_po_message_msgctxt=no
12565 rm -f core conftest.err conftest.$ac_objext \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12570 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12571 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12573 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12575 GETTEXTPO_LIBS="-lgettextpo"
12580 if test "x$GETTEXTPO_LIBS" = "x"; then :
12581 case "x$with_gettextpo" in
12582 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12583 xno) ;;
12584 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12585 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12586 esac
12589 if test "$srcdir" != .; then :
12590 case "x$with_gettextpo" in
12591 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12592 xno) ;;
12593 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12594 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12595 esac
12600 if test "x$with_pulse" != "xno";
12601 then
12602 if ${PULSE_CFLAGS:+false} :; then :
12603 if ${PKG_CONFIG+:} false; then :
12604 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12608 if ${PULSE_LIBS:+false} :; then :
12609 if ${PKG_CONFIG+:} false; then :
12610 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12615 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12616 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12617 ac_save_CPPFLAGS=$CPPFLAGS
12618 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12619 for ac_header in pulse/pulseaudio.h
12620 do :
12621 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12622 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12623 cat >>confdefs.h <<_ACEOF
12624 #define HAVE_PULSE_PULSEAUDIO_H 1
12625 _ACEOF
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12627 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12628 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12629 $as_echo_n "(cached) " >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lpulse $PULSE_LIBS $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12639 #ifdef __cplusplus
12640 extern "C"
12641 #endif
12642 char pa_stream_is_corked ();
12644 main ()
12646 return pa_stream_is_corked ();
12648 return 0;
12650 _ACEOF
12651 if ac_fn_c_try_link "$LINENO"; then :
12652 ac_cv_lib_pulse_pa_stream_is_corked=yes
12653 else
12654 ac_cv_lib_pulse_pa_stream_is_corked=no
12656 rm -f core conftest.err conftest.$ac_objext \
12657 conftest$ac_exeext conftest.$ac_ext
12658 LIBS=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12661 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12662 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12664 else
12665 PULSE_LIBS=""
12668 else
12669 PULSE_LIBS=""
12672 done
12674 CPPFLAGS=$ac_save_CPPFLAGS
12675 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12676 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12679 if test -z "$PULSE_LIBS"; then :
12680 case "x$with_pulse" in
12681 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12682 xno) ;;
12683 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12684 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12685 esac
12686 enable_winepulse_drv=${enable_winepulse_drv:-no}
12689 if test "x$with_gstreamer" != "xno"
12690 then
12691 if ${GSTREAMER_CFLAGS:+false} :; then :
12692 if ${PKG_CONFIG+:} false; then :
12693 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12697 if ${GSTREAMER_LIBS:+false} :; then :
12698 if ${PKG_CONFIG+:} false; then :
12699 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12704 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12705 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12706 ac_save_CPPFLAGS=$CPPFLAGS
12707 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12708 ac_gst_incl=""
12709 for i in $GSTREAMER_CFLAGS
12711 case "$i" in
12712 -I*) ac_gst_incl="$ac_gst_incl $i";;
12713 esac
12714 done
12715 GSTREAMER_CFLAGS=$ac_gst_incl
12716 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12717 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12718 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12720 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12722 /* end confdefs.h. */
12723 #include <gst/gst.h>
12725 main ()
12727 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_compile "$LINENO"; then :
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12734 $as_echo "yes" >&6; }
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12736 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12737 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12738 $as_echo_n "(cached) " >&6
12739 else
12740 ac_check_lib_save_LIBS=$LIBS
12741 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12743 /* end confdefs.h. */
12745 /* Override any GCC internal prototype to avoid an error.
12746 Use char because int might match the return type of a GCC
12747 builtin and then its argument prototype would still apply. */
12748 #ifdef __cplusplus
12749 extern "C"
12750 #endif
12751 char gst_pad_new ();
12753 main ()
12755 return gst_pad_new ();
12757 return 0;
12759 _ACEOF
12760 if ac_fn_c_try_link "$LINENO"; then :
12761 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12762 else
12763 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_lib_save_LIBS
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12770 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12771 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12775 else
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777 $as_echo "no" >&6; }
12778 ac_glib2_broken=yes
12779 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785 CPPFLAGS=$ac_save_CPPFLAGS
12786 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12787 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12790 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 :
12791 case "x$with_gstreamer" in
12792 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12793 xno) ;;
12794 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12795 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12796 esac
12799 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12801 ALSA_LIBS=""
12803 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12804 then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12806 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12807 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12808 $as_echo_n "(cached) " >&6
12809 else
12810 ac_check_lib_save_LIBS=$LIBS
12811 LIBS="-lasound $LIBS"
12812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 /* end confdefs.h. */
12815 /* Override any GCC internal prototype to avoid an error.
12816 Use char because int might match the return type of a GCC
12817 builtin and then its argument prototype would still apply. */
12818 #ifdef __cplusplus
12819 extern "C"
12820 #endif
12821 char snd_pcm_hw_params_get_access_mask ();
12823 main ()
12825 return snd_pcm_hw_params_get_access_mask ();
12827 return 0;
12829 _ACEOF
12830 if ac_fn_c_try_link "$LINENO"; then :
12831 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12832 else
12833 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12835 rm -f core conftest.err conftest.$ac_objext \
12836 conftest$ac_exeext conftest.$ac_ext
12837 LIBS=$ac_check_lib_save_LIBS
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12840 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12841 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12844 #ifdef HAVE_ALSA_ASOUNDLIB_H
12845 #include <alsa/asoundlib.h>
12846 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12847 #include <sys/asoundlib.h>
12848 #endif
12850 main ()
12852 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12854 return 0;
12856 _ACEOF
12857 if ac_fn_c_try_compile "$LINENO"; then :
12858 ALSA_LIBS="-lasound"
12860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12864 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12866 if test "x$with_oss" != xno
12867 then
12868 ac_save_CPPFLAGS="$CPPFLAGS"
12869 if test -f /etc/oss.conf
12870 then
12871 . /etc/oss.conf
12873 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12874 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12875 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12876 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12877 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12879 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12881 cat >>confdefs.h <<_ACEOF
12882 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12883 _ACEOF
12885 OSS4_CFLAGS="$ac_oss_incl"
12892 CPPFLAGS="$ac_save_CPPFLAGS"
12894 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12895 case "x$with_oss" in
12896 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12897 xno) ;;
12898 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12899 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12900 esac
12901 enable_wineoss_drv=${enable_wineoss_drv:-no}
12904 if test "x$with_capi" != "xno"
12905 then
12906 if ${CAPI20_CFLAGS:+false} :; then :
12907 if ${PKG_CONFIG+:} false; then :
12908 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12912 if ${CAPI20_LIBS:+false} :; then :
12913 if ${PKG_CONFIG+:} false; then :
12914 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12919 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12920 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12921 ac_save_CPPFLAGS=$CPPFLAGS
12922 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12923 for ac_header in capi20.h linux/capi.h
12924 do :
12925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12929 cat >>confdefs.h <<_ACEOF
12930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12931 _ACEOF
12935 done
12937 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12938 then
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12940 $as_echo_n "checking for -lcapi20... " >&6; }
12941 if ${ac_cv_lib_soname_capi20+:} false; then :
12942 $as_echo_n "(cached) " >&6
12943 else
12944 ac_check_soname_save_LIBS=$LIBS
12945 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12947 /* end confdefs.h. */
12949 /* Override any GCC internal prototype to avoid an error.
12950 Use char because int might match the return type of a GCC
12951 builtin and then its argument prototype would still apply. */
12952 #ifdef __cplusplus
12953 extern "C"
12954 #endif
12955 char capi20_register ();
12957 main ()
12959 return capi20_register ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"; then :
12965 case "$LIBEXT" in
12966 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12967 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'` ;;
12968 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12969 if ${ac_cv_lib_soname_capi20:+false} :; then :
12970 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12971 fi ;;
12972 esac
12974 rm -f core conftest.err conftest.$ac_objext \
12975 conftest$ac_exeext conftest.$ac_ext
12976 LIBS=$ac_check_soname_save_LIBS
12978 if ${ac_cv_lib_soname_capi20:+false} :; then :
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12980 $as_echo "not found" >&6; }
12982 else
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12984 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12986 cat >>confdefs.h <<_ACEOF
12987 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12988 _ACEOF
12993 CPPFLAGS=$ac_save_CPPFLAGS
12994 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12995 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12998 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12999 case "x$with_capi" in
13000 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13001 xno) ;;
13002 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13003 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13004 esac
13008 CUPS_CFLAGS=""
13010 if test "x$with_cups" != "xno"
13011 then
13012 ac_save_CPPFLAGS="$CPPFLAGS"
13013 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13014 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13015 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13016 for ac_header in cups/cups.h
13017 do :
13018 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13020 cat >>confdefs.h <<_ACEOF
13021 #define HAVE_CUPS_CUPS_H 1
13022 _ACEOF
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13024 $as_echo_n "checking for -lcups... " >&6; }
13025 if ${ac_cv_lib_soname_cups+:} false; then :
13026 $as_echo_n "(cached) " >&6
13027 else
13028 ac_check_soname_save_LIBS=$LIBS
13029 LIBS="-lcups $ac_cups_libs $LIBS"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char cupsGetDefault ();
13041 main ()
13043 return cupsGetDefault ();
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 case "$LIBEXT" in
13050 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13051 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'` ;;
13052 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13053 if ${ac_cv_lib_soname_cups:+false} :; then :
13054 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13055 fi ;;
13056 esac
13058 rm -f core conftest.err conftest.$ac_objext \
13059 conftest$ac_exeext conftest.$ac_ext
13060 LIBS=$ac_check_soname_save_LIBS
13062 if ${ac_cv_lib_soname_cups:+false} :; then :
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13064 $as_echo "not found" >&6; }
13066 else
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13068 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13070 cat >>confdefs.h <<_ACEOF
13071 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13072 _ACEOF
13074 CUPS_CFLAGS="$ac_cups_cflags"
13076 for ac_header in cups/ppd.h
13077 do :
13078 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13079 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13080 cat >>confdefs.h <<_ACEOF
13081 #define HAVE_CUPS_PPD_H 1
13082 _ACEOF
13086 done
13090 done
13092 CPPFLAGS="$ac_save_CPPFLAGS"
13094 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13095 case "x$with_cups" in
13096 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13097 xno) ;;
13098 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13099 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13100 esac
13104 if test "x$with_fontconfig" != "xno"
13105 then
13106 if ${FONTCONFIG_CFLAGS:+false} :; then :
13107 if ${PKG_CONFIG+:} false; then :
13108 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13111 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13112 if ${FONTCONFIG_LIBS:+false} :; then :
13113 if ${PKG_CONFIG+:} false; then :
13114 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13117 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13119 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13121 ac_save_CPPFLAGS=$CPPFLAGS
13122 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13123 for ac_header in fontconfig/fontconfig.h
13124 do :
13125 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13126 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13127 cat >>confdefs.h <<_ACEOF
13128 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13129 _ACEOF
13133 done
13135 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13136 then
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13138 $as_echo_n "checking for -lfontconfig... " >&6; }
13139 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13140 $as_echo_n "(cached) " >&6
13141 else
13142 ac_check_soname_save_LIBS=$LIBS
13143 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* end confdefs.h. */
13147 /* Override any GCC internal prototype to avoid an error.
13148 Use char because int might match the return type of a GCC
13149 builtin and then its argument prototype would still apply. */
13150 #ifdef __cplusplus
13151 extern "C"
13152 #endif
13153 char FcInit ();
13155 main ()
13157 return FcInit ();
13159 return 0;
13161 _ACEOF
13162 if ac_fn_c_try_link "$LINENO"; then :
13163 case "$LIBEXT" in
13164 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13165 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'` ;;
13166 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13167 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13168 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13169 fi ;;
13170 esac
13172 rm -f core conftest.err conftest.$ac_objext \
13173 conftest$ac_exeext conftest.$ac_ext
13174 LIBS=$ac_check_soname_save_LIBS
13176 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13178 $as_echo "not found" >&6; }
13179 FONTCONFIG_CFLAGS=""
13180 else
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13182 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13184 cat >>confdefs.h <<_ACEOF
13185 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13186 _ACEOF
13190 else
13191 FONTCONFIG_CFLAGS=""
13193 CPPFLAGS=$ac_save_CPPFLAGS
13194 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13195 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13198 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13199 case "x$with_fontconfig" in
13200 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13201 xno) ;;
13202 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13203 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13204 esac
13208 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13209 then
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13211 $as_echo_n "checking for -lgsm... " >&6; }
13212 if ${ac_cv_lib_soname_gsm+:} false; then :
13213 $as_echo_n "(cached) " >&6
13214 else
13215 ac_check_soname_save_LIBS=$LIBS
13216 LIBS="-lgsm $LIBS"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 #ifdef __cplusplus
13224 extern "C"
13225 #endif
13226 char gsm_create ();
13228 main ()
13230 return gsm_create ();
13232 return 0;
13234 _ACEOF
13235 if ac_fn_c_try_link "$LINENO"; then :
13236 case "$LIBEXT" in
13237 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13238 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'` ;;
13239 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13240 if ${ac_cv_lib_soname_gsm:+false} :; then :
13241 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13242 fi ;;
13243 esac
13245 rm -f core conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_soname_save_LIBS
13249 if ${ac_cv_lib_soname_gsm:+false} :; then :
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13251 $as_echo "not found" >&6; }
13253 else
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13255 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13257 cat >>confdefs.h <<_ACEOF
13258 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13259 _ACEOF
13264 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13265 case "x$with_gsm" in
13266 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13267 xno) ;;
13268 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13269 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13270 esac
13274 if test "x$with_jpeg" != "xno"
13275 then
13276 if ${JPEG_CFLAGS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13282 if ${JPEG_LIBS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13289 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13290 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13291 ac_save_CPPFLAGS=$CPPFLAGS
13292 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13293 for ac_header in jpeglib.h
13294 do :
13295 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13296 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13297 cat >>confdefs.h <<_ACEOF
13298 #define HAVE_JPEGLIB_H 1
13299 _ACEOF
13303 done
13305 if test "$ac_cv_header_jpeglib_h" = "yes"
13306 then
13307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13308 $as_echo_n "checking for -ljpeg... " >&6; }
13309 if ${ac_cv_lib_soname_jpeg+:} false; then :
13310 $as_echo_n "(cached) " >&6
13311 else
13312 ac_check_soname_save_LIBS=$LIBS
13313 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13320 #ifdef __cplusplus
13321 extern "C"
13322 #endif
13323 char jpeg_start_decompress ();
13325 main ()
13327 return jpeg_start_decompress ();
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_link "$LINENO"; then :
13333 case "$LIBEXT" in
13334 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13335 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'` ;;
13336 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13337 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13338 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13339 fi ;;
13340 esac
13342 rm -f core conftest.err conftest.$ac_objext \
13343 conftest$ac_exeext conftest.$ac_ext
13344 LIBS=$ac_check_soname_save_LIBS
13346 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13348 $as_echo "not found" >&6; }
13349 JPEG_CFLAGS=""
13350 else
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13352 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13354 cat >>confdefs.h <<_ACEOF
13355 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13356 _ACEOF
13360 else
13361 JPEG_CFLAGS=""
13363 CPPFLAGS=$ac_save_CPPFLAGS
13364 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13365 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13368 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13369 case "x$with_jpeg" in
13370 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13371 xno) ;;
13372 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13373 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13374 esac
13378 if test "x$with_png" != "xno"
13379 then
13380 if ${PNG_CFLAGS:+false} :; then :
13381 if ${PKG_CONFIG+:} false; then :
13382 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13385 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13386 if ${PNG_LIBS:+false} :; then :
13387 if ${PKG_CONFIG+:} false; then :
13388 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13391 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13393 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13394 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13395 ac_save_CPPFLAGS=$CPPFLAGS
13396 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13397 for ac_header in png.h
13398 do :
13399 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13400 if test "x$ac_cv_header_png_h" = xyes; then :
13401 cat >>confdefs.h <<_ACEOF
13402 #define HAVE_PNG_H 1
13403 _ACEOF
13407 done
13409 if test "$ac_cv_header_png_h" = "yes"
13410 then
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13412 $as_echo_n "checking for -lpng... " >&6; }
13413 if ${ac_cv_lib_soname_png+:} false; then :
13414 $as_echo_n "(cached) " >&6
13415 else
13416 ac_check_soname_save_LIBS=$LIBS
13417 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13419 /* end confdefs.h. */
13421 /* Override any GCC internal prototype to avoid an error.
13422 Use char because int might match the return type of a GCC
13423 builtin and then its argument prototype would still apply. */
13424 #ifdef __cplusplus
13425 extern "C"
13426 #endif
13427 char png_create_read_struct ();
13429 main ()
13431 return png_create_read_struct ();
13433 return 0;
13435 _ACEOF
13436 if ac_fn_c_try_link "$LINENO"; then :
13437 case "$LIBEXT" in
13438 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13439 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'` ;;
13440 *) 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'`
13441 if ${ac_cv_lib_soname_png:+false} :; then :
13442 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13443 fi ;;
13444 esac
13446 rm -f core conftest.err conftest.$ac_objext \
13447 conftest$ac_exeext conftest.$ac_ext
13448 LIBS=$ac_check_soname_save_LIBS
13450 if ${ac_cv_lib_soname_png:+false} :; then :
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13452 $as_echo "not found" >&6; }
13453 PNG_CFLAGS=""
13454 else
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13456 $as_echo "$ac_cv_lib_soname_png" >&6; }
13458 cat >>confdefs.h <<_ACEOF
13459 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13460 _ACEOF
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 #include <png.h>
13466 main ()
13468 typeof(png_set_expand_gray_1_2_4_to_8) *p
13470 return 0;
13472 _ACEOF
13473 if ac_fn_c_try_compile "$LINENO"; then :
13475 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13480 else
13481 PNG_CFLAGS=""
13483 CPPFLAGS=$ac_save_CPPFLAGS
13484 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13485 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13488 if test "x$ac_cv_lib_soname_png" = "x"; then :
13489 case "x$with_png" in
13490 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13491 xno) ;;
13492 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13493 This is an error since --with-png was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "x$with_tiff" != "xno"
13499 then
13500 if ${TIFF_CFLAGS:+false} :; then :
13501 if ${PKG_CONFIG+:} false; then :
13502 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13506 if ${TIFF_LIBS:+false} :; then :
13507 if ${PKG_CONFIG+:} false; then :
13508 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13513 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13514 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13515 ac_save_CPPFLAGS=$CPPFLAGS
13516 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13517 for ac_header in tiffio.h
13518 do :
13519 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13520 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13521 cat >>confdefs.h <<_ACEOF
13522 #define HAVE_TIFFIO_H 1
13523 _ACEOF
13527 done
13529 if test "$ac_cv_header_tiffio_h" = "yes"
13530 then
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13532 $as_echo_n "checking for -ltiff... " >&6; }
13533 if ${ac_cv_lib_soname_tiff+:} false; then :
13534 $as_echo_n "(cached) " >&6
13535 else
13536 ac_check_soname_save_LIBS=$LIBS
13537 LIBS="-ltiff $TIFF_LIBS $LIBS"
13538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13539 /* end confdefs.h. */
13541 /* Override any GCC internal prototype to avoid an error.
13542 Use char because int might match the return type of a GCC
13543 builtin and then its argument prototype would still apply. */
13544 #ifdef __cplusplus
13545 extern "C"
13546 #endif
13547 char TIFFClientOpen ();
13549 main ()
13551 return TIFFClientOpen ();
13553 return 0;
13555 _ACEOF
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 case "$LIBEXT" in
13558 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13559 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'` ;;
13560 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13561 if ${ac_cv_lib_soname_tiff:+false} :; then :
13562 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13563 fi ;;
13564 esac
13566 rm -f core conftest.err conftest.$ac_objext \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_soname_save_LIBS
13570 if ${ac_cv_lib_soname_tiff:+false} :; then :
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13572 $as_echo "not found" >&6; }
13574 else
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13576 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13578 cat >>confdefs.h <<_ACEOF
13579 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13580 _ACEOF
13585 CPPFLAGS=$ac_save_CPPFLAGS
13586 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13587 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13590 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13591 case "x$with_tiff" in
13592 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13593 xno) ;;
13594 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13595 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13596 esac
13600 if test "x$with_mpg123" != "xno"
13601 then
13602 if ${MPG123_CFLAGS:+false} :; then :
13603 if ${PKG_CONFIG+:} false; then :
13604 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13608 if ${MPG123_LIBS:+false} :; then :
13609 if ${PKG_CONFIG+:} false; then :
13610 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13614 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13615 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13616 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13617 ac_save_CPPFLAGS=$CPPFLAGS
13618 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13619 for ac_header in mpg123.h
13620 do :
13621 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13622 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13623 cat >>confdefs.h <<_ACEOF
13624 #define HAVE_MPG123_H 1
13625 _ACEOF
13629 done
13631 if test "$ac_cv_header_mpg123_h" = "yes"
13632 then
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13634 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13635 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13636 $as_echo_n "(cached) " >&6
13637 else
13638 ac_check_lib_save_LIBS=$LIBS
13639 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13643 /* Override any GCC internal prototype to avoid an error.
13644 Use char because int might match the return type of a GCC
13645 builtin and then its argument prototype would still apply. */
13646 #ifdef __cplusplus
13647 extern "C"
13648 #endif
13649 char mpg123_feed ();
13651 main ()
13653 return mpg123_feed ();
13655 return 0;
13657 _ACEOF
13658 if ac_fn_c_try_link "$LINENO"; then :
13659 ac_cv_lib_mpg123_mpg123_feed=yes
13660 else
13661 ac_cv_lib_mpg123_mpg123_feed=no
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_lib_save_LIBS
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13668 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13669 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13671 else
13672 MPG123_LIBS=""
13675 else
13676 MPG123_CFLAGS=""
13677 MPG123_LIBS=""
13679 CPPFLAGS=$ac_save_CPPFLAGS
13680 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13681 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13684 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13685 case "x$with_mpg123" in
13686 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13687 xno) ;;
13688 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13689 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13690 esac
13691 enable_winemp3_acm=${enable_winemp3_acm:-no}
13694 if test "$ac_cv_header_AL_al_h" = "yes"
13695 then
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13697 $as_echo_n "checking for -lopenal... " >&6; }
13698 if ${ac_cv_lib_soname_openal+:} false; then :
13699 $as_echo_n "(cached) " >&6
13700 else
13701 ac_check_soname_save_LIBS=$LIBS
13702 LIBS="-lopenal $LIBS"
13703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13704 /* end confdefs.h. */
13706 /* Override any GCC internal prototype to avoid an error.
13707 Use char because int might match the return type of a GCC
13708 builtin and then its argument prototype would still apply. */
13709 #ifdef __cplusplus
13710 extern "C"
13711 #endif
13712 char alGetSource3i ();
13714 main ()
13716 return alGetSource3i ();
13718 return 0;
13720 _ACEOF
13721 if ac_fn_c_try_link "$LINENO"; then :
13722 case "$LIBEXT" in
13723 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13724 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'` ;;
13725 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13726 if ${ac_cv_lib_soname_openal:+false} :; then :
13727 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13728 fi ;;
13729 esac
13731 rm -f core conftest.err conftest.$ac_objext \
13732 conftest$ac_exeext conftest.$ac_ext
13733 LIBS=$ac_check_soname_save_LIBS
13735 if ${ac_cv_lib_soname_openal:+false} :; then :
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13737 $as_echo "not found" >&6; }
13739 else
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13741 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13743 cat >>confdefs.h <<_ACEOF
13744 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13745 _ACEOF
13747 OPENAL_LIBS="-lopenal"
13749 ac_cv_lib_openal=yes
13751 cat >>confdefs.h <<_ACEOF
13752 #define HAVE_OPENAL 1
13753 _ACEOF
13757 if test "x$ac_cv_lib_openal" != xyes; then :
13758 case "x$with_openal" in
13759 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13760 xno) ;;
13761 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13762 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13763 esac
13764 enable_openal32=${enable_openal32:-no}
13767 if test "x$ac_cv_lib_openal" = xyes
13768 then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13770 $as_echo_n "checking for openal-soft... " >&6; }
13771 if ${ac_cv_have_openalsoft+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 #include <AL/al.h>
13777 #include <AL/alc.h>
13778 #include <AL/alext.h>
13779 LPALCRENDERSAMPLESSOFT x;
13781 main ()
13785 return 0;
13787 _ACEOF
13788 if ac_fn_c_try_compile "$LINENO"; then :
13789 ac_cv_have_openalsoft=yes
13790 else
13791 ac_cv_have_openalsoft=no
13793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13796 $as_echo "$ac_cv_have_openalsoft" >&6; }
13798 if test "x$ac_cv_have_openalsoft" != xyes
13799 then
13800 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13801 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13802 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13803 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13804 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13805 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13806 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13807 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13808 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13809 enable_xapofx1_1=${enable_xapofx1_1:-no}
13810 enable_xapofx1_2=${enable_xapofx1_2:-no}
13811 enable_xapofx1_3=${enable_xapofx1_3:-no}
13812 enable_xapofx1_4=${enable_xapofx1_4:-no}
13813 enable_xapofx1_5=${enable_xapofx1_5:-no}
13814 enable_xaudio2_0=${enable_xaudio2_0:-no}
13815 enable_xaudio2_1=${enable_xaudio2_1:-no}
13816 enable_xaudio2_2=${enable_xaudio2_2:-no}
13817 enable_xaudio2_3=${enable_xaudio2_3:-no}
13818 enable_xaudio2_4=${enable_xaudio2_4:-no}
13819 enable_xaudio2_5=${enable_xaudio2_5:-no}
13820 enable_xaudio2_6=${enable_xaudio2_6:-no}
13821 enable_xaudio2_7=${enable_xaudio2_7:-no}
13822 enable_xaudio2_8=${enable_xaudio2_8:-no}
13823 enable_xaudio2_9=${enable_xaudio2_9:-no}
13826 if test "$ac_cv_header_kstat_h" = "yes"
13827 then
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13829 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13830 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_check_lib_save_LIBS=$LIBS
13834 LIBS="-lkstat $LIBS"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13841 #ifdef __cplusplus
13842 extern "C"
13843 #endif
13844 char kstat_open ();
13846 main ()
13848 return kstat_open ();
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 ac_cv_lib_kstat_kstat_open=yes
13855 else
13856 ac_cv_lib_kstat_kstat_open=no
13858 rm -f core conftest.err conftest.$ac_objext \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_lib_save_LIBS
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13863 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13864 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13866 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13868 KSTAT_LIBS="-lkstat"
13874 if test "$ac_cv_header_libprocstat_h" = "yes"
13875 then
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13877 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13878 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13879 $as_echo_n "(cached) " >&6
13880 else
13881 ac_check_lib_save_LIBS=$LIBS
13882 LIBS="-lprocstat $LIBS"
13883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884 /* end confdefs.h. */
13886 /* Override any GCC internal prototype to avoid an error.
13887 Use char because int might match the return type of a GCC
13888 builtin and then its argument prototype would still apply. */
13889 #ifdef __cplusplus
13890 extern "C"
13891 #endif
13892 char procstat_open_sysctl ();
13894 main ()
13896 return procstat_open_sysctl ();
13898 return 0;
13900 _ACEOF
13901 if ac_fn_c_try_link "$LINENO"; then :
13902 ac_cv_lib_procstat_procstat_open_sysctl=yes
13903 else
13904 ac_cv_lib_procstat_procstat_open_sysctl=no
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13911 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13912 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13914 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13916 PROCSTAT_LIBS="-lprocstat"
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13923 $as_echo_n "checking for -lodbc... " >&6; }
13924 if ${ac_cv_lib_soname_odbc+:} false; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 ac_check_soname_save_LIBS=$LIBS
13928 LIBS="-lodbc $LIBS"
13929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 /* end confdefs.h. */
13932 /* Override any GCC internal prototype to avoid an error.
13933 Use char because int might match the return type of a GCC
13934 builtin and then its argument prototype would still apply. */
13935 #ifdef __cplusplus
13936 extern "C"
13937 #endif
13938 char SQLConnect ();
13940 main ()
13942 return SQLConnect ();
13944 return 0;
13946 _ACEOF
13947 if ac_fn_c_try_link "$LINENO"; then :
13948 case "$LIBEXT" in
13949 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13950 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'` ;;
13951 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13952 if ${ac_cv_lib_soname_odbc:+false} :; then :
13953 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13954 fi ;;
13955 esac
13957 rm -f core conftest.err conftest.$ac_objext \
13958 conftest$ac_exeext conftest.$ac_ext
13959 LIBS=$ac_check_soname_save_LIBS
13961 if ${ac_cv_lib_soname_odbc:+false} :; then :
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13963 $as_echo "not found" >&6; }
13964 cat >>confdefs.h <<_ACEOF
13965 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13966 _ACEOF
13968 else
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13970 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13972 cat >>confdefs.h <<_ACEOF
13973 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13974 _ACEOF
13979 if test "x$with_netapi" != "xno"
13980 then
13981 if ${NETAPI_CFLAGS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13987 if ${NETAPI_LIBS:+false} :; then :
13988 if ${PKG_CONFIG+:} false; then :
13989 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13994 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13995 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13996 ac_save_CPPFLAGS=$CPPFLAGS
13997 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13999 $as_echo_n "checking for -lnetapi... " >&6; }
14000 if ${ac_cv_lib_soname_netapi+:} false; then :
14001 $as_echo_n "(cached) " >&6
14002 else
14003 ac_check_soname_save_LIBS=$LIBS
14004 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14006 /* end confdefs.h. */
14008 /* Override any GCC internal prototype to avoid an error.
14009 Use char because int might match the return type of a GCC
14010 builtin and then its argument prototype would still apply. */
14011 #ifdef __cplusplus
14012 extern "C"
14013 #endif
14014 char libnetapi_init ();
14016 main ()
14018 return libnetapi_init ();
14020 return 0;
14022 _ACEOF
14023 if ac_fn_c_try_link "$LINENO"; then :
14024 case "$LIBEXT" in
14025 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14026 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'` ;;
14027 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14028 if ${ac_cv_lib_soname_netapi:+false} :; then :
14029 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14030 fi ;;
14031 esac
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14035 LIBS=$ac_check_soname_save_LIBS
14037 if ${ac_cv_lib_soname_netapi:+false} :; then :
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14039 $as_echo "not found" >&6; }
14040 cat >>confdefs.h <<_ACEOF
14041 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14042 _ACEOF
14044 else
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14046 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14048 cat >>confdefs.h <<_ACEOF
14049 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14050 _ACEOF
14054 CPPFLAGS=$ac_save_CPPFLAGS
14055 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14056 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14060 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14061 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14062 then
14063 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14067 EXTRACFLAGS=""
14069 if test "x${GCC}" = "xyes"
14070 then
14071 EXTRACFLAGS="-Wall -pipe"
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14074 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14075 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14076 $as_echo_n "(cached) " >&6
14077 else
14078 if test "$cross_compiling" = yes; then :
14079 ac_cv_c_gcc_strength_bug="no"
14080 else
14081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14083 int L[4] = {0,1,2,3};
14085 main ()
14087 static int Array[3];
14088 unsigned int B = 3;
14089 int i;
14090 for(i=0; i<B; i++) Array[i] = i - 3;
14091 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14092 L[i] = 4;
14093 return (Array[1] != -2 || L[2] != 3)
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_run "$LINENO"; then :
14099 ac_cv_c_gcc_strength_bug="no"
14100 else
14101 ac_cv_c_gcc_strength_bug="yes"
14103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14104 conftest.$ac_objext conftest.beam conftest.$ac_ext
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14109 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14110 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14111 then
14112 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14116 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14117 if ${ac_cv_cflags__fno_builtin+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_wine_try_cflags_saved=$CFLAGS
14121 CFLAGS="$CFLAGS -fno-builtin"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 int main(int argc, char **argv) { return 0; }
14125 _ACEOF
14126 if ac_fn_c_try_link "$LINENO"; then :
14127 ac_cv_cflags__fno_builtin=yes
14128 else
14129 ac_cv_cflags__fno_builtin=no
14131 rm -f core conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 CFLAGS=$ac_wine_try_cflags_saved
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14136 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14137 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14138 BUILTINFLAG="-fno-builtin"
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14142 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14143 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14144 $as_echo_n "(cached) " >&6
14145 else
14146 ac_wine_try_cflags_saved=$CFLAGS
14147 CFLAGS="$CFLAGS -fno-strict-aliasing"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 int main(int argc, char **argv) { return 0; }
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_cflags__fno_strict_aliasing=yes
14154 else
14155 ac_cv_cflags__fno_strict_aliasing=no
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 CFLAGS=$ac_wine_try_cflags_saved
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14162 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14163 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14164 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14167 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14168 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14169 $as_echo_n "(cached) " >&6
14170 else
14171 ac_wine_try_cflags_saved=$CFLAGS
14172 CFLAGS="$CFLAGS -fexcess-precision=standard"
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 int main(int argc, char **argv) { return 0; }
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"; then :
14178 ac_cv_cflags__fexcess_precision_standard=yes
14179 else
14180 ac_cv_cflags__fexcess_precision_standard=no
14182 rm -f core conftest.err conftest.$ac_objext \
14183 conftest$ac_exeext conftest.$ac_ext
14184 CFLAGS=$ac_wine_try_cflags_saved
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14187 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14188 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14189 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14192 saved_CFLAGS=$CFLAGS
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14194 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14195 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14196 $as_echo_n "(cached) " >&6
14197 else
14198 ac_wine_try_cflags_saved=$CFLAGS
14199 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14201 /* end confdefs.h. */
14202 int main(int argc, char **argv) { return 0; }
14203 _ACEOF
14204 if ac_fn_c_try_link "$LINENO"; then :
14205 ac_cv_cflags__Werror_unknown_warning_option=yes
14206 else
14207 ac_cv_cflags__Werror_unknown_warning_option=no
14209 rm -f core conftest.err conftest.$ac_objext \
14210 conftest$ac_exeext conftest.$ac_ext
14211 CFLAGS=$ac_wine_try_cflags_saved
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14214 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14215 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14216 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14219 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14220 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14221 $as_echo_n "(cached) " >&6
14222 else
14223 ac_wine_try_cflags_saved=$CFLAGS
14224 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 int main(int argc, char **argv) { return 0; }
14228 _ACEOF
14229 if ac_fn_c_try_link "$LINENO"; then :
14230 ac_cv_cflags__Wdeclaration_after_statement=yes
14231 else
14232 ac_cv_cflags__Wdeclaration_after_statement=no
14234 rm -f core conftest.err conftest.$ac_objext \
14235 conftest$ac_exeext conftest.$ac_ext
14236 CFLAGS=$ac_wine_try_cflags_saved
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14239 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14240 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14241 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14244 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14245 if ${ac_cv_cflags__Wempty_body+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_wine_try_cflags_saved=$CFLAGS
14249 CFLAGS="$CFLAGS -Wempty-body"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14252 int main(int argc, char **argv) { return 0; }
14253 _ACEOF
14254 if ac_fn_c_try_link "$LINENO"; then :
14255 ac_cv_cflags__Wempty_body=yes
14256 else
14257 ac_cv_cflags__Wempty_body=no
14259 rm -f core conftest.err conftest.$ac_objext \
14260 conftest$ac_exeext conftest.$ac_ext
14261 CFLAGS=$ac_wine_try_cflags_saved
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14264 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14265 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14266 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14269 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14270 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14271 $as_echo_n "(cached) " >&6
14272 else
14273 ac_wine_try_cflags_saved=$CFLAGS
14274 CFLAGS="$CFLAGS -Wignored-qualifiers"
14275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 int main(int argc, char **argv) { return 0; }
14278 _ACEOF
14279 if ac_fn_c_try_link "$LINENO"; then :
14280 ac_cv_cflags__Wignored_qualifiers=yes
14281 else
14282 ac_cv_cflags__Wignored_qualifiers=no
14284 rm -f core conftest.err conftest.$ac_objext \
14285 conftest$ac_exeext conftest.$ac_ext
14286 CFLAGS=$ac_wine_try_cflags_saved
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14289 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14290 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14291 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14294 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14295 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14296 $as_echo_n "(cached) " >&6
14297 else
14298 ac_wine_try_cflags_saved=$CFLAGS
14299 CFLAGS="$CFLAGS -Wshift-overflow=2"
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14301 /* end confdefs.h. */
14302 int main(int argc, char **argv) { return 0; }
14303 _ACEOF
14304 if ac_fn_c_try_link "$LINENO"; then :
14305 ac_cv_cflags__Wshift_overflow_2=yes
14306 else
14307 ac_cv_cflags__Wshift_overflow_2=no
14309 rm -f core conftest.err conftest.$ac_objext \
14310 conftest$ac_exeext conftest.$ac_ext
14311 CFLAGS=$ac_wine_try_cflags_saved
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14314 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14315 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14316 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14319 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14320 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14321 $as_echo_n "(cached) " >&6
14322 else
14323 ac_wine_try_cflags_saved=$CFLAGS
14324 CFLAGS="$CFLAGS -Wstrict-prototypes"
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14327 int main(int argc, char **argv) { return 0; }
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_cflags__Wstrict_prototypes=yes
14331 else
14332 ac_cv_cflags__Wstrict_prototypes=no
14334 rm -f core conftest.err conftest.$ac_objext \
14335 conftest$ac_exeext conftest.$ac_ext
14336 CFLAGS=$ac_wine_try_cflags_saved
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14339 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14340 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14341 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14344 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14345 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_wine_try_cflags_saved=$CFLAGS
14349 CFLAGS="$CFLAGS -Wtype-limits"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14352 int main(int argc, char **argv) { return 0; }
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"; then :
14355 ac_cv_cflags__Wtype_limits=yes
14356 else
14357 ac_cv_cflags__Wtype_limits=no
14359 rm -f core conftest.err conftest.$ac_objext \
14360 conftest$ac_exeext conftest.$ac_ext
14361 CFLAGS=$ac_wine_try_cflags_saved
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14364 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14365 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14366 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14369 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14370 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14371 $as_echo_n "(cached) " >&6
14372 else
14373 ac_wine_try_cflags_saved=$CFLAGS
14374 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14376 /* end confdefs.h. */
14377 int main(int argc, char **argv) { return 0; }
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"; then :
14380 ac_cv_cflags__Wunused_but_set_parameter=yes
14381 else
14382 ac_cv_cflags__Wunused_but_set_parameter=no
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 CFLAGS=$ac_wine_try_cflags_saved
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14389 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14390 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14391 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14394 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14395 if ${ac_cv_cflags__Wvla+:} false; then :
14396 $as_echo_n "(cached) " >&6
14397 else
14398 ac_wine_try_cflags_saved=$CFLAGS
14399 CFLAGS="$CFLAGS -Wvla"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14402 int main(int argc, char **argv) { return 0; }
14403 _ACEOF
14404 if ac_fn_c_try_link "$LINENO"; then :
14405 ac_cv_cflags__Wvla=yes
14406 else
14407 ac_cv_cflags__Wvla=no
14409 rm -f core conftest.err conftest.$ac_objext \
14410 conftest$ac_exeext conftest.$ac_ext
14411 CFLAGS=$ac_wine_try_cflags_saved
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14414 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14415 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14416 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14419 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14420 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14421 $as_echo_n "(cached) " >&6
14422 else
14423 ac_wine_try_cflags_saved=$CFLAGS
14424 CFLAGS="$CFLAGS -Wwrite-strings"
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 int main(int argc, char **argv) { return 0; }
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"; then :
14430 ac_cv_cflags__Wwrite_strings=yes
14431 else
14432 ac_cv_cflags__Wwrite_strings=no
14434 rm -f core conftest.err conftest.$ac_objext \
14435 conftest$ac_exeext conftest.$ac_ext
14436 CFLAGS=$ac_wine_try_cflags_saved
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14439 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14440 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14441 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14445 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14446 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_wine_try_cflags_saved=$CFLAGS
14450 CFLAGS="$CFLAGS -Wpointer-arith"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14453 int main(int argc, char **argv) { return 0; }
14454 _ACEOF
14455 if ac_fn_c_try_link "$LINENO"; then :
14456 ac_cv_cflags__Wpointer_arith=yes
14457 else
14458 ac_cv_cflags__Wpointer_arith=no
14460 rm -f core conftest.err conftest.$ac_objext \
14461 conftest$ac_exeext conftest.$ac_ext
14462 CFLAGS=$ac_wine_try_cflags_saved
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14465 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14466 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14467 saved_string_h_CFLAGS=$CFLAGS
14468 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14470 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14471 if ${ac_cv_c_string_h_warnings+:} false; then :
14472 $as_echo_n "(cached) " >&6
14473 else
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 #include <string.h>
14478 main ()
14482 return 0;
14484 _ACEOF
14485 if ac_fn_c_try_compile "$LINENO"; then :
14486 ac_cv_c_string_h_warnings=no
14487 else
14488 ac_cv_c_string_h_warnings=yes
14490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14493 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14494 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14495 CFLAGS=$saved_string_h_CFLAGS
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14499 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14500 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14501 $as_echo_n "(cached) " >&6
14502 else
14503 ac_wine_try_cflags_saved=$CFLAGS
14504 CFLAGS="$CFLAGS -Wlogical-op"
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14507 int main(int argc, char **argv) { return 0; }
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 ac_cv_cflags__Wlogical_op=yes
14511 else
14512 ac_cv_cflags__Wlogical_op=no
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 CFLAGS=$ac_wine_try_cflags_saved
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14519 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14520 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14521 saved_string_h_CFLAGS=$CFLAGS
14522 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14524 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14525 if ${ac_cv_c_logicalop_noisy+:} false; then :
14526 $as_echo_n "(cached) " >&6
14527 else
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530 #include <string.h>
14531 char*f(const char *h,char n) {return strchr(h,n);}
14533 main ()
14537 return 0;
14539 _ACEOF
14540 if ac_fn_c_try_compile "$LINENO"; then :
14541 ac_cv_c_logicalop_noisy=no
14542 else
14543 ac_cv_c_logicalop_noisy=yes
14545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14548 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14549 CFLAGS=$saved_string_h_CFLAGS
14550 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14553 CFLAGS=$saved_CFLAGS
14555 for ac_flag in $CFLAGS; do
14556 case $ac_flag in
14557 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14558 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14559 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14560 $as_echo_n "(cached) " >&6
14561 else
14562 ac_wine_try_cflags_saved=$CFLAGS
14563 CFLAGS="$CFLAGS -gdwarf-2"
14564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14565 /* end confdefs.h. */
14566 int main(int argc, char **argv) { return 0; }
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_cflags__gdwarf_2=yes
14570 else
14571 ac_cv_cflags__gdwarf_2=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 CFLAGS=$ac_wine_try_cflags_saved
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14578 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14579 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14580 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14583 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14584 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_wine_try_cflags_saved=$CFLAGS
14588 CFLAGS="$CFLAGS -gstrict-dwarf"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14591 int main(int argc, char **argv) { return 0; }
14592 _ACEOF
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_cflags__gstrict_dwarf=yes
14595 else
14596 ac_cv_cflags__gstrict_dwarf=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 CFLAGS=$ac_wine_try_cflags_saved
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14603 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14604 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14605 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14606 fi ;;
14607 esac
14608 done
14610 case $host_cpu in
14611 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14612 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14613 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14614 $as_echo_n "(cached) " >&6
14615 else
14616 ac_wine_try_cflags_saved=$CFLAGS
14617 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14619 /* end confdefs.h. */
14620 int main(int argc, char **argv) { return 0; }
14621 _ACEOF
14622 if ac_fn_c_try_link "$LINENO"; then :
14623 ac_cv_cflags__fno_omit_frame_pointer=yes
14624 else
14625 ac_cv_cflags__fno_omit_frame_pointer=no
14627 rm -f core conftest.err conftest.$ac_objext \
14628 conftest$ac_exeext conftest.$ac_ext
14629 CFLAGS=$ac_wine_try_cflags_saved
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14632 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14633 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14634 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14635 fi ;;
14636 esac
14638 case $host in
14639 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14640 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14641 if ${ac_cv_cflags__Wno_format+:} false; then :
14642 $as_echo_n "(cached) " >&6
14643 else
14644 ac_wine_try_cflags_saved=$CFLAGS
14645 CFLAGS="$CFLAGS -Wno-format"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14648 int main(int argc, char **argv) { return 0; }
14649 _ACEOF
14650 if ac_fn_c_try_link "$LINENO"; then :
14651 ac_cv_cflags__Wno_format=yes
14652 else
14653 ac_cv_cflags__Wno_format=no
14655 rm -f core conftest.err conftest.$ac_objext \
14656 conftest$ac_exeext conftest.$ac_ext
14657 CFLAGS=$ac_wine_try_cflags_saved
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14660 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14661 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14662 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14663 fi ;;
14664 esac
14666 if test "x$enable_maintainer_mode" = "xyes"
14667 then
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14669 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14670 if ${ac_cv_cflags__Werror+:} false; then :
14671 $as_echo_n "(cached) " >&6
14672 else
14673 ac_wine_try_cflags_saved=$CFLAGS
14674 CFLAGS="$CFLAGS -Werror"
14675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h. */
14677 int main(int argc, char **argv) { return 0; }
14678 _ACEOF
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_cflags__Werror=yes
14681 else
14682 ac_cv_cflags__Werror=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 CFLAGS=$ac_wine_try_cflags_saved
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14689 $as_echo "$ac_cv_cflags__Werror" >&6; }
14690 if test "x$ac_cv_cflags__Werror" = xyes; then :
14691 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14695 saved_CFLAGS="$CFLAGS"
14696 CFLAGS="$CFLAGS -Werror"
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14698 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14699 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14700 $as_echo_n "(cached) " >&6
14701 else
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14706 main ()
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_compile "$LINENO"; then :
14714 ac_cv_have_ms_hook_prologue="yes"
14715 else
14716 ac_cv_have_ms_hook_prologue="no"
14718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14721 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14722 CFLAGS="$saved_CFLAGS"
14723 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14724 then
14726 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14728 else
14729 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14736 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14737 if ${ac_cv_c_fortify_enabled+:} false; then :
14738 $as_echo_n "(cached) " >&6
14739 else
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 #include <string.h>
14744 main ()
14746 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14747 #error Fortify enabled
14748 #endif
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_compile "$LINENO"; then :
14754 ac_cv_c_fortify_enabled=no
14755 else
14756 ac_cv_c_fortify_enabled=yes
14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14761 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14762 if test "$ac_cv_c_fortify_enabled" = yes
14763 then
14764 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14769 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14770 if ${ac_cv_c_extern_prefix+:} false; then :
14771 $as_echo_n "(cached) " >&6
14772 else
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14775 extern int ac_test;
14777 main ()
14779 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_c_extern_prefix="yes"
14786 else
14787 ac_cv_c_extern_prefix="no"
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14793 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14795 case $host_cpu in
14796 *i[3456789]86*)
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14798 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14799 if ${ac_cv_c_stdcall_suffix+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14804 #ifndef _MSC_VER
14805 #define __stdcall __attribute__((__stdcall__))
14806 #endif
14807 int __stdcall ac_test(int i) { return i; }
14809 main ()
14811 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14813 return 0;
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_c_stdcall_suffix="yes"
14818 else
14819 ac_cv_c_stdcall_suffix="no"
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14825 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14826 *) ac_cv_c_stdcall_suffix="no" ;;
14827 esac
14830 if test "$ac_cv_c_extern_prefix" = "yes"
14831 then
14832 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14834 asm_name_prefix="_"
14835 else
14836 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14838 asm_name_prefix=""
14842 if test "$ac_cv_c_stdcall_suffix" = "yes"
14843 then
14844 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14846 else
14847 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14853 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14854 if ${ac_cv_asm_func_def+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14861 main ()
14863 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_asm_func_def=".def"
14870 else
14871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14872 /* end confdefs.h. */
14875 main ()
14877 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14879 return 0;
14881 _ACEOF
14882 if ac_fn_c_try_link "$LINENO"; then :
14883 ac_cv_asm_func_def=".type @function"
14884 else
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14889 main ()
14891 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 ac_cv_asm_func_def=".type 2"
14898 else
14899 ac_cv_asm_func_def="unknown"
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14904 rm -f core conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14907 rm -f core conftest.err conftest.$ac_objext \
14908 conftest$ac_exeext conftest.$ac_ext
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14911 $as_echo "$ac_cv_asm_func_def" >&6; }
14914 case "$ac_cv_asm_func_def" in
14915 ".def")
14916 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14918 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14919 ".type @function")
14920 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14922 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14923 ".type 2")
14924 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14926 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14928 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14930 asm_func_header="" ;;
14931 esac
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14934 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14935 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h. */
14940 asm(".text\n\t.long 0");
14942 main ()
14946 return 0;
14948 _ACEOF
14949 if ac_fn_c_try_compile "$LINENO"; then :
14950 ac_cv_c_asm_outside_funcs="yes"
14951 else
14952 ac_cv_c_asm_outside_funcs="no"
14954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14957 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14960 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14961 if ${ac_cv_c_dot_previous+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14968 main ()
14970 asm(".text\nac_test:\t.long 0\n\t.previous");
14972 return 0;
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_c_dot_previous="yes"
14977 else
14978 ac_cv_c_dot_previous="no"
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14984 $as_echo "$ac_cv_c_dot_previous" >&6; }
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14987 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14988 if ${ac_cv_c_cfi_support+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14995 main ()
14999 return 0;
15001 _ACEOF
15002 if ac_fn_c_try_compile "$LINENO"; then :
15003 ac_cv_c_cfi_support="yes"
15004 else
15005 ac_cv_c_cfi_support="no"
15007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15010 $as_echo "$ac_cv_c_cfi_support" >&6; }
15012 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15013 asm_func_trailer=""
15014 if test "$ac_cv_c_dot_previous" = "yes"
15015 then
15016 asm_func_trailer="\\n\\t.previous"
15018 if test "$ac_cv_c_cfi_support" = "yes"
15019 then
15020 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15021 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15023 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15025 UNWINDFLAGS=-fasynchronous-unwind-tables
15027 else
15028 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15030 if test "x$enable_win64" = "xyes"
15031 then
15032 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15036 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15039 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15040 then
15041 cat >>confdefs.h <<_ACEOF
15042 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15043 _ACEOF
15045 else
15046 cat >>confdefs.h <<_ACEOF
15047 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15048 _ACEOF
15052 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15055 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15059 case $build_os in
15060 cygwin*|mingw32*) TOOLSEXT=".exe"
15062 esac
15064 case $host_os in
15065 linux-android*) ;;
15066 linux*)
15067 case $host_cpu in
15068 *i[3456789]86*|x86_64*)
15069 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15070 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15072 esac
15074 esac
15077 ac_save_CFLAGS="$CFLAGS"
15078 CFLAGS="$CFLAGS $BUILTINFLAG"
15079 for ac_func in \
15080 __res_get_state \
15081 __res_getservers \
15082 _finite \
15083 _isnan \
15084 _pclose \
15085 _popen \
15086 _snprintf \
15087 _spawnvp \
15088 _strdup \
15089 _stricmp \
15090 _strnicmp \
15091 _strtoi64 \
15092 _strtoui64 \
15093 _vsnprintf \
15094 asctime_r \
15095 chsize \
15096 dlopen \
15097 epoll_create \
15098 ffs \
15099 finitef \
15100 fnmatch \
15101 fork \
15102 fpclass \
15103 fstatfs \
15104 fstatvfs \
15105 ftruncate \
15106 futimens \
15107 futimes \
15108 futimesat \
15109 getattrlist \
15110 getopt_long_only \
15111 getpwuid \
15112 gettimeofday \
15113 getuid \
15114 if_nameindex \
15115 isnanf \
15116 kqueue \
15117 lstat \
15118 memmove \
15119 mmap \
15120 pclose \
15121 pipe2 \
15122 poll \
15123 popen \
15124 port_create \
15125 prctl \
15126 pread \
15127 proc_pidinfo \
15128 pwrite \
15129 readdir \
15130 readlink \
15131 sched_yield \
15132 select \
15133 setproctitle \
15134 setprogname \
15135 setrlimit \
15136 settimeofday \
15137 sigaltstack \
15138 sigprocmask \
15139 snprintf \
15140 statfs \
15141 statvfs \
15142 strcasecmp \
15143 strdup \
15144 strerror \
15145 strncasecmp \
15146 strtold \
15147 strtoll \
15148 strtoull \
15149 symlink \
15150 sysinfo \
15151 tcdrain \
15152 thr_kill2 \
15153 timegm \
15154 usleep \
15155 vsnprintf
15157 do :
15158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15160 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15163 _ACEOF
15166 done
15168 CFLAGS="$ac_save_CFLAGS"
15170 if test "$ac_cv_func_dlopen" = no
15171 then
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15174 if ${ac_cv_lib_dl_dlopen+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 ac_check_lib_save_LIBS=$LIBS
15178 LIBS="-ldl $LIBS"
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15182 /* Override any GCC internal prototype to avoid an error.
15183 Use char because int might match the return type of a GCC
15184 builtin and then its argument prototype would still apply. */
15185 #ifdef __cplusplus
15186 extern "C"
15187 #endif
15188 char dlopen ();
15190 main ()
15192 return dlopen ();
15194 return 0;
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_lib_dl_dlopen=yes
15199 else
15200 ac_cv_lib_dl_dlopen=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 LIBS=$ac_check_lib_save_LIBS
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15208 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15209 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15210 DL_LIBS="-ldl"
15215 ac_wine_check_funcs_save_LIBS="$LIBS"
15216 LIBS="$LIBS $DL_LIBS"
15217 for ac_func in dladdr
15218 do :
15219 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15220 if test "x$ac_cv_func_dladdr" = xyes; then :
15221 cat >>confdefs.h <<_ACEOF
15222 #define HAVE_DLADDR 1
15223 _ACEOF
15226 done
15228 LIBS="$ac_wine_check_funcs_save_LIBS"
15230 if test "$ac_cv_func_poll" = no
15231 then
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15233 $as_echo_n "checking for poll in -lpoll... " >&6; }
15234 if ${ac_cv_lib_poll_poll+:} false; then :
15235 $as_echo_n "(cached) " >&6
15236 else
15237 ac_check_lib_save_LIBS=$LIBS
15238 LIBS="-lpoll $LIBS"
15239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15240 /* end confdefs.h. */
15242 /* Override any GCC internal prototype to avoid an error.
15243 Use char because int might match the return type of a GCC
15244 builtin and then its argument prototype would still apply. */
15245 #ifdef __cplusplus
15246 extern "C"
15247 #endif
15248 char poll ();
15250 main ()
15252 return poll ();
15254 return 0;
15256 _ACEOF
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 ac_cv_lib_poll_poll=yes
15259 else
15260 ac_cv_lib_poll_poll=no
15262 rm -f core conftest.err conftest.$ac_objext \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_lib_save_LIBS
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15267 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15268 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15269 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15270 POLL_LIBS="-lpoll"
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15277 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15278 if ${ac_cv_search_gethostbyname+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 ac_func_search_save_LIBS=$LIBS
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 #ifdef __cplusplus
15289 extern "C"
15290 #endif
15291 char gethostbyname ();
15293 main ()
15295 return gethostbyname ();
15297 return 0;
15299 _ACEOF
15300 for ac_lib in '' nsl; do
15301 if test -z "$ac_lib"; then
15302 ac_res="none required"
15303 else
15304 ac_res=-l$ac_lib
15305 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 ac_cv_search_gethostbyname=$ac_res
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext
15312 if ${ac_cv_search_gethostbyname+:} false; then :
15313 break
15315 done
15316 if ${ac_cv_search_gethostbyname+:} false; then :
15318 else
15319 ac_cv_search_gethostbyname=no
15321 rm conftest.$ac_ext
15322 LIBS=$ac_func_search_save_LIBS
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15325 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15326 ac_res=$ac_cv_search_gethostbyname
15327 if test "$ac_res" != no; then :
15328 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15334 $as_echo_n "checking for library containing connect... " >&6; }
15335 if ${ac_cv_search_connect+:} false; then :
15336 $as_echo_n "(cached) " >&6
15337 else
15338 ac_func_search_save_LIBS=$LIBS
15339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15340 /* end confdefs.h. */
15342 /* Override any GCC internal prototype to avoid an error.
15343 Use char because int might match the return type of a GCC
15344 builtin and then its argument prototype would still apply. */
15345 #ifdef __cplusplus
15346 extern "C"
15347 #endif
15348 char connect ();
15350 main ()
15352 return connect ();
15354 return 0;
15356 _ACEOF
15357 for ac_lib in '' socket; do
15358 if test -z "$ac_lib"; then
15359 ac_res="none required"
15360 else
15361 ac_res=-l$ac_lib
15362 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15364 if ac_fn_c_try_link "$LINENO"; then :
15365 ac_cv_search_connect=$ac_res
15367 rm -f core conftest.err conftest.$ac_objext \
15368 conftest$ac_exeext
15369 if ${ac_cv_search_connect+:} false; then :
15370 break
15372 done
15373 if ${ac_cv_search_connect+:} false; then :
15375 else
15376 ac_cv_search_connect=no
15378 rm conftest.$ac_ext
15379 LIBS=$ac_func_search_save_LIBS
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15382 $as_echo "$ac_cv_search_connect" >&6; }
15383 ac_res=$ac_cv_search_connect
15384 if test "$ac_res" != no; then :
15385 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15391 $as_echo_n "checking for library containing inet_aton... " >&6; }
15392 if ${ac_cv_search_inet_aton+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_func_search_save_LIBS=$LIBS
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15399 /* Override any GCC internal prototype to avoid an error.
15400 Use char because int might match the return type of a GCC
15401 builtin and then its argument prototype would still apply. */
15402 #ifdef __cplusplus
15403 extern "C"
15404 #endif
15405 char inet_aton ();
15407 main ()
15409 return inet_aton ();
15411 return 0;
15413 _ACEOF
15414 for ac_lib in '' resolv; do
15415 if test -z "$ac_lib"; then
15416 ac_res="none required"
15417 else
15418 ac_res=-l$ac_lib
15419 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15421 if ac_fn_c_try_link "$LINENO"; then :
15422 ac_cv_search_inet_aton=$ac_res
15424 rm -f core conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext
15426 if ${ac_cv_search_inet_aton+:} false; then :
15427 break
15429 done
15430 if ${ac_cv_search_inet_aton+:} false; then :
15432 else
15433 ac_cv_search_inet_aton=no
15435 rm conftest.$ac_ext
15436 LIBS=$ac_func_search_save_LIBS
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15439 $as_echo "$ac_cv_search_inet_aton" >&6; }
15440 ac_res=$ac_cv_search_inet_aton
15441 if test "$ac_res" != no; then :
15442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15447 for ac_func in \
15448 getaddrinfo \
15449 getnameinfo \
15450 getnetbyname \
15451 getprotobyname \
15452 getprotobynumber \
15453 getservbyport \
15454 inet_addr \
15455 inet_network \
15456 inet_ntop \
15457 inet_pton \
15458 sendmsg \
15459 socketpair \
15461 do :
15462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15465 cat >>confdefs.h <<_ACEOF
15466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15467 _ACEOF
15470 done
15473 ac_save_LIBS=$LIBS
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15475 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15476 if ${ac_cv_search_clock_gettime+:} false; then :
15477 $as_echo_n "(cached) " >&6
15478 else
15479 ac_func_search_save_LIBS=$LIBS
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 #ifdef __cplusplus
15487 extern "C"
15488 #endif
15489 char clock_gettime ();
15491 main ()
15493 return clock_gettime ();
15495 return 0;
15497 _ACEOF
15498 for ac_lib in '' rt; do
15499 if test -z "$ac_lib"; then
15500 ac_res="none required"
15501 else
15502 ac_res=-l$ac_lib
15503 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15505 if ac_fn_c_try_link "$LINENO"; then :
15506 ac_cv_search_clock_gettime=$ac_res
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext
15510 if ${ac_cv_search_clock_gettime+:} false; then :
15511 break
15513 done
15514 if ${ac_cv_search_clock_gettime+:} false; then :
15516 else
15517 ac_cv_search_clock_gettime=no
15519 rm conftest.$ac_ext
15520 LIBS=$ac_func_search_save_LIBS
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15523 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15524 ac_res=$ac_cv_search_clock_gettime
15525 if test "$ac_res" != no; then :
15526 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15528 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15530 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15534 LIBS=$ac_save_LIBS
15536 LDAP_LIBS=""
15538 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15539 then
15540 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15542 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15544 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15545 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15546 $as_echo_n "(cached) " >&6
15547 else
15548 ac_check_lib_save_LIBS=$LIBS
15549 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 #ifdef __cplusplus
15557 extern "C"
15558 #endif
15559 char ldap_initialize ();
15561 main ()
15563 return ldap_initialize ();
15565 return 0;
15567 _ACEOF
15568 if ac_fn_c_try_link "$LINENO"; then :
15569 ac_cv_lib_ldap_r_ldap_initialize=yes
15570 else
15571 ac_cv_lib_ldap_r_ldap_initialize=no
15573 rm -f core conftest.err conftest.$ac_objext \
15574 conftest$ac_exeext conftest.$ac_ext
15575 LIBS=$ac_check_lib_save_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15578 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15579 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15581 $as_echo_n "checking for ber_init in -llber... " >&6; }
15582 if ${ac_cv_lib_lber_ber_init+:} false; then :
15583 $as_echo_n "(cached) " >&6
15584 else
15585 ac_check_lib_save_LIBS=$LIBS
15586 LIBS="-llber $PTHREAD_LIBS $LIBS"
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char ber_init ();
15598 main ()
15600 return ber_init ();
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 ac_cv_lib_lber_ber_init=yes
15607 else
15608 ac_cv_lib_lber_ber_init=no
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15612 LIBS=$ac_check_lib_save_LIBS
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15615 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15616 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15618 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15620 LDAP_LIBS="-lldap_r -llber"
15627 ac_wine_check_funcs_save_LIBS="$LIBS"
15628 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15629 for ac_func in \
15630 ldap_count_references \
15631 ldap_first_reference \
15632 ldap_next_reference \
15633 ldap_parse_reference \
15634 ldap_parse_sort_control \
15635 ldap_parse_sortresponse_control \
15636 ldap_parse_vlv_control \
15637 ldap_parse_vlvresponse_control
15638 do :
15639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15642 cat >>confdefs.h <<_ACEOF
15643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15644 _ACEOF
15647 done
15649 LIBS="$ac_wine_check_funcs_save_LIBS"
15651 if test "x$LDAP_LIBS" = "x"; then :
15652 case "x$with_ldap" in
15653 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15654 xno) ;;
15655 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15656 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15657 esac
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15662 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15663 if ${wine_cv_one_arg_mkdir+:} false; then :
15664 $as_echo_n "(cached) " >&6
15665 else
15666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15667 /* end confdefs.h. */
15668 #include <sys/stat.h>
15670 main ()
15672 mkdir("foo");
15674 return 0;
15676 _ACEOF
15677 if ac_fn_c_try_compile "$LINENO"; then :
15678 wine_cv_one_arg_mkdir=yes
15679 else
15680 wine_cv_one_arg_mkdir=no
15682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15685 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15686 if test "$wine_cv_one_arg_mkdir" = "yes"
15687 then
15689 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15694 $as_echo_n "checking for sched_setaffinity... " >&6; }
15695 if ${wine_cv_have_sched_setaffinity+:} false; then :
15696 $as_echo_n "(cached) " >&6
15697 else
15698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15699 /* end confdefs.h. */
15700 #define _GNU_SOURCE
15701 #include <sched.h>
15703 main ()
15705 sched_setaffinity(0, 0, 0);
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 wine_cv_have_sched_setaffinity=yes
15712 else
15713 wine_cv_have_sched_setaffinity=no
15715 rm -f core conftest.err conftest.$ac_objext \
15716 conftest$ac_exeext conftest.$ac_ext
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15719 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15720 if test "$wine_cv_have_sched_setaffinity" = "yes"
15721 then
15723 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15728 $as_echo_n "checking for fallocate... " >&6; }
15729 if ${wine_cv_have_fallocate+:} false; then :
15730 $as_echo_n "(cached) " >&6
15731 else
15732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733 /* end confdefs.h. */
15734 #define _GNU_SOURCE
15735 #include <fcntl.h>
15737 main ()
15739 fallocate(-1, 0, 0, 0);
15741 return 0;
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 wine_cv_have_fallocate=yes
15746 else
15747 wine_cv_have_fallocate=no
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15753 $as_echo "$wine_cv_have_fallocate" >&6; }
15754 if test "$wine_cv_have_fallocate" = "yes"
15755 then
15757 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15763 $as_echo_n "checking for inline... " >&6; }
15764 if ${ac_cv_c_inline+:} false; then :
15765 $as_echo_n "(cached) " >&6
15766 else
15767 ac_cv_c_inline=no
15768 for ac_kw in inline __inline__ __inline; do
15769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15771 #ifndef __cplusplus
15772 typedef int foo_t;
15773 static $ac_kw foo_t static_foo () {return 0; }
15774 $ac_kw foo_t foo () {return 0; }
15775 #endif
15777 _ACEOF
15778 if ac_fn_c_try_compile "$LINENO"; then :
15779 ac_cv_c_inline=$ac_kw
15781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15782 test "$ac_cv_c_inline" != no && break
15783 done
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15787 $as_echo "$ac_cv_c_inline" >&6; }
15789 case $ac_cv_c_inline in
15790 inline | yes) ;;
15792 case $ac_cv_c_inline in
15793 no) ac_val=;;
15794 *) ac_val=$ac_cv_c_inline;;
15795 esac
15796 cat >>confdefs.h <<_ACEOF
15797 #ifndef __cplusplus
15798 #define inline $ac_val
15799 #endif
15800 _ACEOF
15802 esac
15804 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15805 if test "x$ac_cv_type_mode_t" = xyes; then :
15807 cat >>confdefs.h <<_ACEOF
15808 #define HAVE_MODE_T 1
15809 _ACEOF
15813 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15814 if test "x$ac_cv_type_off_t" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_OFF_T 1
15818 _ACEOF
15822 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15823 if test "x$ac_cv_type_pid_t" = xyes; then :
15825 cat >>confdefs.h <<_ACEOF
15826 #define HAVE_PID_T 1
15827 _ACEOF
15831 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15832 if test "x$ac_cv_type_size_t" = xyes; then :
15834 cat >>confdefs.h <<_ACEOF
15835 #define HAVE_SIZE_T 1
15836 _ACEOF
15840 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15841 if test "x$ac_cv_type_ssize_t" = xyes; then :
15843 cat >>confdefs.h <<_ACEOF
15844 #define HAVE_SSIZE_T 1
15845 _ACEOF
15849 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15850 if test "x$ac_cv_type_long_long" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_LONG_LONG 1
15854 _ACEOF
15858 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15859 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15861 cat >>confdefs.h <<_ACEOF
15862 #define HAVE_FSBLKCNT_T 1
15863 _ACEOF
15867 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15868 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_FSFILCNT_T 1
15872 _ACEOF
15877 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15878 #include <signal.h>
15880 if test "x$ac_cv_type_sigset_t" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_SIGSET_T 1
15884 _ACEOF
15889 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15891 if test "x$ac_cv_type_request_sense" = xyes; then :
15893 cat >>confdefs.h <<_ACEOF
15894 #define HAVE_REQUEST_SENSE 1
15895 _ACEOF
15901 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15902 #ifdef HAVE_SYS_SOCKET_H
15903 #include <sys/socket.h>
15904 #endif
15905 #ifdef HAVE_SYS_SOCKETVAR_H
15906 #include <sys/socketvar.h>
15907 #endif
15908 #ifdef HAVE_NET_ROUTE_H
15909 #include <net/route.h>
15910 #endif
15911 #ifdef HAVE_NETINET_IN_H
15912 #include <netinet/in.h>
15913 #endif
15914 #ifdef HAVE_NETINET_IN_SYSTM_H
15915 #include <netinet/in_systm.h>
15916 #endif
15917 #ifdef HAVE_NETINET_IP_H
15918 #include <netinet/ip.h>
15919 #endif
15920 #ifdef HAVE_NETINET_IN_PCB_H
15921 #include <netinet/in_pcb.h>
15922 #endif
15924 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_XINPGEN 1
15928 _ACEOF
15934 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15935 #include <link.h>
15936 #endif
15937 #ifdef HAVE_SYS_LINK_H
15938 #include <sys/link.h>
15939 #endif
15941 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15943 cat >>confdefs.h <<_ACEOF
15944 #define HAVE_STRUCT_R_DEBUG 1
15945 _ACEOF
15949 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15950 #include <link.h>
15951 #endif
15952 #ifdef HAVE_SYS_LINK_H
15953 #include <sys/link.h>
15954 #endif
15956 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15958 cat >>confdefs.h <<_ACEOF
15959 #define HAVE_STRUCT_LINK_MAP 1
15960 _ACEOF
15966 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15967 #include <linux/input.h>
15968 #endif
15970 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15974 _ACEOF
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15981 $as_echo_n "checking for sigaddset... " >&6; }
15982 if ${wine_cv_have_sigaddset+:} false; then :
15983 $as_echo_n "(cached) " >&6
15984 else
15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15987 #include <signal.h>
15989 main ()
15991 sigset_t set; sigaddset(&set,SIGTERM);
15993 return 0;
15995 _ACEOF
15996 if ac_fn_c_try_link "$LINENO"; then :
15997 wine_cv_have_sigaddset=yes
15998 else
15999 wine_cv_have_sigaddset=no
16001 rm -f core conftest.err conftest.$ac_objext \
16002 conftest$ac_exeext conftest.$ac_ext
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16005 $as_echo "$wine_cv_have_sigaddset" >&6; }
16006 if test "$wine_cv_have_sigaddset" = "yes"
16007 then
16009 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16015 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16016 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16017 $as_echo_n "(cached) " >&6
16018 else
16019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020 /* end confdefs.h. */
16021 #include <netdb.h>
16023 main ()
16026 char *name=0;
16027 struct hostent he;
16028 struct hostent *result;
16029 char *buf=0;
16030 int bufsize=0;
16031 int errnr;
16032 char *addr=0;
16033 int addrlen=0;
16034 int addrtype=0;
16035 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16036 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16039 return 0;
16041 _ACEOF
16042 if ac_fn_c_try_link "$LINENO"; then :
16043 wine_cv_linux_gethostbyname_r_6=yes
16044 else
16045 wine_cv_linux_gethostbyname_r_6=no
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext conftest.$ac_ext
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16053 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16054 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16055 then
16057 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16061 if test "$ac_cv_header_linux_joystick_h" = "yes"
16062 then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16064 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16065 if ${wine_cv_linux_joystick_22_api+:} false; then :
16066 $as_echo_n "(cached) " >&6
16067 else
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16071 #include <sys/ioctl.h>
16072 #include <sys/types.h>
16073 #include <linux/joystick.h>
16075 struct js_event blub;
16076 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16077 #error "no 2.2 header"
16078 #endif
16081 main ()
16083 /*empty*/
16085 return 0;
16087 _ACEOF
16088 if ac_fn_c_try_compile "$LINENO"; then :
16089 wine_cv_linux_joystick_22_api=yes
16090 else
16091 wine_cv_linux_joystick_22_api=no
16093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16097 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16098 if test "$wine_cv_linux_joystick_22_api" = "yes"
16099 then
16101 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16107 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16108 #ifdef HAVE_SYS_PARAM_H
16109 # include <sys/param.h>
16110 #endif
16111 #ifdef HAVE_SYS_MOUNT_H
16112 # include <sys/mount.h>
16113 #endif
16114 #ifdef HAVE_SYS_VFS_H
16115 # include <sys/vfs.h>
16116 #endif
16117 #ifdef HAVE_SYS_STATFS_H
16118 # include <sys/statfs.h>
16119 #endif
16121 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_STATFS_F_BFREE 1
16125 _ACEOF
16129 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16130 #ifdef HAVE_SYS_PARAM_H
16131 # include <sys/param.h>
16132 #endif
16133 #ifdef HAVE_SYS_MOUNT_H
16134 # include <sys/mount.h>
16135 #endif
16136 #ifdef HAVE_SYS_VFS_H
16137 # include <sys/vfs.h>
16138 #endif
16139 #ifdef HAVE_SYS_STATFS_H
16140 # include <sys/statfs.h>
16141 #endif
16143 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16145 cat >>confdefs.h <<_ACEOF
16146 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16147 _ACEOF
16151 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16152 #ifdef HAVE_SYS_PARAM_H
16153 # include <sys/param.h>
16154 #endif
16155 #ifdef HAVE_SYS_MOUNT_H
16156 # include <sys/mount.h>
16157 #endif
16158 #ifdef HAVE_SYS_VFS_H
16159 # include <sys/vfs.h>
16160 #endif
16161 #ifdef HAVE_SYS_STATFS_H
16162 # include <sys/statfs.h>
16163 #endif
16165 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16169 _ACEOF
16173 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16174 #ifdef HAVE_SYS_PARAM_H
16175 # include <sys/param.h>
16176 #endif
16177 #ifdef HAVE_SYS_MOUNT_H
16178 # include <sys/mount.h>
16179 #endif
16180 #ifdef HAVE_SYS_VFS_H
16181 # include <sys/vfs.h>
16182 #endif
16183 #ifdef HAVE_SYS_STATFS_H
16184 # include <sys/statfs.h>
16185 #endif
16187 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_STRUCT_STATFS_F_FFREE 1
16191 _ACEOF
16195 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16196 #ifdef HAVE_SYS_PARAM_H
16197 # include <sys/param.h>
16198 #endif
16199 #ifdef HAVE_SYS_MOUNT_H
16200 # include <sys/mount.h>
16201 #endif
16202 #ifdef HAVE_SYS_VFS_H
16203 # include <sys/vfs.h>
16204 #endif
16205 #ifdef HAVE_SYS_STATFS_H
16206 # include <sys/statfs.h>
16207 #endif
16209 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16211 cat >>confdefs.h <<_ACEOF
16212 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16213 _ACEOF
16217 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16218 #ifdef HAVE_SYS_PARAM_H
16219 # include <sys/param.h>
16220 #endif
16221 #ifdef HAVE_SYS_MOUNT_H
16222 # include <sys/mount.h>
16223 #endif
16224 #ifdef HAVE_SYS_VFS_H
16225 # include <sys/vfs.h>
16226 #endif
16227 #ifdef HAVE_SYS_STATFS_H
16228 # include <sys/statfs.h>
16229 #endif
16231 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16233 cat >>confdefs.h <<_ACEOF
16234 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16235 _ACEOF
16241 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16242 #include <sys/statvfs.h>
16243 #endif
16245 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16247 cat >>confdefs.h <<_ACEOF
16248 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16249 _ACEOF
16255 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16256 #include <dirent.h>
16257 #endif
16259 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16263 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_SOCKET_H
16271 # include <sys/socket.h>
16272 #endif
16273 #ifdef HAVE_SYS_UN_H
16274 # include <sys/un.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16281 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16286 #ifdef HAVE_SYS_SOCKET_H
16287 # include <sys/socket.h>
16288 #endif
16289 #ifdef HAVE_SYS_UN_H
16290 # include <sys/un.h>
16291 #endif
16293 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16297 _ACEOF
16301 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16302 #ifdef HAVE_SYS_SOCKET_H
16303 # include <sys/socket.h>
16304 #endif
16305 #ifdef HAVE_SYS_UN_H
16306 # include <sys/un.h>
16307 #endif
16309 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16311 cat >>confdefs.h <<_ACEOF
16312 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16313 _ACEOF
16319 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16320 #ifdef HAVE_SCSI_SG_H
16321 #include <scsi/sg.h>
16322 #endif
16324 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_SCSIREQ_T_CMD 1
16328 _ACEOF
16332 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>
16333 #ifdef HAVE_SCSI_SG_H
16334 #include <scsi/sg.h>
16335 #endif
16337 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16341 _ACEOF
16347 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16349 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16351 cat >>confdefs.h <<_ACEOF
16352 #define HAVE_SIGINFO_T_SI_FD 1
16353 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16360 #ifdef HAVE_SYS_MTIO_H
16361 #include <sys/mtio.h>
16362 #endif
16364 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16368 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16373 #ifdef HAVE_SYS_MTIO_H
16374 #include <sys/mtio.h>
16375 #endif
16377 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16381 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16386 #ifdef HAVE_SYS_MTIO_H
16387 #include <sys/mtio.h>
16388 #endif
16390 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16392 cat >>confdefs.h <<_ACEOF
16393 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16394 _ACEOF
16400 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16401 #include <getopt.h>
16402 #endif
16404 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_OPTION_NAME 1
16408 _ACEOF
16414 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16415 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16419 _ACEOF
16423 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16424 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_STAT_ST_MTIM 1
16428 _ACEOF
16432 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16433 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16435 cat >>confdefs.h <<_ACEOF
16436 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16437 _ACEOF
16441 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16442 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT_STAT_ST_CTIM 1
16446 _ACEOF
16450 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16451 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16453 cat >>confdefs.h <<_ACEOF
16454 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16455 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16460 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16462 cat >>confdefs.h <<_ACEOF
16463 #define HAVE_STRUCT_STAT_ST_ATIM 1
16464 _ACEOF
16468 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16469 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16473 _ACEOF
16477 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16478 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16482 _ACEOF
16486 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16487 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16491 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16496 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16500 _ACEOF
16504 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16505 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16509 _ACEOF
16513 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16514 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16518 _ACEOF
16524 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
16525 #include <sys/types.h>
16526 #endif
16527 #ifdef HAVE_NETINET_IN_H
16528 #include <netinet/in.h>
16529 #endif
16531 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16535 _ACEOF
16541 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16542 #include <resolv.h>
16543 #endif
16545 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_STRUCT___RES_STATE 1
16549 _ACEOF
16555 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
16556 #include <resolv.h>
16557 #endif
16559 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16563 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16570 #include <sys/types.h>
16571 #endif
16572 #ifdef HAVE_NETINET_IN_H
16573 # include <netinet/in.h>
16574 #endif
16575 #ifdef HAVE_ARPA_NAMESER_H
16576 # include <arpa/nameser.h>
16577 #endif
16579 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16581 cat >>confdefs.h <<_ACEOF
16582 #define HAVE_NS_MSG__MSG_PTR 1
16583 _ACEOF
16589 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16590 #include <sys/types.h>
16591 #endif
16592 #ifdef HAVE_NETINET_IP_H
16593 #include <netinet/ip.h>
16594 #endif
16595 #ifdef HAVE_NETINET_IP_ICMP_H
16596 #include <netinet/ip_icmp.h>
16597 #endif
16598 #ifdef HAVE_NETINET_ICMP_VAR_H
16599 #include <netinet/icmp_var.h>
16600 #endif
16602 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16606 _ACEOF
16612 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16613 #include <sys/types.h>
16614 #endif
16615 #ifdef HAVE_ALIAS_H
16616 #include <alias.h>
16617 #endif
16618 #ifdef HAVE_SYS_SOCKET_H
16619 #include <sys/socket.h>
16620 #endif
16621 #ifdef HAVE_SYS_SOCKETVAR_H
16622 #include <sys/socketvar.h>
16623 #endif
16624 #ifdef HAVE_SYS_TIMEOUT_H
16625 #include <sys/timeout.h>
16626 #endif
16627 #ifdef HAVE_NETINET_IN_H
16628 #include <netinet/in.h>
16629 #endif
16630 #ifdef HAVE_NETINET_IN_SYSTM_H
16631 #include <netinet/in_systm.h>
16632 #endif
16633 #ifdef HAVE_NETINET_IP_H
16634 #include <netinet/ip.h>
16635 #endif
16636 #ifdef HAVE_NETINET_IP_VAR_H
16637 #include <netinet/ip_var.h>
16638 #endif
16639 #ifdef HAVE_NETINET_IP_ICMP_H
16640 #include <netinet/ip_icmp.h>
16641 #endif
16642 #ifdef HAVE_NETINET_ICMP_VAR_H
16643 #include <netinet/icmp_var.h>
16644 #endif
16646 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16648 cat >>confdefs.h <<_ACEOF
16649 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16650 _ACEOF
16656 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16657 #include <sys/types.h>
16658 #endif
16659 #ifdef HAVE_SYS_SOCKETVAR_H
16660 #include <sys/socketvar.h>
16661 #endif
16662 #ifdef HAVE_NETINET_IN_H
16663 #include <netinet/in.h>
16664 #endif
16665 #ifdef HAVE_NETINET_IP_VAR_H
16666 #include <netinet/ip_var.h>
16667 #endif
16669 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16673 _ACEOF
16679 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
16680 #include <netinet/ip_var.h>
16681 #endif
16683 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16687 _ACEOF
16693 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16694 #include <sys/types.h>
16695 #endif
16696 #ifdef HAVE_SYS_SOCKETVAR_H
16697 #include <sys/socketvar.h>
16698 #endif
16699 #ifdef HAVE_NETINET_IN_H
16700 #include <netinet/in.h>
16701 #endif
16702 #ifdef HAVE_NETINET_TCP_H
16703 #include <netinet/tcp.h>
16704 #endif
16705 #ifdef HAVE_NETINET_TCP_VAR_H
16706 #include <netinet/tcp_var.h>
16707 #endif
16709 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16711 cat >>confdefs.h <<_ACEOF
16712 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16713 _ACEOF
16719 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
16720 #include <netinet/tcp_var.h>
16721 #endif
16723 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16727 _ACEOF
16733 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16734 #include <sys/types.h>
16735 #endif
16736 #ifdef HAVE_NETINET_IN_H
16737 #include <netinet/in.h>
16738 #endif
16739 #ifdef HAVE_NETINET_IP_VAR_H
16740 #include <netinet/ip_var.h>
16741 #endif
16742 #ifdef HAVE_NETINET_UDP_H
16743 #include <netinet/udp.h>
16744 #endif
16745 #ifdef HAVE_NETINET_UDP_VAR_H
16746 #include <netinet/udp_var.h>
16747 #endif
16749 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16753 _ACEOF
16759 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16760 #include <sys/types.h>
16761 #endif
16762 #ifdef HAVE_NET_IF_H
16763 # include <net/if.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16770 _ACEOF
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16777 $as_echo_n "checking for timezone variable... " >&6; }
16778 if ${ac_cv_have_timezone+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #include <time.h>
16785 main ()
16787 timezone = 1
16789 return 0;
16791 _ACEOF
16792 if ac_fn_c_try_link "$LINENO"; then :
16793 ac_cv_have_timezone="yes"
16794 else
16795 ac_cv_have_timezone="no"
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16801 $as_echo "$ac_cv_have_timezone" >&6; }
16802 if test "$ac_cv_have_timezone" = "yes"
16803 then
16805 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16809 $as_echo_n "checking for daylight variable... " >&6; }
16810 if ${ac_cv_have_daylight+:} false; then :
16811 $as_echo_n "(cached) " >&6
16812 else
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16815 #include <time.h>
16817 main ()
16819 daylight = 1
16821 return 0;
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825 ac_cv_have_daylight="yes"
16826 else
16827 ac_cv_have_daylight="no"
16829 rm -f core conftest.err conftest.$ac_objext \
16830 conftest$ac_exeext conftest.$ac_ext
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16833 $as_echo "$ac_cv_have_daylight" >&6; }
16834 if test "$ac_cv_have_daylight" = "yes"
16835 then
16837 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16841 ac_save_LIBS="$LIBS"
16842 LIBS="$LIBS -lm"
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16844 $as_echo_n "checking for isfinite... " >&6; }
16845 if ${ac_cv_have_isfinite+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16849 /* end confdefs.h. */
16850 #define _GNU_SOURCE
16851 #include <math.h>
16853 main ()
16855 float f = 0.0; return isfinite(f)
16857 return 0;
16859 _ACEOF
16860 if ac_fn_c_try_link "$LINENO"; then :
16861 ac_cv_have_isfinite="yes"
16862 else
16863 ac_cv_have_isfinite="no"
16865 rm -f core conftest.err conftest.$ac_objext \
16866 conftest$ac_exeext conftest.$ac_ext
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16869 $as_echo "$ac_cv_have_isfinite" >&6; }
16870 if test "$ac_cv_have_isfinite" = "yes"
16871 then
16873 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16878 $as_echo_n "checking for isinf... " >&6; }
16879 if ${ac_cv_have_isinf+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <math.h>
16886 main ()
16888 float f = 0.0; return isinf(f)
16890 return 0;
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 ac_cv_have_isinf="yes"
16895 else
16896 ac_cv_have_isinf="no"
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16902 $as_echo "$ac_cv_have_isinf" >&6; }
16903 if test "$ac_cv_have_isinf" = "yes"
16904 then
16906 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16911 $as_echo_n "checking for isnan... " >&6; }
16912 if ${ac_cv_have_isnan+:} false; then :
16913 $as_echo_n "(cached) " >&6
16914 else
16915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16916 /* end confdefs.h. */
16917 #include <math.h>
16919 main ()
16921 float f = 0.0; return isnan(f)
16923 return 0;
16925 _ACEOF
16926 if ac_fn_c_try_link "$LINENO"; then :
16927 ac_cv_have_isnan="yes"
16928 else
16929 ac_cv_have_isnan="no"
16931 rm -f core conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16935 $as_echo "$ac_cv_have_isnan" >&6; }
16936 if test "$ac_cv_have_isnan" = "yes"
16937 then
16939 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16943 for ac_func in \
16944 asinh \
16945 asinhf \
16946 cbrt \
16947 cbrtf \
16948 erf \
16949 erff \
16950 exp2 \
16951 exp2f \
16952 lgamma \
16953 lgammaf \
16954 llrint \
16955 llrintf \
16956 llround \
16957 llroundf \
16958 log2 \
16959 log2f \
16960 lrint \
16961 lrintf \
16962 lround \
16963 lroundf \
16964 powl \
16965 remainder \
16966 remainderf \
16967 rint \
16968 rintf \
16969 round \
16970 roundf \
16971 trunc \
16972 truncf
16974 do :
16975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16980 _ACEOF
16983 done
16985 LIBS="$ac_save_LIBS"
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16988 $as_echo_n "checking for __builtin_clz... " >&6; }
16989 if ${ac_cv_have___builtin_clz+:} false; then :
16990 $as_echo_n "(cached) " >&6
16991 else
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16996 main ()
16998 return __builtin_clz(1)
17000 return 0;
17002 _ACEOF
17003 if ac_fn_c_try_link "$LINENO"; then :
17004 ac_cv_have___builtin_clz="yes"
17005 else
17006 ac_cv_have___builtin_clz="no"
17008 rm -f core conftest.err conftest.$ac_objext \
17009 conftest$ac_exeext conftest.$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17012 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17013 if test "$ac_cv_have___builtin_clz" = "yes"
17014 then
17016 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17021 $as_echo_n "checking for __builtin_popcount... " >&6; }
17022 if ${ac_cv_have___builtin_popcount+:} false; then :
17023 $as_echo_n "(cached) " >&6
17024 else
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17029 main ()
17031 return __builtin_popcount(1)
17033 return 0;
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_have___builtin_popcount="yes"
17038 else
17039 ac_cv_have___builtin_popcount="no"
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17045 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17046 if test "$ac_cv_have___builtin_popcount" = "yes"
17047 then
17049 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17054 case $host_cpu in
17055 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17056 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17057 if ${ac_cv_cpp_def___i386__+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #ifndef __i386__
17064 #endif
17065 _ACEOF
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "yes" >/dev/null 2>&1; then :
17068 ac_cv_cpp_def___i386__=yes
17069 else
17070 ac_cv_cpp_def___i386__=no
17072 rm -f conftest*
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17076 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17077 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17078 CFLAGS="$CFLAGS -D__i386__"
17079 LINTFLAGS="$LINTFLAGS -D__i386__"
17080 fi ;;
17081 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17082 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17083 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #ifndef __x86_64__
17090 #endif
17091 _ACEOF
17092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17093 $EGREP "yes" >/dev/null 2>&1; then :
17094 ac_cv_cpp_def___x86_64__=yes
17095 else
17096 ac_cv_cpp_def___x86_64__=no
17098 rm -f conftest*
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17102 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17103 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17104 CFLAGS="$CFLAGS -D__x86_64__"
17105 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17106 fi ;;
17107 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17108 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17109 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #ifndef __sparc64__
17116 #endif
17117 _ACEOF
17118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17119 $EGREP "yes" >/dev/null 2>&1; then :
17120 ac_cv_cpp_def___sparc64__=yes
17121 else
17122 ac_cv_cpp_def___sparc64__=no
17124 rm -f conftest*
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17128 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17129 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17130 CFLAGS="$CFLAGS -D__sparc64__"
17131 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17132 fi ;;
17133 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17134 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17135 if ${ac_cv_cpp_def___sparc__+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 #ifndef __sparc__
17142 #endif
17143 _ACEOF
17144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17145 $EGREP "yes" >/dev/null 2>&1; then :
17146 ac_cv_cpp_def___sparc__=yes
17147 else
17148 ac_cv_cpp_def___sparc__=no
17150 rm -f conftest*
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17154 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17155 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17156 CFLAGS="$CFLAGS -D__sparc__"
17157 LINTFLAGS="$LINTFLAGS -D__sparc__"
17158 fi ;;
17159 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17160 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17161 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17162 $as_echo_n "(cached) " >&6
17163 else
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17166 #ifndef __powerpc64__
17168 #endif
17169 _ACEOF
17170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17171 $EGREP "yes" >/dev/null 2>&1; then :
17172 ac_cv_cpp_def___powerpc64__=yes
17173 else
17174 ac_cv_cpp_def___powerpc64__=no
17176 rm -f conftest*
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17180 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17181 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17182 CFLAGS="$CFLAGS -D__powerpc64__"
17183 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17184 fi ;;
17185 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17186 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17187 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17188 $as_echo_n "(cached) " >&6
17189 else
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 #ifndef __powerpc__
17194 #endif
17195 _ACEOF
17196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17197 $EGREP "yes" >/dev/null 2>&1; then :
17198 ac_cv_cpp_def___powerpc__=yes
17199 else
17200 ac_cv_cpp_def___powerpc__=no
17202 rm -f conftest*
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17206 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17207 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17208 CFLAGS="$CFLAGS -D__powerpc__"
17209 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17210 fi ;;
17211 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17212 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17213 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17214 $as_echo_n "(cached) " >&6
17215 else
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 #ifndef __aarch64__
17220 #endif
17221 _ACEOF
17222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17223 $EGREP "yes" >/dev/null 2>&1; then :
17224 ac_cv_cpp_def___aarch64__=yes
17225 else
17226 ac_cv_cpp_def___aarch64__=no
17228 rm -f conftest*
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17232 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17233 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17234 CFLAGS="$CFLAGS -D__aarch64__"
17235 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17236 fi ;;
17237 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17238 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17239 if ${ac_cv_cpp_def___arm__+:} false; then :
17240 $as_echo_n "(cached) " >&6
17241 else
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17244 #ifndef __arm__
17246 #endif
17247 _ACEOF
17248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17249 $EGREP "yes" >/dev/null 2>&1; then :
17250 ac_cv_cpp_def___arm__=yes
17251 else
17252 ac_cv_cpp_def___arm__=no
17254 rm -f conftest*
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17258 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17259 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17260 CFLAGS="$CFLAGS -D__arm__"
17261 LINTFLAGS="$LINTFLAGS -D__arm__"
17262 fi ;;
17263 esac
17265 case $host_vendor in
17266 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17267 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17268 if ${ac_cv_cpp_def___sun__+:} false; then :
17269 $as_echo_n "(cached) " >&6
17270 else
17271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17272 /* end confdefs.h. */
17273 #ifndef __sun__
17275 #endif
17276 _ACEOF
17277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17278 $EGREP "yes" >/dev/null 2>&1; then :
17279 ac_cv_cpp_def___sun__=yes
17280 else
17281 ac_cv_cpp_def___sun__=no
17283 rm -f conftest*
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17287 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17288 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17289 CFLAGS="$CFLAGS -D__sun__"
17290 LINTFLAGS="$LINTFLAGS -D__sun__"
17291 fi ;;
17292 esac
17298 ac_config_commands="$ac_config_commands include/stamp-h"
17300 $as_echo_n "creating Makefile rules..." >&6
17302 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17303 SOCKET_LIBS = $SOCKET_LIBS
17304 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17305 IOKIT_LIBS = $IOKIT_LIBS
17306 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17307 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17308 CORESERVICES_LIBS = $CORESERVICES_LIBS
17309 APPKIT_LIBS = $APPKIT_LIBS
17310 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17311 SECURITY_LIBS = $SECURITY_LIBS
17312 COREAUDIO_LIBS = $COREAUDIO_LIBS
17313 OPENAL_LIBS = $OPENAL_LIBS
17314 OPENCL_LIBS = $OPENCL_LIBS
17315 QUICKTIME_LIBS = $QUICKTIME_LIBS
17316 CARBON_LIBS = $CARBON_LIBS
17317 PTHREAD_LIBS = $PTHREAD_LIBS
17318 X_CFLAGS = $X_CFLAGS
17319 X_PRE_LIBS = $X_PRE_LIBS
17320 X_LIBS = $X_LIBS
17321 X_EXTRA_LIBS = $X_EXTRA_LIBS
17322 PCAP_LIBS = $PCAP_LIBS
17323 XML2_CFLAGS = $XML2_CFLAGS
17324 XML2_LIBS = $XML2_LIBS
17325 XSLT_CFLAGS = $XSLT_CFLAGS
17326 XSLT_LIBS = $XSLT_LIBS
17327 DBUS_CFLAGS = $DBUS_CFLAGS
17328 DBUS_LIBS = $DBUS_LIBS
17329 HAL_CFLAGS = $HAL_CFLAGS
17330 HAL_LIBS = $HAL_LIBS
17331 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17332 GNUTLS_LIBS = $GNUTLS_LIBS
17333 SANE_CFLAGS = $SANE_CFLAGS
17334 SANE_LIBS = $SANE_LIBS
17335 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17336 GPHOTO2_LIBS = $GPHOTO2_LIBS
17337 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17338 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17339 RESOLV_LIBS = $RESOLV_LIBS
17340 LCMS2_CFLAGS = $LCMS2_CFLAGS
17341 LCMS2_LIBS = $LCMS2_LIBS
17342 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17343 FREETYPE_LIBS = $FREETYPE_LIBS
17344 Z_LIBS = $Z_LIBS
17345 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17346 PULSE_CFLAGS = $PULSE_CFLAGS
17347 PULSE_LIBS = $PULSE_LIBS
17348 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17349 GSTREAMER_LIBS = $GSTREAMER_LIBS
17350 ALSA_LIBS = $ALSA_LIBS
17351 OSS4_CFLAGS = $OSS4_CFLAGS
17352 CAPI20_CFLAGS = $CAPI20_CFLAGS
17353 CAPI20_LIBS = $CAPI20_LIBS
17354 CUPS_CFLAGS = $CUPS_CFLAGS
17355 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17356 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17357 JPEG_CFLAGS = $JPEG_CFLAGS
17358 JPEG_LIBS = $JPEG_LIBS
17359 PNG_CFLAGS = $PNG_CFLAGS
17360 PNG_LIBS = $PNG_LIBS
17361 TIFF_CFLAGS = $TIFF_CFLAGS
17362 TIFF_LIBS = $TIFF_LIBS
17363 MPG123_CFLAGS = $MPG123_CFLAGS
17364 MPG123_LIBS = $MPG123_LIBS
17365 KSTAT_LIBS = $KSTAT_LIBS
17366 PROCSTAT_LIBS = $PROCSTAT_LIBS
17367 NETAPI_CFLAGS = $NETAPI_CFLAGS
17368 NETAPI_LIBS = $NETAPI_LIBS
17369 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17370 DL_LIBS = $DL_LIBS
17371 POLL_LIBS = $POLL_LIBS
17372 RT_LIBS = $RT_LIBS
17373 LDAP_LIBS = $LDAP_LIBS
17378 wine_fn_append_rule "
17379 # Rules automatically generated by configure
17381 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17383 .INIT: Makefile
17384 .MAKEFILEDEPS:
17385 all: Makefile
17386 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17387 @./config.status Make.tmp Makefile
17388 depend: \$(MAKEDEP) dummy
17389 \$(MAKEDEP)"
17391 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17392 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17394 if test "x$enable_fonts" != xno; then
17395 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17396 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17397 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17398 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17399 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17400 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17402 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17403 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17404 ac_config_links="$ac_config_links wine:tools/winewrapper"
17405 wine_fn_config_symlink wine
17406 if test "x$enable_win64" != xno; then
17407 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17408 wine_fn_config_symlink wine64
17411 wine_fn_config_dll acledit enable_acledit
17412 wine_fn_config_dll aclui enable_aclui implib
17413 wine_fn_config_dll activeds enable_activeds implib
17414 wine_fn_config_dll actxprxy enable_actxprxy clean
17415 wine_fn_config_lib adsiid
17416 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17417 wine_fn_config_test dlls/advapi32/tests advapi32_test
17418 wine_fn_config_dll advpack enable_advpack implib
17419 wine_fn_config_test dlls/advpack/tests advpack_test
17420 wine_fn_config_dll amstream enable_amstream clean
17421 wine_fn_config_test dlls/amstream/tests amstream_test
17422 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17426 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17428 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17431 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17433 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17434 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17436 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17438 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17439 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17440 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17441 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17444 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17447 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17448 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17450 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17452 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17454 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17455 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17457 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17458 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17460 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17462 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17463 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17464 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17467 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17472 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17474 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17475 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17478 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17479 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17480 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17482 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17483 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17484 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17485 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17486 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17487 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17488 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17489 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17490 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17491 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17492 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17493 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17494 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17495 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17496 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17497 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17498 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17499 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17500 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17501 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17502 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17503 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17504 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17505 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17506 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17507 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17508 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17509 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17510 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17511 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17512 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17513 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17514 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17515 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17516 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17517 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17518 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17519 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17520 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17521 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17522 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17523 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17524 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17525 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17526 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17527 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17528 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17529 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17530 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
17531 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17532 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17533 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17534 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17535 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17536 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17537 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17538 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17539 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17540 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
17541 wine_fn_config_dll apphelp enable_apphelp
17542 wine_fn_config_test dlls/apphelp/tests apphelp_test
17543 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17544 wine_fn_config_dll atl enable_atl clean,implib
17545 wine_fn_config_test dlls/atl/tests atl_test
17546 wine_fn_config_dll atl100 enable_atl100 clean,implib
17547 wine_fn_config_test dlls/atl100/tests atl100_test
17548 wine_fn_config_dll atl110 enable_atl110 clean
17549 wine_fn_config_dll atl80 enable_atl80 clean,implib
17550 wine_fn_config_test dlls/atl80/tests atl80_test
17551 wine_fn_config_dll atl90 enable_atl90 clean
17552 wine_fn_config_dll authz enable_authz
17553 wine_fn_config_dll avicap32 enable_avicap32 implib
17554 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17555 wine_fn_config_test dlls/avifil32/tests avifil32_test
17556 wine_fn_config_dll avifile.dll16 enable_win16
17557 wine_fn_config_dll avrt enable_avrt implib
17558 wine_fn_config_dll bcrypt enable_bcrypt implib
17559 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17560 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17561 wine_fn_config_dll browseui enable_browseui clean
17562 wine_fn_config_test dlls/browseui/tests browseui_test
17563 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17564 wine_fn_config_dll cabinet enable_cabinet implib
17565 wine_fn_config_test dlls/cabinet/tests cabinet_test
17566 wine_fn_config_dll capi2032 enable_capi2032 implib
17567 wine_fn_config_dll cards enable_cards implib
17568 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17569 wine_fn_config_dll clusapi enable_clusapi implib
17570 wine_fn_config_dll combase enable_combase
17571 wine_fn_config_test dlls/combase/tests combase_test
17572 wine_fn_config_dll comcat enable_comcat
17573 wine_fn_config_test dlls/comcat/tests comcat_test
17574 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17575 wine_fn_config_test dlls/comctl32/tests comctl32_test
17576 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17577 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17578 wine_fn_config_dll comm.drv16 enable_win16
17579 wine_fn_config_dll commdlg.dll16 enable_win16
17580 wine_fn_config_dll compobj.dll16 enable_win16
17581 wine_fn_config_dll compstui enable_compstui implib
17582 wine_fn_config_dll comsvcs enable_comsvcs implib
17583 wine_fn_config_dll concrt140 enable_concrt140
17584 wine_fn_config_dll connect enable_connect
17585 wine_fn_config_dll credui enable_credui clean,implib
17586 wine_fn_config_test dlls/credui/tests credui_test
17587 wine_fn_config_dll crtdll enable_crtdll
17588 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17589 wine_fn_config_test dlls/crypt32/tests crypt32_test
17590 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17591 wine_fn_config_dll cryptdll enable_cryptdll implib
17592 wine_fn_config_dll cryptext enable_cryptext
17593 wine_fn_config_dll cryptnet enable_cryptnet implib
17594 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17595 wine_fn_config_dll cryptui enable_cryptui clean,implib
17596 wine_fn_config_test dlls/cryptui/tests cryptui_test
17597 wine_fn_config_dll ctapi32 enable_ctapi32
17598 wine_fn_config_dll ctl3d.dll16 enable_win16
17599 wine_fn_config_dll ctl3d32 enable_ctl3d32
17600 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17601 wine_fn_config_dll d2d1 enable_d2d1 implib
17602 wine_fn_config_test dlls/d2d1/tests d2d1_test
17603 wine_fn_config_dll d3d10 enable_d3d10 implib
17604 wine_fn_config_test dlls/d3d10/tests d3d10_test
17605 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17606 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17607 wine_fn_config_dll d3d10core enable_d3d10core implib
17608 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17609 wine_fn_config_dll d3d11 enable_d3d11 implib
17610 wine_fn_config_test dlls/d3d11/tests d3d11_test
17611 wine_fn_config_dll d3d8 enable_d3d8 implib
17612 wine_fn_config_test dlls/d3d8/tests d3d8_test
17613 wine_fn_config_dll d3d9 enable_d3d9 implib
17614 wine_fn_config_test dlls/d3d9/tests d3d9_test
17615 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17616 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17617 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17618 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17619 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17620 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17621 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17622 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17623 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17624 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17625 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17626 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17627 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17628 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17629 wine_fn_config_dll d3dim enable_d3dim
17630 wine_fn_config_dll d3drm enable_d3drm implib
17631 wine_fn_config_test dlls/d3drm/tests d3drm_test
17632 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17633 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17634 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17635 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17636 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17637 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17638 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17639 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17640 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17641 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17642 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17643 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17644 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17645 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17646 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17647 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17648 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17649 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17650 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17651 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17652 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17653 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17654 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17655 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17656 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17657 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17658 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17659 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17660 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17661 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17662 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17663 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17664 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17665 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17666 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17667 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17668 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17669 wine_fn_config_dll davclnt enable_davclnt
17670 wine_fn_config_dll dbgeng enable_dbgeng implib
17671 wine_fn_config_dll dbghelp enable_dbghelp implib
17672 wine_fn_config_dll dciman32 enable_dciman32 implib
17673 wine_fn_config_dll ddeml.dll16 enable_win16
17674 wine_fn_config_dll ddraw enable_ddraw clean,implib
17675 wine_fn_config_test dlls/ddraw/tests ddraw_test
17676 wine_fn_config_dll ddrawex enable_ddrawex clean
17677 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17678 wine_fn_config_dll devenum enable_devenum clean
17679 wine_fn_config_test dlls/devenum/tests devenum_test
17680 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17681 wine_fn_config_dll difxapi enable_difxapi
17682 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17683 wine_fn_config_test dlls/dinput/tests dinput_test
17684 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17685 wine_fn_config_test dlls/dinput8/tests dinput8_test
17686 wine_fn_config_dll dispdib.dll16 enable_win16
17687 wine_fn_config_dll dispex enable_dispex clean
17688 wine_fn_config_test dlls/dispex/tests dispex_test
17689 wine_fn_config_dll display.drv16 enable_win16
17690 wine_fn_config_dll dmband enable_dmband clean
17691 wine_fn_config_test dlls/dmband/tests dmband_test
17692 wine_fn_config_dll dmcompos enable_dmcompos clean
17693 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17694 wine_fn_config_dll dmime enable_dmime clean
17695 wine_fn_config_test dlls/dmime/tests dmime_test
17696 wine_fn_config_dll dmloader enable_dmloader clean
17697 wine_fn_config_test dlls/dmloader/tests dmloader_test
17698 wine_fn_config_dll dmscript enable_dmscript clean
17699 wine_fn_config_test dlls/dmscript/tests dmscript_test
17700 wine_fn_config_dll dmstyle enable_dmstyle clean
17701 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17702 wine_fn_config_dll dmsynth enable_dmsynth clean
17703 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17704 wine_fn_config_dll dmusic enable_dmusic clean
17705 wine_fn_config_test dlls/dmusic/tests dmusic_test
17706 wine_fn_config_dll dmusic32 enable_dmusic32
17707 wine_fn_config_dll dnsapi enable_dnsapi implib
17708 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17709 wine_fn_config_dll dplay enable_dplay
17710 wine_fn_config_dll dplayx enable_dplayx clean,implib
17711 wine_fn_config_test dlls/dplayx/tests dplayx_test
17712 wine_fn_config_dll dpnaddr enable_dpnaddr
17713 wine_fn_config_dll dpnet enable_dpnet clean,implib
17714 wine_fn_config_test dlls/dpnet/tests dpnet_test
17715 wine_fn_config_dll dpnhpast enable_dpnhpast
17716 wine_fn_config_dll dpnlobby enable_dpnlobby
17717 wine_fn_config_dll dpvoice enable_dpvoice clean
17718 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17719 wine_fn_config_dll dpwsockx enable_dpwsockx
17720 wine_fn_config_dll drmclien enable_drmclien
17721 wine_fn_config_dll dsound enable_dsound clean,implib
17722 wine_fn_config_test dlls/dsound/tests dsound_test
17723 wine_fn_config_dll dssenh enable_dssenh
17724 wine_fn_config_test dlls/dssenh/tests dssenh_test
17725 wine_fn_config_dll dswave enable_dswave clean
17726 wine_fn_config_test dlls/dswave/tests dswave_test
17727 wine_fn_config_dll dwmapi enable_dwmapi implib
17728 wine_fn_config_dll dwrite enable_dwrite implib
17729 wine_fn_config_test dlls/dwrite/tests dwrite_test
17730 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17731 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17732 wine_fn_config_lib dxerr8
17733 wine_fn_config_lib dxerr9
17734 wine_fn_config_dll dxgi enable_dxgi implib
17735 wine_fn_config_test dlls/dxgi/tests dxgi_test
17736 wine_fn_config_lib dxguid
17737 wine_fn_config_dll dxva2 enable_dxva2
17738 wine_fn_config_dll esent enable_esent
17739 wine_fn_config_dll evr enable_evr
17740 wine_fn_config_dll explorerframe enable_explorerframe clean
17741 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17742 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17743 wine_fn_config_dll faultrep enable_faultrep implib
17744 wine_fn_config_test dlls/faultrep/tests faultrep_test
17745 wine_fn_config_dll fltlib enable_fltlib
17746 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17747 wine_fn_config_dll fntcache enable_fntcache
17748 wine_fn_config_dll fontsub enable_fontsub
17749 wine_fn_config_dll fusion enable_fusion
17750 wine_fn_config_test dlls/fusion/tests fusion_test
17751 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17752 wine_fn_config_dll gameux enable_gameux clean
17753 wine_fn_config_test dlls/gameux/tests gameux_test
17754 wine_fn_config_dll gdi.exe16 enable_win16
17755 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17756 wine_fn_config_test dlls/gdi32/tests gdi32_test
17757 wine_fn_config_dll gdiplus enable_gdiplus implib
17758 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17759 wine_fn_config_dll glu32 enable_glu32 implib
17760 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17761 wine_fn_config_dll gpkcsp enable_gpkcsp
17762 wine_fn_config_dll hal enable_hal
17763 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17764 wine_fn_config_dll hid enable_hid implib
17765 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17766 wine_fn_config_dll hlink enable_hlink clean,implib
17767 wine_fn_config_test dlls/hlink/tests hlink_test
17768 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17769 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17770 wine_fn_config_dll httpapi enable_httpapi
17771 wine_fn_config_dll iccvid enable_iccvid clean
17772 wine_fn_config_dll icmp enable_icmp
17773 wine_fn_config_dll ieframe enable_ieframe clean,implib
17774 wine_fn_config_test dlls/ieframe/tests ieframe_test
17775 wine_fn_config_dll ifsmgr.vxd enable_win16
17776 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17777 wine_fn_config_dll imagehlp enable_imagehlp implib
17778 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17779 wine_fn_config_dll imm.dll16 enable_win16
17780 wine_fn_config_dll imm32 enable_imm32 implib
17781 wine_fn_config_test dlls/imm32/tests imm32_test
17782 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17783 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17784 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17785 wine_fn_config_dll inetmib1 enable_inetmib1
17786 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17787 wine_fn_config_dll infosoft enable_infosoft clean
17788 wine_fn_config_test dlls/infosoft/tests infosoft_test
17789 wine_fn_config_dll initpki enable_initpki
17790 wine_fn_config_dll inkobj enable_inkobj
17791 wine_fn_config_dll inseng enable_inseng clean
17792 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17793 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17794 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17795 wine_fn_config_dll itircl enable_itircl
17796 wine_fn_config_dll itss enable_itss clean
17797 wine_fn_config_test dlls/itss/tests itss_test
17798 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17799 wine_fn_config_dll jscript enable_jscript clean
17800 wine_fn_config_test dlls/jscript/tests jscript_test
17801 wine_fn_config_dll jsproxy enable_jsproxy implib
17802 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17803 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17804 wine_fn_config_test dlls/kernel32/tests kernel32_test
17805 wine_fn_config_dll kernelbase enable_kernelbase
17806 wine_fn_config_dll keyboard.drv16 enable_win16
17807 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17808 wine_fn_config_dll ksuser enable_ksuser
17809 wine_fn_config_dll ktmw32 enable_ktmw32
17810 wine_fn_config_dll loadperf enable_loadperf implib
17811 wine_fn_config_dll localspl enable_localspl clean
17812 wine_fn_config_test dlls/localspl/tests localspl_test
17813 wine_fn_config_dll localui enable_localui clean
17814 wine_fn_config_test dlls/localui/tests localui_test
17815 wine_fn_config_dll lz32 enable_lz32 implib
17816 wine_fn_config_test dlls/lz32/tests lz32_test
17817 wine_fn_config_dll lzexpand.dll16 enable_win16
17818 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17819 wine_fn_config_test dlls/mapi32/tests mapi32_test
17820 wine_fn_config_dll mapistub enable_mapistub
17821 wine_fn_config_dll mciavi32 enable_mciavi32
17822 wine_fn_config_dll mcicda enable_mcicda
17823 wine_fn_config_dll mciqtz32 enable_mciqtz32
17824 wine_fn_config_dll mciseq enable_mciseq
17825 wine_fn_config_dll mciwave enable_mciwave
17826 wine_fn_config_dll mf enable_mf
17827 wine_fn_config_dll mfplat enable_mfplat
17828 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17829 wine_fn_config_dll mgmtapi enable_mgmtapi
17830 wine_fn_config_dll midimap enable_midimap
17831 wine_fn_config_dll mlang enable_mlang clean,implib
17832 wine_fn_config_test dlls/mlang/tests mlang_test
17833 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17834 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17835 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17836 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17837 wine_fn_config_dll mmdevldr.vxd enable_win16
17838 wine_fn_config_dll mmsystem.dll16 enable_win16
17839 wine_fn_config_dll monodebg.vxd enable_win16
17840 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17841 wine_fn_config_dll mouse.drv16 enable_win16
17842 wine_fn_config_dll mpr enable_mpr clean,implib
17843 wine_fn_config_test dlls/mpr/tests mpr_test
17844 wine_fn_config_dll mprapi enable_mprapi implib
17845 wine_fn_config_dll msacm.dll16 enable_win16
17846 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17847 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17848 wine_fn_config_test dlls/msacm32/tests msacm32_test
17849 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17850 wine_fn_config_dll msasn1 enable_msasn1 implib
17851 wine_fn_config_dll mscat32 enable_mscat32
17852 wine_fn_config_dll mscms enable_mscms implib
17853 wine_fn_config_test dlls/mscms/tests mscms_test
17854 wine_fn_config_dll mscoree enable_mscoree clean
17855 wine_fn_config_test dlls/mscoree/tests mscoree_test
17856 wine_fn_config_dll msctf enable_msctf clean
17857 wine_fn_config_test dlls/msctf/tests msctf_test
17858 wine_fn_config_dll msctfp enable_msctfp clean
17859 wine_fn_config_dll msdaps enable_msdaps clean
17860 wine_fn_config_dll msdelta enable_msdelta
17861 wine_fn_config_dll msdmo enable_msdmo implib
17862 wine_fn_config_test dlls/msdmo/tests msdmo_test
17863 wine_fn_config_dll msdrm enable_msdrm
17864 wine_fn_config_dll msftedit enable_msftedit
17865 wine_fn_config_dll msg711.acm enable_msg711_acm
17866 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17867 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17868 wine_fn_config_dll mshtml enable_mshtml clean,implib
17869 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17870 wine_fn_config_dll msi enable_msi clean,implib
17871 wine_fn_config_test dlls/msi/tests msi_test
17872 wine_fn_config_dll msident enable_msident clean
17873 wine_fn_config_dll msimg32 enable_msimg32 implib
17874 wine_fn_config_dll msimsg enable_msimsg
17875 wine_fn_config_dll msimtf enable_msimtf clean
17876 wine_fn_config_dll msisip enable_msisip
17877 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17878 wine_fn_config_dll msls31 enable_msls31
17879 wine_fn_config_dll msnet32 enable_msnet32
17880 wine_fn_config_dll mspatcha enable_mspatcha implib
17881 wine_fn_config_dll msports enable_msports
17882 wine_fn_config_dll msrle32 enable_msrle32 clean
17883 wine_fn_config_test dlls/msrle32/tests msrle32_test
17884 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17885 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17886 wine_fn_config_dll mssign32 enable_mssign32
17887 wine_fn_config_dll mssip32 enable_mssip32
17888 wine_fn_config_dll mstask enable_mstask clean
17889 wine_fn_config_test dlls/mstask/tests mstask_test
17890 wine_fn_config_dll msvcirt enable_msvcirt
17891 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17892 wine_fn_config_dll msvcm80 enable_msvcm80
17893 wine_fn_config_dll msvcm90 enable_msvcm90
17894 wine_fn_config_dll msvcp100 enable_msvcp100
17895 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17896 wine_fn_config_dll msvcp110 enable_msvcp110
17897 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17898 wine_fn_config_dll msvcp120 enable_msvcp120
17899 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17900 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17901 wine_fn_config_dll msvcp140 enable_msvcp140
17902 wine_fn_config_dll msvcp60 enable_msvcp60
17903 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17904 wine_fn_config_dll msvcp70 enable_msvcp70
17905 wine_fn_config_dll msvcp71 enable_msvcp71
17906 wine_fn_config_dll msvcp80 enable_msvcp80
17907 wine_fn_config_dll msvcp90 enable_msvcp90
17908 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17909 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17910 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17911 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17912 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17913 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17914 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17915 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17916 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17917 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17918 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17919 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17920 wine_fn_config_dll msvcrt enable_msvcrt implib
17921 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17922 wine_fn_config_dll msvcrt20 enable_msvcrt20
17923 wine_fn_config_dll msvcrt40 enable_msvcrt40
17924 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17925 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17926 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17927 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17928 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17929 wine_fn_config_dll msvideo.dll16 enable_win16
17930 wine_fn_config_dll mswsock enable_mswsock implib
17931 wine_fn_config_dll msxml enable_msxml clean
17932 wine_fn_config_dll msxml2 enable_msxml2 clean
17933 wine_fn_config_dll msxml3 enable_msxml3 clean
17934 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17935 wine_fn_config_dll msxml4 enable_msxml4 clean
17936 wine_fn_config_dll msxml6 enable_msxml6 clean
17937 wine_fn_config_dll ncrypt enable_ncrypt
17938 wine_fn_config_dll nddeapi enable_nddeapi implib
17939 wine_fn_config_dll ndis.sys enable_ndis_sys
17940 wine_fn_config_dll netapi32 enable_netapi32 implib
17941 wine_fn_config_test dlls/netapi32/tests netapi32_test
17942 wine_fn_config_dll netcfgx enable_netcfgx clean
17943 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17944 wine_fn_config_dll netprofm enable_netprofm clean
17945 wine_fn_config_test dlls/netprofm/tests netprofm_test
17946 wine_fn_config_dll newdev enable_newdev implib
17947 wine_fn_config_dll normaliz enable_normaliz implib
17948 wine_fn_config_dll npmshtml enable_npmshtml
17949 wine_fn_config_dll npptools enable_npptools
17950 wine_fn_config_dll ntdll enable_ntdll implib
17951 wine_fn_config_test dlls/ntdll/tests ntdll_test
17952 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17953 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17954 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17955 wine_fn_config_dll ntprint enable_ntprint
17956 wine_fn_config_test dlls/ntprint/tests ntprint_test
17957 wine_fn_config_dll objsel enable_objsel clean
17958 wine_fn_config_dll odbc32 enable_odbc32 implib
17959 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17960 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17961 wine_fn_config_dll odbccu32 enable_odbccu32
17962 wine_fn_config_dll ole2.dll16 enable_win16
17963 wine_fn_config_dll ole2conv.dll16 enable_win16
17964 wine_fn_config_dll ole2disp.dll16 enable_win16
17965 wine_fn_config_dll ole2nls.dll16 enable_win16
17966 wine_fn_config_dll ole2prox.dll16 enable_win16
17967 wine_fn_config_dll ole2thk.dll16 enable_win16
17968 wine_fn_config_dll ole32 enable_ole32 clean,implib
17969 wine_fn_config_test dlls/ole32/tests ole32_test
17970 wine_fn_config_dll oleacc enable_oleacc clean,implib
17971 wine_fn_config_test dlls/oleacc/tests oleacc_test
17972 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17973 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17974 wine_fn_config_dll olecli.dll16 enable_win16
17975 wine_fn_config_dll olecli32 enable_olecli32 implib
17976 wine_fn_config_dll oledb32 enable_oledb32 clean
17977 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17978 wine_fn_config_dll oledlg enable_oledlg clean,implib
17979 wine_fn_config_test dlls/oledlg/tests oledlg_test
17980 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17981 wine_fn_config_dll olesvr.dll16 enable_win16
17982 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17983 wine_fn_config_dll olethk32 enable_olethk32
17984 wine_fn_config_dll openal32 enable_openal32
17985 wine_fn_config_dll opencl enable_opencl
17986 wine_fn_config_dll opengl32 enable_opengl32 implib
17987 wine_fn_config_test dlls/opengl32/tests opengl32_test
17988 wine_fn_config_dll packager enable_packager clean
17989 wine_fn_config_test dlls/packager/tests packager_test
17990 wine_fn_config_dll pdh enable_pdh implib
17991 wine_fn_config_test dlls/pdh/tests pdh_test
17992 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17993 wine_fn_config_dll pidgen enable_pidgen
17994 wine_fn_config_dll powrprof enable_powrprof implib
17995 wine_fn_config_dll printui enable_printui
17996 wine_fn_config_dll prntvpt enable_prntvpt
17997 wine_fn_config_dll propsys enable_propsys clean,implib
17998 wine_fn_config_test dlls/propsys/tests propsys_test
17999 wine_fn_config_dll psapi enable_psapi implib
18000 wine_fn_config_test dlls/psapi/tests psapi_test
18001 wine_fn_config_dll pstorec enable_pstorec clean
18002 wine_fn_config_dll qcap enable_qcap
18003 wine_fn_config_test dlls/qcap/tests qcap_test
18004 wine_fn_config_dll qedit enable_qedit clean
18005 wine_fn_config_test dlls/qedit/tests qedit_test
18006 wine_fn_config_dll qmgr enable_qmgr clean
18007 wine_fn_config_test dlls/qmgr/tests qmgr_test
18008 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18009 wine_fn_config_dll quartz enable_quartz clean,implib
18010 wine_fn_config_test dlls/quartz/tests quartz_test clean
18011 wine_fn_config_dll query enable_query
18012 wine_fn_config_dll rasapi16.dll16 enable_win16
18013 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18014 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18015 wine_fn_config_dll rasdlg enable_rasdlg implib
18016 wine_fn_config_dll regapi enable_regapi
18017 wine_fn_config_dll resutils enable_resutils implib
18018 wine_fn_config_dll riched20 enable_riched20 clean,implib
18019 wine_fn_config_test dlls/riched20/tests riched20_test
18020 wine_fn_config_dll riched32 enable_riched32
18021 wine_fn_config_test dlls/riched32/tests riched32_test
18022 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18023 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18024 wine_fn_config_dll rsabase enable_rsabase
18025 wine_fn_config_dll rsaenh enable_rsaenh implib
18026 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18027 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18028 wine_fn_config_dll rtutils enable_rtutils implib
18029 wine_fn_config_dll samlib enable_samlib
18030 wine_fn_config_dll sane.ds enable_sane_ds clean
18031 wine_fn_config_dll scarddlg enable_scarddlg
18032 wine_fn_config_dll sccbase enable_sccbase
18033 wine_fn_config_dll schannel enable_schannel
18034 wine_fn_config_test dlls/schannel/tests schannel_test
18035 wine_fn_config_dll schedsvc enable_schedsvc clean
18036 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18037 wine_fn_config_dll scrrun enable_scrrun clean
18038 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18039 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18040 wine_fn_config_dll secur32 enable_secur32 implib
18041 wine_fn_config_test dlls/secur32/tests secur32_test
18042 wine_fn_config_dll security enable_security
18043 wine_fn_config_dll sensapi enable_sensapi implib
18044 wine_fn_config_dll serialui enable_serialui clean
18045 wine_fn_config_test dlls/serialui/tests serialui_test
18046 wine_fn_config_dll setupapi enable_setupapi clean,implib
18047 wine_fn_config_test dlls/setupapi/tests setupapi_test
18048 wine_fn_config_dll setupx.dll16 enable_win16
18049 wine_fn_config_dll sfc enable_sfc implib
18050 wine_fn_config_dll sfc_os enable_sfc_os implib
18051 wine_fn_config_dll shdoclc enable_shdoclc clean
18052 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18053 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18054 wine_fn_config_dll shell.dll16 enable_win16
18055 wine_fn_config_dll shell32 enable_shell32 clean,implib
18056 wine_fn_config_test dlls/shell32/tests shell32_test
18057 wine_fn_config_dll shfolder enable_shfolder implib
18058 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18059 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18060 wine_fn_config_dll slbcsp enable_slbcsp
18061 wine_fn_config_dll slc enable_slc implib
18062 wine_fn_config_test dlls/slc/tests slc_test
18063 wine_fn_config_dll snmpapi enable_snmpapi implib
18064 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18065 wine_fn_config_dll softpub enable_softpub
18066 wine_fn_config_dll sound.drv16 enable_win16
18067 wine_fn_config_dll spoolss enable_spoolss implib
18068 wine_fn_config_test dlls/spoolss/tests spoolss_test
18069 wine_fn_config_dll sspicli enable_sspicli
18070 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18071 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18072 wine_fn_config_dll sti enable_sti clean,implib
18073 wine_fn_config_test dlls/sti/tests sti_test
18074 wine_fn_config_dll storage.dll16 enable_win16
18075 wine_fn_config_dll stress.dll16 enable_win16
18076 wine_fn_config_lib strmbase
18077 wine_fn_config_lib strmiids
18078 wine_fn_config_dll svrapi enable_svrapi
18079 wine_fn_config_dll sxs enable_sxs implib
18080 wine_fn_config_test dlls/sxs/tests sxs_test
18081 wine_fn_config_dll system.drv16 enable_win16
18082 wine_fn_config_dll t2embed enable_t2embed implib
18083 wine_fn_config_test dlls/t2embed/tests t2embed_test
18084 wine_fn_config_dll tapi32 enable_tapi32 implib
18085 wine_fn_config_dll taskschd enable_taskschd clean
18086 wine_fn_config_test dlls/taskschd/tests taskschd_test
18087 wine_fn_config_dll tdi.sys enable_tdi_sys
18088 wine_fn_config_dll toolhelp.dll16 enable_win16
18089 wine_fn_config_dll traffic enable_traffic
18090 wine_fn_config_dll twain.dll16 enable_win16
18091 wine_fn_config_dll twain_32 enable_twain_32
18092 wine_fn_config_test dlls/twain_32/tests twain_32_test
18093 wine_fn_config_dll typelib.dll16 enable_win16
18094 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18095 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18096 wine_fn_config_dll unicows enable_unicows implib
18097 wine_fn_config_dll updspapi enable_updspapi
18098 wine_fn_config_dll url enable_url implib
18099 wine_fn_config_dll urlmon enable_urlmon clean,implib
18100 wine_fn_config_test dlls/urlmon/tests urlmon_test
18101 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18102 wine_fn_config_dll user.exe16 enable_win16
18103 wine_fn_config_dll user32 enable_user32 clean,implib
18104 wine_fn_config_test dlls/user32/tests user32_test
18105 wine_fn_config_dll userenv enable_userenv implib
18106 wine_fn_config_test dlls/userenv/tests userenv_test
18107 wine_fn_config_dll usp10 enable_usp10 implib
18108 wine_fn_config_test dlls/usp10/tests usp10_test
18109 wine_fn_config_lib uuid
18110 wine_fn_config_dll uxtheme enable_uxtheme implib
18111 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18112 wine_fn_config_dll vbscript enable_vbscript clean
18113 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18114 wine_fn_config_dll vcomp enable_vcomp
18115 wine_fn_config_test dlls/vcomp/tests vcomp_test
18116 wine_fn_config_dll vcomp100 enable_vcomp100
18117 wine_fn_config_dll vcomp110 enable_vcomp110
18118 wine_fn_config_dll vcomp120 enable_vcomp120
18119 wine_fn_config_dll vcomp140 enable_vcomp140
18120 wine_fn_config_dll vcomp90 enable_vcomp90
18121 wine_fn_config_dll vcruntime140 enable_vcruntime140
18122 wine_fn_config_dll vdhcp.vxd enable_win16
18123 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18124 wine_fn_config_dll ver.dll16 enable_win16
18125 wine_fn_config_dll version enable_version implib
18126 wine_fn_config_test dlls/version/tests version_test
18127 wine_fn_config_dll vmm.vxd enable_win16
18128 wine_fn_config_dll vnbt.vxd enable_win16
18129 wine_fn_config_dll vnetbios.vxd enable_win16
18130 wine_fn_config_dll vssapi enable_vssapi
18131 wine_fn_config_dll vtdapi.vxd enable_win16
18132 wine_fn_config_dll vwin32.vxd enable_win16
18133 wine_fn_config_dll w32skrnl enable_win16
18134 wine_fn_config_dll w32sys.dll16 enable_win16
18135 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18136 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18137 wine_fn_config_dll wbemprox enable_wbemprox clean
18138 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18139 wine_fn_config_dll webservices enable_webservices implib
18140 wine_fn_config_test dlls/webservices/tests webservices_test
18141 wine_fn_config_dll wer enable_wer implib
18142 wine_fn_config_test dlls/wer/tests wer_test
18143 wine_fn_config_dll wevtapi enable_wevtapi
18144 wine_fn_config_dll wiaservc enable_wiaservc clean
18145 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18146 wine_fn_config_dll wimgapi enable_wimgapi
18147 wine_fn_config_dll win32s16.dll16 enable_win16
18148 wine_fn_config_dll win87em.dll16 enable_win16
18149 wine_fn_config_dll winaspi.dll16 enable_win16
18150 wine_fn_config_dll windebug.dll16 enable_win16
18151 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18152 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18153 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18154 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18155 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18156 wine_fn_config_dll winebus.sys enable_winebus_sys
18157 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18158 wine_fn_config_lib winecrt0
18159 wine_fn_config_dll wined3d enable_wined3d implib
18160 wine_fn_config_dll winegstreamer enable_winegstreamer
18161 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18162 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18163 wine_fn_config_dll winemapi enable_winemapi
18164 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18165 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18166 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18167 wine_fn_config_dll wineps16.drv16 enable_win16
18168 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18169 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18170 wine_fn_config_dll winex11.drv enable_winex11_drv
18171 wine_fn_config_dll wing.dll16 enable_win16
18172 wine_fn_config_dll wing32 enable_wing32
18173 wine_fn_config_dll winhttp enable_winhttp clean,implib
18174 wine_fn_config_test dlls/winhttp/tests winhttp_test
18175 wine_fn_config_dll wininet enable_wininet clean,implib
18176 wine_fn_config_test dlls/wininet/tests wininet_test
18177 wine_fn_config_dll winmm enable_winmm clean,implib
18178 wine_fn_config_test dlls/winmm/tests winmm_test
18179 wine_fn_config_dll winnls.dll16 enable_win16
18180 wine_fn_config_dll winnls32 enable_winnls32 implib
18181 wine_fn_config_dll winscard enable_winscard implib
18182 wine_fn_config_dll winsock.dll16 enable_win16
18183 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18184 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18185 wine_fn_config_dll winsta enable_winsta
18186 wine_fn_config_dll wintab.dll16 enable_win16
18187 wine_fn_config_dll wintab32 enable_wintab32 implib
18188 wine_fn_config_test dlls/wintab32/tests wintab32_test
18189 wine_fn_config_dll wintrust enable_wintrust implib
18190 wine_fn_config_test dlls/wintrust/tests wintrust_test
18191 wine_fn_config_dll wlanapi enable_wlanapi
18192 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18193 wine_fn_config_test dlls/wldap32/tests wldap32_test
18194 wine_fn_config_dll wmasf enable_wmasf
18195 wine_fn_config_dll wmi enable_wmi
18196 wine_fn_config_dll wmiutils enable_wmiutils clean
18197 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18198 wine_fn_config_dll wmp enable_wmp clean
18199 wine_fn_config_test dlls/wmp/tests wmp_test
18200 wine_fn_config_dll wmvcore enable_wmvcore
18201 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18202 wine_fn_config_dll wow32 enable_win16 implib
18203 wine_fn_config_dll wpc enable_wpc clean
18204 wine_fn_config_test dlls/wpc/tests wpc_test
18205 wine_fn_config_dll wpcap enable_wpcap
18206 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18207 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18208 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18209 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18210 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18211 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18212 wine_fn_config_dll wsock32 enable_wsock32 implib
18213 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18214 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18215 wine_fn_config_dll wuapi enable_wuapi clean
18216 wine_fn_config_dll wuaueng enable_wuaueng
18217 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18218 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18219 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18220 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18221 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18222 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18223 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18224 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18225 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18226 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18227 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18228 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18229 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18230 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18231 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18232 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18233 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18234 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18235 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18236 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18237 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18238 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18239 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18240 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18241 wine_fn_config_dll xinput1_1 enable_xinput1_1
18242 wine_fn_config_dll xinput1_2 enable_xinput1_2
18243 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18244 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18245 wine_fn_config_dll xinput1_4 enable_xinput1_4
18246 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18247 wine_fn_config_dll xmllite enable_xmllite implib
18248 wine_fn_config_test dlls/xmllite/tests xmllite_test
18249 wine_fn_config_dll xolehlp enable_xolehlp
18250 wine_fn_config_dll xpsprint enable_xpsprint
18251 wine_fn_config_dll xpssvcs enable_xpssvcs
18252 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18253 wine_fn_config_makefile include enable_include clean,install-dev
18254 wine_fn_config_makefile libs/port enable_libs_port
18255 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18256 wine_fn_config_makefile libs/wpp enable_libs_wpp
18257 wine_fn_config_makefile loader enable_loader clean,install-lib
18258 wine_fn_config_makefile po enable_po clean
18259 wine_fn_config_program arp enable_arp install
18260 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18261 wine_fn_config_program attrib enable_attrib clean,install
18262 wine_fn_config_program cabarc enable_cabarc install
18263 wine_fn_config_program cacls enable_cacls install
18264 wine_fn_config_program clock enable_clock clean,install
18265 wine_fn_config_program cmd enable_cmd clean,install
18266 wine_fn_config_test programs/cmd/tests cmd.exe_test
18267 wine_fn_config_program conhost enable_conhost install
18268 wine_fn_config_program control enable_control install
18269 wine_fn_config_program cscript enable_cscript clean,install
18270 wine_fn_config_program dpnsvr enable_dpnsvr install
18271 wine_fn_config_program dxdiag enable_dxdiag clean,install
18272 wine_fn_config_program eject enable_eject install
18273 wine_fn_config_program expand enable_expand install
18274 wine_fn_config_program explorer enable_explorer clean,install
18275 wine_fn_config_program extrac32 enable_extrac32 install
18276 wine_fn_config_program findstr enable_findstr install
18277 wine_fn_config_program fsutil enable_fsutil install
18278 wine_fn_config_program hh enable_hh install
18279 wine_fn_config_program hostname enable_hostname clean,install
18280 wine_fn_config_program icacls enable_icacls install
18281 wine_fn_config_program icinfo enable_icinfo install
18282 wine_fn_config_program iexplore enable_iexplore install
18283 wine_fn_config_program ipconfig enable_ipconfig clean,install
18284 wine_fn_config_program lodctr enable_lodctr install
18285 wine_fn_config_program mofcomp enable_mofcomp install
18286 wine_fn_config_program mshta enable_mshta install
18287 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18288 wine_fn_config_program net enable_net clean,install
18289 wine_fn_config_program netsh enable_netsh install
18290 wine_fn_config_program netstat enable_netstat clean,install
18291 wine_fn_config_program ngen enable_ngen install
18292 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18293 wine_fn_config_program oleview enable_oleview clean,install
18294 wine_fn_config_program ping enable_ping install
18295 wine_fn_config_program plugplay enable_plugplay install
18296 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18297 wine_fn_config_program progman enable_progman clean,install
18298 wine_fn_config_program reg enable_reg clean,install
18299 wine_fn_config_test programs/reg/tests reg.exe_test
18300 wine_fn_config_program regasm enable_regasm install
18301 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18302 wine_fn_config_test programs/regedit/tests regedit.exe_test
18303 wine_fn_config_program regsvcs enable_regsvcs install
18304 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18305 wine_fn_config_program rpcss enable_rpcss clean,install
18306 wine_fn_config_program rundll.exe16 enable_win16 install
18307 wine_fn_config_program rundll32 enable_rundll32 install
18308 wine_fn_config_program sc enable_sc install
18309 wine_fn_config_program schtasks enable_schtasks install
18310 wine_fn_config_program sdbinst enable_sdbinst install
18311 wine_fn_config_program secedit enable_secedit install
18312 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18313 wine_fn_config_program services enable_services clean,install
18314 wine_fn_config_test programs/services/tests services.exe_test
18315 wine_fn_config_program shutdown enable_shutdown install
18316 wine_fn_config_program spoolsv enable_spoolsv install
18317 wine_fn_config_program start enable_start clean,install
18318 wine_fn_config_program svchost enable_svchost install
18319 wine_fn_config_program systeminfo enable_systeminfo install
18320 wine_fn_config_program taskkill enable_taskkill clean,install
18321 wine_fn_config_program tasklist enable_tasklist install
18322 wine_fn_config_program taskmgr enable_taskmgr clean,install
18323 wine_fn_config_program termsv enable_termsv install
18324 wine_fn_config_program uninstaller enable_uninstaller clean,install
18325 wine_fn_config_program unlodctr enable_unlodctr install
18326 wine_fn_config_program view enable_view clean,install
18327 wine_fn_config_program wevtutil enable_wevtutil install
18328 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18329 wine_fn_config_program winebrowser enable_winebrowser install
18330 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18331 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18332 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18333 wine_fn_config_program winedevice enable_winedevice install
18334 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18335 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18336 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18337 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18338 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18339 wine_fn_config_program winetest enable_winetest clean
18340 wine_fn_config_program winevdm enable_win16 install
18341 wine_fn_config_program winhelp.exe16 enable_win16 install
18342 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18343 wine_fn_config_program winoldap.mod16 enable_win16 install
18344 wine_fn_config_program winver enable_winver install
18345 wine_fn_config_program wmic enable_wmic clean,install
18346 wine_fn_config_program wmplayer enable_wmplayer install
18347 wine_fn_config_program wordpad enable_wordpad clean,install
18348 wine_fn_config_program write enable_write clean,install
18349 wine_fn_config_program wscript enable_wscript clean,install
18350 wine_fn_config_test programs/wscript/tests wscript.exe_test
18351 wine_fn_config_program wusa enable_wusa install
18352 wine_fn_config_program xcopy enable_xcopy clean,install
18353 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18354 wine_fn_config_makefile server enable_server clean,install-lib
18355 wine_fn_config_tool tools clean
18356 wine_fn_config_tool tools/sfnt2fon clean
18357 wine_fn_config_tool tools/widl clean,install-dev
18358 wine_fn_config_tool tools/winebuild clean,install-dev
18359 wine_fn_config_tool tools/winedump clean,install-dev
18360 wine_fn_config_tool tools/winegcc clean,install-dev
18361 wine_fn_config_tool tools/winemaker clean,install-dev
18362 wine_fn_config_tool tools/wmc clean,install-dev
18363 wine_fn_config_tool tools/wrc clean,install-dev
18366 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18367 wine_fn_append_file CONFIGURE_TARGETS "tags"
18368 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18369 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18370 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18371 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18372 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18373 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18375 if test "x$enable_tools" != xno
18376 then
18377 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18378 ac_config_commands="$ac_config_commands tools/makedep"
18382 ac_config_commands="$ac_config_commands Makefile"
18385 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18389 if test "x$enable_maintainer_mode" = xyes
18390 then
18391 wine_fn_append_rule "configure: configure.ac aclocal.m4
18392 autoconf --warnings=all
18393 include/config.h.in: include/stamp-h.in
18394 include/stamp-h.in: configure.ac aclocal.m4
18395 autoheader --warnings=all
18396 @echo timestamp > \$@"
18399 if test "x$enable_tools" != xno
18400 then
18401 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18402 @./config.status tools/makedep
18403 Makefile: tools/makedep$ac_exeext"
18404 else
18405 wine_fn_append_rule "\$(MAKEDEP):
18406 @echo \"You need to run make in $TOOLSDIR first\" && false"
18409 if test -n "$with_wine64"
18410 then
18411 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18412 fonts server:
18413 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18414 $with_wine64/loader/wine:
18415 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18416 $with_wine64/loader/wine-preloader:
18417 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18418 clean::
18419 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18420 else
18421 WINELOADER_INSTALL="wine.inf"
18423 wine_fn_append_rule "install install-lib::
18424 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18425 uninstall::
18426 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18427 case $host_os in
18428 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18429 *) wine_fn_append_rule "install install-lib::
18430 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18431 uninstall::
18432 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18433 esac
18436 $as_echo " done" >&6
18437 cat >confcache <<\_ACEOF
18438 # This file is a shell script that caches the results of configure
18439 # tests run on this system so they can be shared between configure
18440 # scripts and configure runs, see configure's option --config-cache.
18441 # It is not useful on other systems. If it contains results you don't
18442 # want to keep, you may remove or edit it.
18444 # config.status only pays attention to the cache file if you give it
18445 # the --recheck option to rerun configure.
18447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18449 # following values.
18451 _ACEOF
18453 # The following way of writing the cache mishandles newlines in values,
18454 # but we know of no workaround that is simple, portable, and efficient.
18455 # So, we kill variables containing newlines.
18456 # Ultrix sh set writes to stderr and can't be redirected directly,
18457 # and sets the high bit in the cache file unless we assign to the vars.
18459 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18460 eval ac_val=\$$ac_var
18461 case $ac_val in #(
18462 *${as_nl}*)
18463 case $ac_var in #(
18464 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18465 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18466 esac
18467 case $ac_var in #(
18468 _ | IFS | as_nl) ;; #(
18469 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18470 *) { eval $ac_var=; unset $ac_var;} ;;
18471 esac ;;
18472 esac
18473 done
18475 (set) 2>&1 |
18476 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18477 *${as_nl}ac_space=\ *)
18478 # `set' does not quote correctly, so add quotes: double-quote
18479 # substitution turns \\\\ into \\, and sed turns \\ into \.
18480 sed -n \
18481 "s/'/'\\\\''/g;
18482 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18483 ;; #(
18485 # `set' quotes correctly as required by POSIX, so do not add quotes.
18486 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18488 esac |
18489 sort
18491 sed '
18492 /^ac_cv_env_/b end
18493 t clear
18494 :clear
18495 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18496 t end
18497 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18498 :end' >>confcache
18499 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18500 if test -w "$cache_file"; then
18501 if test "x$cache_file" != "x/dev/null"; then
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18503 $as_echo "$as_me: updating cache $cache_file" >&6;}
18504 if test ! -f "$cache_file" || test -h "$cache_file"; then
18505 cat confcache >"$cache_file"
18506 else
18507 case $cache_file in #(
18508 */* | ?:*)
18509 mv -f confcache "$cache_file"$$ &&
18510 mv -f "$cache_file"$$ "$cache_file" ;; #(
18512 mv -f confcache "$cache_file" ;;
18513 esac
18516 else
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18518 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18521 rm -f confcache
18523 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18524 # Let make expand exec_prefix.
18525 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18527 DEFS=-DHAVE_CONFIG_H
18529 ac_libobjs=
18530 ac_ltlibobjs=
18532 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18533 # 1. Remove the extension, and $U if already installed.
18534 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18535 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18536 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18537 # will be set to the directory where LIBOBJS objects are built.
18538 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18539 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18540 done
18541 LIBOBJS=$ac_libobjs
18543 LTLIBOBJS=$ac_ltlibobjs
18547 : "${CONFIG_STATUS=./config.status}"
18548 ac_write_fail=0
18549 ac_clean_files_save=$ac_clean_files
18550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18553 as_write_fail=0
18554 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18555 #! $SHELL
18556 # Generated by $as_me.
18557 # Run this file to recreate the current configuration.
18558 # Compiler output produced by configure, useful for debugging
18559 # configure, is in config.log if it exists.
18561 debug=false
18562 ac_cs_recheck=false
18563 ac_cs_silent=false
18565 SHELL=\${CONFIG_SHELL-$SHELL}
18566 export SHELL
18567 _ASEOF
18568 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18569 ## -------------------- ##
18570 ## M4sh Initialization. ##
18571 ## -------------------- ##
18573 # Be more Bourne compatible
18574 DUALCASE=1; export DUALCASE # for MKS sh
18575 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18576 emulate sh
18577 NULLCMD=:
18578 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18579 # is contrary to our usage. Disable this feature.
18580 alias -g '${1+"$@"}'='"$@"'
18581 setopt NO_GLOB_SUBST
18582 else
18583 case `(set -o) 2>/dev/null` in #(
18584 *posix*) :
18585 set -o posix ;; #(
18586 *) :
18588 esac
18592 as_nl='
18594 export as_nl
18595 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18596 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18597 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18599 # Prefer a ksh shell builtin over an external printf program on Solaris,
18600 # but without wasting forks for bash or zsh.
18601 if test -z "$BASH_VERSION$ZSH_VERSION" \
18602 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18603 as_echo='print -r --'
18604 as_echo_n='print -rn --'
18605 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18606 as_echo='printf %s\n'
18607 as_echo_n='printf %s'
18608 else
18609 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18610 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18611 as_echo_n='/usr/ucb/echo -n'
18612 else
18613 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18614 as_echo_n_body='eval
18615 arg=$1;
18616 case $arg in #(
18617 *"$as_nl"*)
18618 expr "X$arg" : "X\\(.*\\)$as_nl";
18619 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18620 esac;
18621 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18623 export as_echo_n_body
18624 as_echo_n='sh -c $as_echo_n_body as_echo'
18626 export as_echo_body
18627 as_echo='sh -c $as_echo_body as_echo'
18630 # The user is always right.
18631 if test "${PATH_SEPARATOR+set}" != set; then
18632 PATH_SEPARATOR=:
18633 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18634 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18635 PATH_SEPARATOR=';'
18640 # IFS
18641 # We need space, tab and new line, in precisely that order. Quoting is
18642 # there to prevent editors from complaining about space-tab.
18643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18644 # splitting by setting IFS to empty value.)
18645 IFS=" "" $as_nl"
18647 # Find who we are. Look in the path if we contain no directory separator.
18648 as_myself=
18649 case $0 in #((
18650 *[\\/]* ) as_myself=$0 ;;
18651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18652 for as_dir in $PATH
18654 IFS=$as_save_IFS
18655 test -z "$as_dir" && as_dir=.
18656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18657 done
18658 IFS=$as_save_IFS
18661 esac
18662 # We did not find ourselves, most probably we were run as `sh COMMAND'
18663 # in which case we are not to be found in the path.
18664 if test "x$as_myself" = x; then
18665 as_myself=$0
18667 if test ! -f "$as_myself"; then
18668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18669 exit 1
18672 # Unset variables that we do not need and which cause bugs (e.g. in
18673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18674 # suppresses any "Segmentation fault" message there. '((' could
18675 # trigger a bug in pdksh 5.2.14.
18676 for as_var in BASH_ENV ENV MAIL MAILPATH
18677 do eval test x\${$as_var+set} = xset \
18678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18679 done
18680 PS1='$ '
18681 PS2='> '
18682 PS4='+ '
18684 # NLS nuisances.
18685 LC_ALL=C
18686 export LC_ALL
18687 LANGUAGE=C
18688 export LANGUAGE
18690 # CDPATH.
18691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18694 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18695 # ----------------------------------------
18696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18698 # script with STATUS, using 1 if that was 0.
18699 as_fn_error ()
18701 as_status=$1; test $as_status -eq 0 && as_status=1
18702 if test "$4"; then
18703 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18706 $as_echo "$as_me: error: $2" >&2
18707 as_fn_exit $as_status
18708 } # as_fn_error
18711 # as_fn_set_status STATUS
18712 # -----------------------
18713 # Set $? to STATUS, without forking.
18714 as_fn_set_status ()
18716 return $1
18717 } # as_fn_set_status
18719 # as_fn_exit STATUS
18720 # -----------------
18721 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18722 as_fn_exit ()
18724 set +e
18725 as_fn_set_status $1
18726 exit $1
18727 } # as_fn_exit
18729 # as_fn_unset VAR
18730 # ---------------
18731 # Portably unset VAR.
18732 as_fn_unset ()
18734 { eval $1=; unset $1;}
18736 as_unset=as_fn_unset
18737 # as_fn_append VAR VALUE
18738 # ----------------------
18739 # Append the text in VALUE to the end of the definition contained in VAR. Take
18740 # advantage of any shell optimizations that allow amortized linear growth over
18741 # repeated appends, instead of the typical quadratic growth present in naive
18742 # implementations.
18743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18744 eval 'as_fn_append ()
18746 eval $1+=\$2
18748 else
18749 as_fn_append ()
18751 eval $1=\$$1\$2
18753 fi # as_fn_append
18755 # as_fn_arith ARG...
18756 # ------------------
18757 # Perform arithmetic evaluation on the ARGs, and store the result in the
18758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18759 # must be portable across $(()) and expr.
18760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18761 eval 'as_fn_arith ()
18763 as_val=$(( $* ))
18765 else
18766 as_fn_arith ()
18768 as_val=`expr "$@" || test $? -eq 1`
18770 fi # as_fn_arith
18773 if expr a : '\(a\)' >/dev/null 2>&1 &&
18774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18775 as_expr=expr
18776 else
18777 as_expr=false
18780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18781 as_basename=basename
18782 else
18783 as_basename=false
18786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18787 as_dirname=dirname
18788 else
18789 as_dirname=false
18792 as_me=`$as_basename -- "$0" ||
18793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18794 X"$0" : 'X\(//\)$' \| \
18795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18796 $as_echo X/"$0" |
18797 sed '/^.*\/\([^/][^/]*\)\/*$/{
18798 s//\1/
18801 /^X\/\(\/\/\)$/{
18802 s//\1/
18805 /^X\/\(\/\).*/{
18806 s//\1/
18809 s/.*/./; q'`
18811 # Avoid depending upon Character Ranges.
18812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18815 as_cr_digits='0123456789'
18816 as_cr_alnum=$as_cr_Letters$as_cr_digits
18818 ECHO_C= ECHO_N= ECHO_T=
18819 case `echo -n x` in #(((((
18820 -n*)
18821 case `echo 'xy\c'` in
18822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18823 xy) ECHO_C='\c';;
18824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18825 ECHO_T=' ';;
18826 esac;;
18828 ECHO_N='-n';;
18829 esac
18831 rm -f conf$$ conf$$.exe conf$$.file
18832 if test -d conf$$.dir; then
18833 rm -f conf$$.dir/conf$$.file
18834 else
18835 rm -f conf$$.dir
18836 mkdir conf$$.dir 2>/dev/null
18838 if (echo >conf$$.file) 2>/dev/null; then
18839 if ln -s conf$$.file conf$$ 2>/dev/null; then
18840 as_ln_s='ln -s'
18841 # ... but there are two gotchas:
18842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18844 # In both cases, we have to default to `cp -pR'.
18845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18846 as_ln_s='cp -pR'
18847 elif ln conf$$.file conf$$ 2>/dev/null; then
18848 as_ln_s=ln
18849 else
18850 as_ln_s='cp -pR'
18852 else
18853 as_ln_s='cp -pR'
18855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18856 rmdir conf$$.dir 2>/dev/null
18859 # as_fn_mkdir_p
18860 # -------------
18861 # Create "$as_dir" as a directory, including parents if necessary.
18862 as_fn_mkdir_p ()
18865 case $as_dir in #(
18866 -*) as_dir=./$as_dir;;
18867 esac
18868 test -d "$as_dir" || eval $as_mkdir_p || {
18869 as_dirs=
18870 while :; do
18871 case $as_dir in #(
18872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18873 *) as_qdir=$as_dir;;
18874 esac
18875 as_dirs="'$as_qdir' $as_dirs"
18876 as_dir=`$as_dirname -- "$as_dir" ||
18877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18878 X"$as_dir" : 'X\(//\)[^/]' \| \
18879 X"$as_dir" : 'X\(//\)$' \| \
18880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18881 $as_echo X"$as_dir" |
18882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18883 s//\1/
18886 /^X\(\/\/\)[^/].*/{
18887 s//\1/
18890 /^X\(\/\/\)$/{
18891 s//\1/
18894 /^X\(\/\).*/{
18895 s//\1/
18898 s/.*/./; q'`
18899 test -d "$as_dir" && break
18900 done
18901 test -z "$as_dirs" || eval "mkdir $as_dirs"
18902 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18905 } # as_fn_mkdir_p
18906 if mkdir -p . 2>/dev/null; then
18907 as_mkdir_p='mkdir -p "$as_dir"'
18908 else
18909 test -d ./-p && rmdir ./-p
18910 as_mkdir_p=false
18914 # as_fn_executable_p FILE
18915 # -----------------------
18916 # Test if FILE is an executable regular file.
18917 as_fn_executable_p ()
18919 test -f "$1" && test -x "$1"
18920 } # as_fn_executable_p
18921 as_test_x='test -x'
18922 as_executable_p=as_fn_executable_p
18924 # Sed expression to map a string onto a valid CPP name.
18925 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18927 # Sed expression to map a string onto a valid variable name.
18928 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18931 exec 6>&1
18932 ## ----------------------------------- ##
18933 ## Main body of $CONFIG_STATUS script. ##
18934 ## ----------------------------------- ##
18935 _ASEOF
18936 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18939 # Save the log message, to keep $0 and so on meaningful, and to
18940 # report actual input values of CONFIG_FILES etc. instead of their
18941 # values after options handling.
18942 ac_log="
18943 This file was extended by Wine $as_me 1.9.18, which was
18944 generated by GNU Autoconf 2.69. Invocation command line was
18946 CONFIG_FILES = $CONFIG_FILES
18947 CONFIG_HEADERS = $CONFIG_HEADERS
18948 CONFIG_LINKS = $CONFIG_LINKS
18949 CONFIG_COMMANDS = $CONFIG_COMMANDS
18950 $ $0 $@
18952 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18955 _ACEOF
18957 case $ac_config_files in *"
18958 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18959 esac
18961 case $ac_config_headers in *"
18962 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18963 esac
18966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18967 # Files that config.status was made for.
18968 config_files="$ac_config_files"
18969 config_headers="$ac_config_headers"
18970 config_links="$ac_config_links"
18971 config_commands="$ac_config_commands"
18973 _ACEOF
18975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18976 ac_cs_usage="\
18977 \`$as_me' instantiates files and other configuration actions
18978 from templates according to the current configuration. Unless the files
18979 and actions are specified as TAGs, all are instantiated by default.
18981 Usage: $0 [OPTION]... [TAG]...
18983 -h, --help print this help, then exit
18984 -V, --version print version number and configuration settings, then exit
18985 --config print configuration, then exit
18986 -q, --quiet, --silent
18987 do not print progress messages
18988 -d, --debug don't remove temporary files
18989 --recheck update $as_me by reconfiguring in the same conditions
18990 --file=FILE[:TEMPLATE]
18991 instantiate the configuration file FILE
18992 --header=FILE[:TEMPLATE]
18993 instantiate the configuration header FILE
18995 Configuration files:
18996 $config_files
18998 Configuration headers:
18999 $config_headers
19001 Configuration links:
19002 $config_links
19004 Configuration commands:
19005 $config_commands
19007 Report bugs to <wine-devel@winehq.org>.
19008 Wine home page: <http://www.winehq.org>."
19010 _ACEOF
19011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19012 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19013 ac_cs_version="\\
19014 Wine config.status 1.9.18
19015 configured by $0, generated by GNU Autoconf 2.69,
19016 with options \\"\$ac_cs_config\\"
19018 Copyright (C) 2012 Free Software Foundation, Inc.
19019 This config.status script is free software; the Free Software Foundation
19020 gives unlimited permission to copy, distribute and modify it."
19022 ac_pwd='$ac_pwd'
19023 srcdir='$srcdir'
19024 test -n "\$AWK" || AWK=awk
19025 _ACEOF
19027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19028 # The default lists apply if the user does not specify any file.
19029 ac_need_defaults=:
19030 while test $# != 0
19032 case $1 in
19033 --*=?*)
19034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19035 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19036 ac_shift=:
19038 --*=)
19039 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19040 ac_optarg=
19041 ac_shift=:
19044 ac_option=$1
19045 ac_optarg=$2
19046 ac_shift=shift
19048 esac
19050 case $ac_option in
19051 # Handling of the options.
19052 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19053 ac_cs_recheck=: ;;
19054 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19055 $as_echo "$ac_cs_version"; exit ;;
19056 --config | --confi | --conf | --con | --co | --c )
19057 $as_echo "$ac_cs_config"; exit ;;
19058 --debug | --debu | --deb | --de | --d | -d )
19059 debug=: ;;
19060 --file | --fil | --fi | --f )
19061 $ac_shift
19062 case $ac_optarg in
19063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19064 '') as_fn_error $? "missing file argument" ;;
19065 esac
19066 as_fn_append CONFIG_FILES " '$ac_optarg'"
19067 ac_need_defaults=false;;
19068 --header | --heade | --head | --hea )
19069 $ac_shift
19070 case $ac_optarg in
19071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19072 esac
19073 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19074 ac_need_defaults=false;;
19075 --he | --h)
19076 # Conflict between --help and --header
19077 as_fn_error $? "ambiguous option: \`$1'
19078 Try \`$0 --help' for more information.";;
19079 --help | --hel | -h )
19080 $as_echo "$ac_cs_usage"; exit ;;
19081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19082 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19083 ac_cs_silent=: ;;
19085 # This is an error.
19086 -*) as_fn_error $? "unrecognized option: \`$1'
19087 Try \`$0 --help' for more information." ;;
19089 *) as_fn_append ac_config_targets " $1"
19090 ac_need_defaults=false ;;
19092 esac
19093 shift
19094 done
19096 ac_configure_extra_args=
19098 if $ac_cs_silent; then
19099 exec 6>/dev/null
19100 ac_configure_extra_args="$ac_configure_extra_args --silent"
19103 _ACEOF
19104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19105 if \$ac_cs_recheck; then
19106 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19107 shift
19108 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19109 CONFIG_SHELL='$SHELL'
19110 export CONFIG_SHELL
19111 exec "\$@"
19114 _ACEOF
19115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19116 exec 5>>config.log
19118 echo
19119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19120 ## Running $as_me. ##
19121 _ASBOX
19122 $as_echo "$ac_log"
19123 } >&5
19125 _ACEOF
19126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19128 # INIT-COMMANDS
19130 wine_fn_output_makedep ()
19132 as_dir=tools; as_fn_mkdir_p
19133 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19135 wine_fn_output_makefile ()
19137 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19138 `cat $wine_rules_file`
19139 _WINE_EOF
19140 as_fn_error $? "could not create Makefile" "$LINENO" 5
19143 _ACEOF
19145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19147 # Handling of arguments.
19148 for ac_config_target in $ac_config_targets
19150 case $ac_config_target in
19151 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19152 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19153 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19154 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19155 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19156 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19157 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19158 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19159 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19160 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19161 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19162 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19163 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19165 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19166 esac
19167 done
19170 # If the user did not use the arguments to specify the items to instantiate,
19171 # then the envvar interface is used. Set only those that are not.
19172 # We use the long form for the default assignment because of an extremely
19173 # bizarre bug on SunOS 4.1.3.
19174 if $ac_need_defaults; then
19175 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19176 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19177 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19178 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19181 # Have a temporary directory for convenience. Make it in the build tree
19182 # simply because there is no reason against having it here, and in addition,
19183 # creating and moving files from /tmp can sometimes cause problems.
19184 # Hook for its removal unless debugging.
19185 # Note that there is a small window in which the directory will not be cleaned:
19186 # after its creation but before its name has been assigned to `$tmp'.
19187 $debug ||
19189 tmp= ac_tmp=
19190 trap 'exit_status=$?
19191 : "${ac_tmp:=$tmp}"
19192 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19194 trap 'as_fn_exit 1' 1 2 13 15
19196 # Create a (secure) tmp directory for tmp files.
19199 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19200 test -d "$tmp"
19201 } ||
19203 tmp=./conf$$-$RANDOM
19204 (umask 077 && mkdir "$tmp")
19205 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19206 ac_tmp=$tmp
19208 # Set up the scripts for CONFIG_FILES section.
19209 # No need to generate them if there are no CONFIG_FILES.
19210 # This happens for instance with `./config.status config.h'.
19211 if test -n "$CONFIG_FILES"; then
19214 ac_cr=`echo X | tr X '\015'`
19215 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19216 # But we know of no other shell where ac_cr would be empty at this
19217 # point, so we can use a bashism as a fallback.
19218 if test "x$ac_cr" = x; then
19219 eval ac_cr=\$\'\\r\'
19221 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19222 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19223 ac_cs_awk_cr='\\r'
19224 else
19225 ac_cs_awk_cr=$ac_cr
19228 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19229 _ACEOF
19233 echo "cat >conf$$subs.awk <<_ACEOF" &&
19234 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19235 echo "_ACEOF"
19236 } >conf$$subs.sh ||
19237 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19238 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19239 ac_delim='%!_!# '
19240 for ac_last_try in false false false false false :; do
19241 . ./conf$$subs.sh ||
19242 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19244 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19245 if test $ac_delim_n = $ac_delim_num; then
19246 break
19247 elif $ac_last_try; then
19248 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19249 else
19250 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19252 done
19253 rm -f conf$$subs.sh
19255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19256 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19257 _ACEOF
19258 sed -n '
19260 s/^/S["/; s/!.*/"]=/
19263 s/^[^!]*!//
19264 :repl
19265 t repl
19266 s/'"$ac_delim"'$//
19267 t delim
19270 s/\(.\{148\}\)..*/\1/
19271 t more1
19272 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19275 b repl
19276 :more1
19277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19280 s/.\{148\}//
19281 t nl
19282 :delim
19284 s/\(.\{148\}\)..*/\1/
19285 t more2
19286 s/["\\]/\\&/g; s/^/"/; s/$/"/
19289 :more2
19290 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19293 s/.\{148\}//
19294 t delim
19295 ' <conf$$subs.awk | sed '
19296 /^[^""]/{
19298 s/\n//
19300 ' >>$CONFIG_STATUS || ac_write_fail=1
19301 rm -f conf$$subs.awk
19302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19303 _ACAWK
19304 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19305 for (key in S) S_is_set[key] = 1
19306 FS = "\a"
19310 line = $ 0
19311 nfields = split(line, field, "@")
19312 substed = 0
19313 len = length(field[1])
19314 for (i = 2; i < nfields; i++) {
19315 key = field[i]
19316 keylen = length(key)
19317 if (S_is_set[key]) {
19318 value = S[key]
19319 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19320 len += length(value) + length(field[++i])
19321 substed = 1
19322 } else
19323 len += 1 + keylen
19326 print line
19329 _ACAWK
19330 _ACEOF
19331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19332 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19333 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19334 else
19336 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19337 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19338 _ACEOF
19340 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19341 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19342 # trailing colons and then remove the whole line if VPATH becomes empty
19343 # (actually we leave an empty line to preserve line numbers).
19344 if test "x$srcdir" = x.; then
19345 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19347 s///
19348 s/^/:/
19349 s/[ ]*$/:/
19350 s/:\$(srcdir):/:/g
19351 s/:\${srcdir}:/:/g
19352 s/:@srcdir@:/:/g
19353 s/^:*//
19354 s/:*$//
19356 s/\(=[ ]*\).*/\1/
19358 s/\n//
19359 s/^[^=]*=[ ]*$//
19363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19364 fi # test -n "$CONFIG_FILES"
19366 # Set up the scripts for CONFIG_HEADERS section.
19367 # No need to generate them if there are no CONFIG_HEADERS.
19368 # This happens for instance with `./config.status Makefile'.
19369 if test -n "$CONFIG_HEADERS"; then
19370 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19371 BEGIN {
19372 _ACEOF
19374 # Transform confdefs.h into an awk script `defines.awk', embedded as
19375 # here-document in config.status, that substitutes the proper values into
19376 # config.h.in to produce config.h.
19378 # Create a delimiter string that does not exist in confdefs.h, to ease
19379 # handling of long lines.
19380 ac_delim='%!_!# '
19381 for ac_last_try in false false :; do
19382 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19383 if test -z "$ac_tt"; then
19384 break
19385 elif $ac_last_try; then
19386 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19387 else
19388 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19390 done
19392 # For the awk script, D is an array of macro values keyed by name,
19393 # likewise P contains macro parameters if any. Preserve backslash
19394 # newline sequences.
19396 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19397 sed -n '
19398 s/.\{148\}/&'"$ac_delim"'/g
19399 t rset
19400 :rset
19401 s/^[ ]*#[ ]*define[ ][ ]*/ /
19402 t def
19404 :def
19405 s/\\$//
19406 t bsnl
19407 s/["\\]/\\&/g
19408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19409 D["\1"]=" \3"/p
19410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19412 :bsnl
19413 s/["\\]/\\&/g
19414 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19415 D["\1"]=" \3\\\\\\n"\\/p
19416 t cont
19417 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19418 t cont
19420 :cont
19422 s/.\{148\}/&'"$ac_delim"'/g
19423 t clear
19424 :clear
19425 s/\\$//
19426 t bsnlc
19427 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19429 :bsnlc
19430 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19431 b cont
19432 ' <confdefs.h | sed '
19433 s/'"$ac_delim"'/"\\\
19434 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19437 for (key in D) D_is_set[key] = 1
19438 FS = "\a"
19440 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19441 line = \$ 0
19442 split(line, arg, " ")
19443 if (arg[1] == "#") {
19444 defundef = arg[2]
19445 mac1 = arg[3]
19446 } else {
19447 defundef = substr(arg[1], 2)
19448 mac1 = arg[2]
19450 split(mac1, mac2, "(") #)
19451 macro = mac2[1]
19452 prefix = substr(line, 1, index(line, defundef) - 1)
19453 if (D_is_set[macro]) {
19454 # Preserve the white space surrounding the "#".
19455 print prefix "define", macro P[macro] D[macro]
19456 next
19457 } else {
19458 # Replace #undef with comments. This is necessary, for example,
19459 # in the case of _POSIX_SOURCE, which is predefined and required
19460 # on some systems where configure will not decide to define it.
19461 if (defundef == "undef") {
19462 print "/*", prefix defundef, macro, "*/"
19463 next
19467 { print }
19468 _ACAWK
19469 _ACEOF
19470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19471 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19472 fi # test -n "$CONFIG_HEADERS"
19475 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19476 shift
19477 for ac_tag
19479 case $ac_tag in
19480 :[FHLC]) ac_mode=$ac_tag; continue;;
19481 esac
19482 case $ac_mode$ac_tag in
19483 :[FHL]*:*);;
19484 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19485 :[FH]-) ac_tag=-:-;;
19486 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19487 esac
19488 ac_save_IFS=$IFS
19489 IFS=:
19490 set x $ac_tag
19491 IFS=$ac_save_IFS
19492 shift
19493 ac_file=$1
19494 shift
19496 case $ac_mode in
19497 :L) ac_source=$1;;
19498 :[FH])
19499 ac_file_inputs=
19500 for ac_f
19502 case $ac_f in
19503 -) ac_f="$ac_tmp/stdin";;
19504 *) # Look for the file first in the build tree, then in the source tree
19505 # (if the path is not absolute). The absolute path cannot be DOS-style,
19506 # because $ac_f cannot contain `:'.
19507 test -f "$ac_f" ||
19508 case $ac_f in
19509 [\\/$]*) false;;
19510 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19511 esac ||
19512 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19513 esac
19514 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19515 as_fn_append ac_file_inputs " '$ac_f'"
19516 done
19518 # Let's still pretend it is `configure' which instantiates (i.e., don't
19519 # use $as_me), people would be surprised to read:
19520 # /* config.h. Generated by config.status. */
19521 configure_input='Generated from '`
19522 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19523 `' by configure.'
19524 if test x"$ac_file" != x-; then
19525 configure_input="$ac_file. $configure_input"
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19527 $as_echo "$as_me: creating $ac_file" >&6;}
19529 # Neutralize special characters interpreted by sed in replacement strings.
19530 case $configure_input in #(
19531 *\&* | *\|* | *\\* )
19532 ac_sed_conf_input=`$as_echo "$configure_input" |
19533 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19534 *) ac_sed_conf_input=$configure_input;;
19535 esac
19537 case $ac_tag in
19538 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19539 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19540 esac
19542 esac
19544 ac_dir=`$as_dirname -- "$ac_file" ||
19545 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19546 X"$ac_file" : 'X\(//\)[^/]' \| \
19547 X"$ac_file" : 'X\(//\)$' \| \
19548 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19549 $as_echo X"$ac_file" |
19550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19551 s//\1/
19554 /^X\(\/\/\)[^/].*/{
19555 s//\1/
19558 /^X\(\/\/\)$/{
19559 s//\1/
19562 /^X\(\/\).*/{
19563 s//\1/
19566 s/.*/./; q'`
19567 as_dir="$ac_dir"; as_fn_mkdir_p
19568 ac_builddir=.
19570 case "$ac_dir" in
19571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19573 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19574 # A ".." for each directory in $ac_dir_suffix.
19575 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19576 case $ac_top_builddir_sub in
19577 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19578 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19579 esac ;;
19580 esac
19581 ac_abs_top_builddir=$ac_pwd
19582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19583 # for backward compatibility:
19584 ac_top_builddir=$ac_top_build_prefix
19586 case $srcdir in
19587 .) # We are building in place.
19588 ac_srcdir=.
19589 ac_top_srcdir=$ac_top_builddir_sub
19590 ac_abs_top_srcdir=$ac_pwd ;;
19591 [\\/]* | ?:[\\/]* ) # Absolute name.
19592 ac_srcdir=$srcdir$ac_dir_suffix;
19593 ac_top_srcdir=$srcdir
19594 ac_abs_top_srcdir=$srcdir ;;
19595 *) # Relative name.
19596 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19597 ac_top_srcdir=$ac_top_build_prefix$srcdir
19598 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19599 esac
19600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19603 case $ac_mode in
19606 # CONFIG_FILE
19609 _ACEOF
19611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19612 # If the template does not know about datarootdir, expand it.
19613 # FIXME: This hack should be removed a few years after 2.60.
19614 ac_datarootdir_hack=; ac_datarootdir_seen=
19615 ac_sed_dataroot='
19616 /datarootdir/ {
19620 /@datadir@/p
19621 /@docdir@/p
19622 /@infodir@/p
19623 /@localedir@/p
19624 /@mandir@/p'
19625 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19626 *datarootdir*) ac_datarootdir_seen=yes;;
19627 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19629 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19630 _ACEOF
19631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19632 ac_datarootdir_hack='
19633 s&@datadir@&$datadir&g
19634 s&@docdir@&$docdir&g
19635 s&@infodir@&$infodir&g
19636 s&@localedir@&$localedir&g
19637 s&@mandir@&$mandir&g
19638 s&\\\${datarootdir}&$datarootdir&g' ;;
19639 esac
19640 _ACEOF
19642 # Neutralize VPATH when `$srcdir' = `.'.
19643 # Shell code in configure.ac might set extrasub.
19644 # FIXME: do we really want to maintain this feature?
19645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19646 ac_sed_extra="$ac_vpsub
19647 $extrasub
19648 _ACEOF
19649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19652 s|@configure_input@|$ac_sed_conf_input|;t t
19653 s&@top_builddir@&$ac_top_builddir_sub&;t t
19654 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19655 s&@srcdir@&$ac_srcdir&;t t
19656 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19657 s&@top_srcdir@&$ac_top_srcdir&;t t
19658 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19659 s&@builddir@&$ac_builddir&;t t
19660 s&@abs_builddir@&$ac_abs_builddir&;t t
19661 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19662 $ac_datarootdir_hack
19664 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19665 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19667 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19668 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19669 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19670 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19672 which seems to be undefined. Please make sure it is defined" >&5
19673 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19674 which seems to be undefined. Please make sure it is defined" >&2;}
19676 rm -f "$ac_tmp/stdin"
19677 case $ac_file in
19678 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19679 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19680 esac \
19681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19685 # CONFIG_HEADER
19687 if test x"$ac_file" != x-; then
19689 $as_echo "/* $configure_input */" \
19690 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19691 } >"$ac_tmp/config.h" \
19692 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19693 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19695 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19696 else
19697 rm -f "$ac_file"
19698 mv "$ac_tmp/config.h" "$ac_file" \
19699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19701 else
19702 $as_echo "/* $configure_input */" \
19703 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19704 || as_fn_error $? "could not create -" "$LINENO" 5
19709 # CONFIG_LINK
19712 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19714 else
19715 # Prefer the file from the source tree if names are identical.
19716 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19717 ac_source=$srcdir/$ac_source
19720 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19721 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19723 if test ! -r "$ac_source"; then
19724 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19726 rm -f "$ac_file"
19728 # Try a relative symlink, then a hard link, then a copy.
19729 case $ac_source in
19730 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19731 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19732 esac
19733 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19734 ln "$ac_source" "$ac_file" 2>/dev/null ||
19735 cp -p "$ac_source" "$ac_file" ||
19736 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19739 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19740 $as_echo "$as_me: executing $ac_file commands" >&6;}
19742 esac
19745 case $ac_file$ac_mode in
19746 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19747 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19748 "Makefile":C) wine_fn_output_makefile Makefile ;;
19750 esac
19751 done # for ac_tag
19754 as_fn_exit 0
19755 _ACEOF
19756 ac_clean_files=$ac_clean_files_save
19758 test $ac_write_fail = 0 ||
19759 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19762 # configure is writing to config.log, and then calls config.status.
19763 # config.status does its own redirection, appending to config.log.
19764 # Unfortunately, on DOS this fails, as config.log is still kept open
19765 # by configure, so config.status won't be able to write to it; its
19766 # output is simply discarded. So we exec the FD to /dev/null,
19767 # effectively closing config.log, so it can be properly (re)opened and
19768 # appended to by config.status. When coming back to configure, we
19769 # need to make the FD available again.
19770 if test "$no_create" != yes; then
19771 ac_cs_success=:
19772 ac_config_status_args=
19773 test "$silent" = yes &&
19774 ac_config_status_args="$ac_config_status_args --quiet"
19775 exec 5>/dev/null
19776 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19777 exec 5>>config.log
19778 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19779 # would make configure fail if this is the last instruction.
19780 $ac_cs_success || as_fn_exit 1
19782 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19784 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19788 if test "$no_create" = "yes"
19789 then
19790 exit 0
19793 ac_save_IFS="$IFS"
19794 if test "x$wine_notices" != x; then
19795 echo >&6
19796 IFS="|"
19797 for msg in $wine_notices; do
19798 IFS="$ac_save_IFS"
19799 if ${msg:+false} :; then :
19801 else
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19803 $as_echo "$as_me: $msg" >&6;}
19805 done
19807 IFS="|"
19808 for msg in $wine_warnings; do
19809 IFS="$ac_save_IFS"
19810 if ${msg:+false} :; then :
19812 else
19813 echo >&2
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19815 $as_echo "$as_me: WARNING: $msg" >&2;}
19817 done
19818 IFS="$ac_save_IFS"
19820 $as_echo "
19821 $as_me: Finished. Do '${ac_make}' to compile Wine.
19822 " >&6