oleaut32/tests: Use todo_wine_if() instead of ifdef constructs.
[wine.git] / configure
blobd3552b04a1fabfce250c0782255d755adc2278e1
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.15.
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.15'
584 PACKAGE_STRING='Wine 1.9.15'
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_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp140
1225 enable_msvcp60
1226 enable_msvcp70
1227 enable_msvcp71
1228 enable_msvcp80
1229 enable_msvcp90
1230 enable_msvcr100
1231 enable_msvcr110
1232 enable_msvcr120
1233 enable_msvcr120_app
1234 enable_msvcr70
1235 enable_msvcr71
1236 enable_msvcr80
1237 enable_msvcr90
1238 enable_msvcrt
1239 enable_msvcrt20
1240 enable_msvcrt40
1241 enable_msvcrtd
1242 enable_msvfw32
1243 enable_msvidc32
1244 enable_mswsock
1245 enable_msxml
1246 enable_msxml2
1247 enable_msxml3
1248 enable_msxml4
1249 enable_msxml6
1250 enable_ncrypt
1251 enable_nddeapi
1252 enable_ndis_sys
1253 enable_netapi32
1254 enable_netcfgx
1255 enable_netprofm
1256 enable_newdev
1257 enable_normaliz
1258 enable_npmshtml
1259 enable_npptools
1260 enable_ntdll
1261 enable_ntdsapi
1262 enable_ntoskrnl_exe
1263 enable_ntprint
1264 enable_objsel
1265 enable_odbc32
1266 enable_odbccp32
1267 enable_odbccu32
1268 enable_ole32
1269 enable_oleacc
1270 enable_oleaut32
1271 enable_olecli32
1272 enable_oledb32
1273 enable_oledlg
1274 enable_olepro32
1275 enable_olesvr32
1276 enable_olethk32
1277 enable_openal32
1278 enable_opencl
1279 enable_opengl32
1280 enable_packager
1281 enable_pdh
1282 enable_photometadatahandler
1283 enable_pidgen
1284 enable_powrprof
1285 enable_printui
1286 enable_prntvpt
1287 enable_propsys
1288 enable_psapi
1289 enable_pstorec
1290 enable_qcap
1291 enable_qedit
1292 enable_qmgr
1293 enable_qmgrprxy
1294 enable_quartz
1295 enable_query
1296 enable_rasapi32
1297 enable_rasdlg
1298 enable_regapi
1299 enable_resutils
1300 enable_riched20
1301 enable_riched32
1302 enable_rpcrt4
1303 enable_rsabase
1304 enable_rsaenh
1305 enable_rstrtmgr
1306 enable_rtutils
1307 enable_samlib
1308 enable_sane_ds
1309 enable_scarddlg
1310 enable_sccbase
1311 enable_schannel
1312 enable_schedsvc
1313 enable_scrrun
1314 enable_scsiport_sys
1315 enable_secur32
1316 enable_security
1317 enable_sensapi
1318 enable_serialui
1319 enable_setupapi
1320 enable_sfc
1321 enable_sfc_os
1322 enable_shdoclc
1323 enable_shdocvw
1324 enable_shell32
1325 enable_shfolder
1326 enable_shlwapi
1327 enable_slbcsp
1328 enable_slc
1329 enable_snmpapi
1330 enable_softpub
1331 enable_spoolss
1332 enable_sspicli
1333 enable_stdole2_tlb
1334 enable_stdole32_tlb
1335 enable_sti
1336 enable_svrapi
1337 enable_sxs
1338 enable_t2embed
1339 enable_tapi32
1340 enable_taskschd
1341 enable_tdi_sys
1342 enable_traffic
1343 enable_twain_32
1344 enable_ucrtbase
1345 enable_unicows
1346 enable_updspapi
1347 enable_url
1348 enable_urlmon
1349 enable_usbd_sys
1350 enable_user32
1351 enable_userenv
1352 enable_usp10
1353 enable_uxtheme
1354 enable_vbscript
1355 enable_vcomp
1356 enable_vcomp100
1357 enable_vcomp110
1358 enable_vcomp120
1359 enable_vcomp90
1360 enable_vcruntime140
1361 enable_vdmdbg
1362 enable_version
1363 enable_vssapi
1364 enable_wbemdisp
1365 enable_wbemprox
1366 enable_webservices
1367 enable_wer
1368 enable_wevtapi
1369 enable_wiaservc
1370 enable_wimgapi
1371 enable_windowscodecs
1372 enable_windowscodecsext
1373 enable_winealsa_drv
1374 enable_winecoreaudio_drv
1375 enable_wined3d
1376 enable_winegstreamer
1377 enable_winejoystick_drv
1378 enable_winemac_drv
1379 enable_winemapi
1380 enable_winemp3_acm
1381 enable_wineoss_drv
1382 enable_wineps_drv
1383 enable_winepulse_drv
1384 enable_wineqtdecoder
1385 enable_winex11_drv
1386 enable_wing32
1387 enable_winhttp
1388 enable_wininet
1389 enable_winmm
1390 enable_winnls32
1391 enable_winscard
1392 enable_winspool_drv
1393 enable_winsta
1394 enable_wintab32
1395 enable_wintrust
1396 enable_wlanapi
1397 enable_wldap32
1398 enable_wmasf
1399 enable_wmi
1400 enable_wmiutils
1401 enable_wmp
1402 enable_wmvcore
1403 enable_wnaspi32
1404 enable_wpcap
1405 enable_ws2_32
1406 enable_wshom_ocx
1407 enable_wsnmp32
1408 enable_wsock32
1409 enable_wtsapi32
1410 enable_wuapi
1411 enable_wuaueng
1412 enable_x3daudio1_0
1413 enable_x3daudio1_1
1414 enable_x3daudio1_2
1415 enable_x3daudio1_3
1416 enable_x3daudio1_4
1417 enable_x3daudio1_5
1418 enable_x3daudio1_6
1419 enable_x3daudio1_7
1420 enable_xapofx1_1
1421 enable_xapofx1_2
1422 enable_xapofx1_3
1423 enable_xapofx1_4
1424 enable_xapofx1_5
1425 enable_xaudio2_0
1426 enable_xaudio2_1
1427 enable_xaudio2_2
1428 enable_xaudio2_3
1429 enable_xaudio2_4
1430 enable_xaudio2_5
1431 enable_xaudio2_6
1432 enable_xaudio2_7
1433 enable_xaudio2_8
1434 enable_xaudio2_9
1435 enable_xinput1_1
1436 enable_xinput1_2
1437 enable_xinput1_3
1438 enable_xinput1_4
1439 enable_xinput9_1_0
1440 enable_xmllite
1441 enable_xolehlp
1442 enable_xpsprint
1443 enable_xpssvcs
1444 enable_fonts
1445 enable_include
1446 enable_libs_port
1447 enable_libs_wine
1448 enable_libs_wpp
1449 enable_loader
1450 enable_po
1451 enable_arp
1452 enable_aspnet_regiis
1453 enable_attrib
1454 enable_cabarc
1455 enable_cacls
1456 enable_clock
1457 enable_cmd
1458 enable_conhost
1459 enable_control
1460 enable_cscript
1461 enable_dpnsvr
1462 enable_dxdiag
1463 enable_eject
1464 enable_expand
1465 enable_explorer
1466 enable_extrac32
1467 enable_findstr
1468 enable_fsutil
1469 enable_hh
1470 enable_hostname
1471 enable_icacls
1472 enable_icinfo
1473 enable_iexplore
1474 enable_ipconfig
1475 enable_lodctr
1476 enable_mofcomp
1477 enable_mshta
1478 enable_msiexec
1479 enable_net
1480 enable_netsh
1481 enable_netstat
1482 enable_ngen
1483 enable_notepad
1484 enable_oleview
1485 enable_ping
1486 enable_plugplay
1487 enable_presentationfontcache
1488 enable_progman
1489 enable_reg
1490 enable_regasm
1491 enable_regedit
1492 enable_regsvcs
1493 enable_regsvr32
1494 enable_rpcss
1495 enable_rundll32
1496 enable_sc
1497 enable_schtasks
1498 enable_sdbinst
1499 enable_secedit
1500 enable_servicemodelreg
1501 enable_services
1502 enable_shutdown
1503 enable_spoolsv
1504 enable_start
1505 enable_svchost
1506 enable_systeminfo
1507 enable_taskkill
1508 enable_tasklist
1509 enable_taskmgr
1510 enable_termsv
1511 enable_uninstaller
1512 enable_unlodctr
1513 enable_view
1514 enable_wevtutil
1515 enable_wineboot
1516 enable_winebrowser
1517 enable_winecfg
1518 enable_wineconsole
1519 enable_winedbg
1520 enable_winedevice
1521 enable_winefile
1522 enable_winemenubuilder
1523 enable_winemine
1524 enable_winemsibuilder
1525 enable_winepath
1526 enable_winetest
1527 enable_winhlp32
1528 enable_winver
1529 enable_wmic
1530 enable_wmplayer
1531 enable_wordpad
1532 enable_write
1533 enable_wscript
1534 enable_wusa
1535 enable_xcopy
1536 enable_server
1537 enable_tools
1539 ac_precious_vars='build_alias
1540 host_alias
1541 target_alias
1543 CFLAGS
1544 LDFLAGS
1545 LIBS
1546 CPPFLAGS
1548 CXXFLAGS
1551 XMKMF
1552 XML2_CFLAGS
1553 XML2_LIBS
1554 XSLT_CFLAGS
1555 XSLT_LIBS
1556 DBUS_CFLAGS
1557 DBUS_LIBS
1558 HAL_CFLAGS
1559 HAL_LIBS
1560 GNUTLS_CFLAGS
1561 GNUTLS_LIBS
1562 SANE_CFLAGS
1563 SANE_LIBS
1564 GPHOTO2_CFLAGS
1565 GPHOTO2_LIBS
1566 GPHOTO2_PORT_CFLAGS
1567 GPHOTO2_PORT_LIBS
1568 LCMS2_CFLAGS
1569 LCMS2_LIBS
1570 FREETYPE_CFLAGS
1571 FREETYPE_LIBS
1572 PULSE_CFLAGS
1573 PULSE_LIBS
1574 GSTREAMER_CFLAGS
1575 GSTREAMER_LIBS
1576 CAPI20_CFLAGS
1577 CAPI20_LIBS
1578 FONTCONFIG_CFLAGS
1579 FONTCONFIG_LIBS
1580 JPEG_CFLAGS
1581 JPEG_LIBS
1582 PNG_CFLAGS
1583 PNG_LIBS
1584 TIFF_CFLAGS
1585 TIFF_LIBS
1586 MPG123_CFLAGS
1587 MPG123_LIBS
1588 NETAPI_CFLAGS
1589 NETAPI_LIBS'
1592 # Initialize some variables set by options.
1593 ac_init_help=
1594 ac_init_version=false
1595 ac_unrecognized_opts=
1596 ac_unrecognized_sep=
1597 # The variables have the same names as the options, with
1598 # dashes changed to underlines.
1599 cache_file=/dev/null
1600 exec_prefix=NONE
1601 no_create=
1602 no_recursion=
1603 prefix=NONE
1604 program_prefix=NONE
1605 program_suffix=NONE
1606 program_transform_name=s,x,x,
1607 silent=
1608 site=
1609 srcdir=
1610 verbose=
1611 x_includes=NONE
1612 x_libraries=NONE
1614 # Installation directory options.
1615 # These are left unexpanded so users can "make install exec_prefix=/foo"
1616 # and all the variables that are supposed to be based on exec_prefix
1617 # by default will actually change.
1618 # Use braces instead of parens because sh, perl, etc. also accept them.
1619 # (The list follows the same order as the GNU Coding Standards.)
1620 bindir='${exec_prefix}/bin'
1621 sbindir='${exec_prefix}/sbin'
1622 libexecdir='${exec_prefix}/libexec'
1623 datarootdir='${prefix}/share'
1624 datadir='${datarootdir}'
1625 sysconfdir='${prefix}/etc'
1626 sharedstatedir='${prefix}/com'
1627 localstatedir='${prefix}/var'
1628 runstatedir='${localstatedir}/run'
1629 includedir='${prefix}/include'
1630 oldincludedir='/usr/include'
1631 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1632 infodir='${datarootdir}/info'
1633 htmldir='${docdir}'
1634 dvidir='${docdir}'
1635 pdfdir='${docdir}'
1636 psdir='${docdir}'
1637 libdir='${exec_prefix}/lib'
1638 localedir='${datarootdir}/locale'
1639 mandir='${datarootdir}/man'
1641 ac_prev=
1642 ac_dashdash=
1643 for ac_option
1645 # If the previous option needs an argument, assign it.
1646 if test -n "$ac_prev"; then
1647 eval $ac_prev=\$ac_option
1648 ac_prev=
1649 continue
1652 case $ac_option in
1653 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1654 *=) ac_optarg= ;;
1655 *) ac_optarg=yes ;;
1656 esac
1658 # Accept the important Cygnus configure options, so we can diagnose typos.
1660 case $ac_dashdash$ac_option in
1662 ac_dashdash=yes ;;
1664 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1665 ac_prev=bindir ;;
1666 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1667 bindir=$ac_optarg ;;
1669 -build | --build | --buil | --bui | --bu)
1670 ac_prev=build_alias ;;
1671 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1672 build_alias=$ac_optarg ;;
1674 -cache-file | --cache-file | --cache-fil | --cache-fi \
1675 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1676 ac_prev=cache_file ;;
1677 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1678 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1679 cache_file=$ac_optarg ;;
1681 --config-cache | -C)
1682 cache_file=config.cache ;;
1684 -datadir | --datadir | --datadi | --datad)
1685 ac_prev=datadir ;;
1686 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1687 datadir=$ac_optarg ;;
1689 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1690 | --dataroo | --dataro | --datar)
1691 ac_prev=datarootdir ;;
1692 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1693 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1694 datarootdir=$ac_optarg ;;
1696 -disable-* | --disable-*)
1697 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1698 # Reject names that are not valid shell variable names.
1699 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1700 as_fn_error $? "invalid feature name: $ac_useropt"
1701 ac_useropt_orig=$ac_useropt
1702 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1703 case $ac_user_opts in
1705 "enable_$ac_useropt"
1706 "*) ;;
1707 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1708 ac_unrecognized_sep=', ';;
1709 esac
1710 eval enable_$ac_useropt=no ;;
1712 -docdir | --docdir | --docdi | --doc | --do)
1713 ac_prev=docdir ;;
1714 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1715 docdir=$ac_optarg ;;
1717 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1718 ac_prev=dvidir ;;
1719 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1720 dvidir=$ac_optarg ;;
1722 -enable-* | --enable-*)
1723 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1724 # Reject names that are not valid shell variable names.
1725 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1726 as_fn_error $? "invalid feature name: $ac_useropt"
1727 ac_useropt_orig=$ac_useropt
1728 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1729 case $ac_user_opts in
1731 "enable_$ac_useropt"
1732 "*) ;;
1733 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1734 ac_unrecognized_sep=', ';;
1735 esac
1736 eval enable_$ac_useropt=\$ac_optarg ;;
1738 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1739 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1740 | --exec | --exe | --ex)
1741 ac_prev=exec_prefix ;;
1742 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1743 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1744 | --exec=* | --exe=* | --ex=*)
1745 exec_prefix=$ac_optarg ;;
1747 -gas | --gas | --ga | --g)
1748 # Obsolete; use --with-gas.
1749 with_gas=yes ;;
1751 -help | --help | --hel | --he | -h)
1752 ac_init_help=long ;;
1753 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1754 ac_init_help=recursive ;;
1755 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1756 ac_init_help=short ;;
1758 -host | --host | --hos | --ho)
1759 ac_prev=host_alias ;;
1760 -host=* | --host=* | --hos=* | --ho=*)
1761 host_alias=$ac_optarg ;;
1763 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1764 ac_prev=htmldir ;;
1765 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1766 | --ht=*)
1767 htmldir=$ac_optarg ;;
1769 -includedir | --includedir | --includedi | --included | --include \
1770 | --includ | --inclu | --incl | --inc)
1771 ac_prev=includedir ;;
1772 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1773 | --includ=* | --inclu=* | --incl=* | --inc=*)
1774 includedir=$ac_optarg ;;
1776 -infodir | --infodir | --infodi | --infod | --info | --inf)
1777 ac_prev=infodir ;;
1778 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1779 infodir=$ac_optarg ;;
1781 -libdir | --libdir | --libdi | --libd)
1782 ac_prev=libdir ;;
1783 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1784 libdir=$ac_optarg ;;
1786 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1787 | --libexe | --libex | --libe)
1788 ac_prev=libexecdir ;;
1789 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1790 | --libexe=* | --libex=* | --libe=*)
1791 libexecdir=$ac_optarg ;;
1793 -localedir | --localedir | --localedi | --localed | --locale)
1794 ac_prev=localedir ;;
1795 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1796 localedir=$ac_optarg ;;
1798 -localstatedir | --localstatedir | --localstatedi | --localstated \
1799 | --localstate | --localstat | --localsta | --localst | --locals)
1800 ac_prev=localstatedir ;;
1801 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1802 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1803 localstatedir=$ac_optarg ;;
1805 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1806 ac_prev=mandir ;;
1807 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1808 mandir=$ac_optarg ;;
1810 -nfp | --nfp | --nf)
1811 # Obsolete; use --without-fp.
1812 with_fp=no ;;
1814 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1815 | --no-cr | --no-c | -n)
1816 no_create=yes ;;
1818 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1819 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1820 no_recursion=yes ;;
1822 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1823 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1824 | --oldin | --oldi | --old | --ol | --o)
1825 ac_prev=oldincludedir ;;
1826 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1827 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1828 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1829 oldincludedir=$ac_optarg ;;
1831 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1832 ac_prev=prefix ;;
1833 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1834 prefix=$ac_optarg ;;
1836 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1837 | --program-pre | --program-pr | --program-p)
1838 ac_prev=program_prefix ;;
1839 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1840 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1841 program_prefix=$ac_optarg ;;
1843 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1844 | --program-suf | --program-su | --program-s)
1845 ac_prev=program_suffix ;;
1846 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1847 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1848 program_suffix=$ac_optarg ;;
1850 -program-transform-name | --program-transform-name \
1851 | --program-transform-nam | --program-transform-na \
1852 | --program-transform-n | --program-transform- \
1853 | --program-transform | --program-transfor \
1854 | --program-transfo | --program-transf \
1855 | --program-trans | --program-tran \
1856 | --progr-tra | --program-tr | --program-t)
1857 ac_prev=program_transform_name ;;
1858 -program-transform-name=* | --program-transform-name=* \
1859 | --program-transform-nam=* | --program-transform-na=* \
1860 | --program-transform-n=* | --program-transform-=* \
1861 | --program-transform=* | --program-transfor=* \
1862 | --program-transfo=* | --program-transf=* \
1863 | --program-trans=* | --program-tran=* \
1864 | --progr-tra=* | --program-tr=* | --program-t=*)
1865 program_transform_name=$ac_optarg ;;
1867 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1868 ac_prev=pdfdir ;;
1869 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1870 pdfdir=$ac_optarg ;;
1872 -psdir | --psdir | --psdi | --psd | --ps)
1873 ac_prev=psdir ;;
1874 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1875 psdir=$ac_optarg ;;
1877 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1878 | -silent | --silent | --silen | --sile | --sil)
1879 silent=yes ;;
1881 -runstatedir | --runstatedir | --runstatedi | --runstated \
1882 | --runstate | --runstat | --runsta | --runst | --runs \
1883 | --run | --ru | --r)
1884 ac_prev=runstatedir ;;
1885 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1886 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1887 | --run=* | --ru=* | --r=*)
1888 runstatedir=$ac_optarg ;;
1890 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1891 ac_prev=sbindir ;;
1892 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1893 | --sbi=* | --sb=*)
1894 sbindir=$ac_optarg ;;
1896 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1897 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1898 | --sharedst | --shareds | --shared | --share | --shar \
1899 | --sha | --sh)
1900 ac_prev=sharedstatedir ;;
1901 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1902 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1903 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1904 | --sha=* | --sh=*)
1905 sharedstatedir=$ac_optarg ;;
1907 -site | --site | --sit)
1908 ac_prev=site ;;
1909 -site=* | --site=* | --sit=*)
1910 site=$ac_optarg ;;
1912 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1913 ac_prev=srcdir ;;
1914 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1915 srcdir=$ac_optarg ;;
1917 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1918 | --syscon | --sysco | --sysc | --sys | --sy)
1919 ac_prev=sysconfdir ;;
1920 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1921 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1922 sysconfdir=$ac_optarg ;;
1924 -target | --target | --targe | --targ | --tar | --ta | --t)
1925 ac_prev=target_alias ;;
1926 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1927 target_alias=$ac_optarg ;;
1929 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1930 verbose=yes ;;
1932 -version | --version | --versio | --versi | --vers | -V)
1933 ac_init_version=: ;;
1935 -with-* | --with-*)
1936 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1937 # Reject names that are not valid shell variable names.
1938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1939 as_fn_error $? "invalid package name: $ac_useropt"
1940 ac_useropt_orig=$ac_useropt
1941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1942 case $ac_user_opts in
1944 "with_$ac_useropt"
1945 "*) ;;
1946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1947 ac_unrecognized_sep=', ';;
1948 esac
1949 eval with_$ac_useropt=\$ac_optarg ;;
1951 -without-* | --without-*)
1952 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1963 ac_unrecognized_sep=', ';;
1964 esac
1965 eval with_$ac_useropt=no ;;
1967 --x)
1968 # Obsolete; use --with-x.
1969 with_x=yes ;;
1971 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1972 | --x-incl | --x-inc | --x-in | --x-i)
1973 ac_prev=x_includes ;;
1974 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1975 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1976 x_includes=$ac_optarg ;;
1978 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1979 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1980 ac_prev=x_libraries ;;
1981 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1982 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1983 x_libraries=$ac_optarg ;;
1985 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1986 Try \`$0 --help' for more information"
1989 *=*)
1990 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1991 # Reject names that are not valid shell variable names.
1992 case $ac_envvar in #(
1993 '' | [0-9]* | *[!_$as_cr_alnum]* )
1994 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1995 esac
1996 eval $ac_envvar=\$ac_optarg
1997 export $ac_envvar ;;
2000 # FIXME: should be removed in autoconf 3.0.
2001 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2002 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2003 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2004 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2007 esac
2008 done
2010 if test -n "$ac_prev"; then
2011 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2012 as_fn_error $? "missing argument to $ac_option"
2015 if test -n "$ac_unrecognized_opts"; then
2016 case $enable_option_checking in
2017 no) ;;
2018 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2019 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2020 esac
2023 # Check all directory arguments for consistency.
2024 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2025 datadir sysconfdir sharedstatedir localstatedir includedir \
2026 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2027 libdir localedir mandir runstatedir
2029 eval ac_val=\$$ac_var
2030 # Remove trailing slashes.
2031 case $ac_val in
2032 */ )
2033 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2034 eval $ac_var=\$ac_val;;
2035 esac
2036 # Be sure to have absolute directory names.
2037 case $ac_val in
2038 [\\/$]* | ?:[\\/]* ) continue;;
2039 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2040 esac
2041 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2042 done
2044 # There might be people who depend on the old broken behavior: `$host'
2045 # used to hold the argument of --host etc.
2046 # FIXME: To remove some day.
2047 build=$build_alias
2048 host=$host_alias
2049 target=$target_alias
2051 # FIXME: To remove some day.
2052 if test "x$host_alias" != x; then
2053 if test "x$build_alias" = x; then
2054 cross_compiling=maybe
2055 elif test "x$build_alias" != "x$host_alias"; then
2056 cross_compiling=yes
2060 ac_tool_prefix=
2061 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2063 test "$silent" = yes && exec 6>/dev/null
2066 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2067 ac_ls_di=`ls -di .` &&
2068 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2069 as_fn_error $? "working directory cannot be determined"
2070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2071 as_fn_error $? "pwd does not report name of working directory"
2074 # Find the source files, if location was not specified.
2075 if test -z "$srcdir"; then
2076 ac_srcdir_defaulted=yes
2077 # Try the directory containing this script, then the parent directory.
2078 ac_confdir=`$as_dirname -- "$as_myself" ||
2079 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2080 X"$as_myself" : 'X\(//\)[^/]' \| \
2081 X"$as_myself" : 'X\(//\)$' \| \
2082 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2083 $as_echo X"$as_myself" |
2084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2085 s//\1/
2088 /^X\(\/\/\)[^/].*/{
2089 s//\1/
2092 /^X\(\/\/\)$/{
2093 s//\1/
2096 /^X\(\/\).*/{
2097 s//\1/
2100 s/.*/./; q'`
2101 srcdir=$ac_confdir
2102 if test ! -r "$srcdir/$ac_unique_file"; then
2103 srcdir=..
2105 else
2106 ac_srcdir_defaulted=no
2108 if test ! -r "$srcdir/$ac_unique_file"; then
2109 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2110 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2112 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2113 ac_abs_confdir=`(
2114 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2115 pwd)`
2116 # When building in place, set srcdir=.
2117 if test "$ac_abs_confdir" = "$ac_pwd"; then
2118 srcdir=.
2120 # Remove unnecessary trailing slashes from srcdir.
2121 # Double slashes in file names in object file debugging info
2122 # mess up M-x gdb in Emacs.
2123 case $srcdir in
2124 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2125 esac
2126 for ac_var in $ac_precious_vars; do
2127 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2128 eval ac_env_${ac_var}_value=\$${ac_var}
2129 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2130 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2131 done
2134 # Report the --help message.
2136 if test "$ac_init_help" = "long"; then
2137 # Omit some internal or obsolete options to make the list less imposing.
2138 # This message is too long to be a string in the A/UX 3.1 sh.
2139 cat <<_ACEOF
2140 \`configure' configures Wine 1.9.15 to adapt to many kinds of systems.
2142 Usage: $0 [OPTION]... [VAR=VALUE]...
2144 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2145 VAR=VALUE. See below for descriptions of some of the useful variables.
2147 Defaults for the options are specified in brackets.
2149 Configuration:
2150 -h, --help display this help and exit
2151 --help=short display options specific to this package
2152 --help=recursive display the short help of all the included packages
2153 -V, --version display version information and exit
2154 -q, --quiet, --silent do not print \`checking ...' messages
2155 --cache-file=FILE cache test results in FILE [disabled]
2156 -C, --config-cache alias for \`--cache-file=config.cache'
2157 -n, --no-create do not create output files
2158 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2160 Installation directories:
2161 --prefix=PREFIX install architecture-independent files in PREFIX
2162 [$ac_default_prefix]
2163 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2164 [PREFIX]
2166 By default, \`make install' will install all the files in
2167 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2168 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2169 for instance \`--prefix=\$HOME'.
2171 For better control, use the options below.
2173 Fine tuning of the installation directories:
2174 --bindir=DIR user executables [EPREFIX/bin]
2175 --sbindir=DIR system admin executables [EPREFIX/sbin]
2176 --libexecdir=DIR program executables [EPREFIX/libexec]
2177 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2178 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2179 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2180 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2181 --libdir=DIR object code libraries [EPREFIX/lib]
2182 --includedir=DIR C header files [PREFIX/include]
2183 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2184 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2185 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2186 --infodir=DIR info documentation [DATAROOTDIR/info]
2187 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2188 --mandir=DIR man documentation [DATAROOTDIR/man]
2189 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2190 --htmldir=DIR html documentation [DOCDIR]
2191 --dvidir=DIR dvi documentation [DOCDIR]
2192 --pdfdir=DIR pdf documentation [DOCDIR]
2193 --psdir=DIR ps documentation [DOCDIR]
2194 _ACEOF
2196 cat <<\_ACEOF
2198 X features:
2199 --x-includes=DIR X include files are in DIR
2200 --x-libraries=DIR X library files are in DIR
2202 System types:
2203 --build=BUILD configure for building on BUILD [guessed]
2204 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2205 _ACEOF
2208 if test -n "$ac_init_help"; then
2209 case $ac_init_help in
2210 short | recursive ) echo "Configuration of Wine 1.9.15:";;
2211 esac
2212 cat <<\_ACEOF
2214 Optional Features:
2215 --disable-option-checking ignore unrecognized --enable/--with options
2216 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2217 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2218 --disable-win16 do not include Win16 support
2219 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2220 binaries)
2221 --disable-tests do not build the regression tests
2222 --enable-maintainer-mode
2223 enable maintainer-specific build rules
2224 --disable-largefile omit support for large files
2226 Optional Packages:
2227 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2228 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2229 --without-alsa do not use the Alsa sound support
2230 --without-capi do not use CAPI (ISDN support)
2231 --without-cms do not use CMS (color management support)
2232 --without-coreaudio do not use the CoreAudio sound support
2233 --without-cups do not use CUPS
2234 --without-curses do not use (n)curses
2235 --without-dbus do not use DBus (dynamic device support)
2236 --without-fontconfig do not use fontconfig
2237 --without-freetype do not use the FreeType library
2238 --without-gettext do not use gettext
2239 --with-gettextpo use the GetTextPO library to rebuild po files
2240 --without-gphoto do not use gphoto (Digital Camera support)
2241 --without-glu do not use the GLU library
2242 --without-gnutls do not use GnuTLS (schannel support)
2243 --without-gsm do not use libgsm (GSM 06.10 codec support)
2244 --without-gstreamer do not use GStreamer (codecs support)
2245 --without-hal do not use HAL (dynamic device support)
2246 --without-jpeg do not use JPEG
2247 --without-ldap do not use LDAP
2248 --without-mpg123 do not use the mpg123 library
2249 --without-netapi do not use the Samba NetAPI library
2250 --without-openal do not use OpenAL
2251 --without-opencl do not use OpenCL
2252 --without-opengl do not use OpenGL
2253 --without-osmesa do not use the OSMesa library
2254 --without-oss do not use the OSS sound support
2255 --without-pcap do not use the Packet Capture library
2256 --without-png do not use PNG
2257 --without-pthread do not use the pthread library
2258 --without-pulse do not use PulseAudio sound support
2259 --without-sane do not use SANE (scanner support)
2260 --without-tiff do not use TIFF
2261 --without-v4l do not use v4l1 (v4l support)
2262 --without-xcomposite do not use the Xcomposite extension
2263 --without-xcursor do not use the Xcursor extension
2264 --without-xinerama do not use Xinerama (multi-monitor support)
2265 --without-xinput do not use the Xinput extension
2266 --without-xinput2 do not use the Xinput 2 extension
2267 --without-xml do not use XML
2268 --without-xrandr do not use Xrandr (resolution changes)
2269 --without-xrender do not use the Xrender extension
2270 --without-xshape do not use the Xshape extension
2271 --without-xshm do not use XShm (shared memory extension)
2272 --without-xslt do not use XSLT
2273 --without-xxf86vm do not use XFree video mode extension
2274 --without-zlib do not use Zlib (data compression)
2275 --with-wine-tools=DIR use Wine tools from directory DIR
2276 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2277 --with-x use the X Window System
2279 Some influential environment variables:
2280 CC C compiler command
2281 CFLAGS C compiler flags
2282 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2283 nonstandard directory <lib dir>
2284 LIBS libraries to pass to the linker, e.g. -l<library>
2285 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2286 you have headers in a nonstandard directory <include dir>
2287 CXX C++ compiler command
2288 CXXFLAGS C++ compiler flags
2289 CPP C preprocessor
2290 XMKMF Path to xmkmf, Makefile generator for X Window System
2291 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2292 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2293 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2294 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2295 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2296 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2297 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2298 HAL_LIBS Linker flags for hal, overriding pkg-config
2299 GNUTLS_CFLAGS
2300 C compiler flags for gnutls, overriding pkg-config
2301 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2302 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2303 SANE_LIBS Linker flags for libsane, overriding pkg-config
2304 GPHOTO2_CFLAGS
2305 C compiler flags for libgphoto2, overriding pkg-config
2306 GPHOTO2_LIBS
2307 Linker flags for libgphoto2, overriding pkg-config
2308 GPHOTO2_PORT_CFLAGS
2309 C compiler flags for libgphoto2_port, overriding pkg-config
2310 GPHOTO2_PORT_LIBS
2311 Linker flags for libgphoto2_port, overriding pkg-config
2312 LCMS2_CFLAGS
2313 C compiler flags for lcms2, overriding pkg-config
2314 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2315 FREETYPE_CFLAGS
2316 C compiler flags for freetype2, overriding pkg-config
2317 FREETYPE_LIBS
2318 Linker flags for freetype2, overriding pkg-config
2319 PULSE_CFLAGS
2320 C compiler flags for libpulse, overriding pkg-config
2321 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2322 GSTREAMER_CFLAGS
2323 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2324 gstreamer-audio-1.0, overriding pkg-config
2325 GSTREAMER_LIBS
2326 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2327 gstreamer-audio-1.0, overriding pkg-config
2328 CAPI20_CFLAGS
2329 C compiler flags for capi20, overriding pkg-config
2330 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2331 FONTCONFIG_CFLAGS
2332 C compiler flags for fontconfig, overriding pkg-config
2333 FONTCONFIG_LIBS
2334 Linker flags for fontconfig, overriding pkg-config
2335 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2336 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2337 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2338 PNG_LIBS Linker flags for libpng, overriding pkg-config
2339 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2340 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2341 MPG123_CFLAGS
2342 C compiler flags for libmpg123, overriding pkg-config
2343 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2344 NETAPI_CFLAGS
2345 C compiler flags for netapi, overriding pkg-config
2346 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2348 Use these variables to override the choices made by `configure' or to help
2349 it to find libraries and programs with nonstandard names/locations.
2351 Report bugs to <wine-devel@winehq.org>.
2352 Wine home page: <http://www.winehq.org>.
2353 _ACEOF
2354 ac_status=$?
2357 if test "$ac_init_help" = "recursive"; then
2358 # If there are subdirs, report their specific --help.
2359 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2360 test -d "$ac_dir" ||
2361 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2362 continue
2363 ac_builddir=.
2365 case "$ac_dir" in
2366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2368 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2369 # A ".." for each directory in $ac_dir_suffix.
2370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2371 case $ac_top_builddir_sub in
2372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2374 esac ;;
2375 esac
2376 ac_abs_top_builddir=$ac_pwd
2377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2378 # for backward compatibility:
2379 ac_top_builddir=$ac_top_build_prefix
2381 case $srcdir in
2382 .) # We are building in place.
2383 ac_srcdir=.
2384 ac_top_srcdir=$ac_top_builddir_sub
2385 ac_abs_top_srcdir=$ac_pwd ;;
2386 [\\/]* | ?:[\\/]* ) # Absolute name.
2387 ac_srcdir=$srcdir$ac_dir_suffix;
2388 ac_top_srcdir=$srcdir
2389 ac_abs_top_srcdir=$srcdir ;;
2390 *) # Relative name.
2391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2392 ac_top_srcdir=$ac_top_build_prefix$srcdir
2393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2394 esac
2395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2397 cd "$ac_dir" || { ac_status=$?; continue; }
2398 # Check for guested configure.
2399 if test -f "$ac_srcdir/configure.gnu"; then
2400 echo &&
2401 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2402 elif test -f "$ac_srcdir/configure"; then
2403 echo &&
2404 $SHELL "$ac_srcdir/configure" --help=recursive
2405 else
2406 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2407 fi || ac_status=$?
2408 cd "$ac_pwd" || { ac_status=$?; break; }
2409 done
2412 test -n "$ac_init_help" && exit $ac_status
2413 if $ac_init_version; then
2414 cat <<\_ACEOF
2415 Wine configure 1.9.15
2416 generated by GNU Autoconf 2.69
2418 Copyright (C) 2012 Free Software Foundation, Inc.
2419 This configure script is free software; the Free Software Foundation
2420 gives unlimited permission to copy, distribute and modify it.
2421 _ACEOF
2422 exit
2425 ## ------------------------ ##
2426 ## Autoconf initialization. ##
2427 ## ------------------------ ##
2429 # ac_fn_c_try_compile LINENO
2430 # --------------------------
2431 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2432 ac_fn_c_try_compile ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 rm -f conftest.$ac_objext
2436 if { { ac_try="$ac_compile"
2437 case "(($ac_try" in
2438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439 *) ac_try_echo=$ac_try;;
2440 esac
2441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2442 $as_echo "$ac_try_echo"; } >&5
2443 (eval "$ac_compile") 2>conftest.err
2444 ac_status=$?
2445 if test -s conftest.err; then
2446 grep -v '^ *+' conftest.err >conftest.er1
2447 cat conftest.er1 >&5
2448 mv -f conftest.er1 conftest.err
2450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2451 test $ac_status = 0; } && {
2452 test -z "$ac_c_werror_flag" ||
2453 test ! -s conftest.err
2454 } && test -s conftest.$ac_objext; then :
2455 ac_retval=0
2456 else
2457 $as_echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.$ac_ext >&5
2460 ac_retval=1
2462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2463 as_fn_set_status $ac_retval
2465 } # ac_fn_c_try_compile
2467 # ac_fn_cxx_try_compile LINENO
2468 # ----------------------------
2469 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2470 ac_fn_cxx_try_compile ()
2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2473 rm -f conftest.$ac_objext
2474 if { { ac_try="$ac_compile"
2475 case "(($ac_try" in
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2478 esac
2479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2480 $as_echo "$ac_try_echo"; } >&5
2481 (eval "$ac_compile") 2>conftest.err
2482 ac_status=$?
2483 if test -s conftest.err; then
2484 grep -v '^ *+' conftest.err >conftest.er1
2485 cat conftest.er1 >&5
2486 mv -f conftest.er1 conftest.err
2488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2489 test $ac_status = 0; } && {
2490 test -z "$ac_cxx_werror_flag" ||
2491 test ! -s conftest.err
2492 } && test -s conftest.$ac_objext; then :
2493 ac_retval=0
2494 else
2495 $as_echo "$as_me: failed program was:" >&5
2496 sed 's/^/| /' conftest.$ac_ext >&5
2498 ac_retval=1
2500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2501 as_fn_set_status $ac_retval
2503 } # ac_fn_cxx_try_compile
2505 # ac_fn_c_try_link LINENO
2506 # -----------------------
2507 # Try to link conftest.$ac_ext, and return whether this succeeded.
2508 ac_fn_c_try_link ()
2510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2511 rm -f conftest.$ac_objext conftest$ac_exeext
2512 if { { ac_try="$ac_link"
2513 case "(($ac_try" in
2514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2515 *) ac_try_echo=$ac_try;;
2516 esac
2517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 $as_echo "$ac_try_echo"; } >&5
2519 (eval "$ac_link") 2>conftest.err
2520 ac_status=$?
2521 if test -s conftest.err; then
2522 grep -v '^ *+' conftest.err >conftest.er1
2523 cat conftest.er1 >&5
2524 mv -f conftest.er1 conftest.err
2526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2527 test $ac_status = 0; } && {
2528 test -z "$ac_c_werror_flag" ||
2529 test ! -s conftest.err
2530 } && test -s conftest$ac_exeext && {
2531 test "$cross_compiling" = yes ||
2532 test -x conftest$ac_exeext
2533 }; then :
2534 ac_retval=0
2535 else
2536 $as_echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.$ac_ext >&5
2539 ac_retval=1
2541 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2542 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2543 # interfere with the next link command; also delete a directory that is
2544 # left behind by Apple's compiler. We do this before executing the actions.
2545 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2547 as_fn_set_status $ac_retval
2549 } # ac_fn_c_try_link
2551 # ac_fn_c_try_cpp LINENO
2552 # ----------------------
2553 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2554 ac_fn_c_try_cpp ()
2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2557 if { { ac_try="$ac_cpp conftest.$ac_ext"
2558 case "(($ac_try" in
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2561 esac
2562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2563 $as_echo "$ac_try_echo"; } >&5
2564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2565 ac_status=$?
2566 if test -s conftest.err; then
2567 grep -v '^ *+' conftest.err >conftest.er1
2568 cat conftest.er1 >&5
2569 mv -f conftest.er1 conftest.err
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; } > conftest.i && {
2573 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2574 test ! -s conftest.err
2575 }; then :
2576 ac_retval=0
2577 else
2578 $as_echo "$as_me: failed program was:" >&5
2579 sed 's/^/| /' conftest.$ac_ext >&5
2581 ac_retval=1
2583 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2584 as_fn_set_status $ac_retval
2586 } # ac_fn_c_try_cpp
2588 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2589 # -------------------------------------------------------
2590 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2591 # the include files in INCLUDES and setting the cache variable VAR
2592 # accordingly.
2593 ac_fn_c_check_header_mongrel ()
2595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2596 if eval \${$3+:} false; then :
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2598 $as_echo_n "checking for $2... " >&6; }
2599 if eval \${$3+:} false; then :
2600 $as_echo_n "(cached) " >&6
2602 eval ac_res=\$$3
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2604 $as_echo "$ac_res" >&6; }
2605 else
2606 # Is the header compilable?
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2608 $as_echo_n "checking $2 usability... " >&6; }
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2612 #include <$2>
2613 _ACEOF
2614 if ac_fn_c_try_compile "$LINENO"; then :
2615 ac_header_compiler=yes
2616 else
2617 ac_header_compiler=no
2619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2621 $as_echo "$ac_header_compiler" >&6; }
2623 # Is the header present?
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2625 $as_echo_n "checking $2 presence... " >&6; }
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2628 #include <$2>
2629 _ACEOF
2630 if ac_fn_c_try_cpp "$LINENO"; then :
2631 ac_header_preproc=yes
2632 else
2633 ac_header_preproc=no
2635 rm -f conftest.err conftest.i conftest.$ac_ext
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2637 $as_echo "$ac_header_preproc" >&6; }
2639 # So? What about this header?
2640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2641 yes:no: )
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2643 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2647 no:yes:* )
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2649 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2651 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2653 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2655 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2657 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2658 ( $as_echo "## ------------------------------------ ##
2659 ## Report this to wine-devel@winehq.org ##
2660 ## ------------------------------------ ##"
2661 ) | sed "s/^/$as_me: WARNING: /" >&2
2663 esac
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2665 $as_echo_n "checking for $2... " >&6; }
2666 if eval \${$3+:} false; then :
2667 $as_echo_n "(cached) " >&6
2668 else
2669 eval "$3=\$ac_header_compiler"
2671 eval ac_res=\$$3
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2673 $as_echo "$ac_res" >&6; }
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2677 } # ac_fn_c_check_header_mongrel
2679 # ac_fn_c_try_run LINENO
2680 # ----------------------
2681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2682 # that executables *can* be run.
2683 ac_fn_c_try_run ()
2685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2686 if { { ac_try="$ac_link"
2687 case "(($ac_try" in
2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2689 *) ac_try_echo=$ac_try;;
2690 esac
2691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2692 $as_echo "$ac_try_echo"; } >&5
2693 (eval "$ac_link") 2>&5
2694 ac_status=$?
2695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2696 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2697 { { case "(($ac_try" in
2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2699 *) ac_try_echo=$ac_try;;
2700 esac
2701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2702 $as_echo "$ac_try_echo"; } >&5
2703 (eval "$ac_try") 2>&5
2704 ac_status=$?
2705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2706 test $ac_status = 0; }; }; then :
2707 ac_retval=0
2708 else
2709 $as_echo "$as_me: program exited with status $ac_status" >&5
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2713 ac_retval=$ac_status
2715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2717 as_fn_set_status $ac_retval
2719 } # ac_fn_c_try_run
2721 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2722 # -------------------------------------------------------
2723 # Tests whether HEADER exists and can be compiled using the include files in
2724 # INCLUDES, setting the cache variable VAR accordingly.
2725 ac_fn_c_check_header_compile ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2729 $as_echo_n "checking for $2... " >&6; }
2730 if eval \${$3+:} false; then :
2731 $as_echo_n "(cached) " >&6
2732 else
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2736 #include <$2>
2737 _ACEOF
2738 if ac_fn_c_try_compile "$LINENO"; then :
2739 eval "$3=yes"
2740 else
2741 eval "$3=no"
2743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2745 eval ac_res=\$$3
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2747 $as_echo "$ac_res" >&6; }
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 } # ac_fn_c_check_header_compile
2752 # ac_fn_c_check_func LINENO FUNC VAR
2753 # ----------------------------------
2754 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2755 ac_fn_c_check_func ()
2757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2759 $as_echo_n "checking for $2... " >&6; }
2760 if eval \${$3+:} false; then :
2761 $as_echo_n "(cached) " >&6
2762 else
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2767 #define $2 innocuous_$2
2769 /* System header to define __stub macros and hopefully few prototypes,
2770 which can conflict with char $2 (); below.
2771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2772 <limits.h> exists even on freestanding compilers. */
2774 #ifdef __STDC__
2775 # include <limits.h>
2776 #else
2777 # include <assert.h>
2778 #endif
2780 #undef $2
2782 /* Override any GCC internal prototype to avoid an error.
2783 Use char because int might match the return type of a GCC
2784 builtin and then its argument prototype would still apply. */
2785 #ifdef __cplusplus
2786 extern "C"
2787 #endif
2788 char $2 ();
2789 /* The GNU C library defines this for functions which it implements
2790 to always fail with ENOSYS. Some functions are actually named
2791 something starting with __ and the normal name is an alias. */
2792 #if defined __stub_$2 || defined __stub___$2
2793 choke me
2794 #endif
2797 main ()
2799 return $2 ();
2801 return 0;
2803 _ACEOF
2804 if ac_fn_c_try_link "$LINENO"; then :
2805 eval "$3=yes"
2806 else
2807 eval "$3=no"
2809 rm -f core conftest.err conftest.$ac_objext \
2810 conftest$ac_exeext conftest.$ac_ext
2812 eval ac_res=\$$3
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2817 } # ac_fn_c_check_func
2819 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2820 # ----------------------------------------------------
2821 # Tries to find if the field MEMBER exists in type AGGR, after including
2822 # INCLUDES, setting cache variable VAR accordingly.
2823 ac_fn_c_check_member ()
2825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2827 $as_echo_n "checking for $2.$3... " >&6; }
2828 if eval \${$4+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2835 main ()
2837 static $2 ac_aggr;
2838 if (ac_aggr.$3)
2839 return 0;
2841 return 0;
2843 _ACEOF
2844 if ac_fn_c_try_compile "$LINENO"; then :
2845 eval "$4=yes"
2846 else
2847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848 /* end confdefs.h. */
2851 main ()
2853 static $2 ac_aggr;
2854 if (sizeof 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 eval "$4=no"
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 eval ac_res=\$$4
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2871 $as_echo "$ac_res" >&6; }
2872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2874 } # ac_fn_c_check_member
2876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2877 # -------------------------------------------
2878 # Tests whether TYPE exists after having included INCLUDES, setting cache
2879 # variable VAR accordingly.
2880 ac_fn_c_check_type ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2884 $as_echo_n "checking for $2... " >&6; }
2885 if eval \${$3+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 eval "$3=no"
2889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h. */
2893 main ()
2895 if (sizeof ($2))
2896 return 0;
2898 return 0;
2900 _ACEOF
2901 if ac_fn_c_try_compile "$LINENO"; then :
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2906 main ()
2908 if (sizeof (($2)))
2909 return 0;
2911 return 0;
2913 _ACEOF
2914 if ac_fn_c_try_compile "$LINENO"; then :
2916 else
2917 eval "$3=yes"
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923 eval ac_res=\$$3
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2925 $as_echo "$ac_res" >&6; }
2926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2928 } # ac_fn_c_check_type
2929 cat >config.log <<_ACEOF
2930 This file contains any messages produced by compilers while
2931 running configure, to aid debugging if configure makes a mistake.
2933 It was created by Wine $as_me 1.9.15, which was
2934 generated by GNU Autoconf 2.69. Invocation command line was
2936 $ $0 $@
2938 _ACEOF
2939 exec 5>>config.log
2941 cat <<_ASUNAME
2942 ## --------- ##
2943 ## Platform. ##
2944 ## --------- ##
2946 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2947 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2948 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2949 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2950 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2952 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2953 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2955 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2956 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2957 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2958 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2959 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2960 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2961 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2963 _ASUNAME
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2968 IFS=$as_save_IFS
2969 test -z "$as_dir" && as_dir=.
2970 $as_echo "PATH: $as_dir"
2971 done
2972 IFS=$as_save_IFS
2974 } >&5
2976 cat >&5 <<_ACEOF
2979 ## ----------- ##
2980 ## Core tests. ##
2981 ## ----------- ##
2983 _ACEOF
2986 # Keep a trace of the command line.
2987 # Strip out --no-create and --no-recursion so they do not pile up.
2988 # Strip out --silent because we don't want to record it for future runs.
2989 # Also quote any args containing shell meta-characters.
2990 # Make two passes to allow for proper duplicate-argument suppression.
2991 ac_configure_args=
2992 ac_configure_args0=
2993 ac_configure_args1=
2994 ac_must_keep_next=false
2995 for ac_pass in 1 2
2997 for ac_arg
2999 case $ac_arg in
3000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3002 | -silent | --silent | --silen | --sile | --sil)
3003 continue ;;
3004 *\'*)
3005 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3006 esac
3007 case $ac_pass in
3008 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3010 as_fn_append ac_configure_args1 " '$ac_arg'"
3011 if test $ac_must_keep_next = true; then
3012 ac_must_keep_next=false # Got value, back to normal.
3013 else
3014 case $ac_arg in
3015 *=* | --config-cache | -C | -disable-* | --disable-* \
3016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3018 | -with-* | --with-* | -without-* | --without-* | --x)
3019 case "$ac_configure_args0 " in
3020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3021 esac
3023 -* ) ac_must_keep_next=true ;;
3024 esac
3026 as_fn_append ac_configure_args " '$ac_arg'"
3028 esac
3029 done
3030 done
3031 { ac_configure_args0=; unset ac_configure_args0;}
3032 { ac_configure_args1=; unset ac_configure_args1;}
3034 # When interrupted or exit'd, cleanup temporary files, and complete
3035 # config.log. We remove comments because anyway the quotes in there
3036 # would cause problems or look ugly.
3037 # WARNING: Use '\'' to represent an apostrophe within the trap.
3038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3039 trap 'exit_status=$?
3040 # Save into config.log some information that might help in debugging.
3042 echo
3044 $as_echo "## ---------------- ##
3045 ## Cache variables. ##
3046 ## ---------------- ##"
3047 echo
3048 # The following way of writing the cache mishandles newlines in values,
3050 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3051 eval ac_val=\$$ac_var
3052 case $ac_val in #(
3053 *${as_nl}*)
3054 case $ac_var in #(
3055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3057 esac
3058 case $ac_var in #(
3059 _ | IFS | as_nl) ;; #(
3060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3061 *) { eval $ac_var=; unset $ac_var;} ;;
3062 esac ;;
3063 esac
3064 done
3065 (set) 2>&1 |
3066 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3067 *${as_nl}ac_space=\ *)
3068 sed -n \
3069 "s/'\''/'\''\\\\'\'''\''/g;
3070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3071 ;; #(
3073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3075 esac |
3076 sort
3078 echo
3080 $as_echo "## ----------------- ##
3081 ## Output variables. ##
3082 ## ----------------- ##"
3083 echo
3084 for ac_var in $ac_subst_vars
3086 eval ac_val=\$$ac_var
3087 case $ac_val in
3088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3089 esac
3090 $as_echo "$ac_var='\''$ac_val'\''"
3091 done | sort
3092 echo
3094 if test -n "$ac_subst_files"; then
3095 $as_echo "## ------------------- ##
3096 ## File substitutions. ##
3097 ## ------------------- ##"
3098 echo
3099 for ac_var in $ac_subst_files
3101 eval ac_val=\$$ac_var
3102 case $ac_val in
3103 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3104 esac
3105 $as_echo "$ac_var='\''$ac_val'\''"
3106 done | sort
3107 echo
3110 if test -s confdefs.h; then
3111 $as_echo "## ----------- ##
3112 ## confdefs.h. ##
3113 ## ----------- ##"
3114 echo
3115 cat confdefs.h
3116 echo
3118 test "$ac_signal" != 0 &&
3119 $as_echo "$as_me: caught signal $ac_signal"
3120 $as_echo "$as_me: exit $exit_status"
3121 } >&5
3122 rm -f core *.core core.conftest.* &&
3123 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3124 exit $exit_status
3126 for ac_signal in 1 2 13 15; do
3127 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3128 done
3129 ac_signal=0
3131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3132 rm -f -r conftest* confdefs.h
3134 $as_echo "/* confdefs.h */" > confdefs.h
3136 # Predefined preprocessor variables.
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_NAME "$PACKAGE_NAME"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_STRING "$PACKAGE_STRING"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3156 _ACEOF
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE_URL "$PACKAGE_URL"
3160 _ACEOF
3163 # Let the site file select an alternate cache file if it wants to.
3164 # Prefer an explicitly selected file to automatically selected ones.
3165 ac_site_file1=NONE
3166 ac_site_file2=NONE
3167 if test -n "$CONFIG_SITE"; then
3168 # We do not want a PATH search for config.site.
3169 case $CONFIG_SITE in #((
3170 -*) ac_site_file1=./$CONFIG_SITE;;
3171 */*) ac_site_file1=$CONFIG_SITE;;
3172 *) ac_site_file1=./$CONFIG_SITE;;
3173 esac
3174 elif test "x$prefix" != xNONE; then
3175 ac_site_file1=$prefix/share/config.site
3176 ac_site_file2=$prefix/etc/config.site
3177 else
3178 ac_site_file1=$ac_default_prefix/share/config.site
3179 ac_site_file2=$ac_default_prefix/etc/config.site
3181 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3183 test "x$ac_site_file" = xNONE && continue
3184 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3187 sed 's/^/| /' "$ac_site_file" >&5
3188 . "$ac_site_file" \
3189 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3191 as_fn_error $? "failed to load site script $ac_site_file
3192 See \`config.log' for more details" "$LINENO" 5; }
3194 done
3196 if test -r "$cache_file"; then
3197 # Some versions of bash will fail to source /dev/null (special files
3198 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3199 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3201 $as_echo "$as_me: loading cache $cache_file" >&6;}
3202 case $cache_file in
3203 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3204 *) . "./$cache_file";;
3205 esac
3207 else
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3209 $as_echo "$as_me: creating cache $cache_file" >&6;}
3210 >$cache_file
3213 # Check that the precious variables saved in the cache have kept the same
3214 # value.
3215 ac_cache_corrupted=false
3216 for ac_var in $ac_precious_vars; do
3217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3218 eval ac_new_set=\$ac_env_${ac_var}_set
3219 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3220 eval ac_new_val=\$ac_env_${ac_var}_value
3221 case $ac_old_set,$ac_new_set in
3222 set,)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3224 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3225 ac_cache_corrupted=: ;;
3226 ,set)
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3228 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3229 ac_cache_corrupted=: ;;
3230 ,);;
3232 if test "x$ac_old_val" != "x$ac_new_val"; then
3233 # differences in whitespace do not lead to failure.
3234 ac_old_val_w=`echo x $ac_old_val`
3235 ac_new_val_w=`echo x $ac_new_val`
3236 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3238 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3239 ac_cache_corrupted=:
3240 else
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3242 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3243 eval $ac_var=\$ac_old_val
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3246 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3248 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3249 fi;;
3250 esac
3251 # Pass precious variables to config.status.
3252 if test "$ac_new_set" = set; then
3253 case $ac_new_val in
3254 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3255 *) ac_arg=$ac_var=$ac_new_val ;;
3256 esac
3257 case " $ac_configure_args " in
3258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3259 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3260 esac
3262 done
3263 if $ac_cache_corrupted; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3267 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3268 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3270 ## -------------------- ##
3271 ## Main body of script. ##
3272 ## -------------------- ##
3274 ac_ext=c
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3282 ac_config_headers="$ac_config_headers include/config.h"
3284 ac_aux_dir=
3285 for ac_dir in tools "$srcdir"/tools; do
3286 if test -f "$ac_dir/install-sh"; then
3287 ac_aux_dir=$ac_dir
3288 ac_install_sh="$ac_aux_dir/install-sh -c"
3289 break
3290 elif test -f "$ac_dir/install.sh"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/install.sh -c"
3293 break
3294 elif test -f "$ac_dir/shtool"; then
3295 ac_aux_dir=$ac_dir
3296 ac_install_sh="$ac_aux_dir/shtool install -c"
3297 break
3299 done
3300 if test -z "$ac_aux_dir"; then
3301 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3304 # These three variables are undocumented and unsupported,
3305 # and are intended to be withdrawn in a future Autoconf release.
3306 # They can cause serious problems if a builder's source tree is in a directory
3307 # whose full name contains unusual characters.
3308 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3309 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3310 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3314 libwine_version="1.0"
3318 # Check whether --enable-win16 was given.
3319 if test "${enable_win16+set}" = set; then :
3320 enableval=$enable_win16;
3323 # Check whether --enable-win64 was given.
3324 if test "${enable_win64+set}" = set; then :
3325 enableval=$enable_win64;
3328 # Check whether --enable-tests was given.
3329 if test "${enable_tests+set}" = set; then :
3330 enableval=$enable_tests;
3333 # Check whether --enable-maintainer-mode was given.
3334 if test "${enable_maintainer_mode+set}" = set; then :
3335 enableval=$enable_maintainer_mode;
3340 # Check whether --with-alsa was given.
3341 if test "${with_alsa+set}" = set; then :
3342 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3346 # Check whether --with-capi was given.
3347 if test "${with_capi+set}" = set; then :
3348 withval=$with_capi;
3352 # Check whether --with-cms was given.
3353 if test "${with_cms+set}" = set; then :
3354 withval=$with_cms;
3358 # Check whether --with-coreaudio was given.
3359 if test "${with_coreaudio+set}" = set; then :
3360 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3364 # Check whether --with-cups was given.
3365 if test "${with_cups+set}" = set; then :
3366 withval=$with_cups;
3370 # Check whether --with-curses was given.
3371 if test "${with_curses+set}" = set; then :
3372 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3376 # Check whether --with-dbus was given.
3377 if test "${with_dbus+set}" = set; then :
3378 withval=$with_dbus;
3382 # Check whether --with-fontconfig was given.
3383 if test "${with_fontconfig+set}" = set; then :
3384 withval=$with_fontconfig;
3388 # Check whether --with-freetype was given.
3389 if test "${with_freetype+set}" = set; then :
3390 withval=$with_freetype;
3394 # Check whether --with-gettext was given.
3395 if test "${with_gettext+set}" = set; then :
3396 withval=$with_gettext;
3400 # Check whether --with-gettextpo was given.
3401 if test "${with_gettextpo+set}" = set; then :
3402 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3406 # Check whether --with-gphoto was given.
3407 if test "${with_gphoto+set}" = set; then :
3408 withval=$with_gphoto;
3412 # Check whether --with-glu was given.
3413 if test "${with_glu+set}" = set; then :
3414 withval=$with_glu;
3418 # Check whether --with-gnutls was given.
3419 if test "${with_gnutls+set}" = set; then :
3420 withval=$with_gnutls;
3424 # Check whether --with-gsm was given.
3425 if test "${with_gsm+set}" = set; then :
3426 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3430 # Check whether --with-gstreamer was given.
3431 if test "${with_gstreamer+set}" = set; then :
3432 withval=$with_gstreamer;
3436 # Check whether --with-hal was given.
3437 if test "${with_hal+set}" = set; then :
3438 withval=$with_hal;
3442 # Check whether --with-jpeg was given.
3443 if test "${with_jpeg+set}" = set; then :
3444 withval=$with_jpeg;
3448 # Check whether --with-ldap was given.
3449 if test "${with_ldap+set}" = set; then :
3450 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3454 # Check whether --with-mpg123 was given.
3455 if test "${with_mpg123+set}" = set; then :
3456 withval=$with_mpg123;
3460 # Check whether --with-netapi was given.
3461 if test "${with_netapi+set}" = set; then :
3462 withval=$with_netapi;
3466 # Check whether --with-openal was given.
3467 if test "${with_openal+set}" = set; then :
3468 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3472 # Check whether --with-opencl was given.
3473 if test "${with_opencl+set}" = set; then :
3474 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3478 # Check whether --with-opengl was given.
3479 if test "${with_opengl+set}" = set; then :
3480 withval=$with_opengl;
3484 # Check whether --with-osmesa was given.
3485 if test "${with_osmesa+set}" = set; then :
3486 withval=$with_osmesa;
3490 # Check whether --with-oss was given.
3491 if test "${with_oss+set}" = set; then :
3492 withval=$with_oss;
3496 # Check whether --with-pcap was given.
3497 if test "${with_pcap+set}" = set; then :
3498 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3502 # Check whether --with-png was given.
3503 if test "${with_png+set}" = set; then :
3504 withval=$with_png;
3508 # Check whether --with-pthread was given.
3509 if test "${with_pthread+set}" = set; then :
3510 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3514 # Check whether --with-pulse was given.
3515 if test "${with_pulse+set}" = set; then :
3516 withval=$with_pulse;
3520 # Check whether --with-sane was given.
3521 if test "${with_sane+set}" = set; then :
3522 withval=$with_sane;
3526 # Check whether --with-tiff was given.
3527 if test "${with_tiff+set}" = set; then :
3528 withval=$with_tiff;
3532 # Check whether --with-v4l was given.
3533 if test "${with_v4l+set}" = set; then :
3534 withval=$with_v4l;
3538 # Check whether --with-xcomposite was given.
3539 if test "${with_xcomposite+set}" = set; then :
3540 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3544 # Check whether --with-xcursor was given.
3545 if test "${with_xcursor+set}" = set; then :
3546 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3550 # Check whether --with-xinerama was given.
3551 if test "${with_xinerama+set}" = set; then :
3552 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3556 # Check whether --with-xinput was given.
3557 if test "${with_xinput+set}" = set; then :
3558 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3562 # Check whether --with-xinput2 was given.
3563 if test "${with_xinput2+set}" = set; then :
3564 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3568 # Check whether --with-xml was given.
3569 if test "${with_xml+set}" = set; then :
3570 withval=$with_xml;
3574 # Check whether --with-xrandr was given.
3575 if test "${with_xrandr+set}" = set; then :
3576 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3580 # Check whether --with-xrender was given.
3581 if test "${with_xrender+set}" = set; then :
3582 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3586 # Check whether --with-xshape was given.
3587 if test "${with_xshape+set}" = set; then :
3588 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3592 # Check whether --with-xshm was given.
3593 if test "${with_xshm+set}" = set; then :
3594 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3598 # Check whether --with-xslt was given.
3599 if test "${with_xslt+set}" = set; then :
3600 withval=$with_xslt;
3604 # Check whether --with-xxf86vm was given.
3605 if test "${with_xxf86vm+set}" = set; then :
3606 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
3610 # Check whether --with-zlib was given.
3611 if test "${with_zlib+set}" = set; then :
3612 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3617 # Check whether --with-wine-tools was given.
3618 if test "${with_wine_tools+set}" = set; then :
3619 withval=$with_wine_tools;
3623 # Check whether --with-wine64 was given.
3624 if test "${with_wine64+set}" = set; then :
3625 withval=$with_wine64;
3629 # Make sure we can run config.sub.
3630 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3631 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3634 $as_echo_n "checking build system type... " >&6; }
3635 if ${ac_cv_build+:} false; then :
3636 $as_echo_n "(cached) " >&6
3637 else
3638 ac_build_alias=$build_alias
3639 test "x$ac_build_alias" = x &&
3640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3641 test "x$ac_build_alias" = x &&
3642 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3643 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3648 $as_echo "$ac_cv_build" >&6; }
3649 case $ac_cv_build in
3650 *-*-*) ;;
3651 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3652 esac
3653 build=$ac_cv_build
3654 ac_save_IFS=$IFS; IFS='-'
3655 set x $ac_cv_build
3656 shift
3657 build_cpu=$1
3658 build_vendor=$2
3659 shift; shift
3660 # Remember, the first character of IFS is used to create $*,
3661 # except with old shells:
3662 build_os=$*
3663 IFS=$ac_save_IFS
3664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3668 $as_echo_n "checking host system type... " >&6; }
3669 if ${ac_cv_host+:} false; then :
3670 $as_echo_n "(cached) " >&6
3671 else
3672 if test "x$host_alias" = x; then
3673 ac_cv_host=$ac_cv_build
3674 else
3675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3681 $as_echo "$ac_cv_host" >&6; }
3682 case $ac_cv_host in
3683 *-*-*) ;;
3684 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3685 esac
3686 host=$ac_cv_host
3687 ac_save_IFS=$IFS; IFS='-'
3688 set x $ac_cv_host
3689 shift
3690 host_cpu=$1
3691 host_vendor=$2
3692 shift; shift
3693 # Remember, the first character of IFS is used to create $*,
3694 # except with old shells:
3695 host_os=$*
3696 IFS=$ac_save_IFS
3697 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3701 case "$srcdir" in
3702 .) ;;
3703 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3704 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3705 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3706 fi ;;
3707 esac
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3711 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3712 set x ${MAKE-make}
3713 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3714 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 cat >conftest.make <<\_ACEOF
3718 SHELL = /bin/sh
3719 all:
3720 @echo '@@@%%%=$(MAKE)=@@@%%%'
3721 _ACEOF
3722 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3723 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3724 *@@@%%%=?*=@@@%%%*)
3725 eval ac_cv_prog_make_${ac_make}_set=yes;;
3727 eval ac_cv_prog_make_${ac_make}_set=no;;
3728 esac
3729 rm -f conftest.make
3731 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3733 $as_echo "yes" >&6; }
3734 SET_MAKE=
3735 else
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3738 SET_MAKE="MAKE=${MAKE-make}"
3741 ac_ext=c
3742 ac_cpp='$CPP $CPPFLAGS'
3743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3746 if test -n "$ac_tool_prefix"; then
3747 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3748 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if ${ac_cv_prog_CC+:} false; then :
3752 $as_echo_n "(cached) " >&6
3753 else
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 else
3757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 for as_dir in $PATH
3760 IFS=$as_save_IFS
3761 test -z "$as_dir" && as_dir=.
3762 for ac_exec_ext in '' $ac_executable_extensions; do
3763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3764 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 break 2
3768 done
3769 done
3770 IFS=$as_save_IFS
3774 CC=$ac_cv_prog_CC
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3778 else
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3785 if test -z "$ac_cv_prog_CC"; then
3786 ac_ct_CC=$CC
3787 # Extract the first word of "gcc", so it can be a program name with args.
3788 set dummy gcc; ac_word=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3792 $as_echo_n "(cached) " >&6
3793 else
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3796 else
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3800 IFS=$as_save_IFS
3801 test -z "$as_dir" && as_dir=.
3802 for ac_exec_ext in '' $ac_executable_extensions; do
3803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3804 ac_cv_prog_ac_ct_CC="gcc"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 break 2
3808 done
3809 done
3810 IFS=$as_save_IFS
3814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3818 else
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3823 if test "x$ac_ct_CC" = x; then
3824 CC=""
3825 else
3826 case $cross_compiling:$ac_tool_warned in
3827 yes:)
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3830 ac_tool_warned=yes ;;
3831 esac
3832 CC=$ac_ct_CC
3834 else
3835 CC="$ac_cv_prog_CC"
3838 if test -z "$CC"; then
3839 if test -n "$ac_tool_prefix"; then
3840 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3841 set dummy ${ac_tool_prefix}cc; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if ${ac_cv_prog_CC+:} false; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$CC"; then
3848 ac_cv_prog_CC="$CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3857 ac_cv_prog_CC="${ac_tool_prefix}cc"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 CC=$ac_cv_prog_CC
3868 if test -n "$CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3870 $as_echo "$CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3879 if test -z "$CC"; then
3880 # Extract the first word of "cc", so it can be a program name with args.
3881 set dummy cc; ac_word=$2
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if ${ac_cv_prog_CC+:} false; then :
3885 $as_echo_n "(cached) " >&6
3886 else
3887 if test -n "$CC"; then
3888 ac_cv_prog_CC="$CC" # Let the user override the test.
3889 else
3890 ac_prog_rejected=no
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3892 for as_dir in $PATH
3894 IFS=$as_save_IFS
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3899 ac_prog_rejected=yes
3900 continue
3902 ac_cv_prog_CC="cc"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 break 2
3906 done
3907 done
3908 IFS=$as_save_IFS
3910 if test $ac_prog_rejected = yes; then
3911 # We found a bogon in the path, so make sure we never use it.
3912 set dummy $ac_cv_prog_CC
3913 shift
3914 if test $# != 0; then
3915 # We chose a different compiler from the bogus one.
3916 # However, it has the same basename, so the bogon will be chosen
3917 # first if we set CC to just the basename; use the full file name.
3918 shift
3919 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3924 CC=$ac_cv_prog_CC
3925 if test -n "$CC"; then
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3927 $as_echo "$CC" >&6; }
3928 else
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3930 $as_echo "no" >&6; }
3935 if test -z "$CC"; then
3936 if test -n "$ac_tool_prefix"; then
3937 for ac_prog in cl.exe
3939 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3940 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_prog_CC+:} false; then :
3944 $as_echo_n "(cached) " >&6
3945 else
3946 if test -n "$CC"; then
3947 ac_cv_prog_CC="$CC" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3962 IFS=$as_save_IFS
3966 CC=$ac_cv_prog_CC
3967 if test -n "$CC"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3969 $as_echo "$CC" >&6; }
3970 else
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3976 test -n "$CC" && break
3977 done
3979 if test -z "$CC"; then
3980 ac_ct_CC=$CC
3981 for ac_prog in cl.exe
3983 # Extract the first word of "$ac_prog", so it can be a program name with args.
3984 set dummy $ac_prog; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3988 $as_echo_n "(cached) " >&6
3989 else
3990 if test -n "$ac_ct_CC"; then
3991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_ac_ct_CC="$ac_prog"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4006 IFS=$as_save_IFS
4010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4011 if test -n "$ac_ct_CC"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4013 $as_echo "$ac_ct_CC" >&6; }
4014 else
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4020 test -n "$ac_ct_CC" && break
4021 done
4023 if test "x$ac_ct_CC" = x; then
4024 CC=""
4025 else
4026 case $cross_compiling:$ac_tool_warned in
4027 yes:)
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4031 esac
4032 CC=$ac_ct_CC
4039 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4041 as_fn_error $? "no acceptable C compiler found in \$PATH
4042 See \`config.log' for more details" "$LINENO" 5; }
4044 # Provide some information about the compiler.
4045 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4046 set X $ac_compile
4047 ac_compiler=$2
4048 for ac_option in --version -v -V -qversion; do
4049 { { ac_try="$ac_compiler $ac_option >&5"
4050 case "(($ac_try" in
4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052 *) ac_try_echo=$ac_try;;
4053 esac
4054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$ac_try_echo"; } >&5
4056 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4057 ac_status=$?
4058 if test -s conftest.err; then
4059 sed '10a\
4060 ... rest of stderr output deleted ...
4061 10q' conftest.err >conftest.er1
4062 cat conftest.er1 >&5
4064 rm -f conftest.er1 conftest.err
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }
4067 done
4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4073 main ()
4077 return 0;
4079 _ACEOF
4080 ac_clean_files_save=$ac_clean_files
4081 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4082 # Try to create an executable without -o first, disregard a.out.
4083 # It will help us diagnose broken compilers, and finding out an intuition
4084 # of exeext.
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4086 $as_echo_n "checking whether the C compiler works... " >&6; }
4087 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4089 # The possible output files:
4090 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4092 ac_rmfiles=
4093 for ac_file in $ac_files
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4097 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4098 esac
4099 done
4100 rm -f $ac_rmfiles
4102 if { { ac_try="$ac_link_default"
4103 case "(($ac_try" in
4104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4105 *) ac_try_echo=$ac_try;;
4106 esac
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4108 $as_echo "$ac_try_echo"; } >&5
4109 (eval "$ac_link_default") 2>&5
4110 ac_status=$?
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4112 test $ac_status = 0; }; then :
4113 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4114 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4115 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4116 # so that the user can short-circuit this test for compilers unknown to
4117 # Autoconf.
4118 for ac_file in $ac_files ''
4120 test -f "$ac_file" || continue
4121 case $ac_file in
4122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4124 [ab].out )
4125 # We found the default executable, but exeext='' is most
4126 # certainly right.
4127 break;;
4128 *.* )
4129 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4130 then :; else
4131 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4133 # We set ac_cv_exeext here because the later test for it is not
4134 # safe: cross compilers may not add the suffix if given an `-o'
4135 # argument, so we may need to know it at that point already.
4136 # Even if this section looks crufty: it has the advantage of
4137 # actually working.
4138 break;;
4140 break;;
4141 esac
4142 done
4143 test "$ac_cv_exeext" = no && ac_cv_exeext=
4145 else
4146 ac_file=''
4148 if test -z "$ac_file"; then :
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4151 $as_echo "$as_me: failed program was:" >&5
4152 sed 's/^/| /' conftest.$ac_ext >&5
4154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4156 as_fn_error 77 "C compiler cannot create executables
4157 See \`config.log' for more details" "$LINENO" 5; }
4158 else
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4160 $as_echo "yes" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4163 $as_echo_n "checking for C compiler default output file name... " >&6; }
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4165 $as_echo "$ac_file" >&6; }
4166 ac_exeext=$ac_cv_exeext
4168 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4169 ac_clean_files=$ac_clean_files_save
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4171 $as_echo_n "checking for suffix of executables... " >&6; }
4172 if { { ac_try="$ac_link"
4173 case "(($ac_try" in
4174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175 *) ac_try_echo=$ac_try;;
4176 esac
4177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4178 $as_echo "$ac_try_echo"; } >&5
4179 (eval "$ac_link") 2>&5
4180 ac_status=$?
4181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4182 test $ac_status = 0; }; then :
4183 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4184 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4185 # work properly (i.e., refer to `conftest.exe'), while it won't with
4186 # `rm'.
4187 for ac_file in conftest.exe conftest conftest.*; do
4188 test -f "$ac_file" || continue
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4191 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4192 break;;
4193 * ) break;;
4194 esac
4195 done
4196 else
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4200 See \`config.log' for more details" "$LINENO" 5; }
4202 rm -f conftest conftest$ac_cv_exeext
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4204 $as_echo "$ac_cv_exeext" >&6; }
4206 rm -f conftest.$ac_ext
4207 EXEEXT=$ac_cv_exeext
4208 ac_exeext=$EXEEXT
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211 #include <stdio.h>
4213 main ()
4215 FILE *f = fopen ("conftest.out", "w");
4216 return ferror (f) || fclose (f) != 0;
4219 return 0;
4221 _ACEOF
4222 ac_clean_files="$ac_clean_files conftest.out"
4223 # Check that the compiler produces executables we can run. If not, either
4224 # the compiler is broken, or we cross compile.
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4226 $as_echo_n "checking whether we are cross compiling... " >&6; }
4227 if test "$cross_compiling" != yes; then
4228 { { ac_try="$ac_link"
4229 case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4234 $as_echo "$ac_try_echo"; } >&5
4235 (eval "$ac_link") 2>&5
4236 ac_status=$?
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 if { ac_try='./conftest$ac_cv_exeext'
4240 { { case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4243 esac
4244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_try") 2>&5
4247 ac_status=$?
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }; }; then
4250 cross_compiling=no
4251 else
4252 if test "$cross_compiling" = maybe; then
4253 cross_compiling=yes
4254 else
4255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4257 as_fn_error $? "cannot run C compiled programs.
4258 If you meant to cross compile, use \`--host'.
4259 See \`config.log' for more details" "$LINENO" 5; }
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4264 $as_echo "$cross_compiling" >&6; }
4266 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4267 ac_clean_files=$ac_clean_files_save
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4269 $as_echo_n "checking for suffix of object files... " >&6; }
4270 if ${ac_cv_objext+:} false; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4277 main ()
4281 return 0;
4283 _ACEOF
4284 rm -f conftest.o conftest.obj
4285 if { { ac_try="$ac_compile"
4286 case "(($ac_try" in
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4289 esac
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_compile") 2>&5
4293 ac_status=$?
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; then :
4296 for ac_file in conftest.o conftest.obj conftest.*; do
4297 test -f "$ac_file" || continue;
4298 case $ac_file in
4299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4300 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4301 break;;
4302 esac
4303 done
4304 else
4305 $as_echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.$ac_ext >&5
4308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4310 as_fn_error $? "cannot compute suffix of object files: cannot compile
4311 See \`config.log' for more details" "$LINENO" 5; }
4313 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4316 $as_echo "$ac_cv_objext" >&6; }
4317 OBJEXT=$ac_cv_objext
4318 ac_objext=$OBJEXT
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4320 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4321 if ${ac_cv_c_compiler_gnu+:} false; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4328 main ()
4330 #ifndef __GNUC__
4331 choke me
4332 #endif
4335 return 0;
4337 _ACEOF
4338 if ac_fn_c_try_compile "$LINENO"; then :
4339 ac_compiler_gnu=yes
4340 else
4341 ac_compiler_gnu=no
4343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4348 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4349 if test $ac_compiler_gnu = yes; then
4350 GCC=yes
4351 else
4352 GCC=
4354 ac_test_CFLAGS=${CFLAGS+set}
4355 ac_save_CFLAGS=$CFLAGS
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4357 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4358 if ${ac_cv_prog_cc_g+:} false; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 ac_save_c_werror_flag=$ac_c_werror_flag
4362 ac_c_werror_flag=yes
4363 ac_cv_prog_cc_g=no
4364 CFLAGS="-g"
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4369 main ()
4373 return 0;
4375 _ACEOF
4376 if ac_fn_c_try_compile "$LINENO"; then :
4377 ac_cv_prog_cc_g=yes
4378 else
4379 CFLAGS=""
4380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4381 /* end confdefs.h. */
4384 main ()
4388 return 0;
4390 _ACEOF
4391 if ac_fn_c_try_compile "$LINENO"; then :
4393 else
4394 ac_c_werror_flag=$ac_save_c_werror_flag
4395 CFLAGS="-g"
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 :
4408 ac_cv_prog_cc_g=yes
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 ac_c_werror_flag=$ac_save_c_werror_flag
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4418 $as_echo "$ac_cv_prog_cc_g" >&6; }
4419 if test "$ac_test_CFLAGS" = set; then
4420 CFLAGS=$ac_save_CFLAGS
4421 elif test $ac_cv_prog_cc_g = yes; then
4422 if test "$GCC" = yes; then
4423 CFLAGS="-g -O2"
4424 else
4425 CFLAGS="-g"
4427 else
4428 if test "$GCC" = yes; then
4429 CFLAGS="-O2"
4430 else
4431 CFLAGS=
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4435 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4436 if ${ac_cv_prog_cc_c89+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 ac_cv_prog_cc_c89=no
4440 ac_save_CC=$CC
4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4442 /* end confdefs.h. */
4443 #include <stdarg.h>
4444 #include <stdio.h>
4445 struct stat;
4446 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4447 struct buf { int x; };
4448 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4449 static char *e (p, i)
4450 char **p;
4451 int i;
4453 return p[i];
4455 static char *f (char * (*g) (char **, int), char **p, ...)
4457 char *s;
4458 va_list v;
4459 va_start (v,p);
4460 s = g (p, va_arg (v,int));
4461 va_end (v);
4462 return s;
4465 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4466 function prototypes and stuff, but not '\xHH' hex character constants.
4467 These don't provoke an error unfortunately, instead are silently treated
4468 as 'x'. The following induces an error, until -std is added to get
4469 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4470 array size at least. It's necessary to write '\x00'==0 to get something
4471 that's true only with -std. */
4472 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4474 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4475 inside strings and character constants. */
4476 #define FOO(x) 'x'
4477 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4479 int test (int i, double x);
4480 struct s1 {int (*f) (int a);};
4481 struct s2 {int (*f) (double a);};
4482 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4483 int argc;
4484 char **argv;
4486 main ()
4488 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4490 return 0;
4492 _ACEOF
4493 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4494 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4496 CC="$ac_save_CC $ac_arg"
4497 if ac_fn_c_try_compile "$LINENO"; then :
4498 ac_cv_prog_cc_c89=$ac_arg
4500 rm -f core conftest.err conftest.$ac_objext
4501 test "x$ac_cv_prog_cc_c89" != "xno" && break
4502 done
4503 rm -f conftest.$ac_ext
4504 CC=$ac_save_CC
4507 # AC_CACHE_VAL
4508 case "x$ac_cv_prog_cc_c89" in
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4511 $as_echo "none needed" >&6; } ;;
4512 xno)
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4514 $as_echo "unsupported" >&6; } ;;
4516 CC="$CC $ac_cv_prog_cc_c89"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4518 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4519 esac
4520 if test "x$ac_cv_prog_cc_c89" != xno; then :
4524 ac_ext=c
4525 ac_cpp='$CPP $CPPFLAGS'
4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4530 ac_ext=cpp
4531 ac_cpp='$CXXCPP $CPPFLAGS'
4532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4535 if test -z "$CXX"; then
4536 if test -n "$CCC"; then
4537 CXX=$CCC
4538 else
4539 if test -n "$ac_tool_prefix"; then
4540 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if ${ac_cv_prog_CXX+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 if test -n "$CXX"; then
4550 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4551 else
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 for as_dir in $PATH
4555 IFS=$as_save_IFS
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4559 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 break 2
4563 done
4564 done
4565 IFS=$as_save_IFS
4569 CXX=$ac_cv_prog_CXX
4570 if test -n "$CXX"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4572 $as_echo "$CXX" >&6; }
4573 else
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 test -n "$CXX" && break
4580 done
4582 if test -z "$CXX"; then
4583 ac_ct_CXX=$CXX
4584 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4586 # Extract the first word of "$ac_prog", so it can be a program name with args.
4587 set dummy $ac_prog; ac_word=$2
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4589 $as_echo_n "checking for $ac_word... " >&6; }
4590 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4591 $as_echo_n "(cached) " >&6
4592 else
4593 if test -n "$ac_ct_CXX"; then
4594 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_ac_ct_CXX="$ac_prog"
4604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4609 IFS=$as_save_IFS
4613 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4614 if test -n "$ac_ct_CXX"; then
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4616 $as_echo "$ac_ct_CXX" >&6; }
4617 else
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619 $as_echo "no" >&6; }
4623 test -n "$ac_ct_CXX" && break
4624 done
4626 if test "x$ac_ct_CXX" = x; then
4627 CXX="g++"
4628 else
4629 case $cross_compiling:$ac_tool_warned in
4630 yes:)
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4633 ac_tool_warned=yes ;;
4634 esac
4635 CXX=$ac_ct_CXX
4641 # Provide some information about the compiler.
4642 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4643 set X $ac_compile
4644 ac_compiler=$2
4645 for ac_option in --version -v -V -qversion; do
4646 { { ac_try="$ac_compiler $ac_option >&5"
4647 case "(($ac_try" in
4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4649 *) ac_try_echo=$ac_try;;
4650 esac
4651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4652 $as_echo "$ac_try_echo"; } >&5
4653 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4654 ac_status=$?
4655 if test -s conftest.err; then
4656 sed '10a\
4657 ... rest of stderr output deleted ...
4658 10q' conftest.err >conftest.er1
4659 cat conftest.er1 >&5
4661 rm -f conftest.er1 conftest.err
4662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4663 test $ac_status = 0; }
4664 done
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4667 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4668 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4669 $as_echo_n "(cached) " >&6
4670 else
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4677 #ifndef __GNUC__
4678 choke me
4679 #endif
4682 return 0;
4684 _ACEOF
4685 if ac_fn_cxx_try_compile "$LINENO"; then :
4686 ac_compiler_gnu=yes
4687 else
4688 ac_compiler_gnu=no
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4695 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4696 if test $ac_compiler_gnu = yes; then
4697 GXX=yes
4698 else
4699 GXX=
4701 ac_test_CXXFLAGS=${CXXFLAGS+set}
4702 ac_save_CXXFLAGS=$CXXFLAGS
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4704 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4705 if ${ac_cv_prog_cxx_g+:} false; then :
4706 $as_echo_n "(cached) " >&6
4707 else
4708 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4709 ac_cxx_werror_flag=yes
4710 ac_cv_prog_cxx_g=no
4711 CXXFLAGS="-g"
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4716 main ()
4720 return 0;
4722 _ACEOF
4723 if ac_fn_cxx_try_compile "$LINENO"; then :
4724 ac_cv_prog_cxx_g=yes
4725 else
4726 CXXFLAGS=""
4727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h. */
4731 main ()
4735 return 0;
4737 _ACEOF
4738 if ac_fn_cxx_try_compile "$LINENO"; then :
4740 else
4741 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4742 CXXFLAGS="-g"
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 :
4755 ac_cv_prog_cxx_g=yes
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4765 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4766 if test "$ac_test_CXXFLAGS" = set; then
4767 CXXFLAGS=$ac_save_CXXFLAGS
4768 elif test $ac_cv_prog_cxx_g = yes; then
4769 if test "$GXX" = yes; then
4770 CXXFLAGS="-g -O2"
4771 else
4772 CXXFLAGS="-g"
4774 else
4775 if test "$GXX" = yes; then
4776 CXXFLAGS="-O2"
4777 else
4778 CXXFLAGS=
4781 ac_ext=c
4782 ac_cpp='$CPP $CPPFLAGS'
4783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4787 if test -n "$ac_tool_prefix"; then
4788 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4789 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if ${ac_cv_prog_CPPBIN+:} false; then :
4793 $as_echo_n "(cached) " >&6
4794 else
4795 if test -n "$CPPBIN"; then
4796 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4797 else
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 for as_dir in $PATH
4801 IFS=$as_save_IFS
4802 test -z "$as_dir" && as_dir=.
4803 for ac_exec_ext in '' $ac_executable_extensions; do
4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4805 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 break 2
4809 done
4810 done
4811 IFS=$as_save_IFS
4815 CPPBIN=$ac_cv_prog_CPPBIN
4816 if test -n "$CPPBIN"; then
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4818 $as_echo "$CPPBIN" >&6; }
4819 else
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4826 if test -z "$ac_cv_prog_CPPBIN"; then
4827 ac_ct_CPPBIN=$CPPBIN
4828 # Extract the first word of "cpp", so it can be a program name with args.
4829 set dummy cpp; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4833 $as_echo_n "(cached) " >&6
4834 else
4835 if test -n "$ac_ct_CPPBIN"; then
4836 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4837 else
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4839 for as_dir in $PATH
4841 IFS=$as_save_IFS
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4845 ac_cv_prog_ac_ct_CPPBIN="cpp"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 break 2
4849 done
4850 done
4851 IFS=$as_save_IFS
4855 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4856 if test -n "$ac_ct_CPPBIN"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4858 $as_echo "$ac_ct_CPPBIN" >&6; }
4859 else
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4864 if test "x$ac_ct_CPPBIN" = x; then
4865 CPPBIN="cpp"
4866 else
4867 case $cross_compiling:$ac_tool_warned in
4868 yes:)
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4871 ac_tool_warned=yes ;;
4872 esac
4873 CPPBIN=$ac_ct_CPPBIN
4875 else
4876 CPPBIN="$ac_cv_prog_CPPBIN"
4880 cat >>confdefs.h <<_ACEOF
4881 #define EXEEXT "$ac_exeext"
4882 _ACEOF
4884 if test -n "$ac_tool_prefix"; then
4885 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4886 set dummy ${ac_tool_prefix}ld; ac_word=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if ${ac_cv_prog_LD+:} false; then :
4890 $as_echo_n "(cached) " >&6
4891 else
4892 if test -n "$LD"; then
4893 ac_cv_prog_LD="$LD" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_LD="${ac_tool_prefix}ld"
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 break 2
4906 done
4907 done
4908 IFS=$as_save_IFS
4912 LD=$ac_cv_prog_LD
4913 if test -n "$LD"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4915 $as_echo "$LD" >&6; }
4916 else
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4923 if test -z "$ac_cv_prog_LD"; then
4924 ac_ct_LD=$LD
4925 # Extract the first word of "ld", so it can be a program name with args.
4926 set dummy ld; ac_word=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4930 $as_echo_n "(cached) " >&6
4931 else
4932 if test -n "$ac_ct_LD"; then
4933 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4934 else
4935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4936 for as_dir in $PATH
4938 IFS=$as_save_IFS
4939 test -z "$as_dir" && as_dir=.
4940 for ac_exec_ext in '' $ac_executable_extensions; do
4941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4942 ac_cv_prog_ac_ct_LD="ld"
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 break 2
4946 done
4947 done
4948 IFS=$as_save_IFS
4952 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4953 if test -n "$ac_ct_LD"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4955 $as_echo "$ac_ct_LD" >&6; }
4956 else
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4961 if test "x$ac_ct_LD" = x; then
4962 LD=""
4963 else
4964 case $cross_compiling:$ac_tool_warned in
4965 yes:)
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4968 ac_tool_warned=yes ;;
4969 esac
4970 LD=$ac_ct_LD
4972 else
4973 LD="$ac_cv_prog_LD"
4977 case $host in
4978 *-darwin*)
4979 with_fontconfig=${with_fontconfig:-no}
4981 *-mingw32*|*-cygwin*)
4982 enable_win16=${enable_win16:-no}
4983 CFLAGS="$CFLAGS -D_WIN32"
4985 esac
4987 case $host in
4988 x86_64*|amd64*)
4989 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4990 then
4991 CC="$CC -m32"
4992 CXX="$CXX -m32"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4994 $as_echo_n "checking whether $CC works... " >&6; }
4996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4997 /* end confdefs.h. */
5000 main ()
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_link "$LINENO"; then :
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5009 $as_echo "yes" >&6; }
5010 else
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5013 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5015 rm -f core conftest.err conftest.$ac_objext \
5016 conftest$ac_exeext conftest.$ac_ext
5017 host_cpu="i386"
5018 notice_platform="32-bit "
5019 TARGETFLAGS="-m32"
5021 enable_win16=${enable_win16:-yes}
5022 else
5023 if test "x${GCC}" = "xyes"
5024 then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5026 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <stdarg.h>
5031 main ()
5033 void func(__builtin_ms_va_list *args);
5035 return 0;
5037 _ACEOF
5038 if ac_fn_c_try_compile "$LINENO"; then :
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5040 $as_echo "yes" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5044 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5048 CC="$CC -m64"
5049 CXX="$CXX -m64"
5050 host_cpu="x86_64"
5051 notice_platform="64-bit "
5052 TARGETFLAGS="-m64"
5056 arm*)
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5058 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5061 int ac_test(int i) { return i; }
5063 main ()
5065 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_link "$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5078 rm -f core conftest.err conftest.$ac_objext \
5079 conftest$ac_exeext conftest.$ac_ext
5080 CFLAGS="$CFLAGS -marm"
5081 TARGETFLAGS="-marm"
5084 i[3456789]86*)
5085 enable_win16=${enable_win16:-yes}
5087 esac
5089 enable_win16=${enable_win16:-no}
5090 enable_win64=${enable_win64:-no}
5092 enable_winetest=${enable_winetest:-$enable_tests}
5094 if test -n "$with_wine64"
5095 then
5096 if test "x$enable_win64" = "xyes"
5097 then
5098 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5099 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5101 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5102 You should create a separate build directory and run configure from there." "$LINENO" 5
5103 enable_fonts=${enable_fonts:-no}
5104 enable_server=${enable_server:-no}
5105 elif test "x$enable_win64" = "xyes"
5106 then
5107 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5111 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5112 if ${wine_cv_toolsdir+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 wine_cv_toolsdir="$with_wine_tools"
5116 if test -z "$with_wine_tools"; then
5117 if test "$cross_compiling" = "yes"; then
5118 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5119 elif test -n "$with_wine64"; then
5120 wine_cv_toolsdir="$with_wine64"
5123 if test -z "$wine_cv_toolsdir"; then
5124 wine_makedep=tools/makedep
5125 wine_cv_toolsdir="\$(top_builddir)"
5126 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5127 wine_makedep=$wine_cv_toolsdir/tools/makedep
5128 case "$wine_cv_toolsdir" in
5129 /*) ;;
5130 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5131 esac
5132 enable_tools=${enable_tools:-no}
5133 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5134 else
5135 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5139 $as_echo "$wine_cv_toolsdir" >&6; }
5140 TOOLSDIR=$wine_cv_toolsdir
5142 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5143 then
5144 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5148 for ac_prog in flex
5150 # Extract the first word of "$ac_prog", so it can be a program name with args.
5151 set dummy $ac_prog; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_FLEX+:} false; then :
5155 $as_echo_n "(cached) " >&6
5156 else
5157 if test -n "$FLEX"; then
5158 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_FLEX="$ac_prog"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5173 IFS=$as_save_IFS
5177 FLEX=$ac_cv_prog_FLEX
5178 if test -n "$FLEX"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5180 $as_echo "$FLEX" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5187 test -n "$FLEX" && break
5188 done
5189 test -n "$FLEX" || FLEX="none"
5191 if test "$FLEX" = "none"
5192 then
5193 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5196 $as_echo_n "checking whether flex is recent enough... " >&6; }
5197 cat >conftest.l <<EOF
5198 %top{
5199 #include "prediluvian.h"
5203 if $FLEX -t conftest.l >/dev/null 2>&5
5204 then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5206 $as_echo "yes" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5210 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5213 for ac_prog in bison
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
5216 set dummy $ac_prog; ac_word=$2
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5218 $as_echo_n "checking for $ac_word... " >&6; }
5219 if ${ac_cv_prog_BISON+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 if test -n "$BISON"; then
5223 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5224 else
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH
5228 IFS=$as_save_IFS
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_BISON="$ac_prog"
5233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 break 2
5236 done
5237 done
5238 IFS=$as_save_IFS
5242 BISON=$ac_cv_prog_BISON
5243 if test -n "$BISON"; then
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5245 $as_echo "$BISON" >&6; }
5246 else
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5248 $as_echo "no" >&6; }
5252 test -n "$BISON" && break
5253 done
5254 test -n "$BISON" || BISON="none"
5256 if test "$BISON" = "none"
5257 then
5258 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5261 if test -n "$ac_tool_prefix"; then
5262 for ac_prog in ar gar
5264 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_AR+:} false; then :
5269 $as_echo_n "(cached) " >&6
5270 else
5271 if test -n "$AR"; then
5272 ac_cv_prog_AR="$AR" # Let the user override the test.
5273 else
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $PATH
5277 IFS=$as_save_IFS
5278 test -z "$as_dir" && as_dir=.
5279 for ac_exec_ext in '' $ac_executable_extensions; do
5280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 break 2
5285 done
5286 done
5287 IFS=$as_save_IFS
5291 AR=$ac_cv_prog_AR
5292 if test -n "$AR"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5294 $as_echo "$AR" >&6; }
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5301 test -n "$AR" && break
5302 done
5304 if test -z "$AR"; then
5305 ac_ct_AR=$AR
5306 for ac_prog in ar gar
5308 # Extract the first word of "$ac_prog", so it can be a program name with args.
5309 set dummy $ac_prog; ac_word=$2
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311 $as_echo_n "checking for $ac_word... " >&6; }
5312 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5313 $as_echo_n "(cached) " >&6
5314 else
5315 if test -n "$ac_ct_AR"; then
5316 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325 ac_cv_prog_ac_ct_AR="$ac_prog"
5326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5331 IFS=$as_save_IFS
5335 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5336 if test -n "$ac_ct_AR"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5338 $as_echo "$ac_ct_AR" >&6; }
5339 else
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5345 test -n "$ac_ct_AR" && break
5346 done
5348 if test "x$ac_ct_AR" = x; then
5349 AR="ar"
5350 else
5351 case $cross_compiling:$ac_tool_warned in
5352 yes:)
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5355 ac_tool_warned=yes ;;
5356 esac
5357 AR=$ac_ct_AR
5361 if test -n "$ac_tool_prefix"; then
5362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5363 set dummy ${ac_tool_prefix}strip; ac_word=$2
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5365 $as_echo_n "checking for $ac_word... " >&6; }
5366 if ${ac_cv_prog_STRIP+:} false; then :
5367 $as_echo_n "(cached) " >&6
5368 else
5369 if test -n "$STRIP"; then
5370 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5371 else
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5379 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5389 STRIP=$ac_cv_prog_STRIP
5390 if test -n "$STRIP"; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5392 $as_echo "$STRIP" >&6; }
5393 else
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5395 $as_echo "no" >&6; }
5400 if test -z "$ac_cv_prog_STRIP"; then
5401 ac_ct_STRIP=$STRIP
5402 # Extract the first word of "strip", so it can be a program name with args.
5403 set dummy strip; ac_word=$2
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5405 $as_echo_n "checking for $ac_word... " >&6; }
5406 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5407 $as_echo_n "(cached) " >&6
5408 else
5409 if test -n "$ac_ct_STRIP"; then
5410 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5411 else
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5419 ac_cv_prog_ac_ct_STRIP="strip"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 break 2
5423 done
5424 done
5425 IFS=$as_save_IFS
5429 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5430 if test -n "$ac_ct_STRIP"; then
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5432 $as_echo "$ac_ct_STRIP" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5438 if test "x$ac_ct_STRIP" = x; then
5439 STRIP="strip"
5440 else
5441 case $cross_compiling:$ac_tool_warned in
5442 yes:)
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5445 ac_tool_warned=yes ;;
5446 esac
5447 STRIP=$ac_ct_STRIP
5449 else
5450 STRIP="$ac_cv_prog_STRIP"
5453 ARFLAGS=rc
5455 if test -n "$ac_tool_prefix"; then
5456 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5457 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_RANLIB+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -n "$RANLIB"; then
5464 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5465 else
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5483 RANLIB=$ac_cv_prog_RANLIB
5484 if test -n "$RANLIB"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5486 $as_echo "$RANLIB" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5494 if test -z "$ac_cv_prog_RANLIB"; then
5495 ac_ct_RANLIB=$RANLIB
5496 # Extract the first word of "ranlib", so it can be a program name with args.
5497 set dummy ranlib; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$ac_ct_RANLIB"; then
5504 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_RANLIB="ranlib"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5524 if test -n "$ac_ct_RANLIB"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5526 $as_echo "$ac_ct_RANLIB" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5532 if test "x$ac_ct_RANLIB" = x; then
5533 RANLIB=":"
5534 else
5535 case $cross_compiling:$ac_tool_warned in
5536 yes:)
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539 ac_tool_warned=yes ;;
5540 esac
5541 RANLIB=$ac_ct_RANLIB
5543 else
5544 RANLIB="$ac_cv_prog_RANLIB"
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5548 $as_echo_n "checking whether ln -s works... " >&6; }
5549 LN_S=$as_ln_s
5550 if test "$LN_S" = "ln -s"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5552 $as_echo "yes" >&6; }
5553 else
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5555 $as_echo "no, using $LN_S" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5559 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5560 if ${ac_cv_path_GREP+:} false; then :
5561 $as_echo_n "(cached) " >&6
5562 else
5563 if test -z "$GREP"; then
5564 ac_path_GREP_found=false
5565 # Loop through the user's path and test for each of PROGNAME-LIST
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_prog in grep ggrep; do
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5574 as_fn_executable_p "$ac_path_GREP" || continue
5575 # Check for GNU ac_path_GREP and select it if it is found.
5576 # Check for GNU $ac_path_GREP
5577 case `"$ac_path_GREP" --version 2>&1` in
5578 *GNU*)
5579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5581 ac_count=0
5582 $as_echo_n 0123456789 >"conftest.in"
5583 while :
5585 cat "conftest.in" "conftest.in" >"conftest.tmp"
5586 mv "conftest.tmp" "conftest.in"
5587 cp "conftest.in" "conftest.nl"
5588 $as_echo 'GREP' >> "conftest.nl"
5589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5591 as_fn_arith $ac_count + 1 && ac_count=$as_val
5592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5593 # Best one so far, save it but keep looking for a better one
5594 ac_cv_path_GREP="$ac_path_GREP"
5595 ac_path_GREP_max=$ac_count
5597 # 10*(2^10) chars as input seems more than enough
5598 test $ac_count -gt 10 && break
5599 done
5600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5601 esac
5603 $ac_path_GREP_found && break 3
5604 done
5605 done
5606 done
5607 IFS=$as_save_IFS
5608 if test -z "$ac_cv_path_GREP"; then
5609 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5611 else
5612 ac_cv_path_GREP=$GREP
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5617 $as_echo "$ac_cv_path_GREP" >&6; }
5618 GREP="$ac_cv_path_GREP"
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5622 $as_echo_n "checking for egrep... " >&6; }
5623 if ${ac_cv_path_EGREP+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5627 then ac_cv_path_EGREP="$GREP -E"
5628 else
5629 if test -z "$EGREP"; then
5630 ac_path_EGREP_found=false
5631 # Loop through the user's path and test for each of PROGNAME-LIST
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_prog in egrep; do
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5640 as_fn_executable_p "$ac_path_EGREP" || continue
5641 # Check for GNU ac_path_EGREP and select it if it is found.
5642 # Check for GNU $ac_path_EGREP
5643 case `"$ac_path_EGREP" --version 2>&1` in
5644 *GNU*)
5645 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5647 ac_count=0
5648 $as_echo_n 0123456789 >"conftest.in"
5649 while :
5651 cat "conftest.in" "conftest.in" >"conftest.tmp"
5652 mv "conftest.tmp" "conftest.in"
5653 cp "conftest.in" "conftest.nl"
5654 $as_echo 'EGREP' >> "conftest.nl"
5655 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5656 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5657 as_fn_arith $ac_count + 1 && ac_count=$as_val
5658 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5659 # Best one so far, save it but keep looking for a better one
5660 ac_cv_path_EGREP="$ac_path_EGREP"
5661 ac_path_EGREP_max=$ac_count
5663 # 10*(2^10) chars as input seems more than enough
5664 test $ac_count -gt 10 && break
5665 done
5666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5667 esac
5669 $ac_path_EGREP_found && break 3
5670 done
5671 done
5672 done
5673 IFS=$as_save_IFS
5674 if test -z "$ac_cv_path_EGREP"; then
5675 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5677 else
5678 ac_cv_path_EGREP=$EGREP
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5684 $as_echo "$ac_cv_path_EGREP" >&6; }
5685 EGREP="$ac_cv_path_EGREP"
5688 # Extract the first word of "ldconfig", so it can be a program name with args.
5689 set dummy ldconfig; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_path_LDCONFIG+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 case $LDCONFIG in
5696 [\\/]* | ?:[\\/]*)
5697 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in /sbin /usr/sbin $PATH
5703 IFS=$as_save_IFS
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709 break 2
5711 done
5712 done
5713 IFS=$as_save_IFS
5715 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5717 esac
5719 LDCONFIG=$ac_cv_path_LDCONFIG
5720 if test -n "$LDCONFIG"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5722 $as_echo "$LDCONFIG" >&6; }
5723 else
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5729 for ac_prog in msgfmt
5731 # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_MSGFMT+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 if test -n "$MSGFMT"; then
5739 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_MSGFMT="$ac_prog"
5749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 MSGFMT=$ac_cv_prog_MSGFMT
5759 if test -n "$MSGFMT"; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5761 $as_echo "$MSGFMT" >&6; }
5762 else
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768 test -n "$MSGFMT" && break
5769 done
5770 test -n "$MSGFMT" || MSGFMT="false"
5772 if ${ac_tool_prefix+:} false; then :
5773 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5776 $as_echo_n "checking for $ac_word... " >&6; }
5777 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 if test -n "$PKG_CONFIG"; then
5781 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5782 else
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 for as_dir in $PATH
5786 IFS=$as_save_IFS
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
5789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 break 2
5794 done
5795 done
5796 IFS=$as_save_IFS
5800 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5801 if test -n "$PKG_CONFIG"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5803 $as_echo "$PKG_CONFIG" >&6; }
5804 else
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5811 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5812 if test "x$cross_compiling" = xyes; then :
5814 else
5815 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5816 # Extract the first word of "pkg-config", so it can be a program name with args.
5817 set dummy pkg-config; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$PKG_CONFIG"; then
5824 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_PKG_CONFIG="pkg-config"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5843 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5844 if test -n "$PKG_CONFIG"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5846 $as_echo "$PKG_CONFIG" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5854 else
5855 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5858 if test "x$enable_maintainer_mode" != "xyes"
5859 then
5860 FONTFORGE=""
5861 RSVG=""
5862 CONVERT=""
5863 ICOTOOL=""
5864 else
5865 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5866 for ac_prog in fontforge
5868 # Extract the first word of "$ac_prog", so it can be a program name with args.
5869 set dummy $ac_prog; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_FONTFORGE+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$FONTFORGE"; then
5876 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_FONTFORGE="$ac_prog"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5889 done
5890 done
5891 IFS=$as_save_IFS
5895 FONTFORGE=$ac_cv_prog_FONTFORGE
5896 if test -n "$FONTFORGE"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5898 $as_echo "$FONTFORGE" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5905 test -n "$FONTFORGE" && break
5906 done
5907 test -n "$FONTFORGE" || FONTFORGE="false"
5909 for ac_prog in rsvg-convert rsvg
5911 # Extract the first word of "$ac_prog", so it can be a program name with args.
5912 set dummy $ac_prog; ac_word=$2
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5914 $as_echo_n "checking for $ac_word... " >&6; }
5915 if ${ac_cv_prog_RSVG+:} false; then :
5916 $as_echo_n "(cached) " >&6
5917 else
5918 if test -n "$RSVG"; then
5919 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5920 else
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 for as_dir in $PATH
5924 IFS=$as_save_IFS
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_RSVG="$ac_prog"
5929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5930 break 2
5932 done
5933 done
5934 IFS=$as_save_IFS
5938 RSVG=$ac_cv_prog_RSVG
5939 if test -n "$RSVG"; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5941 $as_echo "$RSVG" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5944 $as_echo "no" >&6; }
5948 test -n "$RSVG" && break
5949 done
5950 test -n "$RSVG" || RSVG="false"
5952 for ac_prog in convert
5954 # Extract the first word of "$ac_prog", so it can be a program name with args.
5955 set dummy $ac_prog; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_CONVERT+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 if test -n "$CONVERT"; then
5962 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_CONVERT="$ac_prog"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 CONVERT=$ac_cv_prog_CONVERT
5982 if test -n "$CONVERT"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5984 $as_echo "$CONVERT" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 test -n "$CONVERT" && break
5992 done
5993 test -n "$CONVERT" || CONVERT="false"
5995 for ac_prog in icotool
5997 # Extract the first word of "$ac_prog", so it can be a program name with args.
5998 set dummy $ac_prog; ac_word=$2
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6000 $as_echo_n "checking for $ac_word... " >&6; }
6001 if ${ac_cv_prog_ICOTOOL+:} false; then :
6002 $as_echo_n "(cached) " >&6
6003 else
6004 if test -n "$ICOTOOL"; then
6005 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6006 else
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008 for as_dir in $PATH
6010 IFS=$as_save_IFS
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_ICOTOOL="$ac_prog"
6015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016 break 2
6018 done
6019 done
6020 IFS=$as_save_IFS
6024 ICOTOOL=$ac_cv_prog_ICOTOOL
6025 if test -n "$ICOTOOL"; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6027 $as_echo "$ICOTOOL" >&6; }
6028 else
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6030 $as_echo "no" >&6; }
6034 test -n "$ICOTOOL" && break
6035 done
6036 test -n "$ICOTOOL" || ICOTOOL="false"
6038 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6039 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6041 if test "$CONVERT" = false
6042 then
6043 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6044 else
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6046 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6047 convert_version=`convert --version | head -n1`
6048 if test "x$convert_version" != "x"
6049 then
6050 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6051 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6052 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6053 then
6054 CONVERT=false
6057 if test "$CONVERT" = false
6058 then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6061 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6062 else
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6064 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6068 if test "$ICOTOOL" = false
6069 then
6070 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6071 else
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6073 $as_echo_n "checking for recent enough icotool... " >&6; }
6074 icotool_version=`icotool --version | head -n1`
6075 if test "x$icotool_version" != "x"
6076 then
6077 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6078 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6079 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6080 then
6081 ICOTOOL=false
6082 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6085 if test "$ICOTOOL" = false
6086 then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6089 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6092 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6096 with_gettext=yes
6097 with_gettextpo=yes
6098 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6101 test "x$with_gettext" != xno || MSGFMT=false
6102 if test "$MSGFMT" != "false"
6103 then
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6105 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6106 cat >conftest.po <<EOF
6107 # comment
6108 msgctxt "ctxt"
6109 msgid "id"
6110 msgstr "str"
6112 if $MSGFMT -o /dev/null conftest.po 2>&5
6113 then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6115 $as_echo "yes" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6119 MSGFMT=false
6122 if test "$MSGFMT" = false; then :
6123 case "x$with_gettext" in
6124 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6125 xno) ;;
6126 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6127 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6128 esac
6129 enable_po=${enable_po:-no}
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6134 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6135 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 ac_check_lib_save_LIBS=$LIBS
6139 LIBS="-li386 $LIBS"
6140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6141 /* end confdefs.h. */
6143 /* Override any GCC internal prototype to avoid an error.
6144 Use char because int might match the return type of a GCC
6145 builtin and then its argument prototype would still apply. */
6146 #ifdef __cplusplus
6147 extern "C"
6148 #endif
6149 char i386_set_ldt ();
6151 main ()
6153 return i386_set_ldt ();
6155 return 0;
6157 _ACEOF
6158 if ac_fn_c_try_link "$LINENO"; then :
6159 ac_cv_lib_i386_i386_set_ldt=yes
6160 else
6161 ac_cv_lib_i386_i386_set_ldt=no
6163 rm -f core conftest.err conftest.$ac_objext \
6164 conftest$ac_exeext conftest.$ac_ext
6165 LIBS=$ac_check_lib_save_LIBS
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6168 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6169 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6170 cat >>confdefs.h <<_ACEOF
6171 #define HAVE_LIBI386 1
6172 _ACEOF
6174 LIBS="-li386 $LIBS"
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6179 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6180 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6181 $as_echo_n "(cached) " >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-lossaudio $LIBS"
6185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6186 /* end confdefs.h. */
6188 /* Override any GCC internal prototype to avoid an error.
6189 Use char because int might match the return type of a GCC
6190 builtin and then its argument prototype would still apply. */
6191 #ifdef __cplusplus
6192 extern "C"
6193 #endif
6194 char _oss_ioctl ();
6196 main ()
6198 return _oss_ioctl ();
6200 return 0;
6202 _ACEOF
6203 if ac_fn_c_try_link "$LINENO"; then :
6204 ac_cv_lib_ossaudio__oss_ioctl=yes
6205 else
6206 ac_cv_lib_ossaudio__oss_ioctl=no
6208 rm -f core conftest.err conftest.$ac_objext \
6209 conftest$ac_exeext conftest.$ac_ext
6210 LIBS=$ac_check_lib_save_LIBS
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6213 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6214 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6215 cat >>confdefs.h <<_ACEOF
6216 #define HAVE_LIBOSSAUDIO 1
6217 _ACEOF
6219 LIBS="-lossaudio $LIBS"
6224 OPENGL_LIBS=""
6228 # Check whether --enable-largefile was given.
6229 if test "${enable_largefile+set}" = set; then :
6230 enableval=$enable_largefile;
6233 if test "$enable_largefile" != no; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6236 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6237 if ${ac_cv_sys_largefile_CC+:} false; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 ac_cv_sys_largefile_CC=no
6241 if test "$GCC" != yes; then
6242 ac_save_CC=$CC
6243 while :; do
6244 # IRIX 6.2 and later do not support large files by default,
6245 # so use the C compiler's -n32 option if that helps.
6246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h. */
6248 #include <sys/types.h>
6249 /* Check that off_t can represent 2**63 - 1 correctly.
6250 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6251 since some C++ compilers masquerading as C compilers
6252 incorrectly reject 9223372036854775807. */
6253 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6254 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6255 && LARGE_OFF_T % 2147483647 == 1)
6256 ? 1 : -1];
6258 main ()
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_compile "$LINENO"; then :
6266 break
6268 rm -f core conftest.err conftest.$ac_objext
6269 CC="$CC -n32"
6270 if ac_fn_c_try_compile "$LINENO"; then :
6271 ac_cv_sys_largefile_CC=' -n32'; break
6273 rm -f core conftest.err conftest.$ac_objext
6274 break
6275 done
6276 CC=$ac_save_CC
6277 rm -f conftest.$ac_ext
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6281 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6282 if test "$ac_cv_sys_largefile_CC" != no; then
6283 CC=$CC$ac_cv_sys_largefile_CC
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6287 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6288 if ${ac_cv_sys_file_offset_bits+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 while :; do
6292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6294 #include <sys/types.h>
6295 /* Check that off_t can represent 2**63 - 1 correctly.
6296 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6297 since some C++ compilers masquerading as C compilers
6298 incorrectly reject 9223372036854775807. */
6299 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6300 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6301 && LARGE_OFF_T % 2147483647 == 1)
6302 ? 1 : -1];
6304 main ()
6308 return 0;
6310 _ACEOF
6311 if ac_fn_c_try_compile "$LINENO"; then :
6312 ac_cv_sys_file_offset_bits=no; break
6314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6317 #define _FILE_OFFSET_BITS 64
6318 #include <sys/types.h>
6319 /* Check that off_t can represent 2**63 - 1 correctly.
6320 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6321 since some C++ compilers masquerading as C compilers
6322 incorrectly reject 9223372036854775807. */
6323 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6324 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6325 && LARGE_OFF_T % 2147483647 == 1)
6326 ? 1 : -1];
6328 main ()
6332 return 0;
6334 _ACEOF
6335 if ac_fn_c_try_compile "$LINENO"; then :
6336 ac_cv_sys_file_offset_bits=64; break
6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6339 ac_cv_sys_file_offset_bits=unknown
6340 break
6341 done
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6344 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6345 case $ac_cv_sys_file_offset_bits in #(
6346 no | unknown) ;;
6348 cat >>confdefs.h <<_ACEOF
6349 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6350 _ACEOF
6352 esac
6353 rm -rf conftest*
6354 if test $ac_cv_sys_file_offset_bits = unknown; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6356 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6357 if ${ac_cv_sys_large_files+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 while :; do
6361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 /* end confdefs.h. */
6363 #include <sys/types.h>
6364 /* Check that off_t can represent 2**63 - 1 correctly.
6365 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6366 since some C++ compilers masquerading as C compilers
6367 incorrectly reject 9223372036854775807. */
6368 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6369 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6370 && LARGE_OFF_T % 2147483647 == 1)
6371 ? 1 : -1];
6373 main ()
6377 return 0;
6379 _ACEOF
6380 if ac_fn_c_try_compile "$LINENO"; then :
6381 ac_cv_sys_large_files=no; break
6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6386 #define _LARGE_FILES 1
6387 #include <sys/types.h>
6388 /* Check that off_t can represent 2**63 - 1 correctly.
6389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6390 since some C++ compilers masquerading as C compilers
6391 incorrectly reject 9223372036854775807. */
6392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6394 && LARGE_OFF_T % 2147483647 == 1)
6395 ? 1 : -1];
6397 main ()
6401 return 0;
6403 _ACEOF
6404 if ac_fn_c_try_compile "$LINENO"; then :
6405 ac_cv_sys_large_files=1; break
6407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6408 ac_cv_sys_large_files=unknown
6409 break
6410 done
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6413 $as_echo "$ac_cv_sys_large_files" >&6; }
6414 case $ac_cv_sys_large_files in #(
6415 no | unknown) ;;
6417 cat >>confdefs.h <<_ACEOF
6418 #define _LARGE_FILES $ac_cv_sys_large_files
6419 _ACEOF
6421 esac
6422 rm -rf conftest*
6429 ac_ext=c
6430 ac_cpp='$CPP $CPPFLAGS'
6431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6435 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6436 # On Suns, sometimes $CPP names a directory.
6437 if test -n "$CPP" && test -d "$CPP"; then
6438 CPP=
6440 if test -z "$CPP"; then
6441 if ${ac_cv_prog_CPP+:} false; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 # Double quotes because CPP needs to be expanded
6445 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6447 ac_preproc_ok=false
6448 for ac_c_preproc_warn_flag in '' yes
6450 # Use a header file that comes with gcc, so configuring glibc
6451 # with a fresh cross-compiler works.
6452 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6453 # <limits.h> exists even on freestanding compilers.
6454 # On the NeXT, cc -E runs the code through the compiler's parser,
6455 # not just through cpp. "Syntax error" is here to catch this case.
6456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6457 /* end confdefs.h. */
6458 #ifdef __STDC__
6459 # include <limits.h>
6460 #else
6461 # include <assert.h>
6462 #endif
6463 Syntax error
6464 _ACEOF
6465 if ac_fn_c_try_cpp "$LINENO"; then :
6467 else
6468 # Broken: fails on valid input.
6469 continue
6471 rm -f conftest.err conftest.i conftest.$ac_ext
6473 # OK, works on sane cases. Now check whether nonexistent headers
6474 # can be detected and how.
6475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6476 /* end confdefs.h. */
6477 #include <ac_nonexistent.h>
6478 _ACEOF
6479 if ac_fn_c_try_cpp "$LINENO"; then :
6480 # Broken: success on invalid input.
6481 continue
6482 else
6483 # Passes both tests.
6484 ac_preproc_ok=:
6485 break
6487 rm -f conftest.err conftest.i conftest.$ac_ext
6489 done
6490 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6491 rm -f conftest.i conftest.err conftest.$ac_ext
6492 if $ac_preproc_ok; then :
6493 break
6496 done
6497 ac_cv_prog_CPP=$CPP
6500 CPP=$ac_cv_prog_CPP
6501 else
6502 ac_cv_prog_CPP=$CPP
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6505 $as_echo "$CPP" >&6; }
6506 ac_preproc_ok=false
6507 for ac_c_preproc_warn_flag in '' yes
6509 # Use a header file that comes with gcc, so configuring glibc
6510 # with a fresh cross-compiler works.
6511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6512 # <limits.h> exists even on freestanding compilers.
6513 # On the NeXT, cc -E runs the code through the compiler's parser,
6514 # not just through cpp. "Syntax error" is here to catch this case.
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6516 /* end confdefs.h. */
6517 #ifdef __STDC__
6518 # include <limits.h>
6519 #else
6520 # include <assert.h>
6521 #endif
6522 Syntax error
6523 _ACEOF
6524 if ac_fn_c_try_cpp "$LINENO"; then :
6526 else
6527 # Broken: fails on valid input.
6528 continue
6530 rm -f conftest.err conftest.i conftest.$ac_ext
6532 # OK, works on sane cases. Now check whether nonexistent headers
6533 # can be detected and how.
6534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6535 /* end confdefs.h. */
6536 #include <ac_nonexistent.h>
6537 _ACEOF
6538 if ac_fn_c_try_cpp "$LINENO"; then :
6539 # Broken: success on invalid input.
6540 continue
6541 else
6542 # Passes both tests.
6543 ac_preproc_ok=:
6544 break
6546 rm -f conftest.err conftest.i conftest.$ac_ext
6548 done
6549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6550 rm -f conftest.i conftest.err conftest.$ac_ext
6551 if $ac_preproc_ok; then :
6553 else
6554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6556 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6557 See \`config.log' for more details" "$LINENO" 5; }
6560 ac_ext=c
6561 ac_cpp='$CPP $CPPFLAGS'
6562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6568 $as_echo_n "checking for ANSI C header files... " >&6; }
6569 if ${ac_cv_header_stdc+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <stdlib.h>
6575 #include <stdarg.h>
6576 #include <string.h>
6577 #include <float.h>
6580 main ()
6584 return 0;
6586 _ACEOF
6587 if ac_fn_c_try_compile "$LINENO"; then :
6588 ac_cv_header_stdc=yes
6589 else
6590 ac_cv_header_stdc=no
6592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 if test $ac_cv_header_stdc = yes; then
6595 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6598 #include <string.h>
6600 _ACEOF
6601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6602 $EGREP "memchr" >/dev/null 2>&1; then :
6604 else
6605 ac_cv_header_stdc=no
6607 rm -f conftest*
6611 if test $ac_cv_header_stdc = yes; then
6612 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h. */
6615 #include <stdlib.h>
6617 _ACEOF
6618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6619 $EGREP "free" >/dev/null 2>&1; then :
6621 else
6622 ac_cv_header_stdc=no
6624 rm -f conftest*
6628 if test $ac_cv_header_stdc = yes; then
6629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6630 if test "$cross_compiling" = yes; then :
6632 else
6633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6635 #include <ctype.h>
6636 #include <stdlib.h>
6637 #if ((' ' & 0x0FF) == 0x020)
6638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6640 #else
6641 # define ISLOWER(c) \
6642 (('a' <= (c) && (c) <= 'i') \
6643 || ('j' <= (c) && (c) <= 'r') \
6644 || ('s' <= (c) && (c) <= 'z'))
6645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6646 #endif
6648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6650 main ()
6652 int i;
6653 for (i = 0; i < 256; i++)
6654 if (XOR (islower (i), ISLOWER (i))
6655 || toupper (i) != TOUPPER (i))
6656 return 2;
6657 return 0;
6659 _ACEOF
6660 if ac_fn_c_try_run "$LINENO"; then :
6662 else
6663 ac_cv_header_stdc=no
6665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6666 conftest.$ac_objext conftest.beam conftest.$ac_ext
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6672 $as_echo "$ac_cv_header_stdc" >&6; }
6673 if test $ac_cv_header_stdc = yes; then
6675 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6679 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6680 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6681 inttypes.h stdint.h unistd.h
6682 do :
6683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6686 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6687 cat >>confdefs.h <<_ACEOF
6688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6689 _ACEOF
6693 done
6696 for ac_header in \
6697 AL/al.h \
6698 ApplicationServices/ApplicationServices.h \
6699 AudioToolbox/AudioConverter.h \
6700 AudioUnit/AudioUnit.h \
6701 AudioUnit/AudioComponent.h \
6702 CL/cl.h \
6703 Carbon/Carbon.h \
6704 CommonCrypto/CommonDigest.h \
6705 CoreAudio/CoreAudio.h \
6706 CoreServices/CoreServices.h \
6707 DiskArbitration/DiskArbitration.h \
6708 IOKit/IOKitLib.h \
6709 IOKit/hid/IOHIDLib.h \
6710 OpenAL/al.h \
6711 OpenCL/opencl.h \
6712 QuickTime/ImageCompression.h \
6713 Security/Security.h \
6714 alias.h \
6715 alsa/asoundlib.h \
6716 arpa/inet.h \
6717 arpa/nameser.h \
6718 asm/types.h \
6719 asm/user.h \
6720 curses.h \
6721 direct.h \
6722 dirent.h \
6723 dlfcn.h \
6724 elf.h \
6725 float.h \
6726 fnmatch.h \
6727 getopt.h \
6728 gettext-po.h \
6729 grp.h \
6730 gsm.h \
6731 gsm/gsm.h \
6732 ieeefp.h \
6733 inet/mib2.h \
6734 io.h \
6735 kstat.h \
6736 lber.h \
6737 ldap.h \
6738 libproc.h \
6739 link.h \
6740 linux/cdrom.h \
6741 linux/compiler.h \
6742 linux/filter.h \
6743 linux/hdreg.h \
6744 linux/input.h \
6745 linux/ioctl.h \
6746 linux/joystick.h \
6747 linux/major.h \
6748 linux/param.h \
6749 linux/serial.h \
6750 linux/types.h \
6751 linux/ucdrom.h \
6752 lwp.h \
6753 mach-o/nlist.h \
6754 mach-o/loader.h \
6755 mach/mach.h \
6756 mach/machine.h \
6757 machine/cpu.h \
6758 machine/limits.h \
6759 machine/sysarch.h \
6760 mntent.h \
6761 ncurses.h \
6762 netdb.h \
6763 netinet/in.h \
6764 netinet/in_systm.h \
6765 netinet/tcp.h \
6766 netinet/tcp_fsm.h \
6767 pcap/pcap.h \
6768 poll.h \
6769 port.h \
6770 process.h \
6771 pthread.h \
6772 pwd.h \
6773 sched.h \
6774 scsi/scsi.h \
6775 scsi/scsi_ioctl.h \
6776 scsi/sg.h \
6777 stdbool.h \
6778 stdint.h \
6779 stropts.h \
6780 sys/asoundlib.h \
6781 sys/attr.h \
6782 sys/cdio.h \
6783 sys/elf32.h \
6784 sys/epoll.h \
6785 sys/event.h \
6786 sys/exec_elf.h \
6787 sys/filio.h \
6788 sys/inotify.h \
6789 sys/ioctl.h \
6790 sys/ipc.h \
6791 sys/limits.h \
6792 sys/link.h \
6793 sys/mman.h \
6794 sys/modem.h \
6795 sys/msg.h \
6796 sys/mtio.h \
6797 sys/param.h \
6798 sys/poll.h \
6799 sys/prctl.h \
6800 sys/protosw.h \
6801 sys/ptrace.h \
6802 sys/queue.h \
6803 sys/resource.h \
6804 sys/scsiio.h \
6805 sys/shm.h \
6806 sys/signal.h \
6807 sys/socket.h \
6808 sys/socketvar.h \
6809 sys/sockio.h \
6810 sys/statvfs.h \
6811 sys/strtio.h \
6812 sys/syscall.h \
6813 sys/sysinfo.h \
6814 sys/tihdr.h \
6815 sys/time.h \
6816 sys/timeout.h \
6817 sys/times.h \
6818 sys/uio.h \
6819 sys/user.h \
6820 sys/utsname.h \
6821 sys/vm86.h \
6822 sys/vnode.h \
6823 sys/wait.h \
6824 syscall.h \
6825 termios.h \
6826 unistd.h \
6827 utime.h \
6828 valgrind/memcheck.h \
6829 valgrind/valgrind.h \
6830 zlib.h
6832 do :
6833 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6834 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6835 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6836 cat >>confdefs.h <<_ACEOF
6837 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6838 _ACEOF
6842 done
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6845 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6846 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6847 $as_echo_n "(cached) " >&6
6848 else
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 #include <sys/types.h>
6853 main ()
6855 return makedev(0, 0);
6857 return 0;
6859 _ACEOF
6860 if ac_fn_c_try_link "$LINENO"; then :
6861 ac_cv_header_sys_types_h_makedev=yes
6862 else
6863 ac_cv_header_sys_types_h_makedev=no
6865 rm -f core conftest.err conftest.$ac_objext \
6866 conftest$ac_exeext conftest.$ac_ext
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6870 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6872 if test $ac_cv_header_sys_types_h_makedev = no; then
6873 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6874 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6876 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6882 if test $ac_cv_header_sys_mkdev_h = no; then
6883 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6884 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6886 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6895 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6896 if ${ac_cv_header_stat_broken+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6900 /* end confdefs.h. */
6901 #include <sys/types.h>
6902 #include <sys/stat.h>
6904 #if defined S_ISBLK && defined S_IFDIR
6905 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6906 #endif
6908 #if defined S_ISBLK && defined S_IFCHR
6909 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6910 #endif
6912 #if defined S_ISLNK && defined S_IFREG
6913 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6914 #endif
6916 #if defined S_ISSOCK && defined S_IFREG
6917 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6918 #endif
6920 _ACEOF
6921 if ac_fn_c_try_compile "$LINENO"; then :
6922 ac_cv_header_stat_broken=no
6923 else
6924 ac_cv_header_stat_broken=yes
6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6929 $as_echo "$ac_cv_header_stat_broken" >&6; }
6930 if test $ac_cv_header_stat_broken = yes; then
6932 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6938 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6939 do :
6940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6942 #ifdef HAVE_SYS_PARAM_H
6943 # include <sys/param.h>
6944 #endif
6946 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6947 cat >>confdefs.h <<_ACEOF
6948 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6949 _ACEOF
6953 done
6956 for ac_header in \
6957 netinet/ip.h \
6958 net/if.h \
6959 net/if_arp.h \
6960 net/if_dl.h \
6961 net/if_types.h \
6962 net/route.h \
6963 netinet/if_ether.h \
6964 netinet/if_inarp.h \
6965 netinet/in_pcb.h \
6966 netinet/ip_icmp.h \
6967 netinet/ip_var.h \
6968 netinet/udp.h \
6969 netipx/ipx.h \
6970 sys/un.h \
6972 do :
6973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6975 #ifdef HAVE_SYS_SOCKET_H
6976 # include <sys/socket.h>
6977 #endif
6978 #ifdef HAVE_SYS_SOCKETVAR_H
6979 # include <sys/socketvar.h>
6980 #endif
6981 #ifdef HAVE_NET_ROUTE_H
6982 # include <net/route.h>
6983 #endif
6984 #ifdef HAVE_NETINET_IN_H
6985 # include <netinet/in.h>
6986 #endif
6987 #ifdef HAVE_NETINET_IN_SYSTM_H
6988 # include <netinet/in_systm.h>
6989 #endif
6990 #ifdef HAVE_NET_IF_H
6991 # include <net/if.h>
6992 #endif
6993 #ifdef HAVE_NETINET_IP_H
6994 # include <netinet/ip.h>
6995 #endif
6997 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6998 cat >>confdefs.h <<_ACEOF
6999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7000 _ACEOF
7004 done
7007 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7008 do :
7009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7011 #ifdef HAVE_ALIAS_H
7012 # include <alias.h>
7013 #endif
7014 #ifdef HAVE_SYS_SOCKET_H
7015 # include <sys/socket.h>
7016 #endif
7017 #ifdef HAVE_SYS_SOCKETVAR_H
7018 # include <sys/socketvar.h>
7019 #endif
7020 #ifdef HAVE_SYS_TIMEOUT_H
7021 # include <sys/timeout.h>
7022 #endif
7023 #ifdef HAVE_NETINET_IN_H
7024 # include <netinet/in.h>
7025 #endif
7026 #ifdef HAVE_NETINET_IN_SYSTM_H
7027 # include <netinet/in_systm.h>
7028 #endif
7029 #ifdef HAVE_NETINET_IP_H
7030 # include <netinet/ip.h>
7031 #endif
7032 #ifdef HAVE_NETINET_IP_VAR_H
7033 # include <netinet/ip_var.h>
7034 #endif
7035 #ifdef HAVE_NETINET_IP_ICMP_H
7036 # include <netinet/ip_icmp.h>
7037 #endif
7038 #ifdef HAVE_NETINET_UDP_H
7039 # include <netinet/udp.h>
7040 #endif
7041 #ifdef HAVE_NETINET_TCP_H
7042 # include <netinet/tcp.h>
7043 #endif
7044 #ifdef HAVE_NETINET_TCP_TIMER_H
7045 #include <netinet/tcp_timer.h>
7046 #endif
7048 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7049 cat >>confdefs.h <<_ACEOF
7050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7051 _ACEOF
7055 done
7058 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7059 do :
7060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7061 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7062 #ifdef HAVE_ASM_TYPES_H
7063 # include <asm/types.h>
7064 #endif
7065 #ifdef HAVE_SYS_SOCKET_H
7066 # include <sys/socket.h>
7067 #endif
7068 #ifdef HAVE_LINUX_TYPES_H
7069 # include <linux/types.h>
7070 #endif
7072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7073 cat >>confdefs.h <<_ACEOF
7074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7075 _ACEOF
7079 done
7082 for ac_header in mach-o/dyld_images.h
7083 do :
7084 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7085 # include <stdbool.h>
7086 #endif
7087 #ifdef HAVE_STDINT_H
7088 # include <stdint.h>
7089 #endif
7091 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7092 cat >>confdefs.h <<_ACEOF
7093 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7094 _ACEOF
7098 done
7101 for ac_header in resolv.h
7102 do :
7103 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7104 #ifdef HAVE_SYS_SOCKET_H
7105 # include <sys/socket.h>
7106 #endif
7107 #ifdef HAVE_NETINET_IN_H
7108 # include <netinet/in.h>
7109 #endif
7110 #ifdef HAVE_ARPA_NAMESER_H
7111 # include <arpa/nameser.h>
7112 #endif
7114 if test "x$ac_cv_header_resolv_h" = xyes; then :
7115 cat >>confdefs.h <<_ACEOF
7116 #define HAVE_RESOLV_H 1
7117 _ACEOF
7121 done
7124 for ac_header in ifaddrs.h
7125 do :
7126 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7128 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7129 cat >>confdefs.h <<_ACEOF
7130 #define HAVE_IFADDRS_H 1
7131 _ACEOF
7135 done
7138 for ac_header in sys/ucontext.h
7139 do :
7140 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7142 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7143 cat >>confdefs.h <<_ACEOF
7144 #define HAVE_SYS_UCONTEXT_H 1
7145 _ACEOF
7149 done
7152 for ac_header in sys/thr.h
7153 do :
7154 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7155 #ifdef HAVE_SYS_UCONTEXT_H
7156 #include <sys/ucontext.h>
7157 #endif
7159 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7160 cat >>confdefs.h <<_ACEOF
7161 #define HAVE_SYS_THR_H 1
7162 _ACEOF
7166 done
7169 for ac_header in pthread_np.h
7170 do :
7171 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7172 #include <pthread.h>
7173 #endif
7175 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7176 cat >>confdefs.h <<_ACEOF
7177 #define HAVE_PTHREAD_NP_H 1
7178 _ACEOF
7182 done
7185 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7186 do :
7187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7189 #include <sys/time.h>
7190 #endif
7191 #include <sys/types.h>
7192 #ifdef HAVE_ASM_TYPES_H
7193 #include <asm/types.h>
7194 #endif
7196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7197 cat >>confdefs.h <<_ACEOF
7198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7199 _ACEOF
7203 done
7206 for ac_header in libprocstat.h
7207 do :
7208 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7209 #include <sys/param.h>
7210 #endif
7211 #ifdef HAVE_SYS_QUEUE_H
7212 #include <sys/queue.h>
7213 #endif
7214 #ifdef HAVE_SYS_SOCKET_H
7215 #include <sys/socket.h>
7216 #endif
7218 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define HAVE_LIBPROCSTAT_H 1
7221 _ACEOF
7225 done
7229 dlldir="\${libdir}/wine"
7231 DLLFLAGS="-D_REENTRANT"
7233 LDRPATH_INSTALL=""
7235 LDRPATH_LOCAL=""
7237 LDEXECFLAGS=""
7239 LIBEXT="so"
7240 DLLEXT=".so"
7241 IMPLIBEXT="def"
7242 # Extract the first word of "ldd", so it can be a program name with args.
7243 set dummy ldd; ac_word=$2
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7245 $as_echo_n "checking for $ac_word... " >&6; }
7246 if ${ac_cv_path_LDD+:} false; then :
7247 $as_echo_n "(cached) " >&6
7248 else
7249 case $LDD in
7250 [\\/]* | ?:[\\/]*)
7251 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 as_dummy="/sbin:/usr/sbin:$PATH"
7256 for as_dir in $as_dummy
7258 IFS=$as_save_IFS
7259 test -z "$as_dir" && as_dir=.
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7270 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7272 esac
7274 LDD=$ac_cv_path_LDD
7275 if test -n "$LDD"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7277 $as_echo "$LDD" >&6; }
7278 else
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7284 if test -n "$ac_tool_prefix"; then
7285 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7286 set dummy ${ac_tool_prefix}otool; ac_word=$2
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288 $as_echo_n "checking for $ac_word... " >&6; }
7289 if ${ac_cv_prog_OTOOL+:} false; then :
7290 $as_echo_n "(cached) " >&6
7291 else
7292 if test -n "$OTOOL"; then
7293 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7294 else
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 for as_dir in $PATH
7298 IFS=$as_save_IFS
7299 test -z "$as_dir" && as_dir=.
7300 for ac_exec_ext in '' $ac_executable_extensions; do
7301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7304 break 2
7306 done
7307 done
7308 IFS=$as_save_IFS
7312 OTOOL=$ac_cv_prog_OTOOL
7313 if test -n "$OTOOL"; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7315 $as_echo "$OTOOL" >&6; }
7316 else
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318 $as_echo "no" >&6; }
7323 if test -z "$ac_cv_prog_OTOOL"; then
7324 ac_ct_OTOOL=$OTOOL
7325 # Extract the first word of "otool", so it can be a program name with args.
7326 set dummy otool; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7330 $as_echo_n "(cached) " >&6
7331 else
7332 if test -n "$ac_ct_OTOOL"; then
7333 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7334 else
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7336 for as_dir in $PATH
7338 IFS=$as_save_IFS
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_ac_ct_OTOOL="otool"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7344 break 2
7346 done
7347 done
7348 IFS=$as_save_IFS
7352 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7353 if test -n "$ac_ct_OTOOL"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7355 $as_echo "$ac_ct_OTOOL" >&6; }
7356 else
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7361 if test "x$ac_ct_OTOOL" = x; then
7362 OTOOL="otool"
7363 else
7364 case $cross_compiling:$ac_tool_warned in
7365 yes:)
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7368 ac_tool_warned=yes ;;
7369 esac
7370 OTOOL=$ac_ct_OTOOL
7372 else
7373 OTOOL="$ac_cv_prog_OTOOL"
7376 if test -n "$ac_tool_prefix"; then
7377 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7378 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7380 $as_echo_n "checking for $ac_word... " >&6; }
7381 if ${ac_cv_prog_READELF+:} false; then :
7382 $as_echo_n "(cached) " >&6
7383 else
7384 if test -n "$READELF"; then
7385 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7386 else
7387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7388 for as_dir in $PATH
7390 IFS=$as_save_IFS
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 break 2
7398 done
7399 done
7400 IFS=$as_save_IFS
7404 READELF=$ac_cv_prog_READELF
7405 if test -n "$READELF"; then
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7407 $as_echo "$READELF" >&6; }
7408 else
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7410 $as_echo "no" >&6; }
7415 if test -z "$ac_cv_prog_READELF"; then
7416 ac_ct_READELF=$READELF
7417 # Extract the first word of "readelf", so it can be a program name with args.
7418 set dummy readelf; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 if test -n "$ac_ct_READELF"; then
7425 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_ac_ct_READELF="readelf"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7445 if test -n "$ac_ct_READELF"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7447 $as_echo "$ac_ct_READELF" >&6; }
7448 else
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7453 if test "x$ac_ct_READELF" = x; then
7454 READELF="true"
7455 else
7456 case $cross_compiling:$ac_tool_warned in
7457 yes:)
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7460 ac_tool_warned=yes ;;
7461 esac
7462 READELF=$ac_ct_READELF
7464 else
7465 READELF="$ac_cv_prog_READELF"
7468 wine_rules_file=conf$$rules.make
7469 rm -f $wine_rules_file
7470 SUBDIRS=""
7472 DISABLED_SUBDIRS=""
7474 CONFIGURE_TARGETS=""
7476 ALL_TEST_RESOURCES=""
7479 wine_fn_append_file ()
7481 as_fn_append $1 " \\$as_nl $2"
7484 wine_fn_append_rule ()
7486 $as_echo "$1" >>$wine_rules_file
7489 wine_fn_has_flag ()
7491 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7494 wine_fn_all_rules ()
7496 wine_fn_append_file SUBDIRS $ac_dir
7497 wine_fn_append_rule \
7498 "all: $ac_dir
7499 .PHONY: $ac_dir
7500 $ac_dir: dummy
7501 @cd $ac_dir && \$(MAKE)"
7504 wine_fn_install_rules ()
7506 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7508 wine_fn_append_rule \
7509 ".PHONY: $ac_dir/install $ac_dir/uninstall
7510 $ac_dir/install:: $ac_dir
7511 @cd $ac_dir && \$(MAKE) install
7512 $ac_dir/uninstall::
7513 @cd $ac_dir && \$(MAKE) uninstall
7514 install:: $ac_dir/install
7515 __uninstall__: $ac_dir/uninstall"
7517 if wine_fn_has_flag install-lib
7518 then
7519 wine_fn_append_rule \
7520 ".PHONY: $ac_dir/install-lib
7521 $ac_dir/install-lib:: $ac_dir
7522 @cd $ac_dir && \$(MAKE) install-lib
7523 install-lib:: $ac_dir/install-lib"
7526 if wine_fn_has_flag install-dev
7527 then
7528 wine_fn_append_rule \
7529 ".PHONY: $ac_dir/install-dev
7530 $ac_dir/install-dev:: $ac_dir
7531 @cd $ac_dir && \$(MAKE) install-dev
7532 install-dev:: $ac_dir/install-dev"
7536 wine_fn_clean_rules ()
7538 ac_clean=$@
7540 if wine_fn_has_flag clean
7541 then
7542 wine_fn_append_rule \
7543 "$ac_dir/clean: dummy
7544 @cd $ac_dir && \$(MAKE) clean"
7545 else
7546 wine_fn_append_rule \
7547 "$ac_dir/clean: dummy
7548 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7550 wine_fn_append_rule \
7551 "__clean__: $ac_dir/clean
7552 .PHONY: $ac_dir/clean"
7555 wine_fn_disabled_rules ()
7557 ac_clean=$@
7559 wine_fn_append_file SUBDIRS $ac_dir
7560 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7561 wine_fn_append_rule \
7562 "__clean__: $ac_dir/clean
7563 .PHONY: $ac_dir/clean
7564 $ac_dir/clean: dummy
7565 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7568 wine_fn_config_makefile ()
7570 ac_dir=$1
7571 ac_enable=$2
7572 ac_flags=$3
7574 case $ac_dir in
7575 fonts|server) test -z "$with_wine64" || return ;;
7576 esac
7577 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7578 wine_fn_disabled_rules; return
7580 wine_fn_all_rules
7581 wine_fn_install_rules
7582 wine_fn_clean_rules
7585 wine_fn_config_lib ()
7587 ac_name=$1
7588 ac_flags=$2
7589 ac_dir=dlls/$ac_name
7590 ac_deps="include"
7592 if test "x$enable_tools" = xno; then :
7594 else
7595 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7597 wine_fn_all_rules
7598 wine_fn_clean_rules
7600 wine_fn_append_rule \
7601 ".PHONY: $ac_dir/install $ac_dir/uninstall
7602 $ac_dir/install:: $ac_dir
7603 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7604 $ac_dir/uninstall::
7605 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7606 install install-dev:: $ac_dir/install
7607 __uninstall__: $ac_dir/uninstall
7608 __builddeps__: $ac_dir
7609 $ac_dir: $ac_deps"
7612 wine_fn_config_dll ()
7614 ac_name=$1
7615 ac_dir=dlls/$ac_name
7616 ac_enable=$2
7617 ac_flags=$3
7618 ac_implib=${4:-$ac_name}
7619 ac_file=$ac_dir/lib$ac_implib
7620 ac_dll=$ac_name
7621 ac_deps="include"
7622 ac_implibflags=""
7624 if test "x$enable_tools" = xno; then :
7626 else
7627 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7629 case $ac_name in
7630 *16) ac_implibflags=" -m16" ;;
7631 *.*) ;;
7632 *) ac_dll=$ac_dll.dll ;;
7633 esac
7635 ac_clean=
7636 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7637 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7639 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7640 if test "$ac_enable" != enable_win16
7641 then
7642 wine_fn_clean_rules $ac_clean
7643 wine_fn_append_file SUBDIRS $ac_dir
7644 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7645 else
7646 wine_fn_disabled_rules $ac_clean
7647 return
7649 else
7650 wine_fn_all_rules
7651 wine_fn_clean_rules $ac_clean
7652 wine_fn_append_rule \
7653 "$ac_dir: __builddeps__
7654 manpages htmlpages sgmlpages xmlpages::
7655 @cd $ac_dir && \$(MAKE) \$@
7656 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7657 install install-lib:: $ac_dir/install-lib
7658 __uninstall__: $ac_dir/uninstall"
7659 if test -n "$DLLEXT"
7660 then
7661 wine_fn_append_rule \
7662 "$ac_dir/install-lib:: $ac_dir
7663 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7664 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7665 $ac_dir/uninstall::
7666 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7667 else
7668 wine_fn_append_rule \
7669 "$ac_dir/install-lib:: $ac_dir
7670 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7671 $ac_dir/uninstall::
7672 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7676 if wine_fn_has_flag staticimplib
7677 then
7678 wine_fn_append_rule \
7679 "__builddeps__: $ac_file.a
7680 $ac_file.a $ac_file.cross.a: $ac_deps
7681 $ac_file.a: dummy
7682 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7683 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7684 $ac_dir/install-dev:: $ac_file.a
7685 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7686 $ac_dir/uninstall::
7687 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7688 install install-dev:: $ac_dir/install-dev
7689 __uninstall__: $ac_dir/uninstall"
7691 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7692 then
7693 wine_fn_append_rule \
7694 "__builddeps__: $ac_file.cross.a
7695 $ac_file.cross.a: dummy
7696 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7699 elif wine_fn_has_flag implib
7700 then
7701 wine_fn_append_rule \
7702 "__builddeps__: $ac_file.$IMPLIBEXT
7703 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7704 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7705 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7706 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7707 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7708 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7709 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7710 $ac_dir/uninstall::
7711 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7712 install install-dev:: $ac_dir/install-dev
7713 __uninstall__: $ac_dir/uninstall"
7714 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7715 then
7716 wine_fn_append_rule \
7717 "__builddeps__: $ac_file.cross.a
7718 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7719 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7724 wine_fn_config_program ()
7726 ac_name=$1
7727 ac_dir=programs/$ac_name
7728 ac_enable=$2
7729 ac_flags=$3
7730 ac_program=$ac_name
7732 case $ac_name in
7733 *.*) ;;
7734 *) ac_program=$ac_program.exe ;;
7735 esac
7737 ac_clean=
7738 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7739 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7741 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7742 wine_fn_disabled_rules $ac_clean; return
7745 wine_fn_all_rules
7746 wine_fn_clean_rules $ac_clean
7747 wine_fn_append_rule "$ac_dir: __builddeps__"
7749 wine_fn_has_flag install || return
7750 wine_fn_append_rule \
7751 ".PHONY: $ac_dir/install $ac_dir/uninstall
7752 install install-lib:: $ac_dir/install
7753 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$DLLEXT"
7756 then
7757 wine_fn_append_rule \
7758 "$ac_dir/install:: $ac_dir
7759 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7760 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7761 $ac_dir/uninstall::
7762 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7764 if test -z "$with_wine64" && wine_fn_has_flag installbin
7765 then
7766 wine_fn_append_rule \
7767 "$ac_dir/install:: __tooldeps__
7768 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7769 $ac_dir/uninstall::
7770 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7772 else
7773 wine_fn_append_rule \
7774 "$ac_dir/install:: $ac_dir
7775 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7780 if test -z "$with_wine64" && wine_fn_has_flag manpage
7781 then
7782 wine_fn_append_rule \
7783 "$ac_dir/install:: $ac_dir
7784 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7790 wine_fn_config_test ()
7792 ac_dir=$1
7793 ac_name=$2
7794 ac_flags=$3
7796 ac_clean=
7797 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7798 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7800 if test "x$enable_tests" = xno; then :
7801 wine_fn_disabled_rules $ac_clean; return
7804 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7805 wine_fn_all_rules
7806 wine_fn_clean_rules $ac_clean
7808 wine_fn_append_rule \
7809 "$ac_dir: __builddeps__
7810 programs/winetest: $ac_dir
7811 check test: $ac_dir/test
7812 .PHONY: $ac_dir/test
7813 $ac_dir/test: dummy
7814 @cd $ac_dir && \$(MAKE) test
7815 testclean::
7816 \$(RM) $ac_dir/*.ok"
7818 if test -n "$CROSSTARGET"
7819 then
7820 wine_fn_append_rule \
7821 "crosstest: $ac_dir/crosstest
7822 .PHONY: $ac_dir/crosstest
7823 $ac_dir/crosstest: __builddeps__ dummy
7824 @cd $ac_dir && \$(MAKE) crosstest"
7828 wine_fn_config_tool ()
7830 ac_dir=$1
7831 ac_flags=$2
7832 if test "x$enable_tools" = xno; then :
7833 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7836 wine_fn_all_rules
7837 wine_fn_install_rules
7838 wine_fn_clean_rules
7840 wine_fn_append_rule "__tooldeps__: $ac_dir"
7841 wine_fn_append_rule "$ac_dir: libs/port"
7842 case $ac_dir in
7843 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7844 esac
7847 wine_fn_config_symlink ()
7849 ac_linkdir=
7850 if test "x$1" = "x-d"
7851 then
7852 ac_linkdir=$2
7853 shift; shift
7855 ac_links=$@
7856 wine_fn_append_rule \
7857 "$ac_links:
7858 @./config.status \$@"
7859 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7860 test -n "$ac_linkdir" || return
7861 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7864 wine_binary="wine"
7865 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7866 WINELOADER_PROGRAMS="$wine_binary"
7868 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7870 case $host_os in
7871 cygwin*|mingw32*)
7872 if test -n "$ac_tool_prefix"; then
7873 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7874 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_prog_DLLTOOL+:} false; then :
7878 $as_echo_n "(cached) " >&6
7879 else
7880 if test -n "$DLLTOOL"; then
7881 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7882 else
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7884 for as_dir in $PATH
7886 IFS=$as_save_IFS
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 break 2
7894 done
7895 done
7896 IFS=$as_save_IFS
7900 DLLTOOL=$ac_cv_prog_DLLTOOL
7901 if test -n "$DLLTOOL"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7903 $as_echo "$DLLTOOL" >&6; }
7904 else
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7911 if test -z "$ac_cv_prog_DLLTOOL"; then
7912 ac_ct_DLLTOOL=$DLLTOOL
7913 # Extract the first word of "dlltool", so it can be a program name with args.
7914 set dummy dlltool; ac_word=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7918 $as_echo_n "(cached) " >&6
7919 else
7920 if test -n "$ac_ct_DLLTOOL"; then
7921 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7941 if test -n "$ac_ct_DLLTOOL"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7943 $as_echo "$ac_ct_DLLTOOL" >&6; }
7944 else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7949 if test "x$ac_ct_DLLTOOL" = x; then
7950 DLLTOOL="false"
7951 else
7952 case $cross_compiling:$ac_tool_warned in
7953 yes:)
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7956 ac_tool_warned=yes ;;
7957 esac
7958 DLLTOOL=$ac_ct_DLLTOOL
7960 else
7961 DLLTOOL="$ac_cv_prog_DLLTOOL"
7964 LIBEXT="dll"
7965 DLLEXT=""
7966 IMPLIBEXT="a"
7967 enable_iphlpapi=${enable_iphlpapi:-no}
7968 enable_kernel32=${enable_kernel32:-no}
7969 enable_msvcrt=${enable_msvcrt:-no}
7970 enable_ntdll=${enable_ntdll:-no}
7971 enable_ws2_32=${enable_ws2_32:-no}
7972 enable_loader=${enable_loader:-no}
7973 enable_server=${enable_server:-no}
7974 with_x=${with_x:-no}
7975 with_pthread=${with_pthread:-no}
7977 crtlibs=""
7978 case $host_os in
7979 mingw32*)
7980 crtlibs="-lmsvcrt"
7981 SOCKET_LIBS="-lws2_32"
7983 esac
7985 LIBWINE_SHAREDLIB="libwine.dll"
7987 LIBWINE_IMPORTLIB="libwine.a"
7989 LIBWINE_INSTALL_LIB="libwine.dll"
7991 LIBWINE_INSTALL_DEV="libwine.a"
7993 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7995 LIBWINE_DEPENDS="wine.def"
7999 darwin*|macosx*)
8000 for ac_header in libunwind.h
8001 do :
8002 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8003 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_LIBUNWIND_H 1
8006 _ACEOF
8010 done
8012 LIBEXT="dylib"
8013 DLLFLAGS="$DLLFLAGS -fPIC"
8014 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8015 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8016 COREFOUNDATION_LIBS="-framework CoreFoundation"
8018 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8020 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8022 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8024 CORESERVICES_LIBS="-framework CoreServices"
8026 APPKIT_LIBS="-framework AppKit"
8028 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8030 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8031 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 ac_wine_try_cflags_saved=$CFLAGS
8035 CFLAGS="$CFLAGS -Wl,-no_pie"
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h. */
8038 int main(int argc, char **argv) { return 0; }
8039 _ACEOF
8040 if ac_fn_c_try_link "$LINENO"; then :
8041 ac_cv_cflags__Wl__no_pie=yes
8042 else
8043 ac_cv_cflags__Wl__no_pie=no
8045 rm -f core conftest.err conftest.$ac_objext \
8046 conftest$ac_exeext conftest.$ac_ext
8047 CFLAGS=$ac_wine_try_cflags_saved
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8050 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8051 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8052 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8054 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8055 then
8056 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8059 if test "$ac_cv_header_Security_Security_h" = "yes"
8060 then
8061 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8063 ac_save_LIBS="$LIBS"
8064 LIBS="$LIBS $SECURITY_LIBS"
8065 for ac_func in SSLCopyPeerCertificates
8066 do :
8067 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8068 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8069 cat >>confdefs.h <<_ACEOF
8070 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8071 _ACEOF
8074 done
8076 LIBS="$ac_save_LIBS"
8077 with_gnutls=${with_gnutls:-no}
8079 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8080 then
8081 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8082 then
8083 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8085 else
8086 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8089 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8090 ac_save_LIBS="$LIBS"
8091 LIBS="$LIBS $COREAUDIO_LIBS"
8092 for ac_func in AUGraphAddNode
8093 do :
8094 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8095 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_AUGRAPHADDNODE 1
8098 _ACEOF
8101 done
8103 LIBS="$ac_save_LIBS"
8105 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8106 then
8107 OPENAL_LIBS="-framework OpenAL"
8110 cat >>confdefs.h <<_ACEOF
8111 #define HAVE_OPENAL 1
8112 _ACEOF
8114 ac_cv_lib_openal=yes
8116 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8117 then
8118 OPENCL_LIBS="-framework OpenCL"
8120 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8122 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8123 then
8124 ac_save_LIBS="$LIBS"
8125 LIBS="$LIBS $IOKIT_LIBS"
8126 for ac_func in IOHIDManagerCreate
8127 do :
8128 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8129 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8130 cat >>confdefs.h <<_ACEOF
8131 #define HAVE_IOHIDMANAGERCREATE 1
8132 _ACEOF
8135 done
8137 LIBS="$ac_save_LIBS"
8139 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8140 then
8141 ac_save_LIBS="$LIBS"
8142 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8144 $as_echo_n "checking for the QuickTime framework... " >&6; }
8145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8147 #include <QuickTime/ImageCompression.h>
8149 main ()
8151 CodecManagerVersion(NULL);
8153 return 0;
8155 _ACEOF
8156 if ac_fn_c_try_link "$LINENO"; then :
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8158 $as_echo "yes" >&6; }
8159 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8161 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8162 else
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8164 $as_echo "no" >&6; }
8165 ac_cv_header_QuickTime_ImageCompression_h=no
8167 rm -f core conftest.err conftest.$ac_objext \
8168 conftest$ac_exeext conftest.$ac_ext
8169 LIBS="$ac_save_LIBS"
8171 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8172 then
8173 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8175 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8176 then
8177 CARBON_LIBS="-framework Carbon"
8181 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8182 then
8183 ac_save_LIBS="$LIBS"
8184 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8185 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8186 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8187 enable_winemac_drv=${enable_winemac_drv:-yes}
8190 LIBS="$ac_save_LIBS"
8193 if test "x$enable_win16" = "xyes"
8194 then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8196 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8197 if test "$cross_compiling" = yes; then :
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8199 $as_echo "cross-compiling, assuming yes" >&6; }
8200 else
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 asm(".text\n"
8204 "bad:\tnop;nop\n"
8205 "good:\tnop;nop\n\t"
8206 ".globl _testfunc\n"
8207 "_testfunc:\tcallw good");
8208 extern void testfunc();
8210 main ()
8212 unsigned short *p = (unsigned short *)testfunc;
8213 return p[0] != 0xe866 || p[1] != 0xfffa
8215 return 0;
8217 _ACEOF
8218 if ac_fn_c_try_run "$LINENO"; then :
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8220 $as_echo "yes" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8224 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
8226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8227 conftest.$ac_objext conftest.beam conftest.$ac_ext
8232 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8234 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8236 LIBWINE_INSTALL_DEV="libwine.dylib"
8238 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8240 WINELOADER_DEPENDS="wine_info.plist"
8244 linux-android*)
8245 DLLFLAGS="$DLLFLAGS -fPIC"
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8247 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8248 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 ac_wine_try_cflags_saved=$CFLAGS
8252 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 /* end confdefs.h. */
8255 int main(int argc, char **argv) { return 0; }
8256 _ACEOF
8257 if ac_fn_c_try_link "$LINENO"; then :
8258 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8259 else
8260 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8262 rm -f core conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 CFLAGS=$ac_wine_try_cflags_saved
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8267 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8268 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8269 LDEXECFLAGS="-Wl,--export-dynamic"
8271 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8273 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8274 if eval \${$as_ac_var+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 ac_wine_try_cflags_saved=$CFLAGS
8278 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8281 int main(int argc, char **argv) { return 0; }
8282 _ACEOF
8283 if ac_fn_c_try_link "$LINENO"; then :
8284 eval "$as_ac_var=yes"
8285 else
8286 eval "$as_ac_var=no"
8288 rm -f core conftest.err conftest.$ac_objext \
8289 conftest$ac_exeext conftest.$ac_ext
8290 CFLAGS=$ac_wine_try_cflags_saved
8292 eval ac_res=\$$as_ac_var
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8294 $as_echo "$ac_res" >&6; }
8295 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8296 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8297 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8298 else
8299 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8301 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8302 if eval \${$as_ac_var+:} false; then :
8303 $as_echo_n "(cached) " >&6
8304 else
8305 ac_wine_try_cflags_saved=$CFLAGS
8306 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 int main(int argc, char **argv) { return 0; }
8310 _ACEOF
8311 if ac_fn_c_try_link "$LINENO"; then :
8312 eval "$as_ac_var=yes"
8313 else
8314 eval "$as_ac_var=no"
8316 rm -f core conftest.err conftest.$ac_objext \
8317 conftest$ac_exeext conftest.$ac_ext
8318 CFLAGS=$ac_wine_try_cflags_saved
8320 eval ac_res=\$$as_ac_var
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8322 $as_echo "$ac_res" >&6; }
8323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8324 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8325 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8330 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8331 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 ac_wine_try_cflags_saved=$CFLAGS
8335 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8338 int main(int argc, char **argv) { return 0; }
8339 _ACEOF
8340 if ac_fn_c_try_link "$LINENO"; then :
8341 ac_cv_cflags__Wl___enable_new_dtags=yes
8342 else
8343 ac_cv_cflags__Wl___enable_new_dtags=no
8345 rm -f core conftest.err conftest.$ac_objext \
8346 conftest$ac_exeext conftest.$ac_ext
8347 CFLAGS=$ac_wine_try_cflags_saved
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8350 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8351 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8352 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8355 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8356 if ${ac_cv_cflags__Wl__pie+:} false; then :
8357 $as_echo_n "(cached) " >&6
8358 else
8359 ac_wine_try_cflags_saved=$CFLAGS
8360 CFLAGS="$CFLAGS -Wl,-pie"
8361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8363 int main(int argc, char **argv) { return 0; }
8364 _ACEOF
8365 if ac_fn_c_try_link "$LINENO"; then :
8366 ac_cv_cflags__Wl__pie=yes
8367 else
8368 ac_cv_cflags__Wl__pie=no
8370 rm -f core conftest.err conftest.$ac_objext \
8371 conftest$ac_exeext conftest.$ac_ext
8372 CFLAGS=$ac_wine_try_cflags_saved
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8375 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8376 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8377 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8380 LIBWINE_SHAREDLIB="libwine.so"
8382 LIBWINE_INSTALL_LIB="libwine.so"
8384 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8389 DLLFLAGS="$DLLFLAGS -fPIC"
8390 LDEXECFLAGS=""
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8392 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8393 if ${ac_cv_c_dll_gnuelf+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 ac_wine_try_cflags_saved=$CFLAGS
8397 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8399 /* end confdefs.h. */
8400 void myfunc() {}
8401 _ACEOF
8402 if ac_fn_c_try_link "$LINENO"; then :
8403 ac_cv_c_dll_gnuelf="yes"
8404 else
8405 ac_cv_c_dll_gnuelf="no"
8407 rm -f core conftest.err conftest.$ac_objext \
8408 conftest$ac_exeext conftest.$ac_ext
8409 CFLAGS=$ac_wine_try_cflags_saved
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8412 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8413 if test "$ac_cv_c_dll_gnuelf" = "yes"
8414 then
8415 LIBWINE_LDFLAGS="-shared"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8418 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8429 else
8430 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8437 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8438 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8439 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8440 else
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8443 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8454 else
8455 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8464 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8468 echo '{ global: *; };' >conftest.map
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8470 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8471 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8472 $as_echo_n "(cached) " >&6
8473 else
8474 ac_wine_try_cflags_saved=$CFLAGS
8475 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 int main(int argc, char **argv) { return 0; }
8479 _ACEOF
8480 if ac_fn_c_try_link "$LINENO"; then :
8481 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8482 else
8483 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8485 rm -f core conftest.err conftest.$ac_objext \
8486 conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8490 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8491 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8492 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8494 rm -f conftest.map
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8498 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8509 else
8510 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8517 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8518 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8519 LDEXECFLAGS="-Wl,--export-dynamic"
8522 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8524 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8525 if eval \${$as_ac_var+:} false; then :
8526 $as_echo_n "(cached) " >&6
8527 else
8528 ac_wine_try_cflags_saved=$CFLAGS
8529 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531 /* end confdefs.h. */
8532 int main(int argc, char **argv) { return 0; }
8533 _ACEOF
8534 if ac_fn_c_try_link "$LINENO"; then :
8535 eval "$as_ac_var=yes"
8536 else
8537 eval "$as_ac_var=no"
8539 rm -f core conftest.err conftest.$ac_objext \
8540 conftest$ac_exeext conftest.$ac_ext
8541 CFLAGS=$ac_wine_try_cflags_saved
8543 eval ac_res=\$$as_ac_var
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8545 $as_echo "$ac_res" >&6; }
8546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8547 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8548 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8549 else
8550 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8552 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8553 if eval \${$as_ac_var+:} false; then :
8554 $as_echo_n "(cached) " >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 int main(int argc, char **argv) { return 0; }
8561 _ACEOF
8562 if ac_fn_c_try_link "$LINENO"; then :
8563 eval "$as_ac_var=yes"
8564 else
8565 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.$ac_objext \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 eval ac_res=\$$as_ac_var
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8573 $as_echo "$ac_res" >&6; }
8574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8575 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8576 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8581 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8582 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8583 $as_echo_n "(cached) " >&6
8584 else
8585 ac_wine_try_cflags_saved=$CFLAGS
8586 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8588 /* end confdefs.h. */
8589 int main(int argc, char **argv) { return 0; }
8590 _ACEOF
8591 if ac_fn_c_try_link "$LINENO"; then :
8592 ac_cv_cflags__Wl___enable_new_dtags=yes
8593 else
8594 ac_cv_cflags__Wl___enable_new_dtags=no
8596 rm -f core conftest.err conftest.$ac_objext \
8597 conftest$ac_exeext conftest.$ac_ext
8598 CFLAGS=$ac_wine_try_cflags_saved
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8601 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8602 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8603 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8606 case $host_cpu in
8607 *i[3456789]86* | x86_64)
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8609 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8610 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8611 $as_echo_n "(cached) " >&6
8612 else
8613 ac_wine_try_cflags_saved=$CFLAGS
8614 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8617 int main(int argc, char **argv) { return 0; }
8618 _ACEOF
8619 if ac_fn_c_try_link "$LINENO"; then :
8620 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8621 else
8622 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8624 rm -f core conftest.err conftest.$ac_objext \
8625 conftest$ac_exeext conftest.$ac_ext
8626 CFLAGS=$ac_wine_try_cflags_saved
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8629 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8630 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8631 case $host_os in
8632 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8633 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8634 esac
8635 else
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8637 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8638 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8639 $as_echo_n "(cached) " >&6
8640 else
8641 ac_wine_try_cflags_saved=$CFLAGS
8642 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8644 /* end confdefs.h. */
8645 int main(int argc, char **argv) { return 0; }
8646 _ACEOF
8647 if ac_fn_c_try_link "$LINENO"; then :
8648 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8649 else
8650 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8652 rm -f core conftest.err conftest.$ac_objext \
8653 conftest$ac_exeext conftest.$ac_ext
8654 CFLAGS=$ac_wine_try_cflags_saved
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8657 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8658 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8659 case $host_os in
8660 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8661 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8662 esac
8664 # Extract the first word of "prelink", so it can be a program name with args.
8665 set dummy prelink; ac_word=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8667 $as_echo_n "checking for $ac_word... " >&6; }
8668 if ${ac_cv_path_PRELINK+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 case $PRELINK in
8672 [\\/]* | ?:[\\/]*)
8673 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8677 for as_dir in /sbin /usr/sbin $PATH
8679 IFS=$as_save_IFS
8680 test -z "$as_dir" && as_dir=.
8681 for ac_exec_ext in '' $ac_executable_extensions; do
8682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8685 break 2
8687 done
8688 done
8689 IFS=$as_save_IFS
8691 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8693 esac
8695 PRELINK=$ac_cv_path_PRELINK
8696 if test -n "$PRELINK"; then
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8698 $as_echo "$PRELINK" >&6; }
8699 else
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8701 $as_echo "no" >&6; }
8705 if test "x$PRELINK" = xfalse
8706 then
8707 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8711 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8712 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8713 $as_echo_n "(cached) " >&6
8714 else
8715 ac_wine_try_cflags_saved=$CFLAGS
8716 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h. */
8719 int main(int argc, char **argv) { return 0; }
8720 _ACEOF
8721 if ac_fn_c_try_link "$LINENO"; then :
8722 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8723 else
8724 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8726 rm -f core conftest.err conftest.$ac_objext \
8727 conftest$ac_exeext conftest.$ac_ext
8728 CFLAGS=$ac_wine_try_cflags_saved
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8731 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8732 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8733 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8736 esac
8738 else
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8740 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8741 if ${ac_cv_c_dll_unixware+:} false; then :
8742 $as_echo_n "(cached) " >&6
8743 else
8744 ac_wine_try_cflags_saved=$CFLAGS
8745 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8748 void myfunc() {}
8749 _ACEOF
8750 if ac_fn_c_try_link "$LINENO"; then :
8751 ac_cv_c_dll_unixware="yes"
8752 else
8753 ac_cv_c_dll_unixware="no"
8755 rm -f core conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 CFLAGS=$ac_wine_try_cflags_saved
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8760 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8761 if test "$ac_cv_c_dll_unixware" = "yes"
8762 then
8763 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8766 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8768 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8770 LIBWINE_INSTALL_DEV="libwine.so"
8772 LIBWINE_DEPENDS="wine.map"
8775 esac
8777 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8778 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8779 enable_winemac_drv=${enable_winemac_drv:-no}
8780 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8782 CROSSTARGET=""
8784 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8785 then
8786 case "$host_cpu" in
8787 arm*)
8788 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8789 i[3456789]86*)
8790 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
8791 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8792 mingw32-gcc" ;;
8793 x86_64)
8794 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
8795 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8797 ac_prefix_list="" ;;
8798 esac
8799 for ac_prog in $ac_prefix_list
8801 # Extract the first word of "$ac_prog", so it can be a program name with args.
8802 set dummy $ac_prog; ac_word=$2
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8804 $as_echo_n "checking for $ac_word... " >&6; }
8805 if ${ac_cv_prog_CROSSCC+:} false; then :
8806 $as_echo_n "(cached) " >&6
8807 else
8808 if test -n "$CROSSCC"; then
8809 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8810 else
8811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8812 for as_dir in $PATH
8814 IFS=$as_save_IFS
8815 test -z "$as_dir" && as_dir=.
8816 for ac_exec_ext in '' $ac_executable_extensions; do
8817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8818 ac_cv_prog_CROSSCC="$ac_prog"
8819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8820 break 2
8822 done
8823 done
8824 IFS=$as_save_IFS
8828 CROSSCC=$ac_cv_prog_CROSSCC
8829 if test -n "$CROSSCC"; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8831 $as_echo "$CROSSCC" >&6; }
8832 else
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834 $as_echo "no" >&6; }
8838 test -n "$CROSSCC" && break
8839 done
8840 test -n "$CROSSCC" || CROSSCC="false"
8842 if test "$CROSSCC" != "false"
8843 then
8844 ac_save_CC="$CC"
8845 CC="$CROSSCC"
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8847 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8852 main ()
8856 return 0;
8858 _ACEOF
8859 if ac_fn_c_try_compile "$LINENO"; then :
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8861 $as_echo "yes" >&6; }
8862 set x $CROSSCC
8863 shift
8864 while test $# -ge 1
8866 case "$1" in
8867 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8868 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8869 esac
8870 shift
8871 done
8872 else
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8877 CC="$ac_save_CC"
8882 if test "$ac_cv_header_pthread_h" = "yes"
8883 then
8884 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8885 if test "x$ac_cv_func_pthread_create" = xyes; then :
8887 else
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8889 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8890 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8891 $as_echo_n "(cached) " >&6
8892 else
8893 ac_check_lib_save_LIBS=$LIBS
8894 LIBS="-lpthread $LIBS"
8895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8896 /* end confdefs.h. */
8898 /* Override any GCC internal prototype to avoid an error.
8899 Use char because int might match the return type of a GCC
8900 builtin and then its argument prototype would still apply. */
8901 #ifdef __cplusplus
8902 extern "C"
8903 #endif
8904 char pthread_create ();
8906 main ()
8908 return pthread_create ();
8910 return 0;
8912 _ACEOF
8913 if ac_fn_c_try_link "$LINENO"; then :
8914 ac_cv_lib_pthread_pthread_create=yes
8915 else
8916 ac_cv_lib_pthread_pthread_create=no
8918 rm -f core conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8923 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8924 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8925 PTHREAD_LIBS="-lpthread"
8932 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8933 case "x$with_pthread" in
8934 xno) ;;
8935 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8936 Wine cannot support threads without libpthread.
8937 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8938 esac
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8944 $as_echo_n "checking for X... " >&6; }
8947 # Check whether --with-x was given.
8948 if test "${with_x+set}" = set; then :
8949 withval=$with_x;
8952 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8953 if test "x$with_x" = xno; then
8954 # The user explicitly disabled X.
8955 have_x=disabled
8956 else
8957 case $x_includes,$x_libraries in #(
8958 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8959 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8960 $as_echo_n "(cached) " >&6
8961 else
8962 # One or both of the vars are not set, and there is no cached value.
8963 ac_x_includes=no ac_x_libraries=no
8964 rm -f -r conftest.dir
8965 if mkdir conftest.dir; then
8966 cd conftest.dir
8967 cat >Imakefile <<'_ACEOF'
8968 incroot:
8969 @echo incroot='${INCROOT}'
8970 usrlibdir:
8971 @echo usrlibdir='${USRLIBDIR}'
8972 libdir:
8973 @echo libdir='${LIBDIR}'
8974 _ACEOF
8975 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8976 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8977 for ac_var in incroot usrlibdir libdir; do
8978 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8979 done
8980 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8981 for ac_extension in a so sl dylib la dll; do
8982 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8983 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8984 ac_im_usrlibdir=$ac_im_libdir; break
8986 done
8987 # Screen out bogus values from the imake configuration. They are
8988 # bogus both because they are the default anyway, and because
8989 # using them would break gcc on systems where it needs fixed includes.
8990 case $ac_im_incroot in
8991 /usr/include) ac_x_includes= ;;
8992 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8993 esac
8994 case $ac_im_usrlibdir in
8995 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8996 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8997 esac
8999 cd ..
9000 rm -f -r conftest.dir
9003 # Standard set of common directories for X headers.
9004 # Check X11 before X11Rn because it is often a symlink to the current release.
9005 ac_x_header_dirs='
9006 /usr/X11/include
9007 /usr/X11R7/include
9008 /usr/X11R6/include
9009 /usr/X11R5/include
9010 /usr/X11R4/include
9012 /usr/include/X11
9013 /usr/include/X11R7
9014 /usr/include/X11R6
9015 /usr/include/X11R5
9016 /usr/include/X11R4
9018 /usr/local/X11/include
9019 /usr/local/X11R7/include
9020 /usr/local/X11R6/include
9021 /usr/local/X11R5/include
9022 /usr/local/X11R4/include
9024 /usr/local/include/X11
9025 /usr/local/include/X11R7
9026 /usr/local/include/X11R6
9027 /usr/local/include/X11R5
9028 /usr/local/include/X11R4
9030 /usr/X386/include
9031 /usr/x386/include
9032 /usr/XFree86/include/X11
9034 /usr/include
9035 /usr/local/include
9036 /usr/unsupported/include
9037 /usr/athena/include
9038 /usr/local/x11r5/include
9039 /usr/lpp/Xamples/include
9041 /usr/openwin/include
9042 /usr/openwin/share/include'
9044 if test "$ac_x_includes" = no; then
9045 # Guess where to find include files, by looking for Xlib.h.
9046 # First, try using that file with no special directory specified.
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <X11/Xlib.h>
9050 _ACEOF
9051 if ac_fn_c_try_cpp "$LINENO"; then :
9052 # We can compile using X headers with no special include directory.
9053 ac_x_includes=
9054 else
9055 for ac_dir in $ac_x_header_dirs; do
9056 if test -r "$ac_dir/X11/Xlib.h"; then
9057 ac_x_includes=$ac_dir
9058 break
9060 done
9062 rm -f conftest.err conftest.i conftest.$ac_ext
9063 fi # $ac_x_includes = no
9065 if test "$ac_x_libraries" = no; then
9066 # Check for the libraries.
9067 # See if we find them without any special options.
9068 # Don't add to $LIBS permanently.
9069 ac_save_LIBS=$LIBS
9070 LIBS="-lX11 $LIBS"
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <X11/Xlib.h>
9075 main ()
9077 XrmInitialize ()
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_link "$LINENO"; then :
9083 LIBS=$ac_save_LIBS
9084 # We can link X programs with no special library path.
9085 ac_x_libraries=
9086 else
9087 LIBS=$ac_save_LIBS
9088 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9090 # Don't even attempt the hair of trying to link an X program!
9091 for ac_extension in a so sl dylib la dll; do
9092 if test -r "$ac_dir/libX11.$ac_extension"; then
9093 ac_x_libraries=$ac_dir
9094 break 2
9096 done
9097 done
9099 rm -f core conftest.err conftest.$ac_objext \
9100 conftest$ac_exeext conftest.$ac_ext
9101 fi # $ac_x_libraries = no
9103 case $ac_x_includes,$ac_x_libraries in #(
9104 no,* | *,no | *\'*)
9105 # Didn't find X, or a directory has "'" in its name.
9106 ac_cv_have_x="have_x=no";; #(
9108 # Record where we found X for the cache.
9109 ac_cv_have_x="have_x=yes\
9110 ac_x_includes='$ac_x_includes'\
9111 ac_x_libraries='$ac_x_libraries'"
9112 esac
9114 ;; #(
9115 *) have_x=yes;;
9116 esac
9117 eval "$ac_cv_have_x"
9118 fi # $with_x != no
9120 if test "$have_x" != yes; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9122 $as_echo "$have_x" >&6; }
9123 no_x=yes
9124 else
9125 # If each of the values was on the command line, it overrides each guess.
9126 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9127 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9128 # Update the cache value to reflect the command line values.
9129 ac_cv_have_x="have_x=yes\
9130 ac_x_includes='$x_includes'\
9131 ac_x_libraries='$x_libraries'"
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9133 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9136 if test "$no_x" = yes; then
9137 # Not all programs may use this symbol, but it does not hurt to define it.
9139 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9141 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9142 else
9143 if test -n "$x_includes"; then
9144 X_CFLAGS="$X_CFLAGS -I$x_includes"
9147 # It would also be nice to do this for all -L options, not just this one.
9148 if test -n "$x_libraries"; then
9149 X_LIBS="$X_LIBS -L$x_libraries"
9150 # For Solaris; some versions of Sun CC require a space after -R and
9151 # others require no space. Words are not sufficient . . . .
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9153 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9154 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9155 ac_xsave_c_werror_flag=$ac_c_werror_flag
9156 ac_c_werror_flag=yes
9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9161 main ()
9165 return 0;
9167 _ACEOF
9168 if ac_fn_c_try_link "$LINENO"; then :
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9170 $as_echo "no" >&6; }
9171 X_LIBS="$X_LIBS -R$x_libraries"
9172 else
9173 LIBS="$ac_xsave_LIBS -R $x_libraries"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9178 main ()
9182 return 0;
9184 _ACEOF
9185 if ac_fn_c_try_link "$LINENO"; then :
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9187 $as_echo "yes" >&6; }
9188 X_LIBS="$X_LIBS -R $x_libraries"
9189 else
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9191 $as_echo "neither works" >&6; }
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9198 ac_c_werror_flag=$ac_xsave_c_werror_flag
9199 LIBS=$ac_xsave_LIBS
9202 # Check for system-dependent libraries X programs must link with.
9203 # Do this before checking for the system-independent R6 libraries
9204 # (-lICE), since we may need -lsocket or whatever for X linking.
9206 if test "$ISC" = yes; then
9207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9208 else
9209 # Martyn Johnson says this is needed for Ultrix, if the X
9210 # libraries were built with DECnet support. And Karl Berry says
9211 # the Alpha needs dnet_stub (dnet does not exist).
9212 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9219 #ifdef __cplusplus
9220 extern "C"
9221 #endif
9222 char XOpenDisplay ();
9224 main ()
9226 return XOpenDisplay ();
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9233 else
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9235 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9236 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9237 $as_echo_n "(cached) " >&6
9238 else
9239 ac_check_lib_save_LIBS=$LIBS
9240 LIBS="-ldnet $LIBS"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char dnet_ntoa ();
9252 main ()
9254 return dnet_ntoa ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9260 ac_cv_lib_dnet_dnet_ntoa=yes
9261 else
9262 ac_cv_lib_dnet_dnet_ntoa=no
9264 rm -f core conftest.err conftest.$ac_objext \
9265 conftest$ac_exeext conftest.$ac_ext
9266 LIBS=$ac_check_lib_save_LIBS
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9269 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9270 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9274 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9276 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9277 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9278 $as_echo_n "(cached) " >&6
9279 else
9280 ac_check_lib_save_LIBS=$LIBS
9281 LIBS="-ldnet_stub $LIBS"
9282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9288 #ifdef __cplusplus
9289 extern "C"
9290 #endif
9291 char dnet_ntoa ();
9293 main ()
9295 return dnet_ntoa ();
9297 return 0;
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9302 else
9303 ac_cv_lib_dnet_stub_dnet_ntoa=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 LIBS=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9310 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9311 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9312 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9317 rm -f core conftest.err conftest.$ac_objext \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS="$ac_xsave_LIBS"
9321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9322 # to get the SysV transport functions.
9323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9324 # needs -lnsl.
9325 # The nsl library prevents programs from opening the X display
9326 # on Irix 5.2, according to T.E. Dickey.
9327 # The functions gethostbyname, getservbyname, and inet_addr are
9328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9329 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9330 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9334 if test $ac_cv_func_gethostbyname = no; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9336 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9337 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9338 $as_echo_n "(cached) " >&6
9339 else
9340 ac_check_lib_save_LIBS=$LIBS
9341 LIBS="-lnsl $LIBS"
9342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9343 /* end confdefs.h. */
9345 /* Override any GCC internal prototype to avoid an error.
9346 Use char because int might match the return type of a GCC
9347 builtin and then its argument prototype would still apply. */
9348 #ifdef __cplusplus
9349 extern "C"
9350 #endif
9351 char gethostbyname ();
9353 main ()
9355 return gethostbyname ();
9357 return 0;
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_lib_nsl_gethostbyname=yes
9362 else
9363 ac_cv_lib_nsl_gethostbyname=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 LIBS=$ac_check_lib_save_LIBS
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9370 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9371 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9372 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9375 if test $ac_cv_lib_nsl_gethostbyname = no; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9377 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9378 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9379 $as_echo_n "(cached) " >&6
9380 else
9381 ac_check_lib_save_LIBS=$LIBS
9382 LIBS="-lbsd $LIBS"
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9384 /* end confdefs.h. */
9386 /* Override any GCC internal prototype to avoid an error.
9387 Use char because int might match the return type of a GCC
9388 builtin and then its argument prototype would still apply. */
9389 #ifdef __cplusplus
9390 extern "C"
9391 #endif
9392 char gethostbyname ();
9394 main ()
9396 return gethostbyname ();
9398 return 0;
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"; then :
9402 ac_cv_lib_bsd_gethostbyname=yes
9403 else
9404 ac_cv_lib_bsd_gethostbyname=no
9406 rm -f core conftest.err conftest.$ac_objext \
9407 conftest$ac_exeext conftest.$ac_ext
9408 LIBS=$ac_check_lib_save_LIBS
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9411 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9412 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9419 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9420 # socket/setsockopt and other routines are undefined under SCO ODT
9421 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9422 # on later versions), says Simon Leinen: it contains gethostby*
9423 # variants that don't use the name server (or something). -lsocket
9424 # must be given before -lnsl if both are needed. We assume that
9425 # if connect needs -lnsl, so does gethostbyname.
9426 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9427 if test "x$ac_cv_func_connect" = xyes; then :
9431 if test $ac_cv_func_connect = no; then
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9433 $as_echo_n "checking for connect in -lsocket... " >&6; }
9434 if ${ac_cv_lib_socket_connect+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_check_lib_save_LIBS=$LIBS
9438 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char connect ();
9450 main ()
9452 return connect ();
9454 return 0;
9456 _ACEOF
9457 if ac_fn_c_try_link "$LINENO"; then :
9458 ac_cv_lib_socket_connect=yes
9459 else
9460 ac_cv_lib_socket_connect=no
9462 rm -f core conftest.err conftest.$ac_objext \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9467 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9468 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9469 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9474 # Guillermo Gomez says -lposix is necessary on A/UX.
9475 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9476 if test "x$ac_cv_func_remove" = xyes; then :
9480 if test $ac_cv_func_remove = no; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9482 $as_echo_n "checking for remove in -lposix... " >&6; }
9483 if ${ac_cv_lib_posix_remove+:} false; then :
9484 $as_echo_n "(cached) " >&6
9485 else
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lposix $LIBS"
9488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9489 /* end confdefs.h. */
9491 /* Override any GCC internal prototype to avoid an error.
9492 Use char because int might match the return type of a GCC
9493 builtin and then its argument prototype would still apply. */
9494 #ifdef __cplusplus
9495 extern "C"
9496 #endif
9497 char remove ();
9499 main ()
9501 return remove ();
9503 return 0;
9505 _ACEOF
9506 if ac_fn_c_try_link "$LINENO"; then :
9507 ac_cv_lib_posix_remove=yes
9508 else
9509 ac_cv_lib_posix_remove=no
9511 rm -f core conftest.err conftest.$ac_objext \
9512 conftest$ac_exeext conftest.$ac_ext
9513 LIBS=$ac_check_lib_save_LIBS
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9516 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9517 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9523 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9524 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9525 if test "x$ac_cv_func_shmat" = xyes; then :
9529 if test $ac_cv_func_shmat = no; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9531 $as_echo_n "checking for shmat in -lipc... " >&6; }
9532 if ${ac_cv_lib_ipc_shmat+:} false; then :
9533 $as_echo_n "(cached) " >&6
9534 else
9535 ac_check_lib_save_LIBS=$LIBS
9536 LIBS="-lipc $LIBS"
9537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9543 #ifdef __cplusplus
9544 extern "C"
9545 #endif
9546 char shmat ();
9548 main ()
9550 return shmat ();
9552 return 0;
9554 _ACEOF
9555 if ac_fn_c_try_link "$LINENO"; then :
9556 ac_cv_lib_ipc_shmat=yes
9557 else
9558 ac_cv_lib_ipc_shmat=no
9560 rm -f core conftest.err conftest.$ac_objext \
9561 conftest$ac_exeext conftest.$ac_ext
9562 LIBS=$ac_check_lib_save_LIBS
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9565 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9566 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9567 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9573 # Check for libraries that X11R6 Xt/Xaw programs need.
9574 ac_save_LDFLAGS=$LDFLAGS
9575 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9576 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9577 # check for ICE first), but we must link in the order -lSM -lICE or
9578 # we get undefined symbols. So assume we have SM if we have ICE.
9579 # These have to be linked with before -lX11, unlike the other
9580 # libraries we check for below, so use a different variable.
9581 # John Interrante, Karl Berry
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9583 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9584 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9585 $as_echo_n "(cached) " >&6
9586 else
9587 ac_check_lib_save_LIBS=$LIBS
9588 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char IceConnectionNumber ();
9600 main ()
9602 return IceConnectionNumber ();
9604 return 0;
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_lib_ICE_IceConnectionNumber=yes
9609 else
9610 ac_cv_lib_ICE_IceConnectionNumber=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9617 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9618 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9619 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9622 LDFLAGS=$ac_save_LDFLAGS
9627 if test "$have_x" = "yes"
9628 then
9629 ac_save_CPPFLAGS="$CPPFLAGS"
9630 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9633 $as_echo_n "checking for -lX11... " >&6; }
9634 if ${ac_cv_lib_soname_X11+:} false; then :
9635 $as_echo_n "(cached) " >&6
9636 else
9637 ac_check_soname_save_LIBS=$LIBS
9638 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9640 /* end confdefs.h. */
9642 /* Override any GCC internal prototype to avoid an error.
9643 Use char because int might match the return type of a GCC
9644 builtin and then its argument prototype would still apply. */
9645 #ifdef __cplusplus
9646 extern "C"
9647 #endif
9648 char XCreateWindow ();
9650 main ()
9652 return XCreateWindow ();
9654 return 0;
9656 _ACEOF
9657 if ac_fn_c_try_link "$LINENO"; then :
9658 case "$LIBEXT" in
9659 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9660 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'` ;;
9661 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9662 if ${ac_cv_lib_soname_X11:+false} :; then :
9663 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9664 fi ;;
9665 esac
9667 rm -f core conftest.err conftest.$ac_objext \
9668 conftest$ac_exeext conftest.$ac_ext
9669 LIBS=$ac_check_soname_save_LIBS
9671 if ${ac_cv_lib_soname_X11:+false} :; then :
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9673 $as_echo "not found" >&6; }
9675 else
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9677 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9679 cat >>confdefs.h <<_ACEOF
9680 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9681 _ACEOF
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9686 $as_echo_n "checking for -lXext... " >&6; }
9687 if ${ac_cv_lib_soname_Xext+:} false; then :
9688 $as_echo_n "(cached) " >&6
9689 else
9690 ac_check_soname_save_LIBS=$LIBS
9691 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9698 #ifdef __cplusplus
9699 extern "C"
9700 #endif
9701 char XextCreateExtension ();
9703 main ()
9705 return XextCreateExtension ();
9707 return 0;
9709 _ACEOF
9710 if ac_fn_c_try_link "$LINENO"; then :
9711 case "$LIBEXT" in
9712 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9715 if ${ac_cv_lib_soname_Xext:+false} :; then :
9716 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9717 fi ;;
9718 esac
9720 rm -f core conftest.err conftest.$ac_objext \
9721 conftest$ac_exeext conftest.$ac_ext
9722 LIBS=$ac_check_soname_save_LIBS
9724 if ${ac_cv_lib_soname_Xext:+false} :; then :
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9726 $as_echo "not found" >&6; }
9728 else
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9730 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9732 cat >>confdefs.h <<_ACEOF
9733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9734 _ACEOF
9736 X_LIBS="$X_LIBS -lXext"
9738 X_LIBS="$X_LIBS -lX11"
9740 for ac_header in X11/Xlib.h \
9741 X11/XKBlib.h \
9742 X11/Xutil.h \
9743 X11/Xcursor/Xcursor.h \
9744 X11/extensions/shape.h \
9745 X11/extensions/XInput.h \
9746 X11/extensions/XInput2.h \
9747 X11/extensions/XShm.h \
9748 X11/extensions/Xcomposite.h \
9749 X11/extensions/Xinerama.h \
9750 X11/extensions/Xrandr.h \
9751 X11/extensions/Xrender.h \
9752 X11/extensions/xf86vmode.h \
9753 X11/extensions/xf86vmproto.h
9754 do :
9755 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9756 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9757 # include <X11/Xlib.h>
9758 #endif
9759 #ifdef HAVE_X11_XUTIL_H
9760 # include <X11/Xutil.h>
9761 #endif
9763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9764 cat >>confdefs.h <<_ACEOF
9765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9766 _ACEOF
9770 done
9773 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9774 then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9776 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9777 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9778 $as_echo_n "(cached) " >&6
9779 else
9780 ac_check_lib_save_LIBS=$LIBS
9781 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9785 /* Override any GCC internal prototype to avoid an error.
9786 Use char because int might match the return type of a GCC
9787 builtin and then its argument prototype would still apply. */
9788 #ifdef __cplusplus
9789 extern "C"
9790 #endif
9791 char XkbQueryExtension ();
9793 main ()
9795 return XkbQueryExtension ();
9797 return 0;
9799 _ACEOF
9800 if ac_fn_c_try_link "$LINENO"; then :
9801 ac_cv_lib_X11_XkbQueryExtension=yes
9802 else
9803 ac_cv_lib_X11_XkbQueryExtension=no
9805 rm -f core conftest.err conftest.$ac_objext \
9806 conftest$ac_exeext conftest.$ac_ext
9807 LIBS=$ac_check_lib_save_LIBS
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9810 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9811 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9813 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9819 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9820 then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9822 $as_echo_n "checking for -lXcursor... " >&6; }
9823 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9824 $as_echo_n "(cached) " >&6
9825 else
9826 ac_check_soname_save_LIBS=$LIBS
9827 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XcursorImageLoadCursor ();
9839 main ()
9841 return XcursorImageLoadCursor ();
9843 return 0;
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 case "$LIBEXT" in
9848 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9849 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'` ;;
9850 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9851 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9852 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9853 fi ;;
9854 esac
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_soname_save_LIBS
9860 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9864 else
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9866 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9868 cat >>confdefs.h <<_ACEOF
9869 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9870 _ACEOF
9875 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9876 case "x$with_xcursor" in
9877 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9878 xno) ;;
9879 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9880 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9881 esac
9885 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9886 then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9888 $as_echo_n "checking for -lXi... " >&6; }
9889 if ${ac_cv_lib_soname_Xi+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_soname_save_LIBS=$LIBS
9893 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XOpenDevice ();
9905 main ()
9907 return XOpenDevice ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 case "$LIBEXT" in
9914 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9915 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'` ;;
9916 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9917 if ${ac_cv_lib_soname_Xi:+false} :; then :
9918 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9919 fi ;;
9920 esac
9922 rm -f core conftest.err conftest.$ac_objext \
9923 conftest$ac_exeext conftest.$ac_ext
9924 LIBS=$ac_check_soname_save_LIBS
9926 if ${ac_cv_lib_soname_Xi:+false} :; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9928 $as_echo "not found" >&6; }
9930 else
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9932 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9934 cat >>confdefs.h <<_ACEOF
9935 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9936 _ACEOF
9941 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9942 case "x$with_xinput" in
9943 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9944 xno) ;;
9945 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9946 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9947 esac
9951 if test "x$ac_cv_lib_soname_Xi" != x
9952 then
9953 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9954 case "x$with_xinput2" in
9955 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9956 xno) ;;
9957 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9958 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9959 esac
9964 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9965 then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9967 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9968 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9969 $as_echo_n "(cached) " >&6
9970 else
9971 ac_check_lib_save_LIBS=$LIBS
9972 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9974 /* end confdefs.h. */
9976 /* Override any GCC internal prototype to avoid an error.
9977 Use char because int might match the return type of a GCC
9978 builtin and then its argument prototype would still apply. */
9979 #ifdef __cplusplus
9980 extern "C"
9981 #endif
9982 char XShmQueryExtension ();
9984 main ()
9986 return XShmQueryExtension ();
9988 return 0;
9990 _ACEOF
9991 if ac_fn_c_try_link "$LINENO"; then :
9992 ac_cv_lib_Xext_XShmQueryExtension=yes
9993 else
9994 ac_cv_lib_Xext_XShmQueryExtension=no
9996 rm -f core conftest.err conftest.$ac_objext \
9997 conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_lib_save_LIBS
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10001 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10002 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10004 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10009 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10010 case "x$with_xshm" in
10011 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10012 xno) ;;
10013 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10014 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10015 esac
10019 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10020 then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10022 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10023 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_check_lib_save_LIBS=$LIBS
10027 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10031 /* Override any GCC internal prototype to avoid an error.
10032 Use char because int might match the return type of a GCC
10033 builtin and then its argument prototype would still apply. */
10034 #ifdef __cplusplus
10035 extern "C"
10036 #endif
10037 char XShapeQueryExtension ();
10039 main ()
10041 return XShapeQueryExtension ();
10043 return 0;
10045 _ACEOF
10046 if ac_fn_c_try_link "$LINENO"; then :
10047 ac_cv_lib_Xext_XShapeQueryExtension=yes
10048 else
10049 ac_cv_lib_Xext_XShapeQueryExtension=no
10051 rm -f core conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_lib_save_LIBS
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10056 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10057 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10059 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10064 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10065 case "x$with_xshape" in
10066 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10067 xno) ;;
10068 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10069 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10070 esac
10074 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10075 then
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10077 $as_echo_n "checking for -lXxf86vm... " >&6; }
10078 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10079 $as_echo_n "(cached) " >&6
10080 else
10081 ac_check_soname_save_LIBS=$LIBS
10082 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10084 /* end confdefs.h. */
10086 /* Override any GCC internal prototype to avoid an error.
10087 Use char because int might match the return type of a GCC
10088 builtin and then its argument prototype would still apply. */
10089 #ifdef __cplusplus
10090 extern "C"
10091 #endif
10092 char XF86VidModeQueryExtension ();
10094 main ()
10096 return XF86VidModeQueryExtension ();
10098 return 0;
10100 _ACEOF
10101 if ac_fn_c_try_link "$LINENO"; then :
10102 case "$LIBEXT" in
10103 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10104 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'` ;;
10105 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10106 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10107 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10108 fi ;;
10109 esac
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 LIBS=$ac_check_soname_save_LIBS
10115 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10117 $as_echo "not found" >&6; }
10119 else
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10121 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10123 cat >>confdefs.h <<_ACEOF
10124 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10125 _ACEOF
10130 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10131 case "x$with_xxf86vm" in
10132 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10133 xno) ;;
10134 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10135 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10136 esac
10140 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10141 then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10143 $as_echo_n "checking for -lXrender... " >&6; }
10144 if ${ac_cv_lib_soname_Xrender+:} false; then :
10145 $as_echo_n "(cached) " >&6
10146 else
10147 ac_check_soname_save_LIBS=$LIBS
10148 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10152 /* Override any GCC internal prototype to avoid an error.
10153 Use char because int might match the return type of a GCC
10154 builtin and then its argument prototype would still apply. */
10155 #ifdef __cplusplus
10156 extern "C"
10157 #endif
10158 char XRenderQueryExtension ();
10160 main ()
10162 return XRenderQueryExtension ();
10164 return 0;
10166 _ACEOF
10167 if ac_fn_c_try_link "$LINENO"; then :
10168 case "$LIBEXT" in
10169 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10170 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'` ;;
10171 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10172 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10173 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10174 fi ;;
10175 esac
10177 rm -f core conftest.err conftest.$ac_objext \
10178 conftest$ac_exeext conftest.$ac_ext
10179 LIBS=$ac_check_soname_save_LIBS
10181 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10183 $as_echo "not found" >&6; }
10185 else
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10187 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10189 cat >>confdefs.h <<_ACEOF
10190 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10191 _ACEOF
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10194 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10195 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 ac_check_lib_save_LIBS=$LIBS
10199 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201 /* end confdefs.h. */
10203 /* Override any GCC internal prototype to avoid an error.
10204 Use char because int might match the return type of a GCC
10205 builtin and then its argument prototype would still apply. */
10206 #ifdef __cplusplus
10207 extern "C"
10208 #endif
10209 char XRenderSetPictureTransform ();
10211 main ()
10213 return XRenderSetPictureTransform ();
10215 return 0;
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10220 else
10221 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_lib_save_LIBS
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10228 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10229 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10231 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10236 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10237 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10238 $as_echo_n "(cached) " >&6
10239 else
10240 ac_check_lib_save_LIBS=$LIBS
10241 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10248 #ifdef __cplusplus
10249 extern "C"
10250 #endif
10251 char XRenderCreateLinearGradient ();
10253 main ()
10255 return XRenderCreateLinearGradient ();
10257 return 0;
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10262 else
10263 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10265 rm -f core conftest.err conftest.$ac_objext \
10266 conftest$ac_exeext conftest.$ac_ext
10267 LIBS=$ac_check_lib_save_LIBS
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10270 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10271 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10273 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10280 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10281 case "x$with_xrender" in
10282 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10283 xno) ;;
10284 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10285 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10286 esac
10290 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10291 then
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10293 /* end confdefs.h. */
10294 #include <X11/Xlib.h>
10295 #include <X11/extensions/Xrandr.h>
10297 main ()
10299 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10301 return 0;
10303 _ACEOF
10304 if ac_fn_c_try_compile "$LINENO"; then :
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10306 $as_echo_n "checking for -lXrandr... " >&6; }
10307 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10308 $as_echo_n "(cached) " >&6
10309 else
10310 ac_check_soname_save_LIBS=$LIBS
10311 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10315 /* Override any GCC internal prototype to avoid an error.
10316 Use char because int might match the return type of a GCC
10317 builtin and then its argument prototype would still apply. */
10318 #ifdef __cplusplus
10319 extern "C"
10320 #endif
10321 char XRRQueryExtension ();
10323 main ()
10325 return XRRQueryExtension ();
10327 return 0;
10329 _ACEOF
10330 if ac_fn_c_try_link "$LINENO"; then :
10331 case "$LIBEXT" in
10332 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10333 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'` ;;
10334 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10335 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10336 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10337 fi ;;
10338 esac
10340 rm -f core conftest.err conftest.$ac_objext \
10341 conftest$ac_exeext conftest.$ac_ext
10342 LIBS=$ac_check_soname_save_LIBS
10344 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10346 $as_echo "not found" >&6; }
10348 else
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10350 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10352 cat >>confdefs.h <<_ACEOF
10353 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10354 _ACEOF
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10361 main ()
10363 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_compile "$LINENO"; then :
10370 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10378 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10379 case "x$with_xrandr" in
10380 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10381 xno) ;;
10382 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10383 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10384 esac
10388 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10389 then
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10392 #include <X11/Xlib.h>
10393 #include <X11/extensions/Xinerama.h>
10395 main ()
10397 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10399 return 0;
10401 _ACEOF
10402 if ac_fn_c_try_compile "$LINENO"; then :
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10404 $as_echo_n "checking for -lXinerama... " >&6; }
10405 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10406 $as_echo_n "(cached) " >&6
10407 else
10408 ac_check_soname_save_LIBS=$LIBS
10409 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10413 /* Override any GCC internal prototype to avoid an error.
10414 Use char because int might match the return type of a GCC
10415 builtin and then its argument prototype would still apply. */
10416 #ifdef __cplusplus
10417 extern "C"
10418 #endif
10419 char XineramaQueryScreens ();
10421 main ()
10423 return XineramaQueryScreens ();
10425 return 0;
10427 _ACEOF
10428 if ac_fn_c_try_link "$LINENO"; then :
10429 case "$LIBEXT" in
10430 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10431 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'` ;;
10432 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10433 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10434 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10435 fi ;;
10436 esac
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_soname_save_LIBS
10442 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10444 $as_echo "not found" >&6; }
10446 else
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10448 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10450 cat >>confdefs.h <<_ACEOF
10451 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10452 _ACEOF
10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10459 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10460 case "x$with_xinerama" in
10461 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10462 xno) ;;
10463 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10464 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10465 esac
10469 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10470 then
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10472 $as_echo_n "checking for -lXcomposite... " >&6; }
10473 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10474 $as_echo_n "(cached) " >&6
10475 else
10476 ac_check_soname_save_LIBS=$LIBS
10477 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10479 /* end confdefs.h. */
10481 /* Override any GCC internal prototype to avoid an error.
10482 Use char because int might match the return type of a GCC
10483 builtin and then its argument prototype would still apply. */
10484 #ifdef __cplusplus
10485 extern "C"
10486 #endif
10487 char XCompositeRedirectWindow ();
10489 main ()
10491 return XCompositeRedirectWindow ();
10493 return 0;
10495 _ACEOF
10496 if ac_fn_c_try_link "$LINENO"; then :
10497 case "$LIBEXT" in
10498 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10499 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'` ;;
10500 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10501 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10502 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10503 fi ;;
10504 esac
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_soname_save_LIBS
10510 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10512 $as_echo "not found" >&6; }
10514 else
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10516 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10518 cat >>confdefs.h <<_ACEOF
10519 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10520 _ACEOF
10525 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10526 case "x$with_xcomposite" in
10527 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10528 xno) ;;
10529 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10530 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10531 esac
10535 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10536 #include <X11/Xlib.h>
10537 #endif
10539 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10541 cat >>confdefs.h <<_ACEOF
10542 #define HAVE_XICCALLBACK_CALLBACK 1
10543 _ACEOF
10547 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10548 #include <X11/Xlib.h>
10549 #endif
10551 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10553 cat >>confdefs.h <<_ACEOF
10554 #define HAVE_XEVENT_XCOOKIE 1
10555 _ACEOF
10562 opengl_msg=""
10563 if test "x$with_opengl" != "xno"
10564 then
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10566 $as_echo_n "checking for -lGL... " >&6; }
10567 if ${ac_cv_lib_soname_GL+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_check_soname_save_LIBS=$LIBS
10571 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10573 /* end confdefs.h. */
10575 /* Override any GCC internal prototype to avoid an error.
10576 Use char because int might match the return type of a GCC
10577 builtin and then its argument prototype would still apply. */
10578 #ifdef __cplusplus
10579 extern "C"
10580 #endif
10581 char glXCreateContext ();
10583 main ()
10585 return glXCreateContext ();
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_link "$LINENO"; then :
10591 case "$LIBEXT" in
10592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10595 if ${ac_cv_lib_soname_GL:+false} :; then :
10596 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10597 fi ;;
10598 esac
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 LIBS=$ac_check_soname_save_LIBS
10604 if ${ac_cv_lib_soname_GL:+false} :; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10606 $as_echo "not found" >&6; }
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10608 $as_echo_n "checking for -lGL... " >&6; }
10609 if ${ac_cv_lib_soname_GL+:} false; then :
10610 $as_echo_n "(cached) " >&6
10611 else
10612 ac_check_soname_save_LIBS=$LIBS
10613 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"
10614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10615 /* end confdefs.h. */
10617 /* Override any GCC internal prototype to avoid an error.
10618 Use char because int might match the return type of a GCC
10619 builtin and then its argument prototype would still apply. */
10620 #ifdef __cplusplus
10621 extern "C"
10622 #endif
10623 char glXCreateContext ();
10625 main ()
10627 return glXCreateContext ();
10629 return 0;
10631 _ACEOF
10632 if ac_fn_c_try_link "$LINENO"; then :
10633 case "$LIBEXT" in
10634 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10635 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'` ;;
10636 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10637 if ${ac_cv_lib_soname_GL:+false} :; then :
10638 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10639 fi ;;
10640 esac
10642 rm -f core conftest.err conftest.$ac_objext \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_soname_save_LIBS
10646 if ${ac_cv_lib_soname_GL:+false} :; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10648 $as_echo "not found" >&6; }
10649 if test -f /usr/X11R6/lib/libGL.a
10650 then
10651 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10652 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10653 else
10654 opengl_msg="No OpenGL library found on this system."
10656 else
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10658 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10660 cat >>confdefs.h <<_ACEOF
10661 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10662 _ACEOF
10664 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"
10666 else
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10668 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10670 cat >>confdefs.h <<_ACEOF
10671 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10672 _ACEOF
10674 OPENGL_LIBS="-lGL"
10676 if test "x$with_glu" != "xno"
10677 then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10679 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10680 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10681 $as_echo_n "(cached) " >&6
10682 else
10683 ac_check_lib_save_LIBS=$LIBS
10684 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h. */
10688 /* Override any GCC internal prototype to avoid an error.
10689 Use char because int might match the return type of a GCC
10690 builtin and then its argument prototype would still apply. */
10691 #ifdef __cplusplus
10692 extern "C"
10693 #endif
10694 char gluLookAt ();
10696 main ()
10698 return gluLookAt ();
10700 return 0;
10702 _ACEOF
10703 if ac_fn_c_try_link "$LINENO"; then :
10704 ac_cv_lib_GLU_gluLookAt=yes
10705 else
10706 ac_cv_lib_GLU_gluLookAt=no
10708 rm -f core conftest.err conftest.$ac_objext \
10709 conftest$ac_exeext conftest.$ac_ext
10710 LIBS=$ac_check_lib_save_LIBS
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10713 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10714 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10718 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10719 case "x$with_glu" in
10720 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10721 xno) ;;
10722 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10723 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10724 esac
10729 if test "x$with_osmesa" != "xno"
10730 then
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10732 $as_echo_n "checking for -lOSMesa... " >&6; }
10733 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10734 $as_echo_n "(cached) " >&6
10735 else
10736 ac_check_soname_save_LIBS=$LIBS
10737 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10741 /* Override any GCC internal prototype to avoid an error.
10742 Use char because int might match the return type of a GCC
10743 builtin and then its argument prototype would still apply. */
10744 #ifdef __cplusplus
10745 extern "C"
10746 #endif
10747 char glAccum ();
10749 main ()
10751 return glAccum ();
10753 return 0;
10755 _ACEOF
10756 if ac_fn_c_try_link "$LINENO"; then :
10757 case "$LIBEXT" in
10758 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10759 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'` ;;
10760 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10761 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10762 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10763 fi ;;
10764 esac
10766 rm -f core conftest.err conftest.$ac_objext \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_soname_save_LIBS
10770 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10772 $as_echo "not found" >&6; }
10774 else
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10776 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10778 cat >>confdefs.h <<_ACEOF
10779 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10780 _ACEOF
10784 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10785 case "x$with_osmesa" in
10786 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10787 xno) ;;
10788 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10789 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10790 esac
10795 if test -n "$opengl_msg"; then :
10796 case "x$with_opengl" in
10797 x) as_fn_append wine_warnings "|$opengl_msg
10798 OpenGL and Direct3D won't be supported." ;;
10799 xno) ;;
10800 *) as_fn_error $? "$opengl_msg
10801 OpenGL and Direct3D won't be supported.
10802 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10803 esac
10807 CPPFLAGS="$ac_save_CPPFLAGS"
10808 else
10809 X_CFLAGS=""
10810 X_LIBS=""
10812 if test "x$X_LIBS" = "x"; then :
10813 case "x$with_x" in
10814 xno) ;;
10815 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10816 without X support, which probably isn't what you want. You will need
10817 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10818 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10819 esac
10820 enable_winex11_drv=${enable_winex11_drv:-no}
10823 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10825 if test "$ac_cv_header_CL_cl_h" = "yes"
10826 then
10827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10828 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10829 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10830 $as_echo_n "(cached) " >&6
10831 else
10832 ac_check_lib_save_LIBS=$LIBS
10833 LIBS="-lOpenCL $LIBS"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10837 /* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840 #ifdef __cplusplus
10841 extern "C"
10842 #endif
10843 char clGetPlatformInfo ();
10845 main ()
10847 return clGetPlatformInfo ();
10849 return 0;
10851 _ACEOF
10852 if ac_fn_c_try_link "$LINENO"; then :
10853 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10854 else
10855 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10857 rm -f core conftest.err conftest.$ac_objext \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10862 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10863 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10864 OPENCL_LIBS="-lOpenCL"
10869 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10870 case "x$with_opencl" in
10871 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10872 xno) ;;
10873 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10874 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10875 esac
10876 enable_opencl=${enable_opencl:-no}
10879 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10880 then
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10882 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10883 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10884 $as_echo_n "(cached) " >&6
10885 else
10886 ac_check_lib_save_LIBS=$LIBS
10887 LIBS="-lpcap $LIBS"
10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10889 /* end confdefs.h. */
10891 /* Override any GCC internal prototype to avoid an error.
10892 Use char because int might match the return type of a GCC
10893 builtin and then its argument prototype would still apply. */
10894 #ifdef __cplusplus
10895 extern "C"
10896 #endif
10897 char pcap_create ();
10899 main ()
10901 return pcap_create ();
10903 return 0;
10905 _ACEOF
10906 if ac_fn_c_try_link "$LINENO"; then :
10907 ac_cv_lib_pcap_pcap_create=yes
10908 else
10909 ac_cv_lib_pcap_pcap_create=no
10911 rm -f core conftest.err conftest.$ac_objext \
10912 conftest$ac_exeext conftest.$ac_ext
10913 LIBS=$ac_check_lib_save_LIBS
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10916 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10917 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10918 PCAP_LIBS="-lpcap"
10923 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10924 case "x$with_pcap" in
10925 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10926 xno) ;;
10927 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10928 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10929 esac
10930 enable_wpcap=${enable_wpcap:-no}
10934 if test "x$with_xml" != "xno"
10935 then
10936 if ${XML2_CFLAGS:+false} :; then :
10937 if ${PKG_CONFIG+:} false; then :
10938 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10941 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10942 if ${XML2_LIBS:+false} :; then :
10943 if ${PKG_CONFIG+:} false; then :
10944 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10947 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10948 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10949 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10950 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10951 ac_save_CPPFLAGS=$CPPFLAGS
10952 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10953 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10954 do :
10955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10958 cat >>confdefs.h <<_ACEOF
10959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10960 _ACEOF
10964 done
10966 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"
10967 then
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10969 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10970 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10971 $as_echo_n "(cached) " >&6
10972 else
10973 ac_check_lib_save_LIBS=$LIBS
10974 LIBS="-lxml2 $XML2_LIBS $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10981 #ifdef __cplusplus
10982 extern "C"
10983 #endif
10984 char xmlParseMemory ();
10986 main ()
10988 return xmlParseMemory ();
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 ac_cv_lib_xml2_xmlParseMemory=yes
10995 else
10996 ac_cv_lib_xml2_xmlParseMemory=no
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11003 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11004 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11006 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11008 else
11009 XML2_LIBS=""
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11013 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11014 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lxml2 $XML2_LIBS $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char xmlReadMemory ();
11030 main ()
11032 return xmlReadMemory ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_xml2_xmlReadMemory=yes
11039 else
11040 ac_cv_lib_xml2_xmlReadMemory=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11047 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11048 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11050 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11055 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11056 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11057 $as_echo_n "(cached) " >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lxml2 $XML2_LIBS $LIBS"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11064 /* Override any GCC internal prototype to avoid an error.
11065 Use char because int might match the return type of a GCC
11066 builtin and then its argument prototype would still apply. */
11067 #ifdef __cplusplus
11068 extern "C"
11069 #endif
11070 char xmlNewDocPI ();
11072 main ()
11074 return xmlNewDocPI ();
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 ac_cv_lib_xml2_xmlNewDocPI=yes
11081 else
11082 ac_cv_lib_xml2_xmlNewDocPI=no
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_lib_save_LIBS
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11089 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11090 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11092 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11097 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11098 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100 else
11101 ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-lxml2 $XML2_LIBS $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char xmlSchemaSetParserStructuredErrors ();
11114 main ()
11116 return xmlSchemaSetParserStructuredErrors ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11123 else
11124 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127 conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11131 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11132 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11134 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11139 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11140 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lxml2 $XML2_LIBS $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char xmlSchemaSetValidStructuredErrors ();
11156 main ()
11158 return xmlSchemaSetValidStructuredErrors ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11165 else
11166 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11173 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11174 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11176 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11181 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11182 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11183 $as_echo_n "(cached) " >&6
11184 else
11185 ac_check_lib_save_LIBS=$LIBS
11186 LIBS="-lxml2 $XML2_LIBS $LIBS"
11187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188 /* end confdefs.h. */
11190 /* Override any GCC internal prototype to avoid an error.
11191 Use char because int might match the return type of a GCC
11192 builtin and then its argument prototype would still apply. */
11193 #ifdef __cplusplus
11194 extern "C"
11195 #endif
11196 char xmlFirstElementChild ();
11198 main ()
11200 return xmlFirstElementChild ();
11202 return 0;
11204 _ACEOF
11205 if ac_fn_c_try_link "$LINENO"; then :
11206 ac_cv_lib_xml2_xmlFirstElementChild=yes
11207 else
11208 ac_cv_lib_xml2_xmlFirstElementChild=no
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_lib_save_LIBS
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11215 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11216 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11218 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11222 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11224 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11226 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11230 else
11231 XML2_CFLAGS=""
11232 XML2_LIBS=""
11234 CPPFLAGS=$ac_save_CPPFLAGS
11235 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11236 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11239 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11240 case "x$with_xml" in
11241 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11242 xno) ;;
11243 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11244 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11245 esac
11249 if test "x$with_xslt" != "xno"
11250 then
11251 if ${XSLT_CFLAGS:+false} :; then :
11252 if ${PKG_CONFIG+:} false; then :
11253 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11256 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11257 if ${XSLT_LIBS:+false} :; then :
11258 if ${PKG_CONFIG+:} false; then :
11259 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11262 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11263 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11264 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11265 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11266 ac_save_CPPFLAGS=$CPPFLAGS
11267 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11268 for ac_header in libxslt/pattern.h libxslt/transform.h
11269 do :
11270 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11271 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11272 # include <libxslt/pattern.h>
11273 #endif
11275 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11276 cat >>confdefs.h <<_ACEOF
11277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11278 _ACEOF
11282 done
11284 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11285 then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11287 $as_echo_n "checking for -lxslt... " >&6; }
11288 if ${ac_cv_lib_soname_xslt+:} false; then :
11289 $as_echo_n "(cached) " >&6
11290 else
11291 ac_check_soname_save_LIBS=$LIBS
11292 LIBS="-lxslt $XSLT_LIBS $LIBS"
11293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11299 #ifdef __cplusplus
11300 extern "C"
11301 #endif
11302 char xsltCompilePattern ();
11304 main ()
11306 return xsltCompilePattern ();
11308 return 0;
11310 _ACEOF
11311 if ac_fn_c_try_link "$LINENO"; then :
11312 case "$LIBEXT" in
11313 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11314 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'` ;;
11315 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11316 if ${ac_cv_lib_soname_xslt:+false} :; then :
11317 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11318 fi ;;
11319 esac
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_soname_save_LIBS
11325 if ${ac_cv_lib_soname_xslt:+false} :; then :
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11327 $as_echo "not found" >&6; }
11329 else
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11331 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11333 cat >>confdefs.h <<_ACEOF
11334 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11335 _ACEOF
11339 else
11340 XSLT_CFLAGS=""
11342 CPPFLAGS=$ac_save_CPPFLAGS
11343 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11344 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11347 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11348 case "x$with_xslt" in
11349 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11350 xno) ;;
11351 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11352 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11353 esac
11357 if test "x$with_dbus" != "xno"
11358 then
11359 if ${DBUS_CFLAGS:+false} :; then :
11360 if ${PKG_CONFIG+:} false; then :
11361 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11365 if ${DBUS_LIBS:+false} :; then :
11366 if ${PKG_CONFIG+:} false; then :
11367 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11372 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11373 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11374 ac_save_CPPFLAGS=$CPPFLAGS
11375 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11376 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11377 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11379 $as_echo_n "checking for -ldbus-1... " >&6; }
11380 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_soname_save_LIBS=$LIBS
11384 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char dbus_connection_close ();
11396 main ()
11398 return dbus_connection_close ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 case "$LIBEXT" in
11405 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11406 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'` ;;
11407 *) 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'`
11408 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11409 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11410 fi ;;
11411 esac
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_soname_save_LIBS
11417 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11419 $as_echo "not found" >&6; }
11420 DBUS_CFLAGS=""
11421 else
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11423 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11425 cat >>confdefs.h <<_ACEOF
11426 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11427 _ACEOF
11431 else
11432 DBUS_CFLAGS=""
11436 CPPFLAGS=$ac_save_CPPFLAGS
11437 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11438 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11441 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11442 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11443 case "x$with_dbus" in
11444 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11445 xno) ;;
11446 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11447 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11448 esac
11452 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11453 then
11454 if ${HAL_CFLAGS:+false} :; then :
11455 if ${PKG_CONFIG+:} false; then :
11456 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11460 if ${HAL_LIBS:+false} :; then :
11461 if ${PKG_CONFIG+:} false; then :
11462 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11466 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11467 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11468 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11469 ac_save_CPPFLAGS=$CPPFLAGS
11470 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11471 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11472 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11474 $as_echo_n "checking for -lhal... " >&6; }
11475 if ${ac_cv_lib_soname_hal+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_soname_save_LIBS=$LIBS
11479 LIBS="-lhal $HAL_LIBS $LIBS"
11480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11481 /* end confdefs.h. */
11483 /* Override any GCC internal prototype to avoid an error.
11484 Use char because int might match the return type of a GCC
11485 builtin and then its argument prototype would still apply. */
11486 #ifdef __cplusplus
11487 extern "C"
11488 #endif
11489 char libhal_ctx_new ();
11491 main ()
11493 return libhal_ctx_new ();
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_link "$LINENO"; then :
11499 case "$LIBEXT" in
11500 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11501 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'` ;;
11502 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11503 if ${ac_cv_lib_soname_hal:+false} :; then :
11504 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11505 fi ;;
11506 esac
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_soname_save_LIBS
11512 if ${ac_cv_lib_soname_hal:+false} :; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11514 $as_echo "not found" >&6; }
11515 HAL_CFLAGS=""
11516 else
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11518 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11520 cat >>confdefs.h <<_ACEOF
11521 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11522 _ACEOF
11526 else
11527 HAL_CFLAGS=""
11531 CPPFLAGS=$ac_save_CPPFLAGS
11532 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11533 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11535 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11536 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11537 case "x$with_hal" in
11538 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11539 xno) ;;
11540 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11541 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11542 esac
11547 if test "x$with_gnutls" != "xno"
11548 then
11549 if ${GNUTLS_CFLAGS:+false} :; then :
11550 if ${PKG_CONFIG+:} false; then :
11551 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11555 if ${GNUTLS_LIBS:+false} :; then :
11556 if ${PKG_CONFIG+:} false; then :
11557 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11562 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11564 ac_save_CPPFLAGS=$CPPFLAGS
11565 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11566 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11567 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569 /* end confdefs.h. */
11570 #include <gnutls/gnutls.h>
11571 #include <gnutls/crypto.h>
11573 main ()
11575 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11577 return 0;
11579 _ACEOF
11580 if ac_fn_c_try_compile "$LINENO"; then :
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11582 $as_echo_n "checking for -lgnutls... " >&6; }
11583 if ${ac_cv_lib_soname_gnutls+:} false; then :
11584 $as_echo_n "(cached) " >&6
11585 else
11586 ac_check_soname_save_LIBS=$LIBS
11587 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589 /* end confdefs.h. */
11591 /* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594 #ifdef __cplusplus
11595 extern "C"
11596 #endif
11597 char gnutls_global_init ();
11599 main ()
11601 return gnutls_global_init ();
11603 return 0;
11605 _ACEOF
11606 if ac_fn_c_try_link "$LINENO"; then :
11607 case "$LIBEXT" in
11608 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11609 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'` ;;
11610 *) 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'`
11611 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11612 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'`
11613 fi ;;
11614 esac
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_soname_save_LIBS
11620 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11622 $as_echo "not found" >&6; }
11623 GNUTLS_CFLAGS=""
11624 else
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11626 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11628 cat >>confdefs.h <<_ACEOF
11629 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11630 _ACEOF
11634 ac_wine_check_funcs_save_LIBS="$LIBS"
11635 LIBS="$LIBS $GNUTLS_LIBS"
11636 for ac_func in gnutls_hash
11637 do :
11638 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11639 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11640 cat >>confdefs.h <<_ACEOF
11641 #define HAVE_GNUTLS_HASH 1
11642 _ACEOF
11644 else
11645 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11647 done
11649 LIBS="$ac_wine_check_funcs_save_LIBS"
11651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11652 else
11653 GNUTLS_CFLAGS=""
11657 CPPFLAGS=$ac_save_CPPFLAGS
11658 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11659 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11662 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11663 case "x$with_gnutls" in
11664 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11665 xno) ;;
11666 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11667 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11668 esac
11672 CURSES_LIBS=""
11673 if test "$ac_cv_header_ncurses_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11676 $as_echo_n "checking for -lncurses... " >&6; }
11677 if ${ac_cv_lib_soname_ncurses+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lncurses $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char waddch ();
11693 main ()
11695 return waddch ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) 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'`
11705 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11706 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11707 fi ;;
11708 esac
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_soname_save_LIBS
11714 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11718 else
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11720 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11722 cat >>confdefs.h <<_ACEOF
11723 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11724 _ACEOF
11726 CURSES_LIBS="-lncurses"
11728 elif test "$ac_cv_header_curses_h" = "yes"
11729 then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11731 $as_echo_n "checking for -lcurses... " >&6; }
11732 if ${ac_cv_lib_soname_curses+:} false; then :
11733 $as_echo_n "(cached) " >&6
11734 else
11735 ac_check_soname_save_LIBS=$LIBS
11736 LIBS="-lcurses $LIBS"
11737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char waddch ();
11748 main ()
11750 return waddch ();
11752 return 0;
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"; then :
11756 case "$LIBEXT" in
11757 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11758 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'` ;;
11759 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11760 if ${ac_cv_lib_soname_curses:+false} :; then :
11761 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11762 fi ;;
11763 esac
11765 rm -f core conftest.err conftest.$ac_objext \
11766 conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_check_soname_save_LIBS
11769 if ${ac_cv_lib_soname_curses:+false} :; then :
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11771 $as_echo "not found" >&6; }
11773 else
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11775 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11777 cat >>confdefs.h <<_ACEOF
11778 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11779 _ACEOF
11781 CURSES_LIBS="-lcurses"
11784 ac_save_LIBS="$LIBS"
11785 LIBS="$LIBS $CURSES_LIBS"
11786 for ac_func in mousemask
11787 do :
11788 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11789 if test "x$ac_cv_func_mousemask" = xyes; then :
11790 cat >>confdefs.h <<_ACEOF
11791 #define HAVE_MOUSEMASK 1
11792 _ACEOF
11795 done
11797 LIBS="$ac_save_LIBS"
11798 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11799 case "x$with_curses" in
11800 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11801 xno) ;;
11802 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11803 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11804 esac
11808 if test "x$with_sane" != "xno"
11809 then
11810 if ${SANE_CFLAGS:+false} :; then :
11811 if ${PKG_CONFIG+:} false; then :
11812 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11815 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11816 if ${SANE_LIBS:+false} :; then :
11817 if ${PKG_CONFIG+:} false; then :
11818 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11821 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11823 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11824 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11825 ac_save_CPPFLAGS=$CPPFLAGS
11826 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11827 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11828 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11830 $as_echo_n "checking for -lsane... " >&6; }
11831 if ${ac_cv_lib_soname_sane+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_soname_save_LIBS=$LIBS
11835 LIBS="-lsane $SANE_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char sane_init ();
11847 main ()
11849 return sane_init ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 case "$LIBEXT" in
11856 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11859 if ${ac_cv_lib_soname_sane:+false} :; then :
11860 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11861 fi ;;
11862 esac
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_soname_save_LIBS
11868 if ${ac_cv_lib_soname_sane:+false} :; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11871 SANE_CFLAGS=""
11872 else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11874 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11876 cat >>confdefs.h <<_ACEOF
11877 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11878 _ACEOF
11882 else
11883 SANE_CFLAGS=""
11887 CPPFLAGS=$ac_save_CPPFLAGS
11888 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11889 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11892 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11893 case "x$with_sane" in
11894 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11897 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11898 esac
11902 if test "x$with_v4l" != "xno"
11903 then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11905 $as_echo_n "checking for -lv4l1... " >&6; }
11906 if ${ac_cv_lib_soname_v4l1+:} false; then :
11907 $as_echo_n "(cached) " >&6
11908 else
11909 ac_check_soname_save_LIBS=$LIBS
11910 LIBS="-lv4l1 $LIBS"
11911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11912 /* end confdefs.h. */
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char v4l1_open ();
11922 main ()
11924 return v4l1_open ();
11926 return 0;
11928 _ACEOF
11929 if ac_fn_c_try_link "$LINENO"; then :
11930 case "$LIBEXT" in
11931 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11932 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'` ;;
11933 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11934 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11935 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11936 fi ;;
11937 esac
11939 rm -f core conftest.err conftest.$ac_objext \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_soname_save_LIBS
11943 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11945 $as_echo "not found" >&6; }
11947 else
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11949 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11951 cat >>confdefs.h <<_ACEOF
11952 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11953 _ACEOF
11958 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11959 case "x$with_v4l" in
11960 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11961 xno) ;;
11962 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11963 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11964 esac
11968 if test "x$with_gphoto" != "xno"
11969 then
11970 if ${GPHOTO2_CFLAGS:+false} :; then :
11971 if ${PKG_CONFIG+:} false; then :
11972 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11975 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11976 if ${GPHOTO2_LIBS:+false} :; then :
11977 if ${PKG_CONFIG+:} false; then :
11978 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11981 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11982 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11983 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11984 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11985 ac_save_CPPFLAGS=$CPPFLAGS
11986 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11987 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11988 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11990 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11991 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11992 $as_echo_n "(cached) " >&6
11993 else
11994 ac_check_lib_save_LIBS=$LIBS
11995 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11999 /* Override any GCC internal prototype to avoid an error.
12000 Use char because int might match the return type of a GCC
12001 builtin and then its argument prototype would still apply. */
12002 #ifdef __cplusplus
12003 extern "C"
12004 #endif
12005 char gp_camera_new ();
12007 main ()
12009 return gp_camera_new ();
12011 return 0;
12013 _ACEOF
12014 if ac_fn_c_try_link "$LINENO"; then :
12015 ac_cv_lib_gphoto2_gp_camera_new=yes
12016 else
12017 ac_cv_lib_gphoto2_gp_camera_new=no
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_lib_save_LIBS
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12024 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12025 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12027 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12029 else
12030 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12033 else
12034 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12038 CPPFLAGS=$ac_save_CPPFLAGS
12039 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12040 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12042 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12043 if ${PKG_CONFIG+:} false; then :
12044 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12047 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12048 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12049 if ${PKG_CONFIG+:} false; then :
12050 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12053 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12054 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12055 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12056 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12057 ac_save_CPPFLAGS=$CPPFLAGS
12058 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12059 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12060 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12062 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12063 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12064 $as_echo_n "(cached) " >&6
12065 else
12066 ac_check_lib_save_LIBS=$LIBS
12067 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12071 /* Override any GCC internal prototype to avoid an error.
12072 Use char because int might match the return type of a GCC
12073 builtin and then its argument prototype would still apply. */
12074 #ifdef __cplusplus
12075 extern "C"
12076 #endif
12077 char gp_port_info_list_new ();
12079 main ()
12081 return gp_port_info_list_new ();
12083 return 0;
12085 _ACEOF
12086 if ac_fn_c_try_link "$LINENO"; then :
12087 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12088 else
12089 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12091 rm -f core conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12096 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12097 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12099 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12101 else
12102 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12105 else
12106 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12110 CPPFLAGS=$ac_save_CPPFLAGS
12111 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12112 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12115 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12116 case "x$with_gphoto" in
12117 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12118 xno) ;;
12119 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12120 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12121 esac
12124 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12125 case "x$with_gphoto" in
12126 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12127 xno) ;;
12128 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12129 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12130 esac
12135 if test "$ac_cv_header_resolv_h" = "yes"
12136 then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12138 $as_echo_n "checking for resolver library... " >&6; }
12139 if ${ac_cv_have_resolv+:} false; then :
12140 $as_echo_n "(cached) " >&6
12141 else
12142 ac_save_LIBS="$LIBS"
12143 for lib in '' -lresolv
12145 LIBS="$lib $ac_save_LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 #ifdef HAVE_NETINET_IN_H
12149 #include <netinet/in.h>
12150 #endif
12151 #include <resolv.h>
12153 main ()
12155 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_link "$LINENO"; then :
12161 ac_cv_have_resolv=${lib:-"none required"}
12162 else
12163 ac_cv_have_resolv="not found"
12165 rm -f core conftest.err conftest.$ac_objext \
12166 conftest$ac_exeext conftest.$ac_ext
12167 test "x$ac_cv_have_resolv" = "xnot found" || break
12168 done
12169 LIBS="$ac_save_LIBS"
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12172 $as_echo "$ac_cv_have_resolv" >&6; }
12174 case "$ac_cv_have_resolv" in
12175 "not found") ;;
12176 "none required")
12178 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12181 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12183 RESOLV_LIBS=$ac_cv_have_resolv
12185 esac
12188 if test "x$with_cms" != "xno"
12189 then
12190 if ${LCMS2_CFLAGS:+false} :; then :
12191 if ${PKG_CONFIG+:} false; then :
12192 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12196 if ${LCMS2_LIBS:+false} :; then :
12197 if ${PKG_CONFIG+:} false; then :
12198 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12202 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12203 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12204 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12205 ac_save_CPPFLAGS=$CPPFLAGS
12206 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12207 for ac_header in lcms2.h
12208 do :
12209 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12210 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12211 cat >>confdefs.h <<_ACEOF
12212 #define HAVE_LCMS2_H 1
12213 _ACEOF
12217 done
12219 if test "$ac_cv_header_lcms2_h" = "yes"
12220 then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12222 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12223 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12224 $as_echo_n "(cached) " >&6
12225 else
12226 ac_check_lib_save_LIBS=$LIBS
12227 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12229 /* end confdefs.h. */
12231 /* Override any GCC internal prototype to avoid an error.
12232 Use char because int might match the return type of a GCC
12233 builtin and then its argument prototype would still apply. */
12234 #ifdef __cplusplus
12235 extern "C"
12236 #endif
12237 char cmsOpenProfileFromFile ();
12239 main ()
12241 return cmsOpenProfileFromFile ();
12243 return 0;
12245 _ACEOF
12246 if ac_fn_c_try_link "$LINENO"; then :
12247 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12248 else
12249 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_lib_save_LIBS
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12256 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12257 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12259 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12261 else
12262 LCMS2_LIBS=""
12265 else
12266 LCMS2_CFLAGS=""
12267 LCMS2_LIBS=""
12269 CPPFLAGS=$ac_save_CPPFLAGS
12270 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12271 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12274 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12275 case "x$with_cms" in
12276 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12277 xno) ;;
12278 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12279 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12280 esac
12284 if test "x$with_freetype" != "xno"
12285 then
12286 if ${FREETYPE_CFLAGS:+false} :; then :
12287 if ${PKG_CONFIG+:} false; then :
12288 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12291 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12292 if ${FREETYPE_LIBS:+false} :; then :
12293 if ${PKG_CONFIG+:} false; then :
12294 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12297 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12298 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12299 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12300 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12301 ac_save_CPPFLAGS=$CPPFLAGS
12302 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12303 for ac_header in ft2build.h
12304 do :
12305 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12306 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12307 cat >>confdefs.h <<_ACEOF
12308 #define HAVE_FT2BUILD_H 1
12309 _ACEOF
12313 done
12315 if test "$ac_cv_header_ft2build_h" = "yes"
12316 then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12318 $as_echo_n "checking for -lfreetype... " >&6; }
12319 if ${ac_cv_lib_soname_freetype+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char FT_Init_FreeType ();
12335 main ()
12337 return FT_Init_FreeType ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_freetype:+false} :; then :
12348 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_soname_save_LIBS
12356 if ${ac_cv_lib_soname_freetype:+false} :; then :
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12358 $as_echo "not found" >&6; }
12359 FREETYPE_LIBS=""
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12362 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12364 cat >>confdefs.h <<_ACEOF
12365 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12366 _ACEOF
12369 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12371 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12372 #include FT_MODULE_H
12374 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12376 cat >>confdefs.h <<_ACEOF
12377 #define HAVE_FT_TRUETYPEENGINETYPE 1
12378 _ACEOF
12384 else
12385 FREETYPE_CFLAGS=""
12386 FREETYPE_LIBS=""
12388 CPPFLAGS=$ac_save_CPPFLAGS
12389 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12390 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12393 if test "x$ac_cv_lib_soname_freetype" = x; then :
12394 case "x$with_freetype" in
12395 xno) ;;
12396 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12397 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12398 esac
12399 enable_fonts=${enable_fonts:-no}
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12403 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12404 if ${ac_cv_c_ppdev+:} false; then :
12405 $as_echo_n "(cached) " >&6
12406 else
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409 #ifdef HAVE_SYS_IOCTL_H
12410 # include <sys/ioctl.h>
12411 #endif
12412 #include <linux/ppdev.h>
12414 main ()
12416 ioctl (1,PPCLAIM,0)
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_compile "$LINENO"; then :
12422 ac_cv_c_ppdev="yes"
12423 else
12424 ac_cv_c_ppdev="no"
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12429 $as_echo "$ac_cv_c_ppdev" >&6; }
12430 if test "$ac_cv_c_ppdev" = "yes"
12431 then
12433 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12437 ac_wine_check_funcs_save_LIBS="$LIBS"
12438 LIBS="$LIBS $PTHREAD_LIBS"
12439 for ac_func in \
12440 pthread_attr_get_np \
12441 pthread_getattr_np \
12442 pthread_getthreadid_np \
12443 pthread_get_stackaddr_np \
12444 pthread_get_stacksize_np
12445 do :
12446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12449 cat >>confdefs.h <<_ACEOF
12450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12451 _ACEOF
12454 done
12456 LIBS="$ac_wine_check_funcs_save_LIBS"
12458 if test "$ac_cv_header_zlib_h" = "yes"
12459 then
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12461 $as_echo_n "checking for inflate in -lz... " >&6; }
12462 if ${ac_cv_lib_z_inflate+:} false; then :
12463 $as_echo_n "(cached) " >&6
12464 else
12465 ac_check_lib_save_LIBS=$LIBS
12466 LIBS="-lz $LIBS"
12467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12468 /* end confdefs.h. */
12470 /* Override any GCC internal prototype to avoid an error.
12471 Use char because int might match the return type of a GCC
12472 builtin and then its argument prototype would still apply. */
12473 #ifdef __cplusplus
12474 extern "C"
12475 #endif
12476 char inflate ();
12478 main ()
12480 return inflate ();
12482 return 0;
12484 _ACEOF
12485 if ac_fn_c_try_link "$LINENO"; then :
12486 ac_cv_lib_z_inflate=yes
12487 else
12488 ac_cv_lib_z_inflate=no
12490 rm -f core conftest.err conftest.$ac_objext \
12491 conftest$ac_exeext conftest.$ac_ext
12492 LIBS=$ac_check_lib_save_LIBS
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12495 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12496 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12498 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12500 Z_LIBS="-lz"
12505 if test "x$Z_LIBS" = "x"; then :
12506 case "x$with_zlib" in
12507 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12508 xno) ;;
12509 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12510 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12511 esac
12515 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12516 then
12517 if test "$ac_cv_header_gettext_po_h" = "yes"
12518 then
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12520 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12521 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12522 $as_echo_n "(cached) " >&6
12523 else
12524 ac_check_lib_save_LIBS=$LIBS
12525 LIBS="-lgettextpo $LIBS"
12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 /* Override any GCC internal prototype to avoid an error.
12530 Use char because int might match the return type of a GCC
12531 builtin and then its argument prototype would still apply. */
12532 #ifdef __cplusplus
12533 extern "C"
12534 #endif
12535 char po_message_msgctxt ();
12537 main ()
12539 return po_message_msgctxt ();
12541 return 0;
12543 _ACEOF
12544 if ac_fn_c_try_link "$LINENO"; then :
12545 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12546 else
12547 ac_cv_lib_gettextpo_po_message_msgctxt=no
12549 rm -f core conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12551 LIBS=$ac_check_lib_save_LIBS
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12554 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12555 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12557 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12559 GETTEXTPO_LIBS="-lgettextpo"
12564 if test "x$GETTEXTPO_LIBS" = "x"; then :
12565 case "x$with_gettextpo" in
12566 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12567 xno) ;;
12568 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12569 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12570 esac
12573 if test "$srcdir" != .; then :
12574 case "x$with_gettextpo" in
12575 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12576 xno) ;;
12577 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12578 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12579 esac
12584 if test "x$with_pulse" != "xno";
12585 then
12586 if ${PULSE_CFLAGS:+false} :; then :
12587 if ${PKG_CONFIG+:} false; then :
12588 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12592 if ${PULSE_LIBS:+false} :; then :
12593 if ${PKG_CONFIG+:} false; then :
12594 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12599 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12600 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12601 ac_save_CPPFLAGS=$CPPFLAGS
12602 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12603 for ac_header in pulse/pulseaudio.h
12604 do :
12605 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12606 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12607 cat >>confdefs.h <<_ACEOF
12608 #define HAVE_PULSE_PULSEAUDIO_H 1
12609 _ACEOF
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12611 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12612 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_lib_save_LIBS=$LIBS
12616 LIBS="-lpulse $PULSE_LIBS $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char pa_stream_is_corked ();
12628 main ()
12630 return pa_stream_is_corked ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 ac_cv_lib_pulse_pa_stream_is_corked=yes
12637 else
12638 ac_cv_lib_pulse_pa_stream_is_corked=no
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_lib_save_LIBS
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12645 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12646 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12648 else
12649 PULSE_LIBS=""
12652 else
12653 PULSE_LIBS=""
12656 done
12658 CPPFLAGS=$ac_save_CPPFLAGS
12659 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12660 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12663 if test -z "$PULSE_LIBS"; then :
12664 case "x$with_pulse" in
12665 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12666 xno) ;;
12667 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12668 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12669 esac
12670 enable_winepulse_drv=${enable_winepulse_drv:-no}
12673 if test "x$with_gstreamer" != "xno"
12674 then
12675 if ${GSTREAMER_CFLAGS:+false} :; then :
12676 if ${PKG_CONFIG+:} false; then :
12677 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12681 if ${GSTREAMER_LIBS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12688 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12689 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12690 ac_save_CPPFLAGS=$CPPFLAGS
12691 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12692 ac_gst_incl=""
12693 for i in $GSTREAMER_CFLAGS
12695 case "$i" in
12696 -I*) ac_gst_incl="$ac_gst_incl $i";;
12697 esac
12698 done
12699 GSTREAMER_CFLAGS=$ac_gst_incl
12700 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12701 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12702 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12704 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 #include <gst/gst.h>
12709 main ()
12711 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_compile "$LINENO"; then :
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12718 $as_echo "yes" >&6; }
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12720 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12721 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12722 $as_echo_n "(cached) " >&6
12723 else
12724 ac_check_lib_save_LIBS=$LIBS
12725 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12732 #ifdef __cplusplus
12733 extern "C"
12734 #endif
12735 char gst_pad_new ();
12737 main ()
12739 return gst_pad_new ();
12741 return 0;
12743 _ACEOF
12744 if ac_fn_c_try_link "$LINENO"; then :
12745 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12746 else
12747 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12749 rm -f core conftest.err conftest.$ac_objext \
12750 conftest$ac_exeext conftest.$ac_ext
12751 LIBS=$ac_check_lib_save_LIBS
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12754 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12755 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12759 else
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12762 ac_glib2_broken=yes
12763 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12769 CPPFLAGS=$ac_save_CPPFLAGS
12770 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12771 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12774 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 :
12775 case "x$with_gstreamer" in
12776 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12777 xno) ;;
12778 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12779 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12780 esac
12783 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12785 ALSA_LIBS=""
12787 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12790 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12791 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_lib_save_LIBS=$LIBS
12795 LIBS="-lasound $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char snd_pcm_hw_params_get_access_mask ();
12807 main ()
12809 return snd_pcm_hw_params_get_access_mask ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12816 else
12817 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12819 rm -f core conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12824 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12825 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12827 /* end confdefs.h. */
12828 #ifdef HAVE_ALSA_ASOUNDLIB_H
12829 #include <alsa/asoundlib.h>
12830 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12831 #include <sys/asoundlib.h>
12832 #endif
12834 main ()
12836 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12838 return 0;
12840 _ACEOF
12841 if ac_fn_c_try_compile "$LINENO"; then :
12842 ALSA_LIBS="-lasound"
12844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12848 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12850 if test "x$with_oss" != xno
12851 then
12852 ac_save_CPPFLAGS="$CPPFLAGS"
12853 if test -f /etc/oss.conf
12854 then
12855 . /etc/oss.conf
12857 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12858 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12859 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12860 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12861 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12863 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12865 cat >>confdefs.h <<_ACEOF
12866 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12867 _ACEOF
12869 OSS4_CFLAGS="$ac_oss_incl"
12876 CPPFLAGS="$ac_save_CPPFLAGS"
12878 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12879 case "x$with_oss" in
12880 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12881 xno) ;;
12882 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12883 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12884 esac
12885 enable_wineoss_drv=${enable_wineoss_drv:-no}
12888 if test "x$with_capi" != "xno"
12889 then
12890 if ${CAPI20_CFLAGS:+false} :; then :
12891 if ${PKG_CONFIG+:} false; then :
12892 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12896 if ${CAPI20_LIBS:+false} :; then :
12897 if ${PKG_CONFIG+:} false; then :
12898 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12903 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12904 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12905 ac_save_CPPFLAGS=$CPPFLAGS
12906 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12907 for ac_header in capi20.h linux/capi.h
12908 do :
12909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12910 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12913 cat >>confdefs.h <<_ACEOF
12914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12915 _ACEOF
12919 done
12921 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12922 then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12924 $as_echo_n "checking for -lcapi20... " >&6; }
12925 if ${ac_cv_lib_soname_capi20+:} false; then :
12926 $as_echo_n "(cached) " >&6
12927 else
12928 ac_check_soname_save_LIBS=$LIBS
12929 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12931 /* end confdefs.h. */
12933 /* Override any GCC internal prototype to avoid an error.
12934 Use char because int might match the return type of a GCC
12935 builtin and then its argument prototype would still apply. */
12936 #ifdef __cplusplus
12937 extern "C"
12938 #endif
12939 char capi20_register ();
12941 main ()
12943 return capi20_register ();
12945 return 0;
12947 _ACEOF
12948 if ac_fn_c_try_link "$LINENO"; then :
12949 case "$LIBEXT" in
12950 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12951 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'` ;;
12952 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12953 if ${ac_cv_lib_soname_capi20:+false} :; then :
12954 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12955 fi ;;
12956 esac
12958 rm -f core conftest.err conftest.$ac_objext \
12959 conftest$ac_exeext conftest.$ac_ext
12960 LIBS=$ac_check_soname_save_LIBS
12962 if ${ac_cv_lib_soname_capi20:+false} :; then :
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12964 $as_echo "not found" >&6; }
12966 else
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12968 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12970 cat >>confdefs.h <<_ACEOF
12971 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12972 _ACEOF
12977 CPPFLAGS=$ac_save_CPPFLAGS
12978 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12979 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12982 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12983 case "x$with_capi" in
12984 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12985 xno) ;;
12986 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12987 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12988 esac
12992 CUPS_CFLAGS=""
12994 if test "x$with_cups" != "xno"
12995 then
12996 ac_save_CPPFLAGS="$CPPFLAGS"
12997 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12998 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12999 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13000 for ac_header in cups/cups.h
13001 do :
13002 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13003 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13004 cat >>confdefs.h <<_ACEOF
13005 #define HAVE_CUPS_CUPS_H 1
13006 _ACEOF
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13008 $as_echo_n "checking for -lcups... " >&6; }
13009 if ${ac_cv_lib_soname_cups+:} false; then :
13010 $as_echo_n "(cached) " >&6
13011 else
13012 ac_check_soname_save_LIBS=$LIBS
13013 LIBS="-lcups $ac_cups_libs $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 #ifdef __cplusplus
13021 extern "C"
13022 #endif
13023 char cupsGetDefault ();
13025 main ()
13027 return cupsGetDefault ();
13029 return 0;
13031 _ACEOF
13032 if ac_fn_c_try_link "$LINENO"; then :
13033 case "$LIBEXT" in
13034 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13035 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'` ;;
13036 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13037 if ${ac_cv_lib_soname_cups:+false} :; then :
13038 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13039 fi ;;
13040 esac
13042 rm -f core conftest.err conftest.$ac_objext \
13043 conftest$ac_exeext conftest.$ac_ext
13044 LIBS=$ac_check_soname_save_LIBS
13046 if ${ac_cv_lib_soname_cups:+false} :; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13048 $as_echo "not found" >&6; }
13050 else
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13052 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13054 cat >>confdefs.h <<_ACEOF
13055 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13056 _ACEOF
13058 CUPS_CFLAGS="$ac_cups_cflags"
13060 for ac_header in cups/ppd.h
13061 do :
13062 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13063 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13064 cat >>confdefs.h <<_ACEOF
13065 #define HAVE_CUPS_PPD_H 1
13066 _ACEOF
13070 done
13074 done
13076 CPPFLAGS="$ac_save_CPPFLAGS"
13078 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13079 case "x$with_cups" in
13080 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13081 xno) ;;
13082 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13083 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13084 esac
13088 if test "x$with_fontconfig" != "xno"
13089 then
13090 if ${FONTCONFIG_CFLAGS:+false} :; then :
13091 if ${PKG_CONFIG+:} false; then :
13092 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13095 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13096 if ${FONTCONFIG_LIBS:+false} :; then :
13097 if ${PKG_CONFIG+:} false; then :
13098 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13101 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13103 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13104 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13105 ac_save_CPPFLAGS=$CPPFLAGS
13106 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13107 for ac_header in fontconfig/fontconfig.h
13108 do :
13109 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13110 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13111 cat >>confdefs.h <<_ACEOF
13112 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13113 _ACEOF
13117 done
13119 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13120 then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13122 $as_echo_n "checking for -lfontconfig... " >&6; }
13123 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 ac_check_soname_save_LIBS=$LIBS
13127 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char FcInit ();
13139 main ()
13141 return FcInit ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 case "$LIBEXT" in
13148 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13149 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'` ;;
13150 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13151 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13152 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13153 fi ;;
13154 esac
13156 rm -f core conftest.err conftest.$ac_objext \
13157 conftest$ac_exeext conftest.$ac_ext
13158 LIBS=$ac_check_soname_save_LIBS
13160 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13162 $as_echo "not found" >&6; }
13163 FONTCONFIG_CFLAGS=""
13164 else
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13166 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13168 cat >>confdefs.h <<_ACEOF
13169 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13170 _ACEOF
13174 else
13175 FONTCONFIG_CFLAGS=""
13177 CPPFLAGS=$ac_save_CPPFLAGS
13178 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13179 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13182 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13183 case "x$with_fontconfig" in
13184 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13185 xno) ;;
13186 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13187 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13188 esac
13192 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13193 then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13195 $as_echo_n "checking for -lgsm... " >&6; }
13196 if ${ac_cv_lib_soname_gsm+:} false; then :
13197 $as_echo_n "(cached) " >&6
13198 else
13199 ac_check_soname_save_LIBS=$LIBS
13200 LIBS="-lgsm $LIBS"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char gsm_create ();
13212 main ()
13214 return gsm_create ();
13216 return 0;
13218 _ACEOF
13219 if ac_fn_c_try_link "$LINENO"; then :
13220 case "$LIBEXT" in
13221 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13222 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'` ;;
13223 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13224 if ${ac_cv_lib_soname_gsm:+false} :; then :
13225 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13226 fi ;;
13227 esac
13229 rm -f core conftest.err conftest.$ac_objext \
13230 conftest$ac_exeext conftest.$ac_ext
13231 LIBS=$ac_check_soname_save_LIBS
13233 if ${ac_cv_lib_soname_gsm:+false} :; then :
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13235 $as_echo "not found" >&6; }
13237 else
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13239 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13241 cat >>confdefs.h <<_ACEOF
13242 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13243 _ACEOF
13248 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13249 case "x$with_gsm" in
13250 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13251 xno) ;;
13252 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13253 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13254 esac
13258 if test "x$with_jpeg" != "xno"
13259 then
13260 if ${JPEG_CFLAGS:+false} :; then :
13261 if ${PKG_CONFIG+:} false; then :
13262 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13266 if ${JPEG_LIBS:+false} :; then :
13267 if ${PKG_CONFIG+:} false; then :
13268 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13273 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13274 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13275 ac_save_CPPFLAGS=$CPPFLAGS
13276 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13277 for ac_header in jpeglib.h
13278 do :
13279 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13280 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13281 cat >>confdefs.h <<_ACEOF
13282 #define HAVE_JPEGLIB_H 1
13283 _ACEOF
13287 done
13289 if test "$ac_cv_header_jpeglib_h" = "yes"
13290 then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13292 $as_echo_n "checking for -ljpeg... " >&6; }
13293 if ${ac_cv_lib_soname_jpeg+:} false; then :
13294 $as_echo_n "(cached) " >&6
13295 else
13296 ac_check_soname_save_LIBS=$LIBS
13297 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 /* Override any GCC internal prototype to avoid an error.
13302 Use char because int might match the return type of a GCC
13303 builtin and then its argument prototype would still apply. */
13304 #ifdef __cplusplus
13305 extern "C"
13306 #endif
13307 char jpeg_start_decompress ();
13309 main ()
13311 return jpeg_start_decompress ();
13313 return 0;
13315 _ACEOF
13316 if ac_fn_c_try_link "$LINENO"; then :
13317 case "$LIBEXT" in
13318 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13319 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'` ;;
13320 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13321 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13322 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13323 fi ;;
13324 esac
13326 rm -f core conftest.err conftest.$ac_objext \
13327 conftest$ac_exeext conftest.$ac_ext
13328 LIBS=$ac_check_soname_save_LIBS
13330 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13332 $as_echo "not found" >&6; }
13333 JPEG_CFLAGS=""
13334 else
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13336 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13338 cat >>confdefs.h <<_ACEOF
13339 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13340 _ACEOF
13344 else
13345 JPEG_CFLAGS=""
13347 CPPFLAGS=$ac_save_CPPFLAGS
13348 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13349 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13352 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13353 case "x$with_jpeg" in
13354 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13355 xno) ;;
13356 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13357 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13358 esac
13362 if test "x$with_png" != "xno"
13363 then
13364 if ${PNG_CFLAGS:+false} :; then :
13365 if ${PKG_CONFIG+:} false; then :
13366 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13369 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13370 if ${PNG_LIBS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13375 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13377 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13378 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13379 ac_save_CPPFLAGS=$CPPFLAGS
13380 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13381 for ac_header in png.h
13382 do :
13383 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13384 if test "x$ac_cv_header_png_h" = xyes; then :
13385 cat >>confdefs.h <<_ACEOF
13386 #define HAVE_PNG_H 1
13387 _ACEOF
13391 done
13393 if test "$ac_cv_header_png_h" = "yes"
13394 then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13396 $as_echo_n "checking for -lpng... " >&6; }
13397 if ${ac_cv_lib_soname_png+:} false; then :
13398 $as_echo_n "(cached) " >&6
13399 else
13400 ac_check_soname_save_LIBS=$LIBS
13401 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13405 /* Override any GCC internal prototype to avoid an error.
13406 Use char because int might match the return type of a GCC
13407 builtin and then its argument prototype would still apply. */
13408 #ifdef __cplusplus
13409 extern "C"
13410 #endif
13411 char png_create_read_struct ();
13413 main ()
13415 return png_create_read_struct ();
13417 return 0;
13419 _ACEOF
13420 if ac_fn_c_try_link "$LINENO"; then :
13421 case "$LIBEXT" in
13422 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13423 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'` ;;
13424 *) 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'`
13425 if ${ac_cv_lib_soname_png:+false} :; then :
13426 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13427 fi ;;
13428 esac
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13432 LIBS=$ac_check_soname_save_LIBS
13434 if ${ac_cv_lib_soname_png:+false} :; then :
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13436 $as_echo "not found" >&6; }
13437 PNG_CFLAGS=""
13438 else
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13440 $as_echo "$ac_cv_lib_soname_png" >&6; }
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13444 _ACEOF
13446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h. */
13448 #include <png.h>
13450 main ()
13452 typeof(png_set_expand_gray_1_2_4_to_8) *p
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_compile "$LINENO"; then :
13459 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13464 else
13465 PNG_CFLAGS=""
13467 CPPFLAGS=$ac_save_CPPFLAGS
13468 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13469 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13472 if test "x$ac_cv_lib_soname_png" = "x"; then :
13473 case "x$with_png" in
13474 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13475 xno) ;;
13476 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13477 This is an error since --with-png was requested." "$LINENO" 5 ;;
13478 esac
13482 if test "x$with_tiff" != "xno"
13483 then
13484 if ${TIFF_CFLAGS:+false} :; then :
13485 if ${PKG_CONFIG+:} false; then :
13486 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13490 if ${TIFF_LIBS:+false} :; then :
13491 if ${PKG_CONFIG+:} false; then :
13492 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13497 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13498 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13499 ac_save_CPPFLAGS=$CPPFLAGS
13500 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13501 for ac_header in tiffio.h
13502 do :
13503 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13504 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13505 cat >>confdefs.h <<_ACEOF
13506 #define HAVE_TIFFIO_H 1
13507 _ACEOF
13511 done
13513 if test "$ac_cv_header_tiffio_h" = "yes"
13514 then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13516 $as_echo_n "checking for -ltiff... " >&6; }
13517 if ${ac_cv_lib_soname_tiff+:} false; then :
13518 $as_echo_n "(cached) " >&6
13519 else
13520 ac_check_soname_save_LIBS=$LIBS
13521 LIBS="-ltiff $TIFF_LIBS $LIBS"
13522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13523 /* end confdefs.h. */
13525 /* Override any GCC internal prototype to avoid an error.
13526 Use char because int might match the return type of a GCC
13527 builtin and then its argument prototype would still apply. */
13528 #ifdef __cplusplus
13529 extern "C"
13530 #endif
13531 char TIFFClientOpen ();
13533 main ()
13535 return TIFFClientOpen ();
13537 return 0;
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"; then :
13541 case "$LIBEXT" in
13542 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13543 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'` ;;
13544 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13545 if ${ac_cv_lib_soname_tiff:+false} :; then :
13546 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13547 fi ;;
13548 esac
13550 rm -f core conftest.err conftest.$ac_objext \
13551 conftest$ac_exeext conftest.$ac_ext
13552 LIBS=$ac_check_soname_save_LIBS
13554 if ${ac_cv_lib_soname_tiff:+false} :; then :
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13556 $as_echo "not found" >&6; }
13558 else
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13560 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13562 cat >>confdefs.h <<_ACEOF
13563 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13564 _ACEOF
13569 CPPFLAGS=$ac_save_CPPFLAGS
13570 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13571 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13574 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13575 case "x$with_tiff" in
13576 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13577 xno) ;;
13578 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13579 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13580 esac
13584 if test "x$with_mpg123" != "xno"
13585 then
13586 if ${MPG123_CFLAGS:+false} :; then :
13587 if ${PKG_CONFIG+:} false; then :
13588 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13592 if ${MPG123_LIBS:+false} :; then :
13593 if ${PKG_CONFIG+:} false; then :
13594 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13598 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13599 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13600 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13601 ac_save_CPPFLAGS=$CPPFLAGS
13602 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13603 for ac_header in mpg123.h
13604 do :
13605 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13606 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13607 cat >>confdefs.h <<_ACEOF
13608 #define HAVE_MPG123_H 1
13609 _ACEOF
13613 done
13615 if test "$ac_cv_header_mpg123_h" = "yes"
13616 then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13618 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13619 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_check_lib_save_LIBS=$LIBS
13623 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char mpg123_feed ();
13635 main ()
13637 return mpg123_feed ();
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 ac_cv_lib_mpg123_mpg123_feed=yes
13644 else
13645 ac_cv_lib_mpg123_mpg123_feed=no
13647 rm -f core conftest.err conftest.$ac_objext \
13648 conftest$ac_exeext conftest.$ac_ext
13649 LIBS=$ac_check_lib_save_LIBS
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13652 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13653 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13655 else
13656 MPG123_LIBS=""
13659 else
13660 MPG123_CFLAGS=""
13661 MPG123_LIBS=""
13663 CPPFLAGS=$ac_save_CPPFLAGS
13664 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13665 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13668 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13669 case "x$with_mpg123" in
13670 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13671 xno) ;;
13672 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13673 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13674 esac
13675 enable_winemp3_acm=${enable_winemp3_acm:-no}
13678 if test "$ac_cv_header_AL_al_h" = "yes"
13679 then
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13681 $as_echo_n "checking for -lopenal... " >&6; }
13682 if ${ac_cv_lib_soname_openal+:} false; then :
13683 $as_echo_n "(cached) " >&6
13684 else
13685 ac_check_soname_save_LIBS=$LIBS
13686 LIBS="-lopenal $LIBS"
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13690 /* Override any GCC internal prototype to avoid an error.
13691 Use char because int might match the return type of a GCC
13692 builtin and then its argument prototype would still apply. */
13693 #ifdef __cplusplus
13694 extern "C"
13695 #endif
13696 char alGetSource3i ();
13698 main ()
13700 return alGetSource3i ();
13702 return 0;
13704 _ACEOF
13705 if ac_fn_c_try_link "$LINENO"; then :
13706 case "$LIBEXT" in
13707 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13708 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'` ;;
13709 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13710 if ${ac_cv_lib_soname_openal:+false} :; then :
13711 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13712 fi ;;
13713 esac
13715 rm -f core conftest.err conftest.$ac_objext \
13716 conftest$ac_exeext conftest.$ac_ext
13717 LIBS=$ac_check_soname_save_LIBS
13719 if ${ac_cv_lib_soname_openal:+false} :; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13721 $as_echo "not found" >&6; }
13723 else
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13725 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13727 cat >>confdefs.h <<_ACEOF
13728 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13729 _ACEOF
13731 OPENAL_LIBS="-lopenal"
13733 ac_cv_lib_openal=yes
13735 cat >>confdefs.h <<_ACEOF
13736 #define HAVE_OPENAL 1
13737 _ACEOF
13741 if test "x$ac_cv_lib_openal" != xyes; then :
13742 case "x$with_openal" in
13743 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13744 xno) ;;
13745 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13746 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13747 esac
13748 enable_openal32=${enable_openal32:-no}
13751 if test "x$ac_cv_lib_openal" = xyes
13752 then
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13754 $as_echo_n "checking for openal-soft... " >&6; }
13755 if ${ac_cv_have_openalsoft+:} false; then :
13756 $as_echo_n "(cached) " >&6
13757 else
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #include <AL/al.h>
13761 #include <AL/alc.h>
13762 #include <AL/alext.h>
13763 LPALCRENDERSAMPLESSOFT x;
13765 main ()
13769 return 0;
13771 _ACEOF
13772 if ac_fn_c_try_compile "$LINENO"; then :
13773 ac_cv_have_openalsoft=yes
13774 else
13775 ac_cv_have_openalsoft=no
13777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13780 $as_echo "$ac_cv_have_openalsoft" >&6; }
13782 if test "x$ac_cv_have_openalsoft" != xyes
13783 then
13784 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13785 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13786 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13787 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13788 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13789 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13790 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13791 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13792 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13793 enable_xapofx1_1=${enable_xapofx1_1:-no}
13794 enable_xapofx1_2=${enable_xapofx1_2:-no}
13795 enable_xapofx1_3=${enable_xapofx1_3:-no}
13796 enable_xapofx1_4=${enable_xapofx1_4:-no}
13797 enable_xapofx1_5=${enable_xapofx1_5:-no}
13798 enable_xaudio2_0=${enable_xaudio2_0:-no}
13799 enable_xaudio2_1=${enable_xaudio2_1:-no}
13800 enable_xaudio2_2=${enable_xaudio2_2:-no}
13801 enable_xaudio2_3=${enable_xaudio2_3:-no}
13802 enable_xaudio2_4=${enable_xaudio2_4:-no}
13803 enable_xaudio2_5=${enable_xaudio2_5:-no}
13804 enable_xaudio2_6=${enable_xaudio2_6:-no}
13805 enable_xaudio2_7=${enable_xaudio2_7:-no}
13806 enable_xaudio2_8=${enable_xaudio2_8:-no}
13807 enable_xaudio2_9=${enable_xaudio2_9:-no}
13810 if test "$ac_cv_header_kstat_h" = "yes"
13811 then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13813 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13814 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 ac_check_lib_save_LIBS=$LIBS
13818 LIBS="-lkstat $LIBS"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13825 #ifdef __cplusplus
13826 extern "C"
13827 #endif
13828 char kstat_open ();
13830 main ()
13832 return kstat_open ();
13834 return 0;
13836 _ACEOF
13837 if ac_fn_c_try_link "$LINENO"; then :
13838 ac_cv_lib_kstat_kstat_open=yes
13839 else
13840 ac_cv_lib_kstat_kstat_open=no
13842 rm -f core conftest.err conftest.$ac_objext \
13843 conftest$ac_exeext conftest.$ac_ext
13844 LIBS=$ac_check_lib_save_LIBS
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13847 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13848 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13850 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13852 KSTAT_LIBS="-lkstat"
13858 if test "$ac_cv_header_libprocstat_h" = "yes"
13859 then
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13861 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13862 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13863 $as_echo_n "(cached) " >&6
13864 else
13865 ac_check_lib_save_LIBS=$LIBS
13866 LIBS="-lprocstat $LIBS"
13867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13870 /* Override any GCC internal prototype to avoid an error.
13871 Use char because int might match the return type of a GCC
13872 builtin and then its argument prototype would still apply. */
13873 #ifdef __cplusplus
13874 extern "C"
13875 #endif
13876 char procstat_open_sysctl ();
13878 main ()
13880 return procstat_open_sysctl ();
13882 return 0;
13884 _ACEOF
13885 if ac_fn_c_try_link "$LINENO"; then :
13886 ac_cv_lib_procstat_procstat_open_sysctl=yes
13887 else
13888 ac_cv_lib_procstat_procstat_open_sysctl=no
13890 rm -f core conftest.err conftest.$ac_objext \
13891 conftest$ac_exeext conftest.$ac_ext
13892 LIBS=$ac_check_lib_save_LIBS
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13895 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13896 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13898 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13900 PROCSTAT_LIBS="-lprocstat"
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13907 $as_echo_n "checking for -lodbc... " >&6; }
13908 if ${ac_cv_lib_soname_odbc+:} false; then :
13909 $as_echo_n "(cached) " >&6
13910 else
13911 ac_check_soname_save_LIBS=$LIBS
13912 LIBS="-lodbc $LIBS"
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13919 #ifdef __cplusplus
13920 extern "C"
13921 #endif
13922 char SQLConnect ();
13924 main ()
13926 return SQLConnect ();
13928 return 0;
13930 _ACEOF
13931 if ac_fn_c_try_link "$LINENO"; then :
13932 case "$LIBEXT" in
13933 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13934 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'` ;;
13935 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13936 if ${ac_cv_lib_soname_odbc:+false} :; then :
13937 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13938 fi ;;
13939 esac
13941 rm -f core conftest.err conftest.$ac_objext \
13942 conftest$ac_exeext conftest.$ac_ext
13943 LIBS=$ac_check_soname_save_LIBS
13945 if ${ac_cv_lib_soname_odbc:+false} :; then :
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13947 $as_echo "not found" >&6; }
13948 cat >>confdefs.h <<_ACEOF
13949 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13950 _ACEOF
13952 else
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13954 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13956 cat >>confdefs.h <<_ACEOF
13957 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13958 _ACEOF
13963 if test "x$with_netapi" != "xno"
13964 then
13965 if ${NETAPI_CFLAGS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13971 if ${NETAPI_LIBS:+false} :; then :
13972 if ${PKG_CONFIG+:} false; then :
13973 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13978 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13980 ac_save_CPPFLAGS=$CPPFLAGS
13981 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13983 $as_echo_n "checking for -lnetapi... " >&6; }
13984 if ${ac_cv_lib_soname_netapi+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_soname_save_LIBS=$LIBS
13988 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char libnetapi_init ();
14000 main ()
14002 return libnetapi_init ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 case "$LIBEXT" in
14009 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14010 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'` ;;
14011 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14012 if ${ac_cv_lib_soname_netapi:+false} :; then :
14013 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14014 fi ;;
14015 esac
14017 rm -f core conftest.err conftest.$ac_objext \
14018 conftest$ac_exeext conftest.$ac_ext
14019 LIBS=$ac_check_soname_save_LIBS
14021 if ${ac_cv_lib_soname_netapi:+false} :; then :
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14023 $as_echo "not found" >&6; }
14024 cat >>confdefs.h <<_ACEOF
14025 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14026 _ACEOF
14028 else
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14030 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14032 cat >>confdefs.h <<_ACEOF
14033 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14034 _ACEOF
14038 CPPFLAGS=$ac_save_CPPFLAGS
14039 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14040 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14044 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14045 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14046 then
14047 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14051 EXTRACFLAGS=""
14053 if test "x${GCC}" = "xyes"
14054 then
14055 EXTRACFLAGS="-Wall -pipe"
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14058 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14059 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14060 $as_echo_n "(cached) " >&6
14061 else
14062 if test "$cross_compiling" = yes; then :
14063 ac_cv_c_gcc_strength_bug="no"
14064 else
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14067 int L[4] = {0,1,2,3};
14069 main ()
14071 static int Array[3];
14072 unsigned int B = 3;
14073 int i;
14074 for(i=0; i<B; i++) Array[i] = i - 3;
14075 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14076 L[i] = 4;
14077 return (Array[1] != -2 || L[2] != 3)
14079 return 0;
14081 _ACEOF
14082 if ac_fn_c_try_run "$LINENO"; then :
14083 ac_cv_c_gcc_strength_bug="no"
14084 else
14085 ac_cv_c_gcc_strength_bug="yes"
14087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14088 conftest.$ac_objext conftest.beam conftest.$ac_ext
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14093 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14094 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14095 then
14096 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14100 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14101 if ${ac_cv_cflags__fno_builtin+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_wine_try_cflags_saved=$CFLAGS
14105 CFLAGS="$CFLAGS -fno-builtin"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14108 int main(int argc, char **argv) { return 0; }
14109 _ACEOF
14110 if ac_fn_c_try_link "$LINENO"; then :
14111 ac_cv_cflags__fno_builtin=yes
14112 else
14113 ac_cv_cflags__fno_builtin=no
14115 rm -f core conftest.err conftest.$ac_objext \
14116 conftest$ac_exeext conftest.$ac_ext
14117 CFLAGS=$ac_wine_try_cflags_saved
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14120 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14121 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14122 BUILTINFLAG="-fno-builtin"
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14126 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14127 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14128 $as_echo_n "(cached) " >&6
14129 else
14130 ac_wine_try_cflags_saved=$CFLAGS
14131 CFLAGS="$CFLAGS -fno-strict-aliasing"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 int main(int argc, char **argv) { return 0; }
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 ac_cv_cflags__fno_strict_aliasing=yes
14138 else
14139 ac_cv_cflags__fno_strict_aliasing=no
14141 rm -f core conftest.err conftest.$ac_objext \
14142 conftest$ac_exeext conftest.$ac_ext
14143 CFLAGS=$ac_wine_try_cflags_saved
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14146 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14147 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14148 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14151 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14152 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14153 $as_echo_n "(cached) " >&6
14154 else
14155 ac_wine_try_cflags_saved=$CFLAGS
14156 CFLAGS="$CFLAGS -fexcess-precision=standard"
14157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 int main(int argc, char **argv) { return 0; }
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"; then :
14162 ac_cv_cflags__fexcess_precision_standard=yes
14163 else
14164 ac_cv_cflags__fexcess_precision_standard=no
14166 rm -f core conftest.err conftest.$ac_objext \
14167 conftest$ac_exeext conftest.$ac_ext
14168 CFLAGS=$ac_wine_try_cflags_saved
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14171 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14172 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14173 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14176 saved_CFLAGS=$CFLAGS
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14178 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14179 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14180 $as_echo_n "(cached) " >&6
14181 else
14182 ac_wine_try_cflags_saved=$CFLAGS
14183 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14186 int main(int argc, char **argv) { return 0; }
14187 _ACEOF
14188 if ac_fn_c_try_link "$LINENO"; then :
14189 ac_cv_cflags__Werror_unknown_warning_option=yes
14190 else
14191 ac_cv_cflags__Werror_unknown_warning_option=no
14193 rm -f core conftest.err conftest.$ac_objext \
14194 conftest$ac_exeext conftest.$ac_ext
14195 CFLAGS=$ac_wine_try_cflags_saved
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14198 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14199 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14200 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14203 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14204 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 ac_wine_try_cflags_saved=$CFLAGS
14208 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14211 int main(int argc, char **argv) { return 0; }
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"; then :
14214 ac_cv_cflags__Wdeclaration_after_statement=yes
14215 else
14216 ac_cv_cflags__Wdeclaration_after_statement=no
14218 rm -f core conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 CFLAGS=$ac_wine_try_cflags_saved
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14223 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14224 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14225 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14228 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14229 if ${ac_cv_cflags__Wempty_body+:} false; then :
14230 $as_echo_n "(cached) " >&6
14231 else
14232 ac_wine_try_cflags_saved=$CFLAGS
14233 CFLAGS="$CFLAGS -Wempty-body"
14234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14236 int main(int argc, char **argv) { return 0; }
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239 ac_cv_cflags__Wempty_body=yes
14240 else
14241 ac_cv_cflags__Wempty_body=no
14243 rm -f core conftest.err conftest.$ac_objext \
14244 conftest$ac_exeext conftest.$ac_ext
14245 CFLAGS=$ac_wine_try_cflags_saved
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14248 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14249 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14250 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14253 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14254 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_wine_try_cflags_saved=$CFLAGS
14258 CFLAGS="$CFLAGS -Wignored-qualifiers"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14261 int main(int argc, char **argv) { return 0; }
14262 _ACEOF
14263 if ac_fn_c_try_link "$LINENO"; then :
14264 ac_cv_cflags__Wignored_qualifiers=yes
14265 else
14266 ac_cv_cflags__Wignored_qualifiers=no
14268 rm -f core conftest.err conftest.$ac_objext \
14269 conftest$ac_exeext conftest.$ac_ext
14270 CFLAGS=$ac_wine_try_cflags_saved
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14273 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14274 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14275 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14278 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14279 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14280 $as_echo_n "(cached) " >&6
14281 else
14282 ac_wine_try_cflags_saved=$CFLAGS
14283 CFLAGS="$CFLAGS -Wshift-overflow=2"
14284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 /* end confdefs.h. */
14286 int main(int argc, char **argv) { return 0; }
14287 _ACEOF
14288 if ac_fn_c_try_link "$LINENO"; then :
14289 ac_cv_cflags__Wshift_overflow_2=yes
14290 else
14291 ac_cv_cflags__Wshift_overflow_2=no
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 CFLAGS=$ac_wine_try_cflags_saved
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14298 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14299 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14300 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14303 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14304 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14305 $as_echo_n "(cached) " >&6
14306 else
14307 ac_wine_try_cflags_saved=$CFLAGS
14308 CFLAGS="$CFLAGS -Wstrict-prototypes"
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14310 /* end confdefs.h. */
14311 int main(int argc, char **argv) { return 0; }
14312 _ACEOF
14313 if ac_fn_c_try_link "$LINENO"; then :
14314 ac_cv_cflags__Wstrict_prototypes=yes
14315 else
14316 ac_cv_cflags__Wstrict_prototypes=no
14318 rm -f core conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14320 CFLAGS=$ac_wine_try_cflags_saved
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14323 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14324 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14325 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14328 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14329 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14330 $as_echo_n "(cached) " >&6
14331 else
14332 ac_wine_try_cflags_saved=$CFLAGS
14333 CFLAGS="$CFLAGS -Wtype-limits"
14334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14336 int main(int argc, char **argv) { return 0; }
14337 _ACEOF
14338 if ac_fn_c_try_link "$LINENO"; then :
14339 ac_cv_cflags__Wtype_limits=yes
14340 else
14341 ac_cv_cflags__Wtype_limits=no
14343 rm -f core conftest.err conftest.$ac_objext \
14344 conftest$ac_exeext conftest.$ac_ext
14345 CFLAGS=$ac_wine_try_cflags_saved
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14348 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14349 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14350 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14353 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14354 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14355 $as_echo_n "(cached) " >&6
14356 else
14357 ac_wine_try_cflags_saved=$CFLAGS
14358 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 int main(int argc, char **argv) { return 0; }
14362 _ACEOF
14363 if ac_fn_c_try_link "$LINENO"; then :
14364 ac_cv_cflags__Wunused_but_set_parameter=yes
14365 else
14366 ac_cv_cflags__Wunused_but_set_parameter=no
14368 rm -f core conftest.err conftest.$ac_objext \
14369 conftest$ac_exeext conftest.$ac_ext
14370 CFLAGS=$ac_wine_try_cflags_saved
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14373 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14374 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14375 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14378 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14379 if ${ac_cv_cflags__Wvla+:} false; then :
14380 $as_echo_n "(cached) " >&6
14381 else
14382 ac_wine_try_cflags_saved=$CFLAGS
14383 CFLAGS="$CFLAGS -Wvla"
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14386 int main(int argc, char **argv) { return 0; }
14387 _ACEOF
14388 if ac_fn_c_try_link "$LINENO"; then :
14389 ac_cv_cflags__Wvla=yes
14390 else
14391 ac_cv_cflags__Wvla=no
14393 rm -f core conftest.err conftest.$ac_objext \
14394 conftest$ac_exeext conftest.$ac_ext
14395 CFLAGS=$ac_wine_try_cflags_saved
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14398 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14399 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14400 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14403 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14404 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 ac_wine_try_cflags_saved=$CFLAGS
14408 CFLAGS="$CFLAGS -Wwrite-strings"
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14411 int main(int argc, char **argv) { return 0; }
14412 _ACEOF
14413 if ac_fn_c_try_link "$LINENO"; then :
14414 ac_cv_cflags__Wwrite_strings=yes
14415 else
14416 ac_cv_cflags__Wwrite_strings=no
14418 rm -f core conftest.err conftest.$ac_objext \
14419 conftest$ac_exeext conftest.$ac_ext
14420 CFLAGS=$ac_wine_try_cflags_saved
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14423 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14424 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14425 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14429 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14430 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14431 $as_echo_n "(cached) " >&6
14432 else
14433 ac_wine_try_cflags_saved=$CFLAGS
14434 CFLAGS="$CFLAGS -Wpointer-arith"
14435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14436 /* end confdefs.h. */
14437 int main(int argc, char **argv) { return 0; }
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_cflags__Wpointer_arith=yes
14441 else
14442 ac_cv_cflags__Wpointer_arith=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 CFLAGS=$ac_wine_try_cflags_saved
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14449 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14450 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14451 saved_string_h_CFLAGS=$CFLAGS
14452 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14454 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14455 if ${ac_cv_c_string_h_warnings+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14460 #include <string.h>
14462 main ()
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_compile "$LINENO"; then :
14470 ac_cv_c_string_h_warnings=no
14471 else
14472 ac_cv_c_string_h_warnings=yes
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14477 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14478 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14479 CFLAGS=$saved_string_h_CFLAGS
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14483 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14484 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14485 $as_echo_n "(cached) " >&6
14486 else
14487 ac_wine_try_cflags_saved=$CFLAGS
14488 CFLAGS="$CFLAGS -Wlogical-op"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491 int main(int argc, char **argv) { return 0; }
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_cflags__Wlogical_op=yes
14495 else
14496 ac_cv_cflags__Wlogical_op=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 CFLAGS=$ac_wine_try_cflags_saved
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14503 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14504 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14505 saved_string_h_CFLAGS=$CFLAGS
14506 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14508 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14509 if ${ac_cv_c_logicalop_noisy+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14514 #include <string.h>
14515 char*f(const char *h,char n) {return strchr(h,n);}
14517 main ()
14521 return 0;
14523 _ACEOF
14524 if ac_fn_c_try_compile "$LINENO"; then :
14525 ac_cv_c_logicalop_noisy=no
14526 else
14527 ac_cv_c_logicalop_noisy=yes
14529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14532 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14533 CFLAGS=$saved_string_h_CFLAGS
14534 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14537 CFLAGS=$saved_CFLAGS
14539 for ac_flag in $CFLAGS; do
14540 case $ac_flag in
14541 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14542 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14543 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14544 $as_echo_n "(cached) " >&6
14545 else
14546 ac_wine_try_cflags_saved=$CFLAGS
14547 CFLAGS="$CFLAGS -gdwarf-2"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14550 int main(int argc, char **argv) { return 0; }
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_cflags__gdwarf_2=yes
14554 else
14555 ac_cv_cflags__gdwarf_2=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 CFLAGS=$ac_wine_try_cflags_saved
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14562 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14563 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14564 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14567 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14568 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14569 $as_echo_n "(cached) " >&6
14570 else
14571 ac_wine_try_cflags_saved=$CFLAGS
14572 CFLAGS="$CFLAGS -gstrict-dwarf"
14573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574 /* end confdefs.h. */
14575 int main(int argc, char **argv) { return 0; }
14576 _ACEOF
14577 if ac_fn_c_try_link "$LINENO"; then :
14578 ac_cv_cflags__gstrict_dwarf=yes
14579 else
14580 ac_cv_cflags__gstrict_dwarf=no
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 CFLAGS=$ac_wine_try_cflags_saved
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14587 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14588 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14589 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14590 fi ;;
14591 esac
14592 done
14594 case $host_cpu in
14595 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14596 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14597 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14598 $as_echo_n "(cached) " >&6
14599 else
14600 ac_wine_try_cflags_saved=$CFLAGS
14601 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14604 int main(int argc, char **argv) { return 0; }
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 ac_cv_cflags__fno_omit_frame_pointer=yes
14608 else
14609 ac_cv_cflags__fno_omit_frame_pointer=no
14611 rm -f core conftest.err conftest.$ac_objext \
14612 conftest$ac_exeext conftest.$ac_ext
14613 CFLAGS=$ac_wine_try_cflags_saved
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14616 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14617 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14618 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14619 fi ;;
14620 esac
14622 case $host in
14623 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14624 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14625 if ${ac_cv_cflags__Wno_format+:} false; then :
14626 $as_echo_n "(cached) " >&6
14627 else
14628 ac_wine_try_cflags_saved=$CFLAGS
14629 CFLAGS="$CFLAGS -Wno-format"
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 int main(int argc, char **argv) { return 0; }
14633 _ACEOF
14634 if ac_fn_c_try_link "$LINENO"; then :
14635 ac_cv_cflags__Wno_format=yes
14636 else
14637 ac_cv_cflags__Wno_format=no
14639 rm -f core conftest.err conftest.$ac_objext \
14640 conftest$ac_exeext conftest.$ac_ext
14641 CFLAGS=$ac_wine_try_cflags_saved
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14644 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14645 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14646 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14647 fi ;;
14648 esac
14650 if test "x$enable_maintainer_mode" = "xyes"
14651 then
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14653 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14654 if ${ac_cv_cflags__Werror+:} false; then :
14655 $as_echo_n "(cached) " >&6
14656 else
14657 ac_wine_try_cflags_saved=$CFLAGS
14658 CFLAGS="$CFLAGS -Werror"
14659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14660 /* end confdefs.h. */
14661 int main(int argc, char **argv) { return 0; }
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"; then :
14664 ac_cv_cflags__Werror=yes
14665 else
14666 ac_cv_cflags__Werror=no
14668 rm -f core conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14670 CFLAGS=$ac_wine_try_cflags_saved
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14673 $as_echo "$ac_cv_cflags__Werror" >&6; }
14674 if test "x$ac_cv_cflags__Werror" = xyes; then :
14675 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14679 saved_CFLAGS="$CFLAGS"
14680 CFLAGS="$CFLAGS -Werror"
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14682 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14683 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14684 $as_echo_n "(cached) " >&6
14685 else
14686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14687 /* end confdefs.h. */
14688 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14690 main ()
14694 return 0;
14696 _ACEOF
14697 if ac_fn_c_try_compile "$LINENO"; then :
14698 ac_cv_have_ms_hook_prologue="yes"
14699 else
14700 ac_cv_have_ms_hook_prologue="no"
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14705 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14706 CFLAGS="$saved_CFLAGS"
14707 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14708 then
14710 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14712 else
14713 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14720 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14721 if ${ac_cv_c_fortify_enabled+:} false; then :
14722 $as_echo_n "(cached) " >&6
14723 else
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14726 #include <string.h>
14728 main ()
14730 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14731 #error Fortify enabled
14732 #endif
14734 return 0;
14736 _ACEOF
14737 if ac_fn_c_try_compile "$LINENO"; then :
14738 ac_cv_c_fortify_enabled=no
14739 else
14740 ac_cv_c_fortify_enabled=yes
14742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14745 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14746 if test "$ac_cv_c_fortify_enabled" = yes
14747 then
14748 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14753 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14754 if ${ac_cv_c_extern_prefix+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 extern int ac_test;
14761 main ()
14763 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14765 return 0;
14767 _ACEOF
14768 if ac_fn_c_try_link "$LINENO"; then :
14769 ac_cv_c_extern_prefix="yes"
14770 else
14771 ac_cv_c_extern_prefix="no"
14773 rm -f core conftest.err conftest.$ac_objext \
14774 conftest$ac_exeext conftest.$ac_ext
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14777 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14779 case $host_cpu in
14780 *i[3456789]86*)
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14782 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14783 if ${ac_cv_c_stdcall_suffix+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14788 #ifndef _MSC_VER
14789 #define __stdcall __attribute__((__stdcall__))
14790 #endif
14791 int __stdcall ac_test(int i) { return i; }
14793 main ()
14795 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14797 return 0;
14799 _ACEOF
14800 if ac_fn_c_try_link "$LINENO"; then :
14801 ac_cv_c_stdcall_suffix="yes"
14802 else
14803 ac_cv_c_stdcall_suffix="no"
14805 rm -f core conftest.err conftest.$ac_objext \
14806 conftest$ac_exeext conftest.$ac_ext
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14809 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14810 *) ac_cv_c_stdcall_suffix="no" ;;
14811 esac
14814 if test "$ac_cv_c_extern_prefix" = "yes"
14815 then
14816 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14818 asm_name_prefix="_"
14819 else
14820 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14822 asm_name_prefix=""
14826 if test "$ac_cv_c_stdcall_suffix" = "yes"
14827 then
14828 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14830 else
14831 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14837 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14838 if ${ac_cv_asm_func_def+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h. */
14845 main ()
14847 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14849 return 0;
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_asm_func_def=".def"
14854 else
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14859 main ()
14861 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14863 return 0;
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_asm_func_def=".type @function"
14868 else
14869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h. */
14873 main ()
14875 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14877 return 0;
14879 _ACEOF
14880 if ac_fn_c_try_link "$LINENO"; then :
14881 ac_cv_asm_func_def=".type 2"
14882 else
14883 ac_cv_asm_func_def="unknown"
14885 rm -f core conftest.err conftest.$ac_objext \
14886 conftest$ac_exeext conftest.$ac_ext
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14895 $as_echo "$ac_cv_asm_func_def" >&6; }
14898 case "$ac_cv_asm_func_def" in
14899 ".def")
14900 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14902 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14903 ".type @function")
14904 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14906 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14907 ".type 2")
14908 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14910 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14912 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14914 asm_func_header="" ;;
14915 esac
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14918 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14919 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 asm(".text\n\t.long 0");
14926 main ()
14930 return 0;
14932 _ACEOF
14933 if ac_fn_c_try_compile "$LINENO"; then :
14934 ac_cv_c_asm_outside_funcs="yes"
14935 else
14936 ac_cv_c_asm_outside_funcs="no"
14938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14941 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14944 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14945 if ${ac_cv_c_dot_previous+:} false; then :
14946 $as_echo_n "(cached) " >&6
14947 else
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14952 main ()
14954 asm(".text\nac_test:\t.long 0\n\t.previous");
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_c_dot_previous="yes"
14961 else
14962 ac_cv_c_dot_previous="no"
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14968 $as_echo "$ac_cv_c_dot_previous" >&6; }
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14971 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14972 if ${ac_cv_c_cfi_support+:} false; then :
14973 $as_echo_n "(cached) " >&6
14974 else
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14977 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14979 main ()
14983 return 0;
14985 _ACEOF
14986 if ac_fn_c_try_compile "$LINENO"; then :
14987 ac_cv_c_cfi_support="yes"
14988 else
14989 ac_cv_c_cfi_support="no"
14991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14994 $as_echo "$ac_cv_c_cfi_support" >&6; }
14996 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14997 asm_func_trailer=""
14998 if test "$ac_cv_c_dot_previous" = "yes"
14999 then
15000 asm_func_trailer="\\n\\t.previous"
15002 if test "$ac_cv_c_cfi_support" = "yes"
15003 then
15004 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15005 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15007 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15009 UNWINDFLAGS=-fasynchronous-unwind-tables
15011 else
15012 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15014 if test "x$enable_win64" = "xyes"
15015 then
15016 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15020 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15023 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15024 then
15025 cat >>confdefs.h <<_ACEOF
15026 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15027 _ACEOF
15029 else
15030 cat >>confdefs.h <<_ACEOF
15031 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15032 _ACEOF
15036 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15039 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15043 case $build_os in
15044 cygwin*|mingw32*) TOOLSEXT=".exe"
15046 esac
15048 case $host_os in
15049 linux-android*) ;;
15050 linux*)
15051 case $host_cpu in
15052 *i[3456789]86*|x86_64*)
15053 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15054 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15056 esac
15058 esac
15061 ac_save_CFLAGS="$CFLAGS"
15062 CFLAGS="$CFLAGS $BUILTINFLAG"
15063 for ac_func in \
15064 __res_get_state \
15065 __res_getservers \
15066 _finite \
15067 _isnan \
15068 _pclose \
15069 _popen \
15070 _snprintf \
15071 _spawnvp \
15072 _strdup \
15073 _stricmp \
15074 _strnicmp \
15075 _strtoi64 \
15076 _strtoui64 \
15077 _vsnprintf \
15078 asctime_r \
15079 chsize \
15080 dlopen \
15081 epoll_create \
15082 ffs \
15083 finitef \
15084 fnmatch \
15085 fork \
15086 fpclass \
15087 fstatfs \
15088 fstatvfs \
15089 ftruncate \
15090 futimens \
15091 futimes \
15092 futimesat \
15093 getattrlist \
15094 getopt_long_only \
15095 getpwuid \
15096 gettimeofday \
15097 getuid \
15098 if_nameindex \
15099 isnanf \
15100 kqueue \
15101 lstat \
15102 memmove \
15103 mmap \
15104 pclose \
15105 pipe2 \
15106 poll \
15107 popen \
15108 port_create \
15109 prctl \
15110 pread \
15111 proc_pidinfo \
15112 pwrite \
15113 readdir \
15114 readlink \
15115 sched_yield \
15116 select \
15117 setproctitle \
15118 setprogname \
15119 setrlimit \
15120 settimeofday \
15121 sigaltstack \
15122 sigprocmask \
15123 snprintf \
15124 statfs \
15125 statvfs \
15126 strcasecmp \
15127 strdup \
15128 strerror \
15129 strncasecmp \
15130 strtold \
15131 strtoll \
15132 strtoull \
15133 symlink \
15134 tcdrain \
15135 thr_kill2 \
15136 timegm \
15137 usleep \
15138 vsnprintf
15140 do :
15141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15144 cat >>confdefs.h <<_ACEOF
15145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15146 _ACEOF
15149 done
15151 CFLAGS="$ac_save_CFLAGS"
15153 if test "$ac_cv_func_dlopen" = no
15154 then
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15156 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15157 if ${ac_cv_lib_dl_dlopen+:} false; then :
15158 $as_echo_n "(cached) " >&6
15159 else
15160 ac_check_lib_save_LIBS=$LIBS
15161 LIBS="-ldl $LIBS"
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15165 /* Override any GCC internal prototype to avoid an error.
15166 Use char because int might match the return type of a GCC
15167 builtin and then its argument prototype would still apply. */
15168 #ifdef __cplusplus
15169 extern "C"
15170 #endif
15171 char dlopen ();
15173 main ()
15175 return dlopen ();
15177 return 0;
15179 _ACEOF
15180 if ac_fn_c_try_link "$LINENO"; then :
15181 ac_cv_lib_dl_dlopen=yes
15182 else
15183 ac_cv_lib_dl_dlopen=no
15185 rm -f core conftest.err conftest.$ac_objext \
15186 conftest$ac_exeext conftest.$ac_ext
15187 LIBS=$ac_check_lib_save_LIBS
15189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15190 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15191 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15192 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15193 DL_LIBS="-ldl"
15198 ac_wine_check_funcs_save_LIBS="$LIBS"
15199 LIBS="$LIBS $DL_LIBS"
15200 for ac_func in dladdr
15201 do :
15202 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15203 if test "x$ac_cv_func_dladdr" = xyes; then :
15204 cat >>confdefs.h <<_ACEOF
15205 #define HAVE_DLADDR 1
15206 _ACEOF
15209 done
15211 LIBS="$ac_wine_check_funcs_save_LIBS"
15213 if test "$ac_cv_func_poll" = no
15214 then
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15216 $as_echo_n "checking for poll in -lpoll... " >&6; }
15217 if ${ac_cv_lib_poll_poll+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_check_lib_save_LIBS=$LIBS
15221 LIBS="-lpoll $LIBS"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15225 /* Override any GCC internal prototype to avoid an error.
15226 Use char because int might match the return type of a GCC
15227 builtin and then its argument prototype would still apply. */
15228 #ifdef __cplusplus
15229 extern "C"
15230 #endif
15231 char poll ();
15233 main ()
15235 return poll ();
15237 return 0;
15239 _ACEOF
15240 if ac_fn_c_try_link "$LINENO"; then :
15241 ac_cv_lib_poll_poll=yes
15242 else
15243 ac_cv_lib_poll_poll=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247 LIBS=$ac_check_lib_save_LIBS
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15250 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15251 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15252 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15253 POLL_LIBS="-lpoll"
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15260 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15261 if ${ac_cv_search_gethostbyname+:} false; then :
15262 $as_echo_n "(cached) " >&6
15263 else
15264 ac_func_search_save_LIBS=$LIBS
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 #ifdef __cplusplus
15272 extern "C"
15273 #endif
15274 char gethostbyname ();
15276 main ()
15278 return gethostbyname ();
15280 return 0;
15282 _ACEOF
15283 for ac_lib in '' nsl; do
15284 if test -z "$ac_lib"; then
15285 ac_res="none required"
15286 else
15287 ac_res=-l$ac_lib
15288 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15290 if ac_fn_c_try_link "$LINENO"; then :
15291 ac_cv_search_gethostbyname=$ac_res
15293 rm -f core conftest.err conftest.$ac_objext \
15294 conftest$ac_exeext
15295 if ${ac_cv_search_gethostbyname+:} false; then :
15296 break
15298 done
15299 if ${ac_cv_search_gethostbyname+:} false; then :
15301 else
15302 ac_cv_search_gethostbyname=no
15304 rm conftest.$ac_ext
15305 LIBS=$ac_func_search_save_LIBS
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15308 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15309 ac_res=$ac_cv_search_gethostbyname
15310 if test "$ac_res" != no; then :
15311 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15317 $as_echo_n "checking for library containing connect... " >&6; }
15318 if ${ac_cv_search_connect+:} false; then :
15319 $as_echo_n "(cached) " >&6
15320 else
15321 ac_func_search_save_LIBS=$LIBS
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15328 #ifdef __cplusplus
15329 extern "C"
15330 #endif
15331 char connect ();
15333 main ()
15335 return connect ();
15337 return 0;
15339 _ACEOF
15340 for ac_lib in '' socket; do
15341 if test -z "$ac_lib"; then
15342 ac_res="none required"
15343 else
15344 ac_res=-l$ac_lib
15345 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15347 if ac_fn_c_try_link "$LINENO"; then :
15348 ac_cv_search_connect=$ac_res
15350 rm -f core conftest.err conftest.$ac_objext \
15351 conftest$ac_exeext
15352 if ${ac_cv_search_connect+:} false; then :
15353 break
15355 done
15356 if ${ac_cv_search_connect+:} false; then :
15358 else
15359 ac_cv_search_connect=no
15361 rm conftest.$ac_ext
15362 LIBS=$ac_func_search_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15365 $as_echo "$ac_cv_search_connect" >&6; }
15366 ac_res=$ac_cv_search_connect
15367 if test "$ac_res" != no; then :
15368 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15374 $as_echo_n "checking for library containing inet_aton... " >&6; }
15375 if ${ac_cv_search_inet_aton+:} false; then :
15376 $as_echo_n "(cached) " >&6
15377 else
15378 ac_func_search_save_LIBS=$LIBS
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15382 /* Override any GCC internal prototype to avoid an error.
15383 Use char because int might match the return type of a GCC
15384 builtin and then its argument prototype would still apply. */
15385 #ifdef __cplusplus
15386 extern "C"
15387 #endif
15388 char inet_aton ();
15390 main ()
15392 return inet_aton ();
15394 return 0;
15396 _ACEOF
15397 for ac_lib in '' resolv; do
15398 if test -z "$ac_lib"; then
15399 ac_res="none required"
15400 else
15401 ac_res=-l$ac_lib
15402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15404 if ac_fn_c_try_link "$LINENO"; then :
15405 ac_cv_search_inet_aton=$ac_res
15407 rm -f core conftest.err conftest.$ac_objext \
15408 conftest$ac_exeext
15409 if ${ac_cv_search_inet_aton+:} false; then :
15410 break
15412 done
15413 if ${ac_cv_search_inet_aton+:} false; then :
15415 else
15416 ac_cv_search_inet_aton=no
15418 rm conftest.$ac_ext
15419 LIBS=$ac_func_search_save_LIBS
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15422 $as_echo "$ac_cv_search_inet_aton" >&6; }
15423 ac_res=$ac_cv_search_inet_aton
15424 if test "$ac_res" != no; then :
15425 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15430 for ac_func in \
15431 getaddrinfo \
15432 getnameinfo \
15433 getnetbyname \
15434 getprotobyname \
15435 getprotobynumber \
15436 getservbyport \
15437 inet_addr \
15438 inet_network \
15439 inet_ntop \
15440 inet_pton \
15441 sendmsg \
15442 socketpair \
15444 do :
15445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15447 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15448 cat >>confdefs.h <<_ACEOF
15449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15450 _ACEOF
15453 done
15456 ac_save_LIBS=$LIBS
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15458 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15459 if ${ac_cv_search_clock_gettime+:} false; then :
15460 $as_echo_n "(cached) " >&6
15461 else
15462 ac_func_search_save_LIBS=$LIBS
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15466 /* Override any GCC internal prototype to avoid an error.
15467 Use char because int might match the return type of a GCC
15468 builtin and then its argument prototype would still apply. */
15469 #ifdef __cplusplus
15470 extern "C"
15471 #endif
15472 char clock_gettime ();
15474 main ()
15476 return clock_gettime ();
15478 return 0;
15480 _ACEOF
15481 for ac_lib in '' rt; do
15482 if test -z "$ac_lib"; then
15483 ac_res="none required"
15484 else
15485 ac_res=-l$ac_lib
15486 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15488 if ac_fn_c_try_link "$LINENO"; then :
15489 ac_cv_search_clock_gettime=$ac_res
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext
15493 if ${ac_cv_search_clock_gettime+:} false; then :
15494 break
15496 done
15497 if ${ac_cv_search_clock_gettime+:} false; then :
15499 else
15500 ac_cv_search_clock_gettime=no
15502 rm conftest.$ac_ext
15503 LIBS=$ac_func_search_save_LIBS
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15506 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15507 ac_res=$ac_cv_search_clock_gettime
15508 if test "$ac_res" != no; then :
15509 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15511 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15513 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15517 LIBS=$ac_save_LIBS
15519 LDAP_LIBS=""
15521 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15522 then
15523 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15525 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15527 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15528 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15529 $as_echo_n "(cached) " >&6
15530 else
15531 ac_check_lib_save_LIBS=$LIBS
15532 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15539 #ifdef __cplusplus
15540 extern "C"
15541 #endif
15542 char ldap_initialize ();
15544 main ()
15546 return ldap_initialize ();
15548 return 0;
15550 _ACEOF
15551 if ac_fn_c_try_link "$LINENO"; then :
15552 ac_cv_lib_ldap_r_ldap_initialize=yes
15553 else
15554 ac_cv_lib_ldap_r_ldap_initialize=no
15556 rm -f core conftest.err conftest.$ac_objext \
15557 conftest$ac_exeext conftest.$ac_ext
15558 LIBS=$ac_check_lib_save_LIBS
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15561 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15562 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15564 $as_echo_n "checking for ber_init in -llber... " >&6; }
15565 if ${ac_cv_lib_lber_ber_init+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 ac_check_lib_save_LIBS=$LIBS
15569 LIBS="-llber $PTHREAD_LIBS $LIBS"
15570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15571 /* end confdefs.h. */
15573 /* Override any GCC internal prototype to avoid an error.
15574 Use char because int might match the return type of a GCC
15575 builtin and then its argument prototype would still apply. */
15576 #ifdef __cplusplus
15577 extern "C"
15578 #endif
15579 char ber_init ();
15581 main ()
15583 return ber_init ();
15585 return 0;
15587 _ACEOF
15588 if ac_fn_c_try_link "$LINENO"; then :
15589 ac_cv_lib_lber_ber_init=yes
15590 else
15591 ac_cv_lib_lber_ber_init=no
15593 rm -f core conftest.err conftest.$ac_objext \
15594 conftest$ac_exeext conftest.$ac_ext
15595 LIBS=$ac_check_lib_save_LIBS
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15598 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15599 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15601 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15603 LDAP_LIBS="-lldap_r -llber"
15610 ac_wine_check_funcs_save_LIBS="$LIBS"
15611 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15612 for ac_func in \
15613 ldap_count_references \
15614 ldap_first_reference \
15615 ldap_next_reference \
15616 ldap_parse_reference \
15617 ldap_parse_sort_control \
15618 ldap_parse_sortresponse_control \
15619 ldap_parse_vlv_control \
15620 ldap_parse_vlvresponse_control
15621 do :
15622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15625 cat >>confdefs.h <<_ACEOF
15626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15627 _ACEOF
15630 done
15632 LIBS="$ac_wine_check_funcs_save_LIBS"
15634 if test "x$LDAP_LIBS" = "x"; then :
15635 case "x$with_ldap" in
15636 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15637 xno) ;;
15638 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15639 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15640 esac
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15645 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15646 if ${wine_cv_one_arg_mkdir+:} false; then :
15647 $as_echo_n "(cached) " >&6
15648 else
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15651 #include <sys/stat.h>
15653 main ()
15655 mkdir("foo");
15657 return 0;
15659 _ACEOF
15660 if ac_fn_c_try_compile "$LINENO"; then :
15661 wine_cv_one_arg_mkdir=yes
15662 else
15663 wine_cv_one_arg_mkdir=no
15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15668 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15669 if test "$wine_cv_one_arg_mkdir" = "yes"
15670 then
15672 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15677 $as_echo_n "checking for sched_setaffinity... " >&6; }
15678 if ${wine_cv_have_sched_setaffinity+:} false; then :
15679 $as_echo_n "(cached) " >&6
15680 else
15681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15682 /* end confdefs.h. */
15683 #define _GNU_SOURCE
15684 #include <sched.h>
15686 main ()
15688 sched_setaffinity(0, 0, 0);
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"; then :
15694 wine_cv_have_sched_setaffinity=yes
15695 else
15696 wine_cv_have_sched_setaffinity=no
15698 rm -f core conftest.err conftest.$ac_objext \
15699 conftest$ac_exeext conftest.$ac_ext
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15702 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15703 if test "$wine_cv_have_sched_setaffinity" = "yes"
15704 then
15706 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15711 $as_echo_n "checking for fallocate... " >&6; }
15712 if ${wine_cv_have_fallocate+:} false; then :
15713 $as_echo_n "(cached) " >&6
15714 else
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15717 #define _GNU_SOURCE
15718 #include <fcntl.h>
15720 main ()
15722 fallocate(-1, 0, 0, 0);
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_link "$LINENO"; then :
15728 wine_cv_have_fallocate=yes
15729 else
15730 wine_cv_have_fallocate=no
15732 rm -f core conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15736 $as_echo "$wine_cv_have_fallocate" >&6; }
15737 if test "$wine_cv_have_fallocate" = "yes"
15738 then
15740 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15746 $as_echo_n "checking for inline... " >&6; }
15747 if ${ac_cv_c_inline+:} false; then :
15748 $as_echo_n "(cached) " >&6
15749 else
15750 ac_cv_c_inline=no
15751 for ac_kw in inline __inline__ __inline; do
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15754 #ifndef __cplusplus
15755 typedef int foo_t;
15756 static $ac_kw foo_t static_foo () {return 0; }
15757 $ac_kw foo_t foo () {return 0; }
15758 #endif
15760 _ACEOF
15761 if ac_fn_c_try_compile "$LINENO"; then :
15762 ac_cv_c_inline=$ac_kw
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765 test "$ac_cv_c_inline" != no && break
15766 done
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15770 $as_echo "$ac_cv_c_inline" >&6; }
15772 case $ac_cv_c_inline in
15773 inline | yes) ;;
15775 case $ac_cv_c_inline in
15776 no) ac_val=;;
15777 *) ac_val=$ac_cv_c_inline;;
15778 esac
15779 cat >>confdefs.h <<_ACEOF
15780 #ifndef __cplusplus
15781 #define inline $ac_val
15782 #endif
15783 _ACEOF
15785 esac
15787 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15788 if test "x$ac_cv_type_mode_t" = xyes; then :
15790 cat >>confdefs.h <<_ACEOF
15791 #define HAVE_MODE_T 1
15792 _ACEOF
15796 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15797 if test "x$ac_cv_type_off_t" = xyes; then :
15799 cat >>confdefs.h <<_ACEOF
15800 #define HAVE_OFF_T 1
15801 _ACEOF
15805 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15806 if test "x$ac_cv_type_pid_t" = xyes; then :
15808 cat >>confdefs.h <<_ACEOF
15809 #define HAVE_PID_T 1
15810 _ACEOF
15814 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15815 if test "x$ac_cv_type_size_t" = xyes; then :
15817 cat >>confdefs.h <<_ACEOF
15818 #define HAVE_SIZE_T 1
15819 _ACEOF
15823 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15824 if test "x$ac_cv_type_ssize_t" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_SSIZE_T 1
15828 _ACEOF
15832 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15833 if test "x$ac_cv_type_long_long" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_LONG_LONG 1
15837 _ACEOF
15841 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15842 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15844 cat >>confdefs.h <<_ACEOF
15845 #define HAVE_FSBLKCNT_T 1
15846 _ACEOF
15850 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15851 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15853 cat >>confdefs.h <<_ACEOF
15854 #define HAVE_FSFILCNT_T 1
15855 _ACEOF
15860 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15861 #include <signal.h>
15863 if test "x$ac_cv_type_sigset_t" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_SIGSET_T 1
15867 _ACEOF
15872 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15874 if test "x$ac_cv_type_request_sense" = xyes; then :
15876 cat >>confdefs.h <<_ACEOF
15877 #define HAVE_REQUEST_SENSE 1
15878 _ACEOF
15884 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15885 #ifdef HAVE_SYS_SOCKET_H
15886 #include <sys/socket.h>
15887 #endif
15888 #ifdef HAVE_SYS_SOCKETVAR_H
15889 #include <sys/socketvar.h>
15890 #endif
15891 #ifdef HAVE_NET_ROUTE_H
15892 #include <net/route.h>
15893 #endif
15894 #ifdef HAVE_NETINET_IN_H
15895 #include <netinet/in.h>
15896 #endif
15897 #ifdef HAVE_NETINET_IN_SYSTM_H
15898 #include <netinet/in_systm.h>
15899 #endif
15900 #ifdef HAVE_NETINET_IP_H
15901 #include <netinet/ip.h>
15902 #endif
15903 #ifdef HAVE_NETINET_IN_PCB_H
15904 #include <netinet/in_pcb.h>
15905 #endif
15907 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15909 cat >>confdefs.h <<_ACEOF
15910 #define HAVE_STRUCT_XINPGEN 1
15911 _ACEOF
15917 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15918 #include <link.h>
15919 #endif
15920 #ifdef HAVE_SYS_LINK_H
15921 #include <sys/link.h>
15922 #endif
15924 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_STRUCT_R_DEBUG 1
15928 _ACEOF
15932 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15933 #include <link.h>
15934 #endif
15935 #ifdef HAVE_SYS_LINK_H
15936 #include <sys/link.h>
15937 #endif
15939 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15941 cat >>confdefs.h <<_ACEOF
15942 #define HAVE_STRUCT_LINK_MAP 1
15943 _ACEOF
15949 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15950 #include <linux/input.h>
15951 #endif
15953 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15955 cat >>confdefs.h <<_ACEOF
15956 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15957 _ACEOF
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15964 $as_echo_n "checking for sigaddset... " >&6; }
15965 if ${wine_cv_have_sigaddset+:} false; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15970 #include <signal.h>
15972 main ()
15974 sigset_t set; sigaddset(&set,SIGTERM);
15976 return 0;
15978 _ACEOF
15979 if ac_fn_c_try_link "$LINENO"; then :
15980 wine_cv_have_sigaddset=yes
15981 else
15982 wine_cv_have_sigaddset=no
15984 rm -f core conftest.err conftest.$ac_objext \
15985 conftest$ac_exeext conftest.$ac_ext
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15988 $as_echo "$wine_cv_have_sigaddset" >&6; }
15989 if test "$wine_cv_have_sigaddset" = "yes"
15990 then
15992 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15998 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15999 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16004 #include <netdb.h>
16006 main ()
16009 char *name=0;
16010 struct hostent he;
16011 struct hostent *result;
16012 char *buf=0;
16013 int bufsize=0;
16014 int errnr;
16015 char *addr=0;
16016 int addrlen=0;
16017 int addrtype=0;
16018 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16019 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16022 return 0;
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"; then :
16026 wine_cv_linux_gethostbyname_r_6=yes
16027 else
16028 wine_cv_linux_gethostbyname_r_6=no
16031 rm -f core conftest.err conftest.$ac_objext \
16032 conftest$ac_exeext conftest.$ac_ext
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16036 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16037 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16038 then
16040 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16044 if test "$ac_cv_header_linux_joystick_h" = "yes"
16045 then
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16047 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16048 if ${wine_cv_linux_joystick_22_api+:} false; then :
16049 $as_echo_n "(cached) " >&6
16050 else
16051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16054 #include <sys/ioctl.h>
16055 #include <sys/types.h>
16056 #include <linux/joystick.h>
16058 struct js_event blub;
16059 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16060 #error "no 2.2 header"
16061 #endif
16064 main ()
16066 /*empty*/
16068 return 0;
16070 _ACEOF
16071 if ac_fn_c_try_compile "$LINENO"; then :
16072 wine_cv_linux_joystick_22_api=yes
16073 else
16074 wine_cv_linux_joystick_22_api=no
16076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16080 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16081 if test "$wine_cv_linux_joystick_22_api" = "yes"
16082 then
16084 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16090 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16091 #ifdef HAVE_SYS_PARAM_H
16092 # include <sys/param.h>
16093 #endif
16094 #ifdef HAVE_SYS_MOUNT_H
16095 # include <sys/mount.h>
16096 #endif
16097 #ifdef HAVE_SYS_VFS_H
16098 # include <sys/vfs.h>
16099 #endif
16100 #ifdef HAVE_SYS_STATFS_H
16101 # include <sys/statfs.h>
16102 #endif
16104 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_STRUCT_STATFS_F_BFREE 1
16108 _ACEOF
16112 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16113 #ifdef HAVE_SYS_PARAM_H
16114 # include <sys/param.h>
16115 #endif
16116 #ifdef HAVE_SYS_MOUNT_H
16117 # include <sys/mount.h>
16118 #endif
16119 #ifdef HAVE_SYS_VFS_H
16120 # include <sys/vfs.h>
16121 #endif
16122 #ifdef HAVE_SYS_STATFS_H
16123 # include <sys/statfs.h>
16124 #endif
16126 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16130 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16135 #ifdef HAVE_SYS_PARAM_H
16136 # include <sys/param.h>
16137 #endif
16138 #ifdef HAVE_SYS_MOUNT_H
16139 # include <sys/mount.h>
16140 #endif
16141 #ifdef HAVE_SYS_VFS_H
16142 # include <sys/vfs.h>
16143 #endif
16144 #ifdef HAVE_SYS_STATFS_H
16145 # include <sys/statfs.h>
16146 #endif
16148 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16152 _ACEOF
16156 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16157 #ifdef HAVE_SYS_PARAM_H
16158 # include <sys/param.h>
16159 #endif
16160 #ifdef HAVE_SYS_MOUNT_H
16161 # include <sys/mount.h>
16162 #endif
16163 #ifdef HAVE_SYS_VFS_H
16164 # include <sys/vfs.h>
16165 #endif
16166 #ifdef HAVE_SYS_STATFS_H
16167 # include <sys/statfs.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_STATFS_F_FFREE 1
16174 _ACEOF
16178 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_PARAM_H
16180 # include <sys/param.h>
16181 #endif
16182 #ifdef HAVE_SYS_MOUNT_H
16183 # include <sys/mount.h>
16184 #endif
16185 #ifdef HAVE_SYS_VFS_H
16186 # include <sys/vfs.h>
16187 #endif
16188 #ifdef HAVE_SYS_STATFS_H
16189 # include <sys/statfs.h>
16190 #endif
16192 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16196 _ACEOF
16200 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16201 #ifdef HAVE_SYS_PARAM_H
16202 # include <sys/param.h>
16203 #endif
16204 #ifdef HAVE_SYS_MOUNT_H
16205 # include <sys/mount.h>
16206 #endif
16207 #ifdef HAVE_SYS_VFS_H
16208 # include <sys/vfs.h>
16209 #endif
16210 #ifdef HAVE_SYS_STATFS_H
16211 # include <sys/statfs.h>
16212 #endif
16214 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16218 _ACEOF
16224 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16225 #include <sys/statvfs.h>
16226 #endif
16228 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16230 cat >>confdefs.h <<_ACEOF
16231 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16232 _ACEOF
16238 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16239 #include <dirent.h>
16240 #endif
16242 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16246 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_SOCKET_H
16254 # include <sys/socket.h>
16255 #endif
16256 #ifdef HAVE_SYS_UN_H
16257 # include <sys/un.h>
16258 #endif
16260 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16264 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_SOCKET_H
16270 # include <sys/socket.h>
16271 #endif
16272 #ifdef HAVE_SYS_UN_H
16273 # include <sys/un.h>
16274 #endif
16276 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16280 _ACEOF
16284 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16285 #ifdef HAVE_SYS_SOCKET_H
16286 # include <sys/socket.h>
16287 #endif
16288 #ifdef HAVE_SYS_UN_H
16289 # include <sys/un.h>
16290 #endif
16292 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16296 _ACEOF
16302 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16303 #ifdef HAVE_SCSI_SG_H
16304 #include <scsi/sg.h>
16305 #endif
16307 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_SCSIREQ_T_CMD 1
16311 _ACEOF
16315 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>
16316 #ifdef HAVE_SCSI_SG_H
16317 #include <scsi/sg.h>
16318 #endif
16320 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16322 cat >>confdefs.h <<_ACEOF
16323 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16324 _ACEOF
16330 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16332 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_SIGINFO_T_SI_FD 1
16336 _ACEOF
16342 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16343 #ifdef HAVE_SYS_MTIO_H
16344 #include <sys/mtio.h>
16345 #endif
16347 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16349 cat >>confdefs.h <<_ACEOF
16350 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16351 _ACEOF
16355 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16356 #ifdef HAVE_SYS_MTIO_H
16357 #include <sys/mtio.h>
16358 #endif
16360 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16364 _ACEOF
16368 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16369 #ifdef HAVE_SYS_MTIO_H
16370 #include <sys/mtio.h>
16371 #endif
16373 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16377 _ACEOF
16383 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16384 #include <getopt.h>
16385 #endif
16387 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_STRUCT_OPTION_NAME 1
16391 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16398 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16407 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_STAT_ST_MTIM 1
16411 _ACEOF
16415 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16416 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16420 _ACEOF
16424 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16425 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16427 cat >>confdefs.h <<_ACEOF
16428 #define HAVE_STRUCT_STAT_ST_CTIM 1
16429 _ACEOF
16433 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16434 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16436 cat >>confdefs.h <<_ACEOF
16437 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16438 _ACEOF
16442 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16443 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16445 cat >>confdefs.h <<_ACEOF
16446 #define HAVE_STRUCT_STAT_ST_ATIM 1
16447 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16452 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16456 _ACEOF
16460 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16461 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16465 _ACEOF
16469 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16470 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16474 _ACEOF
16478 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16479 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16483 _ACEOF
16487 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16488 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16492 _ACEOF
16496 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16497 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16501 _ACEOF
16507 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
16508 #include <sys/types.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IN_H
16511 #include <netinet/in.h>
16512 #endif
16514 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16518 _ACEOF
16524 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16525 #include <resolv.h>
16526 #endif
16528 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT___RES_STATE 1
16532 _ACEOF
16538 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
16539 #include <resolv.h>
16540 #endif
16542 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16544 cat >>confdefs.h <<_ACEOF
16545 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16546 _ACEOF
16552 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16553 #include <sys/types.h>
16554 #endif
16555 #ifdef HAVE_NETINET_IN_H
16556 # include <netinet/in.h>
16557 #endif
16558 #ifdef HAVE_ARPA_NAMESER_H
16559 # include <arpa/nameser.h>
16560 #endif
16562 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_NS_MSG__MSG_PTR 1
16566 _ACEOF
16572 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16573 #include <sys/types.h>
16574 #endif
16575 #ifdef HAVE_NETINET_IP_H
16576 #include <netinet/ip.h>
16577 #endif
16578 #ifdef HAVE_NETINET_IP_ICMP_H
16579 #include <netinet/ip_icmp.h>
16580 #endif
16581 #ifdef HAVE_NETINET_ICMP_VAR_H
16582 #include <netinet/icmp_var.h>
16583 #endif
16585 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16587 cat >>confdefs.h <<_ACEOF
16588 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16589 _ACEOF
16595 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16596 #include <sys/types.h>
16597 #endif
16598 #ifdef HAVE_ALIAS_H
16599 #include <alias.h>
16600 #endif
16601 #ifdef HAVE_SYS_SOCKET_H
16602 #include <sys/socket.h>
16603 #endif
16604 #ifdef HAVE_SYS_SOCKETVAR_H
16605 #include <sys/socketvar.h>
16606 #endif
16607 #ifdef HAVE_SYS_TIMEOUT_H
16608 #include <sys/timeout.h>
16609 #endif
16610 #ifdef HAVE_NETINET_IN_H
16611 #include <netinet/in.h>
16612 #endif
16613 #ifdef HAVE_NETINET_IN_SYSTM_H
16614 #include <netinet/in_systm.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IP_H
16617 #include <netinet/ip.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IP_VAR_H
16620 #include <netinet/ip_var.h>
16621 #endif
16622 #ifdef HAVE_NETINET_IP_ICMP_H
16623 #include <netinet/ip_icmp.h>
16624 #endif
16625 #ifdef HAVE_NETINET_ICMP_VAR_H
16626 #include <netinet/icmp_var.h>
16627 #endif
16629 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16633 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16640 #include <sys/types.h>
16641 #endif
16642 #ifdef HAVE_SYS_SOCKETVAR_H
16643 #include <sys/socketvar.h>
16644 #endif
16645 #ifdef HAVE_NETINET_IN_H
16646 #include <netinet/in.h>
16647 #endif
16648 #ifdef HAVE_NETINET_IP_VAR_H
16649 #include <netinet/ip_var.h>
16650 #endif
16652 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16654 cat >>confdefs.h <<_ACEOF
16655 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16656 _ACEOF
16662 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
16663 #include <netinet/ip_var.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16670 _ACEOF
16676 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16677 #include <sys/types.h>
16678 #endif
16679 #ifdef HAVE_SYS_SOCKETVAR_H
16680 #include <sys/socketvar.h>
16681 #endif
16682 #ifdef HAVE_NETINET_IN_H
16683 #include <netinet/in.h>
16684 #endif
16685 #ifdef HAVE_NETINET_TCP_H
16686 #include <netinet/tcp.h>
16687 #endif
16688 #ifdef HAVE_NETINET_TCP_VAR_H
16689 #include <netinet/tcp_var.h>
16690 #endif
16692 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16694 cat >>confdefs.h <<_ACEOF
16695 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16696 _ACEOF
16702 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
16703 #include <netinet/tcp_var.h>
16704 #endif
16706 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16708 cat >>confdefs.h <<_ACEOF
16709 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16710 _ACEOF
16716 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16717 #include <sys/types.h>
16718 #endif
16719 #ifdef HAVE_NETINET_IN_H
16720 #include <netinet/in.h>
16721 #endif
16722 #ifdef HAVE_NETINET_IP_VAR_H
16723 #include <netinet/ip_var.h>
16724 #endif
16725 #ifdef HAVE_NETINET_UDP_H
16726 #include <netinet/udp.h>
16727 #endif
16728 #ifdef HAVE_NETINET_UDP_VAR_H
16729 #include <netinet/udp_var.h>
16730 #endif
16732 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16734 cat >>confdefs.h <<_ACEOF
16735 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16736 _ACEOF
16742 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16743 #include <sys/types.h>
16744 #endif
16745 #ifdef HAVE_NET_IF_H
16746 # include <net/if.h>
16747 #endif
16749 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16753 _ACEOF
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16760 $as_echo_n "checking for timezone variable... " >&6; }
16761 if ${ac_cv_have_timezone+:} false; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16766 #include <time.h>
16768 main ()
16770 timezone = 1
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"; then :
16776 ac_cv_have_timezone="yes"
16777 else
16778 ac_cv_have_timezone="no"
16780 rm -f core conftest.err conftest.$ac_objext \
16781 conftest$ac_exeext conftest.$ac_ext
16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16784 $as_echo "$ac_cv_have_timezone" >&6; }
16785 if test "$ac_cv_have_timezone" = "yes"
16786 then
16788 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16792 $as_echo_n "checking for daylight variable... " >&6; }
16793 if ${ac_cv_have_daylight+:} false; then :
16794 $as_echo_n "(cached) " >&6
16795 else
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16797 /* end confdefs.h. */
16798 #include <time.h>
16800 main ()
16802 daylight = 1
16804 return 0;
16806 _ACEOF
16807 if ac_fn_c_try_link "$LINENO"; then :
16808 ac_cv_have_daylight="yes"
16809 else
16810 ac_cv_have_daylight="no"
16812 rm -f core conftest.err conftest.$ac_objext \
16813 conftest$ac_exeext conftest.$ac_ext
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16816 $as_echo "$ac_cv_have_daylight" >&6; }
16817 if test "$ac_cv_have_daylight" = "yes"
16818 then
16820 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16824 ac_save_LIBS="$LIBS"
16825 LIBS="$LIBS -lm"
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16827 $as_echo_n "checking for isfinite... " >&6; }
16828 if ${ac_cv_have_isfinite+:} false; then :
16829 $as_echo_n "(cached) " >&6
16830 else
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16833 #define _GNU_SOURCE
16834 #include <math.h>
16836 main ()
16838 float f = 0.0; return isfinite(f)
16840 return 0;
16842 _ACEOF
16843 if ac_fn_c_try_link "$LINENO"; then :
16844 ac_cv_have_isfinite="yes"
16845 else
16846 ac_cv_have_isfinite="no"
16848 rm -f core conftest.err conftest.$ac_objext \
16849 conftest$ac_exeext conftest.$ac_ext
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16852 $as_echo "$ac_cv_have_isfinite" >&6; }
16853 if test "$ac_cv_have_isfinite" = "yes"
16854 then
16856 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16861 $as_echo_n "checking for isinf... " >&6; }
16862 if ${ac_cv_have_isinf+:} false; then :
16863 $as_echo_n "(cached) " >&6
16864 else
16865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16867 #include <math.h>
16869 main ()
16871 float f = 0.0; return isinf(f)
16873 return 0;
16875 _ACEOF
16876 if ac_fn_c_try_link "$LINENO"; then :
16877 ac_cv_have_isinf="yes"
16878 else
16879 ac_cv_have_isinf="no"
16881 rm -f core conftest.err conftest.$ac_objext \
16882 conftest$ac_exeext conftest.$ac_ext
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16885 $as_echo "$ac_cv_have_isinf" >&6; }
16886 if test "$ac_cv_have_isinf" = "yes"
16887 then
16889 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16894 $as_echo_n "checking for isnan... " >&6; }
16895 if ${ac_cv_have_isnan+:} false; then :
16896 $as_echo_n "(cached) " >&6
16897 else
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <math.h>
16902 main ()
16904 float f = 0.0; return isnan(f)
16906 return 0;
16908 _ACEOF
16909 if ac_fn_c_try_link "$LINENO"; then :
16910 ac_cv_have_isnan="yes"
16911 else
16912 ac_cv_have_isnan="no"
16914 rm -f core conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext conftest.$ac_ext
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16918 $as_echo "$ac_cv_have_isnan" >&6; }
16919 if test "$ac_cv_have_isnan" = "yes"
16920 then
16922 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16926 for ac_func in \
16927 asinh \
16928 asinhf \
16929 cbrt \
16930 cbrtf \
16931 erf \
16932 erff \
16933 exp2 \
16934 exp2f \
16935 llrint \
16936 llrintf \
16937 llround \
16938 llroundf \
16939 log2 \
16940 log2f \
16941 lrint \
16942 lrintf \
16943 lround \
16944 lroundf \
16945 powl \
16946 remainder \
16947 remainderf \
16948 rint \
16949 rintf \
16950 round \
16951 roundf \
16952 trunc \
16953 truncf
16955 do :
16956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16958 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16959 cat >>confdefs.h <<_ACEOF
16960 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16961 _ACEOF
16964 done
16966 LIBS="$ac_save_LIBS"
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16969 $as_echo_n "checking for __builtin_clz... " >&6; }
16970 if ${ac_cv_have___builtin_clz+:} false; then :
16971 $as_echo_n "(cached) " >&6
16972 else
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16977 main ()
16979 return __builtin_clz(1)
16981 return 0;
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_have___builtin_clz="yes"
16986 else
16987 ac_cv_have___builtin_clz="no"
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16993 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16994 if test "$ac_cv_have___builtin_clz" = "yes"
16995 then
16997 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17002 $as_echo_n "checking for __builtin_popcount... " >&6; }
17003 if ${ac_cv_have___builtin_popcount+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17010 main ()
17012 return __builtin_popcount(1)
17014 return 0;
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_have___builtin_popcount="yes"
17019 else
17020 ac_cv_have___builtin_popcount="no"
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17026 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17027 if test "$ac_cv_have___builtin_popcount" = "yes"
17028 then
17030 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17035 case $host_cpu in
17036 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17037 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17038 if ${ac_cv_cpp_def___i386__+:} false; then :
17039 $as_echo_n "(cached) " >&6
17040 else
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17043 #ifndef __i386__
17045 #endif
17046 _ACEOF
17047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17048 $EGREP "yes" >/dev/null 2>&1; then :
17049 ac_cv_cpp_def___i386__=yes
17050 else
17051 ac_cv_cpp_def___i386__=no
17053 rm -f conftest*
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17057 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17058 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17059 CFLAGS="$CFLAGS -D__i386__"
17060 LINTFLAGS="$LINTFLAGS -D__i386__"
17061 fi ;;
17062 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17063 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17064 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17065 $as_echo_n "(cached) " >&6
17066 else
17067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 /* end confdefs.h. */
17069 #ifndef __x86_64__
17071 #endif
17072 _ACEOF
17073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17074 $EGREP "yes" >/dev/null 2>&1; then :
17075 ac_cv_cpp_def___x86_64__=yes
17076 else
17077 ac_cv_cpp_def___x86_64__=no
17079 rm -f conftest*
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17083 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17084 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17085 CFLAGS="$CFLAGS -D__x86_64__"
17086 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17087 fi ;;
17088 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17089 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17090 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17091 $as_echo_n "(cached) " >&6
17092 else
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17095 #ifndef __sparc64__
17097 #endif
17098 _ACEOF
17099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17100 $EGREP "yes" >/dev/null 2>&1; then :
17101 ac_cv_cpp_def___sparc64__=yes
17102 else
17103 ac_cv_cpp_def___sparc64__=no
17105 rm -f conftest*
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17109 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17110 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17111 CFLAGS="$CFLAGS -D__sparc64__"
17112 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17113 fi ;;
17114 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17115 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17116 if ${ac_cv_cpp_def___sparc__+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #ifndef __sparc__
17123 #endif
17124 _ACEOF
17125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17126 $EGREP "yes" >/dev/null 2>&1; then :
17127 ac_cv_cpp_def___sparc__=yes
17128 else
17129 ac_cv_cpp_def___sparc__=no
17131 rm -f conftest*
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17135 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17136 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17137 CFLAGS="$CFLAGS -D__sparc__"
17138 LINTFLAGS="$LINTFLAGS -D__sparc__"
17139 fi ;;
17140 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17141 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17142 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17143 $as_echo_n "(cached) " >&6
17144 else
17145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h. */
17147 #ifndef __powerpc64__
17149 #endif
17150 _ACEOF
17151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17152 $EGREP "yes" >/dev/null 2>&1; then :
17153 ac_cv_cpp_def___powerpc64__=yes
17154 else
17155 ac_cv_cpp_def___powerpc64__=no
17157 rm -f conftest*
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17161 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17162 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17163 CFLAGS="$CFLAGS -D__powerpc64__"
17164 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17165 fi ;;
17166 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17167 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17168 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17169 $as_echo_n "(cached) " >&6
17170 else
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 #ifndef __powerpc__
17175 #endif
17176 _ACEOF
17177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17178 $EGREP "yes" >/dev/null 2>&1; then :
17179 ac_cv_cpp_def___powerpc__=yes
17180 else
17181 ac_cv_cpp_def___powerpc__=no
17183 rm -f conftest*
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17187 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17188 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17189 CFLAGS="$CFLAGS -D__powerpc__"
17190 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17191 fi ;;
17192 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17193 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17194 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17195 $as_echo_n "(cached) " >&6
17196 else
17197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198 /* end confdefs.h. */
17199 #ifndef __aarch64__
17201 #endif
17202 _ACEOF
17203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17204 $EGREP "yes" >/dev/null 2>&1; then :
17205 ac_cv_cpp_def___aarch64__=yes
17206 else
17207 ac_cv_cpp_def___aarch64__=no
17209 rm -f conftest*
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17213 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17214 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17215 CFLAGS="$CFLAGS -D__aarch64__"
17216 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17217 fi ;;
17218 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17219 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17220 if ${ac_cv_cpp_def___arm__+:} false; then :
17221 $as_echo_n "(cached) " >&6
17222 else
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17225 #ifndef __arm__
17227 #endif
17228 _ACEOF
17229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17230 $EGREP "yes" >/dev/null 2>&1; then :
17231 ac_cv_cpp_def___arm__=yes
17232 else
17233 ac_cv_cpp_def___arm__=no
17235 rm -f conftest*
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17239 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17240 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17241 CFLAGS="$CFLAGS -D__arm__"
17242 LINTFLAGS="$LINTFLAGS -D__arm__"
17243 fi ;;
17244 esac
17246 case $host_vendor in
17247 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17248 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17249 if ${ac_cv_cpp_def___sun__+:} false; then :
17250 $as_echo_n "(cached) " >&6
17251 else
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254 #ifndef __sun__
17256 #endif
17257 _ACEOF
17258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17259 $EGREP "yes" >/dev/null 2>&1; then :
17260 ac_cv_cpp_def___sun__=yes
17261 else
17262 ac_cv_cpp_def___sun__=no
17264 rm -f conftest*
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17268 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17269 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17270 CFLAGS="$CFLAGS -D__sun__"
17271 LINTFLAGS="$LINTFLAGS -D__sun__"
17272 fi ;;
17273 esac
17279 ac_config_commands="$ac_config_commands include/stamp-h"
17281 $as_echo_n "creating Makefile rules..." >&6
17283 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17284 SOCKET_LIBS = $SOCKET_LIBS
17285 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17286 IOKIT_LIBS = $IOKIT_LIBS
17287 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17288 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17289 CORESERVICES_LIBS = $CORESERVICES_LIBS
17290 APPKIT_LIBS = $APPKIT_LIBS
17291 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17292 SECURITY_LIBS = $SECURITY_LIBS
17293 COREAUDIO_LIBS = $COREAUDIO_LIBS
17294 OPENAL_LIBS = $OPENAL_LIBS
17295 OPENCL_LIBS = $OPENCL_LIBS
17296 QUICKTIME_LIBS = $QUICKTIME_LIBS
17297 CARBON_LIBS = $CARBON_LIBS
17298 PTHREAD_LIBS = $PTHREAD_LIBS
17299 X_CFLAGS = $X_CFLAGS
17300 X_PRE_LIBS = $X_PRE_LIBS
17301 X_LIBS = $X_LIBS
17302 X_EXTRA_LIBS = $X_EXTRA_LIBS
17303 PCAP_LIBS = $PCAP_LIBS
17304 XML2_CFLAGS = $XML2_CFLAGS
17305 XML2_LIBS = $XML2_LIBS
17306 XSLT_CFLAGS = $XSLT_CFLAGS
17307 XSLT_LIBS = $XSLT_LIBS
17308 DBUS_CFLAGS = $DBUS_CFLAGS
17309 DBUS_LIBS = $DBUS_LIBS
17310 HAL_CFLAGS = $HAL_CFLAGS
17311 HAL_LIBS = $HAL_LIBS
17312 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17313 GNUTLS_LIBS = $GNUTLS_LIBS
17314 SANE_CFLAGS = $SANE_CFLAGS
17315 SANE_LIBS = $SANE_LIBS
17316 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17317 GPHOTO2_LIBS = $GPHOTO2_LIBS
17318 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17319 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17320 RESOLV_LIBS = $RESOLV_LIBS
17321 LCMS2_CFLAGS = $LCMS2_CFLAGS
17322 LCMS2_LIBS = $LCMS2_LIBS
17323 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17324 FREETYPE_LIBS = $FREETYPE_LIBS
17325 Z_LIBS = $Z_LIBS
17326 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17327 PULSE_CFLAGS = $PULSE_CFLAGS
17328 PULSE_LIBS = $PULSE_LIBS
17329 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17330 GSTREAMER_LIBS = $GSTREAMER_LIBS
17331 ALSA_LIBS = $ALSA_LIBS
17332 OSS4_CFLAGS = $OSS4_CFLAGS
17333 CAPI20_CFLAGS = $CAPI20_CFLAGS
17334 CAPI20_LIBS = $CAPI20_LIBS
17335 CUPS_CFLAGS = $CUPS_CFLAGS
17336 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17337 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17338 JPEG_CFLAGS = $JPEG_CFLAGS
17339 JPEG_LIBS = $JPEG_LIBS
17340 PNG_CFLAGS = $PNG_CFLAGS
17341 PNG_LIBS = $PNG_LIBS
17342 TIFF_CFLAGS = $TIFF_CFLAGS
17343 TIFF_LIBS = $TIFF_LIBS
17344 MPG123_CFLAGS = $MPG123_CFLAGS
17345 MPG123_LIBS = $MPG123_LIBS
17346 KSTAT_LIBS = $KSTAT_LIBS
17347 PROCSTAT_LIBS = $PROCSTAT_LIBS
17348 NETAPI_CFLAGS = $NETAPI_CFLAGS
17349 NETAPI_LIBS = $NETAPI_LIBS
17350 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17351 DL_LIBS = $DL_LIBS
17352 POLL_LIBS = $POLL_LIBS
17353 RT_LIBS = $RT_LIBS
17354 LDAP_LIBS = $LDAP_LIBS
17359 wine_fn_append_rule "
17360 # Rules automatically generated by configure
17362 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17364 .INIT: Makefile
17365 .MAKEFILEDEPS:
17366 all: Makefile
17367 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17368 @./config.status Make.tmp Makefile
17369 depend: \$(MAKEDEP) dummy
17370 \$(MAKEDEP)"
17372 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17373 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17375 if test "x$enable_fonts" != xno; then
17376 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17377 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17378 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17379 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17380 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17381 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17383 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17384 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17385 ac_config_links="$ac_config_links wine:tools/winewrapper"
17386 wine_fn_config_symlink wine
17387 if test "x$enable_win64" != xno; then
17388 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17389 wine_fn_config_symlink wine64
17392 wine_fn_config_dll acledit enable_acledit
17393 wine_fn_config_dll aclui enable_aclui implib
17394 wine_fn_config_dll activeds enable_activeds implib
17395 wine_fn_config_dll actxprxy enable_actxprxy clean
17396 wine_fn_config_lib adsiid
17397 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17398 wine_fn_config_test dlls/advapi32/tests advapi32_test
17399 wine_fn_config_dll advpack enable_advpack implib
17400 wine_fn_config_test dlls/advpack/tests advpack_test
17401 wine_fn_config_dll amstream enable_amstream clean
17402 wine_fn_config_test dlls/amstream/tests amstream_test
17403 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17404 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17405 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17406 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17407 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17408 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17409 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17410 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17412 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17413 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17414 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17415 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17416 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17417 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17418 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17419 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17420 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17421 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17424 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17427 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17428 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17430 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17431 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17432 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17433 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17435 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17436 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17437 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17440 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17441 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17444 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17447 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17449 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17450 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17451 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17455 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17456 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17458 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17460 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17463 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17464 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17471 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17476 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17477 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17478 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17491 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17492 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17496 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17497 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17500 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17501 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17502 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17503 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17504 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17505 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17506 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17507 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17508 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17509 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17510 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17511 wine_fn_config_dll apphelp enable_apphelp
17512 wine_fn_config_test dlls/apphelp/tests apphelp_test
17513 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17514 wine_fn_config_dll atl enable_atl clean,implib
17515 wine_fn_config_test dlls/atl/tests atl_test
17516 wine_fn_config_dll atl100 enable_atl100 clean,implib
17517 wine_fn_config_test dlls/atl100/tests atl100_test
17518 wine_fn_config_dll atl110 enable_atl110 clean
17519 wine_fn_config_dll atl80 enable_atl80 clean,implib
17520 wine_fn_config_test dlls/atl80/tests atl80_test
17521 wine_fn_config_dll atl90 enable_atl90 clean
17522 wine_fn_config_dll authz enable_authz
17523 wine_fn_config_dll avicap32 enable_avicap32 implib
17524 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17525 wine_fn_config_test dlls/avifil32/tests avifil32_test
17526 wine_fn_config_dll avifile.dll16 enable_win16
17527 wine_fn_config_dll avrt enable_avrt implib
17528 wine_fn_config_dll bcrypt enable_bcrypt implib
17529 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17530 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17531 wine_fn_config_dll browseui enable_browseui clean
17532 wine_fn_config_test dlls/browseui/tests browseui_test
17533 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17534 wine_fn_config_dll cabinet enable_cabinet implib
17535 wine_fn_config_test dlls/cabinet/tests cabinet_test
17536 wine_fn_config_dll capi2032 enable_capi2032 implib
17537 wine_fn_config_dll cards enable_cards implib
17538 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17539 wine_fn_config_dll clusapi enable_clusapi implib
17540 wine_fn_config_dll combase enable_combase
17541 wine_fn_config_test dlls/combase/tests combase_test
17542 wine_fn_config_dll comcat enable_comcat
17543 wine_fn_config_test dlls/comcat/tests comcat_test
17544 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17545 wine_fn_config_test dlls/comctl32/tests comctl32_test
17546 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17547 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17548 wine_fn_config_dll comm.drv16 enable_win16
17549 wine_fn_config_dll commdlg.dll16 enable_win16
17550 wine_fn_config_dll compobj.dll16 enable_win16
17551 wine_fn_config_dll compstui enable_compstui implib
17552 wine_fn_config_dll comsvcs enable_comsvcs implib
17553 wine_fn_config_dll connect enable_connect
17554 wine_fn_config_dll credui enable_credui clean,implib
17555 wine_fn_config_test dlls/credui/tests credui_test
17556 wine_fn_config_dll crtdll enable_crtdll
17557 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17558 wine_fn_config_test dlls/crypt32/tests crypt32_test
17559 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17560 wine_fn_config_dll cryptdll enable_cryptdll implib
17561 wine_fn_config_dll cryptext enable_cryptext
17562 wine_fn_config_dll cryptnet enable_cryptnet implib
17563 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17564 wine_fn_config_dll cryptui enable_cryptui clean,implib
17565 wine_fn_config_test dlls/cryptui/tests cryptui_test
17566 wine_fn_config_dll ctapi32 enable_ctapi32
17567 wine_fn_config_dll ctl3d.dll16 enable_win16
17568 wine_fn_config_dll ctl3d32 enable_ctl3d32
17569 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17570 wine_fn_config_dll d2d1 enable_d2d1 implib
17571 wine_fn_config_test dlls/d2d1/tests d2d1_test
17572 wine_fn_config_dll d3d10 enable_d3d10 implib
17573 wine_fn_config_test dlls/d3d10/tests d3d10_test
17574 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17575 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17576 wine_fn_config_dll d3d10core enable_d3d10core implib
17577 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17578 wine_fn_config_dll d3d11 enable_d3d11 implib
17579 wine_fn_config_test dlls/d3d11/tests d3d11_test
17580 wine_fn_config_dll d3d8 enable_d3d8 implib
17581 wine_fn_config_test dlls/d3d8/tests d3d8_test
17582 wine_fn_config_dll d3d9 enable_d3d9 implib
17583 wine_fn_config_test dlls/d3d9/tests d3d9_test
17584 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17585 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17586 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17587 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17588 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17589 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17590 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17591 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17592 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17593 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17594 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17595 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17596 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17597 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17598 wine_fn_config_dll d3dim enable_d3dim
17599 wine_fn_config_dll d3drm enable_d3drm implib
17600 wine_fn_config_test dlls/d3drm/tests d3drm_test
17601 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17602 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17603 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17604 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17605 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17606 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17607 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17608 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17609 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17610 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17611 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17612 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17613 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17614 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17615 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17616 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17617 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17618 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17619 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17620 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17621 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17622 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17623 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17624 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17625 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17626 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17627 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17628 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17629 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17630 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17631 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17632 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17633 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17634 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17635 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17636 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17637 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17638 wine_fn_config_dll davclnt enable_davclnt
17639 wine_fn_config_dll dbgeng enable_dbgeng implib
17640 wine_fn_config_dll dbghelp enable_dbghelp implib
17641 wine_fn_config_dll dciman32 enable_dciman32 implib
17642 wine_fn_config_dll ddeml.dll16 enable_win16
17643 wine_fn_config_dll ddraw enable_ddraw clean,implib
17644 wine_fn_config_test dlls/ddraw/tests ddraw_test
17645 wine_fn_config_dll ddrawex enable_ddrawex clean
17646 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17647 wine_fn_config_dll devenum enable_devenum clean
17648 wine_fn_config_test dlls/devenum/tests devenum_test
17649 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17650 wine_fn_config_dll difxapi enable_difxapi
17651 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17652 wine_fn_config_test dlls/dinput/tests dinput_test
17653 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17654 wine_fn_config_test dlls/dinput8/tests dinput8_test
17655 wine_fn_config_dll dispdib.dll16 enable_win16
17656 wine_fn_config_dll dispex enable_dispex clean
17657 wine_fn_config_test dlls/dispex/tests dispex_test
17658 wine_fn_config_dll display.drv16 enable_win16
17659 wine_fn_config_dll dmband enable_dmband clean
17660 wine_fn_config_test dlls/dmband/tests dmband_test
17661 wine_fn_config_dll dmcompos enable_dmcompos clean
17662 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17663 wine_fn_config_dll dmime enable_dmime clean
17664 wine_fn_config_test dlls/dmime/tests dmime_test
17665 wine_fn_config_dll dmloader enable_dmloader clean
17666 wine_fn_config_test dlls/dmloader/tests dmloader_test
17667 wine_fn_config_dll dmscript enable_dmscript clean
17668 wine_fn_config_test dlls/dmscript/tests dmscript_test
17669 wine_fn_config_dll dmstyle enable_dmstyle clean
17670 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17671 wine_fn_config_dll dmsynth enable_dmsynth clean
17672 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17673 wine_fn_config_dll dmusic enable_dmusic clean
17674 wine_fn_config_test dlls/dmusic/tests dmusic_test
17675 wine_fn_config_dll dmusic32 enable_dmusic32
17676 wine_fn_config_dll dnsapi enable_dnsapi implib
17677 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17678 wine_fn_config_dll dplay enable_dplay
17679 wine_fn_config_dll dplayx enable_dplayx clean,implib
17680 wine_fn_config_test dlls/dplayx/tests dplayx_test
17681 wine_fn_config_dll dpnaddr enable_dpnaddr
17682 wine_fn_config_dll dpnet enable_dpnet clean,implib
17683 wine_fn_config_test dlls/dpnet/tests dpnet_test
17684 wine_fn_config_dll dpnhpast enable_dpnhpast
17685 wine_fn_config_dll dpnlobby enable_dpnlobby
17686 wine_fn_config_dll dpvoice enable_dpvoice clean
17687 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17688 wine_fn_config_dll dpwsockx enable_dpwsockx
17689 wine_fn_config_dll drmclien enable_drmclien
17690 wine_fn_config_dll dsound enable_dsound clean,implib
17691 wine_fn_config_test dlls/dsound/tests dsound_test
17692 wine_fn_config_dll dssenh enable_dssenh
17693 wine_fn_config_test dlls/dssenh/tests dssenh_test
17694 wine_fn_config_dll dswave enable_dswave clean
17695 wine_fn_config_test dlls/dswave/tests dswave_test
17696 wine_fn_config_dll dwmapi enable_dwmapi implib
17697 wine_fn_config_dll dwrite enable_dwrite implib
17698 wine_fn_config_test dlls/dwrite/tests dwrite_test
17699 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17700 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17701 wine_fn_config_lib dxerr8
17702 wine_fn_config_lib dxerr9
17703 wine_fn_config_dll dxgi enable_dxgi implib
17704 wine_fn_config_test dlls/dxgi/tests dxgi_test
17705 wine_fn_config_lib dxguid
17706 wine_fn_config_dll dxva2 enable_dxva2
17707 wine_fn_config_dll esent enable_esent
17708 wine_fn_config_dll evr enable_evr
17709 wine_fn_config_dll explorerframe enable_explorerframe clean
17710 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17711 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17712 wine_fn_config_dll faultrep enable_faultrep implib
17713 wine_fn_config_test dlls/faultrep/tests faultrep_test
17714 wine_fn_config_dll fltlib enable_fltlib
17715 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17716 wine_fn_config_dll fntcache enable_fntcache
17717 wine_fn_config_dll fontsub enable_fontsub
17718 wine_fn_config_dll fusion enable_fusion
17719 wine_fn_config_test dlls/fusion/tests fusion_test
17720 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17721 wine_fn_config_dll gameux enable_gameux clean
17722 wine_fn_config_test dlls/gameux/tests gameux_test
17723 wine_fn_config_dll gdi.exe16 enable_win16
17724 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17725 wine_fn_config_test dlls/gdi32/tests gdi32_test
17726 wine_fn_config_dll gdiplus enable_gdiplus implib
17727 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17728 wine_fn_config_dll glu32 enable_glu32 implib
17729 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17730 wine_fn_config_dll gpkcsp enable_gpkcsp
17731 wine_fn_config_dll hal enable_hal
17732 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17733 wine_fn_config_dll hid enable_hid implib
17734 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17735 wine_fn_config_dll hlink enable_hlink clean,implib
17736 wine_fn_config_test dlls/hlink/tests hlink_test
17737 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17738 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17739 wine_fn_config_dll httpapi enable_httpapi
17740 wine_fn_config_dll iccvid enable_iccvid clean
17741 wine_fn_config_dll icmp enable_icmp
17742 wine_fn_config_dll ieframe enable_ieframe clean,implib
17743 wine_fn_config_test dlls/ieframe/tests ieframe_test
17744 wine_fn_config_dll ifsmgr.vxd enable_win16
17745 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17746 wine_fn_config_dll imagehlp enable_imagehlp implib
17747 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17748 wine_fn_config_dll imm.dll16 enable_win16
17749 wine_fn_config_dll imm32 enable_imm32 implib
17750 wine_fn_config_test dlls/imm32/tests imm32_test
17751 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17752 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17753 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17754 wine_fn_config_dll inetmib1 enable_inetmib1
17755 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17756 wine_fn_config_dll infosoft enable_infosoft clean
17757 wine_fn_config_test dlls/infosoft/tests infosoft_test
17758 wine_fn_config_dll initpki enable_initpki
17759 wine_fn_config_dll inkobj enable_inkobj
17760 wine_fn_config_dll inseng enable_inseng clean
17761 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17762 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17763 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17764 wine_fn_config_dll itircl enable_itircl
17765 wine_fn_config_dll itss enable_itss clean
17766 wine_fn_config_test dlls/itss/tests itss_test
17767 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17768 wine_fn_config_dll jscript enable_jscript clean
17769 wine_fn_config_test dlls/jscript/tests jscript_test
17770 wine_fn_config_dll jsproxy enable_jsproxy implib
17771 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17772 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17773 wine_fn_config_test dlls/kernel32/tests kernel32_test
17774 wine_fn_config_dll kernelbase enable_kernelbase
17775 wine_fn_config_dll keyboard.drv16 enable_win16
17776 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17777 wine_fn_config_dll ksuser enable_ksuser
17778 wine_fn_config_dll ktmw32 enable_ktmw32
17779 wine_fn_config_dll loadperf enable_loadperf implib
17780 wine_fn_config_dll localspl enable_localspl clean
17781 wine_fn_config_test dlls/localspl/tests localspl_test
17782 wine_fn_config_dll localui enable_localui clean
17783 wine_fn_config_test dlls/localui/tests localui_test
17784 wine_fn_config_dll lz32 enable_lz32 implib
17785 wine_fn_config_test dlls/lz32/tests lz32_test
17786 wine_fn_config_dll lzexpand.dll16 enable_win16
17787 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17788 wine_fn_config_test dlls/mapi32/tests mapi32_test
17789 wine_fn_config_dll mapistub enable_mapistub
17790 wine_fn_config_dll mciavi32 enable_mciavi32
17791 wine_fn_config_dll mcicda enable_mcicda
17792 wine_fn_config_dll mciqtz32 enable_mciqtz32
17793 wine_fn_config_dll mciseq enable_mciseq
17794 wine_fn_config_dll mciwave enable_mciwave
17795 wine_fn_config_dll mf enable_mf
17796 wine_fn_config_dll mfplat enable_mfplat
17797 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17798 wine_fn_config_dll mgmtapi enable_mgmtapi
17799 wine_fn_config_dll midimap enable_midimap
17800 wine_fn_config_dll mlang enable_mlang clean,implib
17801 wine_fn_config_test dlls/mlang/tests mlang_test
17802 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17803 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17804 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17805 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17806 wine_fn_config_dll mmdevldr.vxd enable_win16
17807 wine_fn_config_dll mmsystem.dll16 enable_win16
17808 wine_fn_config_dll monodebg.vxd enable_win16
17809 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17810 wine_fn_config_dll mouse.drv16 enable_win16
17811 wine_fn_config_dll mpr enable_mpr clean,implib
17812 wine_fn_config_test dlls/mpr/tests mpr_test
17813 wine_fn_config_dll mprapi enable_mprapi implib
17814 wine_fn_config_dll msacm.dll16 enable_win16
17815 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17816 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17817 wine_fn_config_test dlls/msacm32/tests msacm32_test
17818 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17819 wine_fn_config_dll msasn1 enable_msasn1 implib
17820 wine_fn_config_dll mscat32 enable_mscat32
17821 wine_fn_config_dll mscms enable_mscms implib
17822 wine_fn_config_test dlls/mscms/tests mscms_test
17823 wine_fn_config_dll mscoree enable_mscoree clean
17824 wine_fn_config_test dlls/mscoree/tests mscoree_test
17825 wine_fn_config_dll msctf enable_msctf clean
17826 wine_fn_config_test dlls/msctf/tests msctf_test
17827 wine_fn_config_dll msctfp enable_msctfp clean
17828 wine_fn_config_dll msdaps enable_msdaps clean
17829 wine_fn_config_dll msdelta enable_msdelta
17830 wine_fn_config_dll msdmo enable_msdmo implib
17831 wine_fn_config_test dlls/msdmo/tests msdmo_test
17832 wine_fn_config_dll msdrm enable_msdrm
17833 wine_fn_config_dll msftedit enable_msftedit
17834 wine_fn_config_dll msg711.acm enable_msg711_acm
17835 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17836 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17837 wine_fn_config_dll mshtml enable_mshtml clean,implib
17838 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17839 wine_fn_config_dll msi enable_msi clean,implib
17840 wine_fn_config_test dlls/msi/tests msi_test
17841 wine_fn_config_dll msident enable_msident clean
17842 wine_fn_config_dll msimg32 enable_msimg32 implib
17843 wine_fn_config_dll msimsg enable_msimsg
17844 wine_fn_config_dll msimtf enable_msimtf clean
17845 wine_fn_config_dll msisip enable_msisip
17846 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17847 wine_fn_config_dll msls31 enable_msls31
17848 wine_fn_config_dll msnet32 enable_msnet32
17849 wine_fn_config_dll mspatcha enable_mspatcha implib
17850 wine_fn_config_dll msrle32 enable_msrle32 clean
17851 wine_fn_config_test dlls/msrle32/tests msrle32_test
17852 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17853 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17854 wine_fn_config_dll mssign32 enable_mssign32
17855 wine_fn_config_dll mssip32 enable_mssip32
17856 wine_fn_config_dll mstask enable_mstask clean
17857 wine_fn_config_test dlls/mstask/tests mstask_test
17858 wine_fn_config_dll msvcirt enable_msvcirt
17859 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17860 wine_fn_config_dll msvcm80 enable_msvcm80
17861 wine_fn_config_dll msvcm90 enable_msvcm90
17862 wine_fn_config_dll msvcp100 enable_msvcp100
17863 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17864 wine_fn_config_dll msvcp110 enable_msvcp110
17865 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17866 wine_fn_config_dll msvcp120 enable_msvcp120
17867 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17868 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17869 wine_fn_config_dll msvcp140 enable_msvcp140
17870 wine_fn_config_dll msvcp60 enable_msvcp60
17871 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17872 wine_fn_config_dll msvcp70 enable_msvcp70
17873 wine_fn_config_dll msvcp71 enable_msvcp71
17874 wine_fn_config_dll msvcp80 enable_msvcp80
17875 wine_fn_config_dll msvcp90 enable_msvcp90
17876 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17877 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17878 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17879 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17880 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17881 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17882 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17883 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17884 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17885 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17886 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17887 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17888 wine_fn_config_dll msvcrt enable_msvcrt implib
17889 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17890 wine_fn_config_dll msvcrt20 enable_msvcrt20
17891 wine_fn_config_dll msvcrt40 enable_msvcrt40
17892 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17893 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17894 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17895 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17896 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17897 wine_fn_config_dll msvideo.dll16 enable_win16
17898 wine_fn_config_dll mswsock enable_mswsock implib
17899 wine_fn_config_dll msxml enable_msxml clean
17900 wine_fn_config_dll msxml2 enable_msxml2 clean
17901 wine_fn_config_dll msxml3 enable_msxml3 clean
17902 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17903 wine_fn_config_dll msxml4 enable_msxml4 clean
17904 wine_fn_config_dll msxml6 enable_msxml6 clean
17905 wine_fn_config_dll ncrypt enable_ncrypt
17906 wine_fn_config_dll nddeapi enable_nddeapi implib
17907 wine_fn_config_dll ndis.sys enable_ndis_sys
17908 wine_fn_config_dll netapi32 enable_netapi32 implib
17909 wine_fn_config_test dlls/netapi32/tests netapi32_test
17910 wine_fn_config_dll netcfgx enable_netcfgx clean
17911 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17912 wine_fn_config_dll netprofm enable_netprofm clean
17913 wine_fn_config_test dlls/netprofm/tests netprofm_test
17914 wine_fn_config_dll newdev enable_newdev implib
17915 wine_fn_config_dll normaliz enable_normaliz implib
17916 wine_fn_config_dll npmshtml enable_npmshtml
17917 wine_fn_config_dll npptools enable_npptools
17918 wine_fn_config_dll ntdll enable_ntdll implib
17919 wine_fn_config_test dlls/ntdll/tests ntdll_test
17920 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17921 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17922 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17923 wine_fn_config_dll ntprint enable_ntprint
17924 wine_fn_config_test dlls/ntprint/tests ntprint_test
17925 wine_fn_config_dll objsel enable_objsel clean
17926 wine_fn_config_dll odbc32 enable_odbc32 implib
17927 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17928 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17929 wine_fn_config_dll odbccu32 enable_odbccu32
17930 wine_fn_config_dll ole2.dll16 enable_win16
17931 wine_fn_config_dll ole2conv.dll16 enable_win16
17932 wine_fn_config_dll ole2disp.dll16 enable_win16
17933 wine_fn_config_dll ole2nls.dll16 enable_win16
17934 wine_fn_config_dll ole2prox.dll16 enable_win16
17935 wine_fn_config_dll ole2thk.dll16 enable_win16
17936 wine_fn_config_dll ole32 enable_ole32 clean,implib
17937 wine_fn_config_test dlls/ole32/tests ole32_test
17938 wine_fn_config_dll oleacc enable_oleacc clean,implib
17939 wine_fn_config_test dlls/oleacc/tests oleacc_test
17940 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17941 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17942 wine_fn_config_dll olecli.dll16 enable_win16
17943 wine_fn_config_dll olecli32 enable_olecli32 implib
17944 wine_fn_config_dll oledb32 enable_oledb32 clean
17945 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17946 wine_fn_config_dll oledlg enable_oledlg clean,implib
17947 wine_fn_config_test dlls/oledlg/tests oledlg_test
17948 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17949 wine_fn_config_dll olesvr.dll16 enable_win16
17950 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17951 wine_fn_config_dll olethk32 enable_olethk32
17952 wine_fn_config_dll openal32 enable_openal32
17953 wine_fn_config_dll opencl enable_opencl
17954 wine_fn_config_dll opengl32 enable_opengl32 implib
17955 wine_fn_config_test dlls/opengl32/tests opengl32_test
17956 wine_fn_config_dll packager enable_packager clean
17957 wine_fn_config_test dlls/packager/tests packager_test
17958 wine_fn_config_dll pdh enable_pdh implib
17959 wine_fn_config_test dlls/pdh/tests pdh_test
17960 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17961 wine_fn_config_dll pidgen enable_pidgen
17962 wine_fn_config_dll powrprof enable_powrprof implib
17963 wine_fn_config_dll printui enable_printui
17964 wine_fn_config_dll prntvpt enable_prntvpt
17965 wine_fn_config_dll propsys enable_propsys clean,implib
17966 wine_fn_config_test dlls/propsys/tests propsys_test
17967 wine_fn_config_dll psapi enable_psapi implib
17968 wine_fn_config_test dlls/psapi/tests psapi_test
17969 wine_fn_config_dll pstorec enable_pstorec clean
17970 wine_fn_config_dll qcap enable_qcap
17971 wine_fn_config_test dlls/qcap/tests qcap_test
17972 wine_fn_config_dll qedit enable_qedit clean
17973 wine_fn_config_test dlls/qedit/tests qedit_test
17974 wine_fn_config_dll qmgr enable_qmgr clean
17975 wine_fn_config_test dlls/qmgr/tests qmgr_test
17976 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17977 wine_fn_config_dll quartz enable_quartz clean,implib
17978 wine_fn_config_test dlls/quartz/tests quartz_test clean
17979 wine_fn_config_dll query enable_query
17980 wine_fn_config_dll rasapi16.dll16 enable_win16
17981 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17982 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17983 wine_fn_config_dll rasdlg enable_rasdlg implib
17984 wine_fn_config_dll regapi enable_regapi
17985 wine_fn_config_dll resutils enable_resutils implib
17986 wine_fn_config_dll riched20 enable_riched20 clean,implib
17987 wine_fn_config_test dlls/riched20/tests riched20_test
17988 wine_fn_config_dll riched32 enable_riched32
17989 wine_fn_config_test dlls/riched32/tests riched32_test
17990 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17991 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17992 wine_fn_config_dll rsabase enable_rsabase
17993 wine_fn_config_dll rsaenh enable_rsaenh implib
17994 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17995 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17996 wine_fn_config_dll rtutils enable_rtutils implib
17997 wine_fn_config_dll samlib enable_samlib
17998 wine_fn_config_dll sane.ds enable_sane_ds clean
17999 wine_fn_config_dll scarddlg enable_scarddlg
18000 wine_fn_config_dll sccbase enable_sccbase
18001 wine_fn_config_dll schannel enable_schannel
18002 wine_fn_config_test dlls/schannel/tests schannel_test
18003 wine_fn_config_dll schedsvc enable_schedsvc clean
18004 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18005 wine_fn_config_dll scrrun enable_scrrun clean
18006 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18007 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18008 wine_fn_config_dll secur32 enable_secur32 implib
18009 wine_fn_config_test dlls/secur32/tests secur32_test
18010 wine_fn_config_dll security enable_security
18011 wine_fn_config_dll sensapi enable_sensapi implib
18012 wine_fn_config_dll serialui enable_serialui clean
18013 wine_fn_config_test dlls/serialui/tests serialui_test
18014 wine_fn_config_dll setupapi enable_setupapi clean,implib
18015 wine_fn_config_test dlls/setupapi/tests setupapi_test
18016 wine_fn_config_dll setupx.dll16 enable_win16
18017 wine_fn_config_dll sfc enable_sfc implib
18018 wine_fn_config_dll sfc_os enable_sfc_os implib
18019 wine_fn_config_dll shdoclc enable_shdoclc clean
18020 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18021 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18022 wine_fn_config_dll shell.dll16 enable_win16
18023 wine_fn_config_dll shell32 enable_shell32 clean,implib
18024 wine_fn_config_test dlls/shell32/tests shell32_test
18025 wine_fn_config_dll shfolder enable_shfolder implib
18026 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18027 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18028 wine_fn_config_dll slbcsp enable_slbcsp
18029 wine_fn_config_dll slc enable_slc implib
18030 wine_fn_config_test dlls/slc/tests slc_test
18031 wine_fn_config_dll snmpapi enable_snmpapi implib
18032 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18033 wine_fn_config_dll softpub enable_softpub
18034 wine_fn_config_dll sound.drv16 enable_win16
18035 wine_fn_config_dll spoolss enable_spoolss implib
18036 wine_fn_config_test dlls/spoolss/tests spoolss_test
18037 wine_fn_config_dll sspicli enable_sspicli
18038 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18039 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18040 wine_fn_config_dll sti enable_sti clean,implib
18041 wine_fn_config_test dlls/sti/tests sti_test
18042 wine_fn_config_dll storage.dll16 enable_win16
18043 wine_fn_config_dll stress.dll16 enable_win16
18044 wine_fn_config_lib strmbase
18045 wine_fn_config_lib strmiids
18046 wine_fn_config_dll svrapi enable_svrapi
18047 wine_fn_config_dll sxs enable_sxs implib
18048 wine_fn_config_test dlls/sxs/tests sxs_test
18049 wine_fn_config_dll system.drv16 enable_win16
18050 wine_fn_config_dll t2embed enable_t2embed implib
18051 wine_fn_config_test dlls/t2embed/tests t2embed_test
18052 wine_fn_config_dll tapi32 enable_tapi32 implib
18053 wine_fn_config_dll taskschd enable_taskschd clean
18054 wine_fn_config_test dlls/taskschd/tests taskschd_test
18055 wine_fn_config_dll tdi.sys enable_tdi_sys
18056 wine_fn_config_dll toolhelp.dll16 enable_win16
18057 wine_fn_config_dll traffic enable_traffic
18058 wine_fn_config_dll twain.dll16 enable_win16
18059 wine_fn_config_dll twain_32 enable_twain_32
18060 wine_fn_config_test dlls/twain_32/tests twain_32_test
18061 wine_fn_config_dll typelib.dll16 enable_win16
18062 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18063 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18064 wine_fn_config_dll unicows enable_unicows implib
18065 wine_fn_config_dll updspapi enable_updspapi
18066 wine_fn_config_dll url enable_url implib
18067 wine_fn_config_dll urlmon enable_urlmon clean,implib
18068 wine_fn_config_test dlls/urlmon/tests urlmon_test
18069 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18070 wine_fn_config_dll user.exe16 enable_win16
18071 wine_fn_config_dll user32 enable_user32 clean,implib
18072 wine_fn_config_test dlls/user32/tests user32_test
18073 wine_fn_config_dll userenv enable_userenv implib
18074 wine_fn_config_test dlls/userenv/tests userenv_test
18075 wine_fn_config_dll usp10 enable_usp10 implib
18076 wine_fn_config_test dlls/usp10/tests usp10_test
18077 wine_fn_config_lib uuid
18078 wine_fn_config_dll uxtheme enable_uxtheme implib
18079 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18080 wine_fn_config_dll vbscript enable_vbscript clean
18081 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18082 wine_fn_config_dll vcomp enable_vcomp
18083 wine_fn_config_test dlls/vcomp/tests vcomp_test
18084 wine_fn_config_dll vcomp100 enable_vcomp100
18085 wine_fn_config_dll vcomp110 enable_vcomp110
18086 wine_fn_config_dll vcomp120 enable_vcomp120
18087 wine_fn_config_dll vcomp90 enable_vcomp90
18088 wine_fn_config_dll vcruntime140 enable_vcruntime140
18089 wine_fn_config_dll vdhcp.vxd enable_win16
18090 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18091 wine_fn_config_dll ver.dll16 enable_win16
18092 wine_fn_config_dll version enable_version implib
18093 wine_fn_config_test dlls/version/tests version_test
18094 wine_fn_config_dll vmm.vxd enable_win16
18095 wine_fn_config_dll vnbt.vxd enable_win16
18096 wine_fn_config_dll vnetbios.vxd enable_win16
18097 wine_fn_config_dll vssapi enable_vssapi
18098 wine_fn_config_dll vtdapi.vxd enable_win16
18099 wine_fn_config_dll vwin32.vxd enable_win16
18100 wine_fn_config_dll w32skrnl enable_win16
18101 wine_fn_config_dll w32sys.dll16 enable_win16
18102 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18103 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18104 wine_fn_config_dll wbemprox enable_wbemprox clean
18105 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18106 wine_fn_config_dll webservices enable_webservices implib
18107 wine_fn_config_test dlls/webservices/tests webservices_test
18108 wine_fn_config_dll wer enable_wer implib
18109 wine_fn_config_test dlls/wer/tests wer_test
18110 wine_fn_config_dll wevtapi enable_wevtapi
18111 wine_fn_config_dll wiaservc enable_wiaservc clean
18112 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18113 wine_fn_config_dll wimgapi enable_wimgapi
18114 wine_fn_config_dll win32s16.dll16 enable_win16
18115 wine_fn_config_dll win87em.dll16 enable_win16
18116 wine_fn_config_dll winaspi.dll16 enable_win16
18117 wine_fn_config_dll windebug.dll16 enable_win16
18118 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18119 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18120 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18121 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18122 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18123 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18124 wine_fn_config_lib winecrt0
18125 wine_fn_config_dll wined3d enable_wined3d implib
18126 wine_fn_config_dll winegstreamer enable_winegstreamer
18127 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18128 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18129 wine_fn_config_dll winemapi enable_winemapi
18130 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18131 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18132 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18133 wine_fn_config_dll wineps16.drv16 enable_win16
18134 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18135 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18136 wine_fn_config_dll winex11.drv enable_winex11_drv
18137 wine_fn_config_dll wing.dll16 enable_win16
18138 wine_fn_config_dll wing32 enable_wing32
18139 wine_fn_config_dll winhttp enable_winhttp clean,implib
18140 wine_fn_config_test dlls/winhttp/tests winhttp_test
18141 wine_fn_config_dll wininet enable_wininet clean,implib
18142 wine_fn_config_test dlls/wininet/tests wininet_test
18143 wine_fn_config_dll winmm enable_winmm clean,implib
18144 wine_fn_config_test dlls/winmm/tests winmm_test
18145 wine_fn_config_dll winnls.dll16 enable_win16
18146 wine_fn_config_dll winnls32 enable_winnls32 implib
18147 wine_fn_config_dll winscard enable_winscard implib
18148 wine_fn_config_dll winsock.dll16 enable_win16
18149 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18150 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18151 wine_fn_config_dll winsta enable_winsta
18152 wine_fn_config_dll wintab.dll16 enable_win16
18153 wine_fn_config_dll wintab32 enable_wintab32 implib
18154 wine_fn_config_test dlls/wintab32/tests wintab32_test
18155 wine_fn_config_dll wintrust enable_wintrust implib
18156 wine_fn_config_test dlls/wintrust/tests wintrust_test
18157 wine_fn_config_dll wlanapi enable_wlanapi
18158 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18159 wine_fn_config_test dlls/wldap32/tests wldap32_test
18160 wine_fn_config_dll wmasf enable_wmasf
18161 wine_fn_config_dll wmi enable_wmi
18162 wine_fn_config_dll wmiutils enable_wmiutils clean
18163 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18164 wine_fn_config_dll wmp enable_wmp clean
18165 wine_fn_config_test dlls/wmp/tests wmp_test
18166 wine_fn_config_dll wmvcore enable_wmvcore
18167 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18168 wine_fn_config_dll wow32 enable_win16 implib
18169 wine_fn_config_dll wpcap enable_wpcap
18170 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18171 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18172 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18173 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18174 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18175 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18176 wine_fn_config_dll wsock32 enable_wsock32 implib
18177 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18178 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18179 wine_fn_config_dll wuapi enable_wuapi clean
18180 wine_fn_config_dll wuaueng enable_wuaueng
18181 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18182 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18183 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18184 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18185 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18186 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18187 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18188 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18189 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18190 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18191 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18192 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18193 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18194 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18195 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18196 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18197 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18198 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18199 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18200 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18201 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18202 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18203 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18204 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18205 wine_fn_config_dll xinput1_1 enable_xinput1_1
18206 wine_fn_config_dll xinput1_2 enable_xinput1_2
18207 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18208 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18209 wine_fn_config_dll xinput1_4 enable_xinput1_4
18210 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18211 wine_fn_config_dll xmllite enable_xmllite implib
18212 wine_fn_config_test dlls/xmllite/tests xmllite_test
18213 wine_fn_config_dll xolehlp enable_xolehlp
18214 wine_fn_config_dll xpsprint enable_xpsprint
18215 wine_fn_config_dll xpssvcs enable_xpssvcs
18216 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18217 wine_fn_config_makefile include enable_include clean,install-dev
18218 wine_fn_config_makefile libs/port enable_libs_port
18219 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18220 wine_fn_config_makefile libs/wpp enable_libs_wpp
18221 wine_fn_config_makefile loader enable_loader clean,install-lib
18222 wine_fn_config_makefile po enable_po clean
18223 wine_fn_config_program arp enable_arp install
18224 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18225 wine_fn_config_program attrib enable_attrib clean,install
18226 wine_fn_config_program cabarc enable_cabarc install
18227 wine_fn_config_program cacls enable_cacls install
18228 wine_fn_config_program clock enable_clock clean,install
18229 wine_fn_config_program cmd enable_cmd clean,install
18230 wine_fn_config_test programs/cmd/tests cmd.exe_test
18231 wine_fn_config_program conhost enable_conhost install
18232 wine_fn_config_program control enable_control install
18233 wine_fn_config_program cscript enable_cscript clean,install
18234 wine_fn_config_program dpnsvr enable_dpnsvr install
18235 wine_fn_config_program dxdiag enable_dxdiag clean,install
18236 wine_fn_config_program eject enable_eject install
18237 wine_fn_config_program expand enable_expand install
18238 wine_fn_config_program explorer enable_explorer clean,install
18239 wine_fn_config_program extrac32 enable_extrac32 install
18240 wine_fn_config_program findstr enable_findstr install
18241 wine_fn_config_program fsutil enable_fsutil install
18242 wine_fn_config_program hh enable_hh install
18243 wine_fn_config_program hostname enable_hostname clean,install
18244 wine_fn_config_program icacls enable_icacls install
18245 wine_fn_config_program icinfo enable_icinfo install
18246 wine_fn_config_program iexplore enable_iexplore install
18247 wine_fn_config_program ipconfig enable_ipconfig clean,install
18248 wine_fn_config_program lodctr enable_lodctr install
18249 wine_fn_config_program mofcomp enable_mofcomp install
18250 wine_fn_config_program mshta enable_mshta install
18251 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18252 wine_fn_config_program net enable_net clean,install
18253 wine_fn_config_program netsh enable_netsh install
18254 wine_fn_config_program netstat enable_netstat clean,install
18255 wine_fn_config_program ngen enable_ngen install
18256 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18257 wine_fn_config_program oleview enable_oleview clean,install
18258 wine_fn_config_program ping enable_ping install
18259 wine_fn_config_program plugplay enable_plugplay install
18260 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18261 wine_fn_config_program progman enable_progman clean,install
18262 wine_fn_config_program reg enable_reg clean,install
18263 wine_fn_config_test programs/reg/tests reg.exe_test
18264 wine_fn_config_program regasm enable_regasm install
18265 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18266 wine_fn_config_test programs/regedit/tests regedit.exe_test
18267 wine_fn_config_program regsvcs enable_regsvcs install
18268 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18269 wine_fn_config_program rpcss enable_rpcss clean,install
18270 wine_fn_config_program rundll.exe16 enable_win16 install
18271 wine_fn_config_program rundll32 enable_rundll32 install
18272 wine_fn_config_program sc enable_sc install
18273 wine_fn_config_program schtasks enable_schtasks install
18274 wine_fn_config_program sdbinst enable_sdbinst install
18275 wine_fn_config_program secedit enable_secedit install
18276 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18277 wine_fn_config_program services enable_services clean,install
18278 wine_fn_config_test programs/services/tests services.exe_test
18279 wine_fn_config_program shutdown enable_shutdown install
18280 wine_fn_config_program spoolsv enable_spoolsv install
18281 wine_fn_config_program start enable_start clean,install
18282 wine_fn_config_program svchost enable_svchost install
18283 wine_fn_config_program systeminfo enable_systeminfo install
18284 wine_fn_config_program taskkill enable_taskkill clean,install
18285 wine_fn_config_program tasklist enable_tasklist install
18286 wine_fn_config_program taskmgr enable_taskmgr clean,install
18287 wine_fn_config_program termsv enable_termsv install
18288 wine_fn_config_program uninstaller enable_uninstaller clean,install
18289 wine_fn_config_program unlodctr enable_unlodctr install
18290 wine_fn_config_program view enable_view clean,install
18291 wine_fn_config_program wevtutil enable_wevtutil install
18292 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18293 wine_fn_config_program winebrowser enable_winebrowser install
18294 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18295 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18296 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18297 wine_fn_config_program winedevice enable_winedevice install
18298 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18299 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18300 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18301 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18302 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18303 wine_fn_config_program winetest enable_winetest clean
18304 wine_fn_config_program winevdm enable_win16 install
18305 wine_fn_config_program winhelp.exe16 enable_win16 install
18306 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18307 wine_fn_config_program winoldap.mod16 enable_win16 install
18308 wine_fn_config_program winver enable_winver install
18309 wine_fn_config_program wmic enable_wmic clean,install
18310 wine_fn_config_program wmplayer enable_wmplayer install
18311 wine_fn_config_program wordpad enable_wordpad clean,install
18312 wine_fn_config_program write enable_write clean,install
18313 wine_fn_config_program wscript enable_wscript clean,install
18314 wine_fn_config_test programs/wscript/tests wscript.exe_test
18315 wine_fn_config_program wusa enable_wusa install
18316 wine_fn_config_program xcopy enable_xcopy clean,install
18317 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18318 wine_fn_config_makefile server enable_server clean,install-lib
18319 wine_fn_config_tool tools clean
18320 wine_fn_config_tool tools/sfnt2fon clean
18321 wine_fn_config_tool tools/widl clean,install-dev
18322 wine_fn_config_tool tools/winebuild clean,install-dev
18323 wine_fn_config_tool tools/winedump clean,install-dev
18324 wine_fn_config_tool tools/winegcc clean,install-dev
18325 wine_fn_config_tool tools/winemaker clean,install-dev
18326 wine_fn_config_tool tools/wmc clean,install-dev
18327 wine_fn_config_tool tools/wrc clean,install-dev
18330 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18331 wine_fn_append_file CONFIGURE_TARGETS "tags"
18332 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18333 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18334 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18335 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18336 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18337 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18339 if test "x$enable_tools" != xno
18340 then
18341 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18342 ac_config_commands="$ac_config_commands tools/makedep"
18346 ac_config_commands="$ac_config_commands Makefile"
18349 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18353 if test "x$enable_maintainer_mode" = xyes
18354 then
18355 wine_fn_append_rule "configure: configure.ac aclocal.m4
18356 autoconf --warnings=all
18357 include/config.h.in: include/stamp-h.in
18358 include/stamp-h.in: configure.ac aclocal.m4
18359 autoheader --warnings=all
18360 @echo timestamp > \$@"
18363 if test "x$enable_tools" != xno
18364 then
18365 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18366 @./config.status tools/makedep
18367 Makefile: tools/makedep$ac_exeext"
18368 else
18369 wine_fn_append_rule "\$(MAKEDEP):
18370 @echo \"You need to run make in $TOOLSDIR first\" && false"
18373 if test -n "$with_wine64"
18374 then
18375 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18376 fonts server:
18377 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18378 $with_wine64/loader/wine:
18379 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18380 $with_wine64/loader/wine-preloader:
18381 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18382 clean::
18383 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18384 else
18385 WINELOADER_INSTALL="wine.inf"
18387 wine_fn_append_rule "install install-lib::
18388 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18389 uninstall::
18390 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18391 case $host_os in
18392 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18393 *) wine_fn_append_rule "install install-lib::
18394 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18395 uninstall::
18396 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18397 esac
18400 $as_echo " done" >&6
18401 cat >confcache <<\_ACEOF
18402 # This file is a shell script that caches the results of configure
18403 # tests run on this system so they can be shared between configure
18404 # scripts and configure runs, see configure's option --config-cache.
18405 # It is not useful on other systems. If it contains results you don't
18406 # want to keep, you may remove or edit it.
18408 # config.status only pays attention to the cache file if you give it
18409 # the --recheck option to rerun configure.
18411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18413 # following values.
18415 _ACEOF
18417 # The following way of writing the cache mishandles newlines in values,
18418 # but we know of no workaround that is simple, portable, and efficient.
18419 # So, we kill variables containing newlines.
18420 # Ultrix sh set writes to stderr and can't be redirected directly,
18421 # and sets the high bit in the cache file unless we assign to the vars.
18423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18424 eval ac_val=\$$ac_var
18425 case $ac_val in #(
18426 *${as_nl}*)
18427 case $ac_var in #(
18428 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18430 esac
18431 case $ac_var in #(
18432 _ | IFS | as_nl) ;; #(
18433 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18434 *) { eval $ac_var=; unset $ac_var;} ;;
18435 esac ;;
18436 esac
18437 done
18439 (set) 2>&1 |
18440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18441 *${as_nl}ac_space=\ *)
18442 # `set' does not quote correctly, so add quotes: double-quote
18443 # substitution turns \\\\ into \\, and sed turns \\ into \.
18444 sed -n \
18445 "s/'/'\\\\''/g;
18446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18447 ;; #(
18449 # `set' quotes correctly as required by POSIX, so do not add quotes.
18450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18452 esac |
18453 sort
18455 sed '
18456 /^ac_cv_env_/b end
18457 t clear
18458 :clear
18459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18460 t end
18461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18462 :end' >>confcache
18463 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18464 if test -w "$cache_file"; then
18465 if test "x$cache_file" != "x/dev/null"; then
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18467 $as_echo "$as_me: updating cache $cache_file" >&6;}
18468 if test ! -f "$cache_file" || test -h "$cache_file"; then
18469 cat confcache >"$cache_file"
18470 else
18471 case $cache_file in #(
18472 */* | ?:*)
18473 mv -f confcache "$cache_file"$$ &&
18474 mv -f "$cache_file"$$ "$cache_file" ;; #(
18476 mv -f confcache "$cache_file" ;;
18477 esac
18480 else
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18482 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18485 rm -f confcache
18487 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18488 # Let make expand exec_prefix.
18489 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18491 DEFS=-DHAVE_CONFIG_H
18493 ac_libobjs=
18494 ac_ltlibobjs=
18496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18497 # 1. Remove the extension, and $U if already installed.
18498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18501 # will be set to the directory where LIBOBJS objects are built.
18502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18504 done
18505 LIBOBJS=$ac_libobjs
18507 LTLIBOBJS=$ac_ltlibobjs
18511 : "${CONFIG_STATUS=./config.status}"
18512 ac_write_fail=0
18513 ac_clean_files_save=$ac_clean_files
18514 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18516 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18517 as_write_fail=0
18518 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18519 #! $SHELL
18520 # Generated by $as_me.
18521 # Run this file to recreate the current configuration.
18522 # Compiler output produced by configure, useful for debugging
18523 # configure, is in config.log if it exists.
18525 debug=false
18526 ac_cs_recheck=false
18527 ac_cs_silent=false
18529 SHELL=\${CONFIG_SHELL-$SHELL}
18530 export SHELL
18531 _ASEOF
18532 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18533 ## -------------------- ##
18534 ## M4sh Initialization. ##
18535 ## -------------------- ##
18537 # Be more Bourne compatible
18538 DUALCASE=1; export DUALCASE # for MKS sh
18539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18540 emulate sh
18541 NULLCMD=:
18542 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18543 # is contrary to our usage. Disable this feature.
18544 alias -g '${1+"$@"}'='"$@"'
18545 setopt NO_GLOB_SUBST
18546 else
18547 case `(set -o) 2>/dev/null` in #(
18548 *posix*) :
18549 set -o posix ;; #(
18550 *) :
18552 esac
18556 as_nl='
18558 export as_nl
18559 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18560 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18562 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18563 # Prefer a ksh shell builtin over an external printf program on Solaris,
18564 # but without wasting forks for bash or zsh.
18565 if test -z "$BASH_VERSION$ZSH_VERSION" \
18566 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18567 as_echo='print -r --'
18568 as_echo_n='print -rn --'
18569 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18570 as_echo='printf %s\n'
18571 as_echo_n='printf %s'
18572 else
18573 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18574 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18575 as_echo_n='/usr/ucb/echo -n'
18576 else
18577 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18578 as_echo_n_body='eval
18579 arg=$1;
18580 case $arg in #(
18581 *"$as_nl"*)
18582 expr "X$arg" : "X\\(.*\\)$as_nl";
18583 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18584 esac;
18585 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18587 export as_echo_n_body
18588 as_echo_n='sh -c $as_echo_n_body as_echo'
18590 export as_echo_body
18591 as_echo='sh -c $as_echo_body as_echo'
18594 # The user is always right.
18595 if test "${PATH_SEPARATOR+set}" != set; then
18596 PATH_SEPARATOR=:
18597 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18598 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18599 PATH_SEPARATOR=';'
18604 # IFS
18605 # We need space, tab and new line, in precisely that order. Quoting is
18606 # there to prevent editors from complaining about space-tab.
18607 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18608 # splitting by setting IFS to empty value.)
18609 IFS=" "" $as_nl"
18611 # Find who we are. Look in the path if we contain no directory separator.
18612 as_myself=
18613 case $0 in #((
18614 *[\\/]* ) as_myself=$0 ;;
18615 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18616 for as_dir in $PATH
18618 IFS=$as_save_IFS
18619 test -z "$as_dir" && as_dir=.
18620 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18621 done
18622 IFS=$as_save_IFS
18625 esac
18626 # We did not find ourselves, most probably we were run as `sh COMMAND'
18627 # in which case we are not to be found in the path.
18628 if test "x$as_myself" = x; then
18629 as_myself=$0
18631 if test ! -f "$as_myself"; then
18632 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18633 exit 1
18636 # Unset variables that we do not need and which cause bugs (e.g. in
18637 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18638 # suppresses any "Segmentation fault" message there. '((' could
18639 # trigger a bug in pdksh 5.2.14.
18640 for as_var in BASH_ENV ENV MAIL MAILPATH
18641 do eval test x\${$as_var+set} = xset \
18642 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18643 done
18644 PS1='$ '
18645 PS2='> '
18646 PS4='+ '
18648 # NLS nuisances.
18649 LC_ALL=C
18650 export LC_ALL
18651 LANGUAGE=C
18652 export LANGUAGE
18654 # CDPATH.
18655 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18658 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18659 # ----------------------------------------
18660 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18661 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18662 # script with STATUS, using 1 if that was 0.
18663 as_fn_error ()
18665 as_status=$1; test $as_status -eq 0 && as_status=1
18666 if test "$4"; then
18667 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18668 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18670 $as_echo "$as_me: error: $2" >&2
18671 as_fn_exit $as_status
18672 } # as_fn_error
18675 # as_fn_set_status STATUS
18676 # -----------------------
18677 # Set $? to STATUS, without forking.
18678 as_fn_set_status ()
18680 return $1
18681 } # as_fn_set_status
18683 # as_fn_exit STATUS
18684 # -----------------
18685 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18686 as_fn_exit ()
18688 set +e
18689 as_fn_set_status $1
18690 exit $1
18691 } # as_fn_exit
18693 # as_fn_unset VAR
18694 # ---------------
18695 # Portably unset VAR.
18696 as_fn_unset ()
18698 { eval $1=; unset $1;}
18700 as_unset=as_fn_unset
18701 # as_fn_append VAR VALUE
18702 # ----------------------
18703 # Append the text in VALUE to the end of the definition contained in VAR. Take
18704 # advantage of any shell optimizations that allow amortized linear growth over
18705 # repeated appends, instead of the typical quadratic growth present in naive
18706 # implementations.
18707 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18708 eval 'as_fn_append ()
18710 eval $1+=\$2
18712 else
18713 as_fn_append ()
18715 eval $1=\$$1\$2
18717 fi # as_fn_append
18719 # as_fn_arith ARG...
18720 # ------------------
18721 # Perform arithmetic evaluation on the ARGs, and store the result in the
18722 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18723 # must be portable across $(()) and expr.
18724 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18725 eval 'as_fn_arith ()
18727 as_val=$(( $* ))
18729 else
18730 as_fn_arith ()
18732 as_val=`expr "$@" || test $? -eq 1`
18734 fi # as_fn_arith
18737 if expr a : '\(a\)' >/dev/null 2>&1 &&
18738 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18739 as_expr=expr
18740 else
18741 as_expr=false
18744 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18745 as_basename=basename
18746 else
18747 as_basename=false
18750 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18751 as_dirname=dirname
18752 else
18753 as_dirname=false
18756 as_me=`$as_basename -- "$0" ||
18757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18758 X"$0" : 'X\(//\)$' \| \
18759 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18760 $as_echo X/"$0" |
18761 sed '/^.*\/\([^/][^/]*\)\/*$/{
18762 s//\1/
18765 /^X\/\(\/\/\)$/{
18766 s//\1/
18769 /^X\/\(\/\).*/{
18770 s//\1/
18773 s/.*/./; q'`
18775 # Avoid depending upon Character Ranges.
18776 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18777 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18778 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18779 as_cr_digits='0123456789'
18780 as_cr_alnum=$as_cr_Letters$as_cr_digits
18782 ECHO_C= ECHO_N= ECHO_T=
18783 case `echo -n x` in #(((((
18784 -n*)
18785 case `echo 'xy\c'` in
18786 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18787 xy) ECHO_C='\c';;
18788 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18789 ECHO_T=' ';;
18790 esac;;
18792 ECHO_N='-n';;
18793 esac
18795 rm -f conf$$ conf$$.exe conf$$.file
18796 if test -d conf$$.dir; then
18797 rm -f conf$$.dir/conf$$.file
18798 else
18799 rm -f conf$$.dir
18800 mkdir conf$$.dir 2>/dev/null
18802 if (echo >conf$$.file) 2>/dev/null; then
18803 if ln -s conf$$.file conf$$ 2>/dev/null; then
18804 as_ln_s='ln -s'
18805 # ... but there are two gotchas:
18806 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18807 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18808 # In both cases, we have to default to `cp -pR'.
18809 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18810 as_ln_s='cp -pR'
18811 elif ln conf$$.file conf$$ 2>/dev/null; then
18812 as_ln_s=ln
18813 else
18814 as_ln_s='cp -pR'
18816 else
18817 as_ln_s='cp -pR'
18819 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18820 rmdir conf$$.dir 2>/dev/null
18823 # as_fn_mkdir_p
18824 # -------------
18825 # Create "$as_dir" as a directory, including parents if necessary.
18826 as_fn_mkdir_p ()
18829 case $as_dir in #(
18830 -*) as_dir=./$as_dir;;
18831 esac
18832 test -d "$as_dir" || eval $as_mkdir_p || {
18833 as_dirs=
18834 while :; do
18835 case $as_dir in #(
18836 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18837 *) as_qdir=$as_dir;;
18838 esac
18839 as_dirs="'$as_qdir' $as_dirs"
18840 as_dir=`$as_dirname -- "$as_dir" ||
18841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18842 X"$as_dir" : 'X\(//\)[^/]' \| \
18843 X"$as_dir" : 'X\(//\)$' \| \
18844 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18845 $as_echo X"$as_dir" |
18846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18847 s//\1/
18850 /^X\(\/\/\)[^/].*/{
18851 s//\1/
18854 /^X\(\/\/\)$/{
18855 s//\1/
18858 /^X\(\/\).*/{
18859 s//\1/
18862 s/.*/./; q'`
18863 test -d "$as_dir" && break
18864 done
18865 test -z "$as_dirs" || eval "mkdir $as_dirs"
18866 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18869 } # as_fn_mkdir_p
18870 if mkdir -p . 2>/dev/null; then
18871 as_mkdir_p='mkdir -p "$as_dir"'
18872 else
18873 test -d ./-p && rmdir ./-p
18874 as_mkdir_p=false
18878 # as_fn_executable_p FILE
18879 # -----------------------
18880 # Test if FILE is an executable regular file.
18881 as_fn_executable_p ()
18883 test -f "$1" && test -x "$1"
18884 } # as_fn_executable_p
18885 as_test_x='test -x'
18886 as_executable_p=as_fn_executable_p
18888 # Sed expression to map a string onto a valid CPP name.
18889 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18891 # Sed expression to map a string onto a valid variable name.
18892 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18895 exec 6>&1
18896 ## ----------------------------------- ##
18897 ## Main body of $CONFIG_STATUS script. ##
18898 ## ----------------------------------- ##
18899 _ASEOF
18900 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18903 # Save the log message, to keep $0 and so on meaningful, and to
18904 # report actual input values of CONFIG_FILES etc. instead of their
18905 # values after options handling.
18906 ac_log="
18907 This file was extended by Wine $as_me 1.9.15, which was
18908 generated by GNU Autoconf 2.69. Invocation command line was
18910 CONFIG_FILES = $CONFIG_FILES
18911 CONFIG_HEADERS = $CONFIG_HEADERS
18912 CONFIG_LINKS = $CONFIG_LINKS
18913 CONFIG_COMMANDS = $CONFIG_COMMANDS
18914 $ $0 $@
18916 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18919 _ACEOF
18921 case $ac_config_files in *"
18922 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18923 esac
18925 case $ac_config_headers in *"
18926 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18927 esac
18930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18931 # Files that config.status was made for.
18932 config_files="$ac_config_files"
18933 config_headers="$ac_config_headers"
18934 config_links="$ac_config_links"
18935 config_commands="$ac_config_commands"
18937 _ACEOF
18939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18940 ac_cs_usage="\
18941 \`$as_me' instantiates files and other configuration actions
18942 from templates according to the current configuration. Unless the files
18943 and actions are specified as TAGs, all are instantiated by default.
18945 Usage: $0 [OPTION]... [TAG]...
18947 -h, --help print this help, then exit
18948 -V, --version print version number and configuration settings, then exit
18949 --config print configuration, then exit
18950 -q, --quiet, --silent
18951 do not print progress messages
18952 -d, --debug don't remove temporary files
18953 --recheck update $as_me by reconfiguring in the same conditions
18954 --file=FILE[:TEMPLATE]
18955 instantiate the configuration file FILE
18956 --header=FILE[:TEMPLATE]
18957 instantiate the configuration header FILE
18959 Configuration files:
18960 $config_files
18962 Configuration headers:
18963 $config_headers
18965 Configuration links:
18966 $config_links
18968 Configuration commands:
18969 $config_commands
18971 Report bugs to <wine-devel@winehq.org>.
18972 Wine home page: <http://www.winehq.org>."
18974 _ACEOF
18975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18976 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18977 ac_cs_version="\\
18978 Wine config.status 1.9.15
18979 configured by $0, generated by GNU Autoconf 2.69,
18980 with options \\"\$ac_cs_config\\"
18982 Copyright (C) 2012 Free Software Foundation, Inc.
18983 This config.status script is free software; the Free Software Foundation
18984 gives unlimited permission to copy, distribute and modify it."
18986 ac_pwd='$ac_pwd'
18987 srcdir='$srcdir'
18988 test -n "\$AWK" || AWK=awk
18989 _ACEOF
18991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18992 # The default lists apply if the user does not specify any file.
18993 ac_need_defaults=:
18994 while test $# != 0
18996 case $1 in
18997 --*=?*)
18998 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18999 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19000 ac_shift=:
19002 --*=)
19003 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19004 ac_optarg=
19005 ac_shift=:
19008 ac_option=$1
19009 ac_optarg=$2
19010 ac_shift=shift
19012 esac
19014 case $ac_option in
19015 # Handling of the options.
19016 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19017 ac_cs_recheck=: ;;
19018 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19019 $as_echo "$ac_cs_version"; exit ;;
19020 --config | --confi | --conf | --con | --co | --c )
19021 $as_echo "$ac_cs_config"; exit ;;
19022 --debug | --debu | --deb | --de | --d | -d )
19023 debug=: ;;
19024 --file | --fil | --fi | --f )
19025 $ac_shift
19026 case $ac_optarg in
19027 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19028 '') as_fn_error $? "missing file argument" ;;
19029 esac
19030 as_fn_append CONFIG_FILES " '$ac_optarg'"
19031 ac_need_defaults=false;;
19032 --header | --heade | --head | --hea )
19033 $ac_shift
19034 case $ac_optarg in
19035 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19036 esac
19037 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19038 ac_need_defaults=false;;
19039 --he | --h)
19040 # Conflict between --help and --header
19041 as_fn_error $? "ambiguous option: \`$1'
19042 Try \`$0 --help' for more information.";;
19043 --help | --hel | -h )
19044 $as_echo "$ac_cs_usage"; exit ;;
19045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19046 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19047 ac_cs_silent=: ;;
19049 # This is an error.
19050 -*) as_fn_error $? "unrecognized option: \`$1'
19051 Try \`$0 --help' for more information." ;;
19053 *) as_fn_append ac_config_targets " $1"
19054 ac_need_defaults=false ;;
19056 esac
19057 shift
19058 done
19060 ac_configure_extra_args=
19062 if $ac_cs_silent; then
19063 exec 6>/dev/null
19064 ac_configure_extra_args="$ac_configure_extra_args --silent"
19067 _ACEOF
19068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19069 if \$ac_cs_recheck; then
19070 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19071 shift
19072 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19073 CONFIG_SHELL='$SHELL'
19074 export CONFIG_SHELL
19075 exec "\$@"
19078 _ACEOF
19079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19080 exec 5>>config.log
19082 echo
19083 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19084 ## Running $as_me. ##
19085 _ASBOX
19086 $as_echo "$ac_log"
19087 } >&5
19089 _ACEOF
19090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19092 # INIT-COMMANDS
19094 wine_fn_output_makedep ()
19096 as_dir=tools; as_fn_mkdir_p
19097 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19099 wine_fn_output_makefile ()
19101 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19102 `cat $wine_rules_file`
19103 _WINE_EOF
19104 as_fn_error $? "could not create Makefile" "$LINENO" 5
19107 _ACEOF
19109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19111 # Handling of arguments.
19112 for ac_config_target in $ac_config_targets
19114 case $ac_config_target in
19115 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19116 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19117 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19118 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19119 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19120 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19121 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19122 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19123 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19124 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19125 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19126 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19127 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19129 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19130 esac
19131 done
19134 # If the user did not use the arguments to specify the items to instantiate,
19135 # then the envvar interface is used. Set only those that are not.
19136 # We use the long form for the default assignment because of an extremely
19137 # bizarre bug on SunOS 4.1.3.
19138 if $ac_need_defaults; then
19139 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19140 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19141 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19142 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19145 # Have a temporary directory for convenience. Make it in the build tree
19146 # simply because there is no reason against having it here, and in addition,
19147 # creating and moving files from /tmp can sometimes cause problems.
19148 # Hook for its removal unless debugging.
19149 # Note that there is a small window in which the directory will not be cleaned:
19150 # after its creation but before its name has been assigned to `$tmp'.
19151 $debug ||
19153 tmp= ac_tmp=
19154 trap 'exit_status=$?
19155 : "${ac_tmp:=$tmp}"
19156 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19158 trap 'as_fn_exit 1' 1 2 13 15
19160 # Create a (secure) tmp directory for tmp files.
19163 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19164 test -d "$tmp"
19165 } ||
19167 tmp=./conf$$-$RANDOM
19168 (umask 077 && mkdir "$tmp")
19169 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19170 ac_tmp=$tmp
19172 # Set up the scripts for CONFIG_FILES section.
19173 # No need to generate them if there are no CONFIG_FILES.
19174 # This happens for instance with `./config.status config.h'.
19175 if test -n "$CONFIG_FILES"; then
19178 ac_cr=`echo X | tr X '\015'`
19179 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19180 # But we know of no other shell where ac_cr would be empty at this
19181 # point, so we can use a bashism as a fallback.
19182 if test "x$ac_cr" = x; then
19183 eval ac_cr=\$\'\\r\'
19185 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19186 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19187 ac_cs_awk_cr='\\r'
19188 else
19189 ac_cs_awk_cr=$ac_cr
19192 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19193 _ACEOF
19197 echo "cat >conf$$subs.awk <<_ACEOF" &&
19198 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19199 echo "_ACEOF"
19200 } >conf$$subs.sh ||
19201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19202 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19203 ac_delim='%!_!# '
19204 for ac_last_try in false false false false false :; do
19205 . ./conf$$subs.sh ||
19206 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19208 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19209 if test $ac_delim_n = $ac_delim_num; then
19210 break
19211 elif $ac_last_try; then
19212 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19213 else
19214 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19216 done
19217 rm -f conf$$subs.sh
19219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19220 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19221 _ACEOF
19222 sed -n '
19224 s/^/S["/; s/!.*/"]=/
19227 s/^[^!]*!//
19228 :repl
19229 t repl
19230 s/'"$ac_delim"'$//
19231 t delim
19234 s/\(.\{148\}\)..*/\1/
19235 t more1
19236 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19239 b repl
19240 :more1
19241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19244 s/.\{148\}//
19245 t nl
19246 :delim
19248 s/\(.\{148\}\)..*/\1/
19249 t more2
19250 s/["\\]/\\&/g; s/^/"/; s/$/"/
19253 :more2
19254 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19257 s/.\{148\}//
19258 t delim
19259 ' <conf$$subs.awk | sed '
19260 /^[^""]/{
19262 s/\n//
19264 ' >>$CONFIG_STATUS || ac_write_fail=1
19265 rm -f conf$$subs.awk
19266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19267 _ACAWK
19268 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19269 for (key in S) S_is_set[key] = 1
19270 FS = "\a"
19274 line = $ 0
19275 nfields = split(line, field, "@")
19276 substed = 0
19277 len = length(field[1])
19278 for (i = 2; i < nfields; i++) {
19279 key = field[i]
19280 keylen = length(key)
19281 if (S_is_set[key]) {
19282 value = S[key]
19283 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19284 len += length(value) + length(field[++i])
19285 substed = 1
19286 } else
19287 len += 1 + keylen
19290 print line
19293 _ACAWK
19294 _ACEOF
19295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19296 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19297 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19298 else
19300 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19301 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19302 _ACEOF
19304 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19305 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19306 # trailing colons and then remove the whole line if VPATH becomes empty
19307 # (actually we leave an empty line to preserve line numbers).
19308 if test "x$srcdir" = x.; then
19309 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19311 s///
19312 s/^/:/
19313 s/[ ]*$/:/
19314 s/:\$(srcdir):/:/g
19315 s/:\${srcdir}:/:/g
19316 s/:@srcdir@:/:/g
19317 s/^:*//
19318 s/:*$//
19320 s/\(=[ ]*\).*/\1/
19322 s/\n//
19323 s/^[^=]*=[ ]*$//
19327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19328 fi # test -n "$CONFIG_FILES"
19330 # Set up the scripts for CONFIG_HEADERS section.
19331 # No need to generate them if there are no CONFIG_HEADERS.
19332 # This happens for instance with `./config.status Makefile'.
19333 if test -n "$CONFIG_HEADERS"; then
19334 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19335 BEGIN {
19336 _ACEOF
19338 # Transform confdefs.h into an awk script `defines.awk', embedded as
19339 # here-document in config.status, that substitutes the proper values into
19340 # config.h.in to produce config.h.
19342 # Create a delimiter string that does not exist in confdefs.h, to ease
19343 # handling of long lines.
19344 ac_delim='%!_!# '
19345 for ac_last_try in false false :; do
19346 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19347 if test -z "$ac_tt"; then
19348 break
19349 elif $ac_last_try; then
19350 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19351 else
19352 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19354 done
19356 # For the awk script, D is an array of macro values keyed by name,
19357 # likewise P contains macro parameters if any. Preserve backslash
19358 # newline sequences.
19360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19361 sed -n '
19362 s/.\{148\}/&'"$ac_delim"'/g
19363 t rset
19364 :rset
19365 s/^[ ]*#[ ]*define[ ][ ]*/ /
19366 t def
19368 :def
19369 s/\\$//
19370 t bsnl
19371 s/["\\]/\\&/g
19372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19373 D["\1"]=" \3"/p
19374 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19376 :bsnl
19377 s/["\\]/\\&/g
19378 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19379 D["\1"]=" \3\\\\\\n"\\/p
19380 t cont
19381 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19382 t cont
19384 :cont
19386 s/.\{148\}/&'"$ac_delim"'/g
19387 t clear
19388 :clear
19389 s/\\$//
19390 t bsnlc
19391 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19393 :bsnlc
19394 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19395 b cont
19396 ' <confdefs.h | sed '
19397 s/'"$ac_delim"'/"\\\
19398 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19401 for (key in D) D_is_set[key] = 1
19402 FS = "\a"
19404 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19405 line = \$ 0
19406 split(line, arg, " ")
19407 if (arg[1] == "#") {
19408 defundef = arg[2]
19409 mac1 = arg[3]
19410 } else {
19411 defundef = substr(arg[1], 2)
19412 mac1 = arg[2]
19414 split(mac1, mac2, "(") #)
19415 macro = mac2[1]
19416 prefix = substr(line, 1, index(line, defundef) - 1)
19417 if (D_is_set[macro]) {
19418 # Preserve the white space surrounding the "#".
19419 print prefix "define", macro P[macro] D[macro]
19420 next
19421 } else {
19422 # Replace #undef with comments. This is necessary, for example,
19423 # in the case of _POSIX_SOURCE, which is predefined and required
19424 # on some systems where configure will not decide to define it.
19425 if (defundef == "undef") {
19426 print "/*", prefix defundef, macro, "*/"
19427 next
19431 { print }
19432 _ACAWK
19433 _ACEOF
19434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19435 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19436 fi # test -n "$CONFIG_HEADERS"
19439 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19440 shift
19441 for ac_tag
19443 case $ac_tag in
19444 :[FHLC]) ac_mode=$ac_tag; continue;;
19445 esac
19446 case $ac_mode$ac_tag in
19447 :[FHL]*:*);;
19448 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19449 :[FH]-) ac_tag=-:-;;
19450 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19451 esac
19452 ac_save_IFS=$IFS
19453 IFS=:
19454 set x $ac_tag
19455 IFS=$ac_save_IFS
19456 shift
19457 ac_file=$1
19458 shift
19460 case $ac_mode in
19461 :L) ac_source=$1;;
19462 :[FH])
19463 ac_file_inputs=
19464 for ac_f
19466 case $ac_f in
19467 -) ac_f="$ac_tmp/stdin";;
19468 *) # Look for the file first in the build tree, then in the source tree
19469 # (if the path is not absolute). The absolute path cannot be DOS-style,
19470 # because $ac_f cannot contain `:'.
19471 test -f "$ac_f" ||
19472 case $ac_f in
19473 [\\/$]*) false;;
19474 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19475 esac ||
19476 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19477 esac
19478 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19479 as_fn_append ac_file_inputs " '$ac_f'"
19480 done
19482 # Let's still pretend it is `configure' which instantiates (i.e., don't
19483 # use $as_me), people would be surprised to read:
19484 # /* config.h. Generated by config.status. */
19485 configure_input='Generated from '`
19486 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19487 `' by configure.'
19488 if test x"$ac_file" != x-; then
19489 configure_input="$ac_file. $configure_input"
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19491 $as_echo "$as_me: creating $ac_file" >&6;}
19493 # Neutralize special characters interpreted by sed in replacement strings.
19494 case $configure_input in #(
19495 *\&* | *\|* | *\\* )
19496 ac_sed_conf_input=`$as_echo "$configure_input" |
19497 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19498 *) ac_sed_conf_input=$configure_input;;
19499 esac
19501 case $ac_tag in
19502 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19504 esac
19506 esac
19508 ac_dir=`$as_dirname -- "$ac_file" ||
19509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19510 X"$ac_file" : 'X\(//\)[^/]' \| \
19511 X"$ac_file" : 'X\(//\)$' \| \
19512 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19513 $as_echo X"$ac_file" |
19514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19515 s//\1/
19518 /^X\(\/\/\)[^/].*/{
19519 s//\1/
19522 /^X\(\/\/\)$/{
19523 s//\1/
19526 /^X\(\/\).*/{
19527 s//\1/
19530 s/.*/./; q'`
19531 as_dir="$ac_dir"; as_fn_mkdir_p
19532 ac_builddir=.
19534 case "$ac_dir" in
19535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19537 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19538 # A ".." for each directory in $ac_dir_suffix.
19539 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19540 case $ac_top_builddir_sub in
19541 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19542 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19543 esac ;;
19544 esac
19545 ac_abs_top_builddir=$ac_pwd
19546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19547 # for backward compatibility:
19548 ac_top_builddir=$ac_top_build_prefix
19550 case $srcdir in
19551 .) # We are building in place.
19552 ac_srcdir=.
19553 ac_top_srcdir=$ac_top_builddir_sub
19554 ac_abs_top_srcdir=$ac_pwd ;;
19555 [\\/]* | ?:[\\/]* ) # Absolute name.
19556 ac_srcdir=$srcdir$ac_dir_suffix;
19557 ac_top_srcdir=$srcdir
19558 ac_abs_top_srcdir=$srcdir ;;
19559 *) # Relative name.
19560 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19561 ac_top_srcdir=$ac_top_build_prefix$srcdir
19562 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19563 esac
19564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19567 case $ac_mode in
19570 # CONFIG_FILE
19573 _ACEOF
19575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19576 # If the template does not know about datarootdir, expand it.
19577 # FIXME: This hack should be removed a few years after 2.60.
19578 ac_datarootdir_hack=; ac_datarootdir_seen=
19579 ac_sed_dataroot='
19580 /datarootdir/ {
19584 /@datadir@/p
19585 /@docdir@/p
19586 /@infodir@/p
19587 /@localedir@/p
19588 /@mandir@/p'
19589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19590 *datarootdir*) ac_datarootdir_seen=yes;;
19591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19594 _ACEOF
19595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19596 ac_datarootdir_hack='
19597 s&@datadir@&$datadir&g
19598 s&@docdir@&$docdir&g
19599 s&@infodir@&$infodir&g
19600 s&@localedir@&$localedir&g
19601 s&@mandir@&$mandir&g
19602 s&\\\${datarootdir}&$datarootdir&g' ;;
19603 esac
19604 _ACEOF
19606 # Neutralize VPATH when `$srcdir' = `.'.
19607 # Shell code in configure.ac might set extrasub.
19608 # FIXME: do we really want to maintain this feature?
19609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19610 ac_sed_extra="$ac_vpsub
19611 $extrasub
19612 _ACEOF
19613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19616 s|@configure_input@|$ac_sed_conf_input|;t t
19617 s&@top_builddir@&$ac_top_builddir_sub&;t t
19618 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19619 s&@srcdir@&$ac_srcdir&;t t
19620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19621 s&@top_srcdir@&$ac_top_srcdir&;t t
19622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19623 s&@builddir@&$ac_builddir&;t t
19624 s&@abs_builddir@&$ac_abs_builddir&;t t
19625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19626 $ac_datarootdir_hack
19628 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19629 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19631 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19632 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19633 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19634 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19636 which seems to be undefined. Please make sure it is defined" >&5
19637 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19638 which seems to be undefined. Please make sure it is defined" >&2;}
19640 rm -f "$ac_tmp/stdin"
19641 case $ac_file in
19642 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19643 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19644 esac \
19645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19649 # CONFIG_HEADER
19651 if test x"$ac_file" != x-; then
19653 $as_echo "/* $configure_input */" \
19654 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19655 } >"$ac_tmp/config.h" \
19656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19657 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19659 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19660 else
19661 rm -f "$ac_file"
19662 mv "$ac_tmp/config.h" "$ac_file" \
19663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19665 else
19666 $as_echo "/* $configure_input */" \
19667 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19668 || as_fn_error $? "could not create -" "$LINENO" 5
19673 # CONFIG_LINK
19676 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19678 else
19679 # Prefer the file from the source tree if names are identical.
19680 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19681 ac_source=$srcdir/$ac_source
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19685 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19687 if test ! -r "$ac_source"; then
19688 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19690 rm -f "$ac_file"
19692 # Try a relative symlink, then a hard link, then a copy.
19693 case $ac_source in
19694 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19695 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19696 esac
19697 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19698 ln "$ac_source" "$ac_file" 2>/dev/null ||
19699 cp -p "$ac_source" "$ac_file" ||
19700 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19703 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19704 $as_echo "$as_me: executing $ac_file commands" >&6;}
19706 esac
19709 case $ac_file$ac_mode in
19710 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19711 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19712 "Makefile":C) wine_fn_output_makefile Makefile ;;
19714 esac
19715 done # for ac_tag
19718 as_fn_exit 0
19719 _ACEOF
19720 ac_clean_files=$ac_clean_files_save
19722 test $ac_write_fail = 0 ||
19723 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19726 # configure is writing to config.log, and then calls config.status.
19727 # config.status does its own redirection, appending to config.log.
19728 # Unfortunately, on DOS this fails, as config.log is still kept open
19729 # by configure, so config.status won't be able to write to it; its
19730 # output is simply discarded. So we exec the FD to /dev/null,
19731 # effectively closing config.log, so it can be properly (re)opened and
19732 # appended to by config.status. When coming back to configure, we
19733 # need to make the FD available again.
19734 if test "$no_create" != yes; then
19735 ac_cs_success=:
19736 ac_config_status_args=
19737 test "$silent" = yes &&
19738 ac_config_status_args="$ac_config_status_args --quiet"
19739 exec 5>/dev/null
19740 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19741 exec 5>>config.log
19742 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19743 # would make configure fail if this is the last instruction.
19744 $ac_cs_success || as_fn_exit 1
19746 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19748 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19752 if test "$no_create" = "yes"
19753 then
19754 exit 0
19757 ac_save_IFS="$IFS"
19758 if test "x$wine_notices" != x; then
19759 echo >&6
19760 IFS="|"
19761 for msg in $wine_notices; do
19762 IFS="$ac_save_IFS"
19763 if ${msg:+false} :; then :
19765 else
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19767 $as_echo "$as_me: $msg" >&6;}
19769 done
19771 IFS="|"
19772 for msg in $wine_warnings; do
19773 IFS="$ac_save_IFS"
19774 if ${msg:+false} :; then :
19776 else
19777 echo >&2
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19779 $as_echo "$as_me: WARNING: $msg" >&2;}
19781 done
19782 IFS="$ac_save_IFS"
19784 $as_echo "
19785 $as_me: Finished. Do '${ac_make}' to compile Wine.
19786 " >&6