inetcomm: Return S_OK from IMimeMessgae Commit.
[wine.git] / configure
blob6379e3150422da429d0d8303d17897048631fa4b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.13.
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.13'
584 PACKAGE_STRING='Wine 1.9.13'
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_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_ncrypt
1250 enable_nddeapi
1251 enable_ndis_sys
1252 enable_netapi32
1253 enable_netcfgx
1254 enable_netprofm
1255 enable_newdev
1256 enable_normaliz
1257 enable_npmshtml
1258 enable_npptools
1259 enable_ntdll
1260 enable_ntdsapi
1261 enable_ntoskrnl_exe
1262 enable_ntprint
1263 enable_objsel
1264 enable_odbc32
1265 enable_odbccp32
1266 enable_odbccu32
1267 enable_ole32
1268 enable_oleacc
1269 enable_oleaut32
1270 enable_olecli32
1271 enable_oledb32
1272 enable_oledlg
1273 enable_olepro32
1274 enable_olesvr32
1275 enable_olethk32
1276 enable_openal32
1277 enable_opencl
1278 enable_opengl32
1279 enable_packager
1280 enable_pdh
1281 enable_photometadatahandler
1282 enable_pidgen
1283 enable_powrprof
1284 enable_printui
1285 enable_prntvpt
1286 enable_propsys
1287 enable_psapi
1288 enable_pstorec
1289 enable_qcap
1290 enable_qedit
1291 enable_qmgr
1292 enable_qmgrprxy
1293 enable_quartz
1294 enable_query
1295 enable_rasapi32
1296 enable_rasdlg
1297 enable_regapi
1298 enable_resutils
1299 enable_riched20
1300 enable_riched32
1301 enable_rpcrt4
1302 enable_rsabase
1303 enable_rsaenh
1304 enable_rstrtmgr
1305 enable_rtutils
1306 enable_samlib
1307 enable_sane_ds
1308 enable_scarddlg
1309 enable_sccbase
1310 enable_schannel
1311 enable_schedsvc
1312 enable_scrrun
1313 enable_scsiport_sys
1314 enable_secur32
1315 enable_security
1316 enable_sensapi
1317 enable_serialui
1318 enable_setupapi
1319 enable_sfc
1320 enable_sfc_os
1321 enable_shdoclc
1322 enable_shdocvw
1323 enable_shell32
1324 enable_shfolder
1325 enable_shlwapi
1326 enable_slbcsp
1327 enable_slc
1328 enable_snmpapi
1329 enable_softpub
1330 enable_spoolss
1331 enable_stdole2_tlb
1332 enable_stdole32_tlb
1333 enable_sti
1334 enable_svrapi
1335 enable_sxs
1336 enable_t2embed
1337 enable_tapi32
1338 enable_taskschd
1339 enable_tdi_sys
1340 enable_traffic
1341 enable_twain_32
1342 enable_ucrtbase
1343 enable_unicows
1344 enable_updspapi
1345 enable_url
1346 enable_urlmon
1347 enable_usbd_sys
1348 enable_user32
1349 enable_userenv
1350 enable_usp10
1351 enable_uxtheme
1352 enable_vbscript
1353 enable_vcomp
1354 enable_vcomp100
1355 enable_vcomp110
1356 enable_vcomp120
1357 enable_vcomp90
1358 enable_vcruntime140
1359 enable_vdmdbg
1360 enable_version
1361 enable_vssapi
1362 enable_wbemdisp
1363 enable_wbemprox
1364 enable_webservices
1365 enable_wer
1366 enable_wevtapi
1367 enable_wiaservc
1368 enable_wimgapi
1369 enable_windowscodecs
1370 enable_windowscodecsext
1371 enable_winealsa_drv
1372 enable_winecoreaudio_drv
1373 enable_wined3d
1374 enable_winegstreamer
1375 enable_winejoystick_drv
1376 enable_winemac_drv
1377 enable_winemapi
1378 enable_winemp3_acm
1379 enable_wineoss_drv
1380 enable_wineps_drv
1381 enable_winepulse_drv
1382 enable_wineqtdecoder
1383 enable_winex11_drv
1384 enable_wing32
1385 enable_winhttp
1386 enable_wininet
1387 enable_winmm
1388 enable_winnls32
1389 enable_winscard
1390 enable_winspool_drv
1391 enable_winsta
1392 enable_wintab32
1393 enable_wintrust
1394 enable_wlanapi
1395 enable_wldap32
1396 enable_wmasf
1397 enable_wmi
1398 enable_wmiutils
1399 enable_wmp
1400 enable_wmvcore
1401 enable_wnaspi32
1402 enable_wpcap
1403 enable_ws2_32
1404 enable_wshom_ocx
1405 enable_wsnmp32
1406 enable_wsock32
1407 enable_wtsapi32
1408 enable_wuapi
1409 enable_wuaueng
1410 enable_x3daudio1_0
1411 enable_x3daudio1_1
1412 enable_x3daudio1_2
1413 enable_x3daudio1_3
1414 enable_x3daudio1_4
1415 enable_x3daudio1_5
1416 enable_x3daudio1_6
1417 enable_x3daudio1_7
1418 enable_xapofx1_1
1419 enable_xapofx1_2
1420 enable_xapofx1_3
1421 enable_xapofx1_4
1422 enable_xapofx1_5
1423 enable_xaudio2_0
1424 enable_xaudio2_1
1425 enable_xaudio2_2
1426 enable_xaudio2_3
1427 enable_xaudio2_4
1428 enable_xaudio2_5
1429 enable_xaudio2_6
1430 enable_xaudio2_7
1431 enable_xaudio2_8
1432 enable_xaudio2_9
1433 enable_xinput1_1
1434 enable_xinput1_2
1435 enable_xinput1_3
1436 enable_xinput1_4
1437 enable_xinput9_1_0
1438 enable_xmllite
1439 enable_xolehlp
1440 enable_xpsprint
1441 enable_xpssvcs
1442 enable_fonts
1443 enable_include
1444 enable_libs_port
1445 enable_libs_wine
1446 enable_libs_wpp
1447 enable_loader
1448 enable_po
1449 enable_arp
1450 enable_aspnet_regiis
1451 enable_attrib
1452 enable_cabarc
1453 enable_cacls
1454 enable_clock
1455 enable_cmd
1456 enable_conhost
1457 enable_control
1458 enable_cscript
1459 enable_dpnsvr
1460 enable_dxdiag
1461 enable_eject
1462 enable_expand
1463 enable_explorer
1464 enable_extrac32
1465 enable_findstr
1466 enable_fsutil
1467 enable_hh
1468 enable_hostname
1469 enable_icacls
1470 enable_icinfo
1471 enable_iexplore
1472 enable_ipconfig
1473 enable_lodctr
1474 enable_mofcomp
1475 enable_mshta
1476 enable_msiexec
1477 enable_net
1478 enable_netsh
1479 enable_netstat
1480 enable_ngen
1481 enable_notepad
1482 enable_oleview
1483 enable_ping
1484 enable_plugplay
1485 enable_presentationfontcache
1486 enable_progman
1487 enable_reg
1488 enable_regasm
1489 enable_regedit
1490 enable_regsvcs
1491 enable_regsvr32
1492 enable_rpcss
1493 enable_rundll32
1494 enable_sc
1495 enable_schtasks
1496 enable_sdbinst
1497 enable_secedit
1498 enable_servicemodelreg
1499 enable_services
1500 enable_shutdown
1501 enable_spoolsv
1502 enable_start
1503 enable_svchost
1504 enable_systeminfo
1505 enable_taskkill
1506 enable_tasklist
1507 enable_taskmgr
1508 enable_termsv
1509 enable_uninstaller
1510 enable_unlodctr
1511 enable_view
1512 enable_wevtutil
1513 enable_wineboot
1514 enable_winebrowser
1515 enable_winecfg
1516 enable_wineconsole
1517 enable_winedbg
1518 enable_winedevice
1519 enable_winefile
1520 enable_winemenubuilder
1521 enable_winemine
1522 enable_winemsibuilder
1523 enable_winepath
1524 enable_winetest
1525 enable_winhlp32
1526 enable_winver
1527 enable_wmic
1528 enable_wmplayer
1529 enable_wordpad
1530 enable_write
1531 enable_wscript
1532 enable_wusa
1533 enable_xcopy
1534 enable_server
1535 enable_tools
1537 ac_precious_vars='build_alias
1538 host_alias
1539 target_alias
1541 CFLAGS
1542 LDFLAGS
1543 LIBS
1544 CPPFLAGS
1546 CXXFLAGS
1549 XMKMF
1550 XML2_CFLAGS
1551 XML2_LIBS
1552 XSLT_CFLAGS
1553 XSLT_LIBS
1554 DBUS_CFLAGS
1555 DBUS_LIBS
1556 HAL_CFLAGS
1557 HAL_LIBS
1558 GNUTLS_CFLAGS
1559 GNUTLS_LIBS
1560 SANE_CFLAGS
1561 SANE_LIBS
1562 GPHOTO2_CFLAGS
1563 GPHOTO2_LIBS
1564 GPHOTO2_PORT_CFLAGS
1565 GPHOTO2_PORT_LIBS
1566 LCMS2_CFLAGS
1567 LCMS2_LIBS
1568 FREETYPE_CFLAGS
1569 FREETYPE_LIBS
1570 PULSE_CFLAGS
1571 PULSE_LIBS
1572 GSTREAMER_CFLAGS
1573 GSTREAMER_LIBS
1574 CAPI20_CFLAGS
1575 CAPI20_LIBS
1576 FONTCONFIG_CFLAGS
1577 FONTCONFIG_LIBS
1578 JPEG_CFLAGS
1579 JPEG_LIBS
1580 PNG_CFLAGS
1581 PNG_LIBS
1582 TIFF_CFLAGS
1583 TIFF_LIBS
1584 MPG123_CFLAGS
1585 MPG123_LIBS
1586 NETAPI_CFLAGS
1587 NETAPI_LIBS'
1590 # Initialize some variables set by options.
1591 ac_init_help=
1592 ac_init_version=false
1593 ac_unrecognized_opts=
1594 ac_unrecognized_sep=
1595 # The variables have the same names as the options, with
1596 # dashes changed to underlines.
1597 cache_file=/dev/null
1598 exec_prefix=NONE
1599 no_create=
1600 no_recursion=
1601 prefix=NONE
1602 program_prefix=NONE
1603 program_suffix=NONE
1604 program_transform_name=s,x,x,
1605 silent=
1606 site=
1607 srcdir=
1608 verbose=
1609 x_includes=NONE
1610 x_libraries=NONE
1612 # Installation directory options.
1613 # These are left unexpanded so users can "make install exec_prefix=/foo"
1614 # and all the variables that are supposed to be based on exec_prefix
1615 # by default will actually change.
1616 # Use braces instead of parens because sh, perl, etc. also accept them.
1617 # (The list follows the same order as the GNU Coding Standards.)
1618 bindir='${exec_prefix}/bin'
1619 sbindir='${exec_prefix}/sbin'
1620 libexecdir='${exec_prefix}/libexec'
1621 datarootdir='${prefix}/share'
1622 datadir='${datarootdir}'
1623 sysconfdir='${prefix}/etc'
1624 sharedstatedir='${prefix}/com'
1625 localstatedir='${prefix}/var'
1626 runstatedir='${localstatedir}/run'
1627 includedir='${prefix}/include'
1628 oldincludedir='/usr/include'
1629 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1630 infodir='${datarootdir}/info'
1631 htmldir='${docdir}'
1632 dvidir='${docdir}'
1633 pdfdir='${docdir}'
1634 psdir='${docdir}'
1635 libdir='${exec_prefix}/lib'
1636 localedir='${datarootdir}/locale'
1637 mandir='${datarootdir}/man'
1639 ac_prev=
1640 ac_dashdash=
1641 for ac_option
1643 # If the previous option needs an argument, assign it.
1644 if test -n "$ac_prev"; then
1645 eval $ac_prev=\$ac_option
1646 ac_prev=
1647 continue
1650 case $ac_option in
1651 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1652 *=) ac_optarg= ;;
1653 *) ac_optarg=yes ;;
1654 esac
1656 # Accept the important Cygnus configure options, so we can diagnose typos.
1658 case $ac_dashdash$ac_option in
1660 ac_dashdash=yes ;;
1662 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1663 ac_prev=bindir ;;
1664 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1665 bindir=$ac_optarg ;;
1667 -build | --build | --buil | --bui | --bu)
1668 ac_prev=build_alias ;;
1669 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1670 build_alias=$ac_optarg ;;
1672 -cache-file | --cache-file | --cache-fil | --cache-fi \
1673 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1674 ac_prev=cache_file ;;
1675 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1676 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1677 cache_file=$ac_optarg ;;
1679 --config-cache | -C)
1680 cache_file=config.cache ;;
1682 -datadir | --datadir | --datadi | --datad)
1683 ac_prev=datadir ;;
1684 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1685 datadir=$ac_optarg ;;
1687 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1688 | --dataroo | --dataro | --datar)
1689 ac_prev=datarootdir ;;
1690 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1691 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1692 datarootdir=$ac_optarg ;;
1694 -disable-* | --disable-*)
1695 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1696 # Reject names that are not valid shell variable names.
1697 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1698 as_fn_error $? "invalid feature name: $ac_useropt"
1699 ac_useropt_orig=$ac_useropt
1700 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1701 case $ac_user_opts in
1703 "enable_$ac_useropt"
1704 "*) ;;
1705 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1706 ac_unrecognized_sep=', ';;
1707 esac
1708 eval enable_$ac_useropt=no ;;
1710 -docdir | --docdir | --docdi | --doc | --do)
1711 ac_prev=docdir ;;
1712 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1713 docdir=$ac_optarg ;;
1715 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1716 ac_prev=dvidir ;;
1717 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1718 dvidir=$ac_optarg ;;
1720 -enable-* | --enable-*)
1721 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1722 # Reject names that are not valid shell variable names.
1723 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1724 as_fn_error $? "invalid feature name: $ac_useropt"
1725 ac_useropt_orig=$ac_useropt
1726 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1727 case $ac_user_opts in
1729 "enable_$ac_useropt"
1730 "*) ;;
1731 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1732 ac_unrecognized_sep=', ';;
1733 esac
1734 eval enable_$ac_useropt=\$ac_optarg ;;
1736 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1737 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1738 | --exec | --exe | --ex)
1739 ac_prev=exec_prefix ;;
1740 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1741 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1742 | --exec=* | --exe=* | --ex=*)
1743 exec_prefix=$ac_optarg ;;
1745 -gas | --gas | --ga | --g)
1746 # Obsolete; use --with-gas.
1747 with_gas=yes ;;
1749 -help | --help | --hel | --he | -h)
1750 ac_init_help=long ;;
1751 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1752 ac_init_help=recursive ;;
1753 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1754 ac_init_help=short ;;
1756 -host | --host | --hos | --ho)
1757 ac_prev=host_alias ;;
1758 -host=* | --host=* | --hos=* | --ho=*)
1759 host_alias=$ac_optarg ;;
1761 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1762 ac_prev=htmldir ;;
1763 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1764 | --ht=*)
1765 htmldir=$ac_optarg ;;
1767 -includedir | --includedir | --includedi | --included | --include \
1768 | --includ | --inclu | --incl | --inc)
1769 ac_prev=includedir ;;
1770 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1771 | --includ=* | --inclu=* | --incl=* | --inc=*)
1772 includedir=$ac_optarg ;;
1774 -infodir | --infodir | --infodi | --infod | --info | --inf)
1775 ac_prev=infodir ;;
1776 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1777 infodir=$ac_optarg ;;
1779 -libdir | --libdir | --libdi | --libd)
1780 ac_prev=libdir ;;
1781 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1782 libdir=$ac_optarg ;;
1784 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1785 | --libexe | --libex | --libe)
1786 ac_prev=libexecdir ;;
1787 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1788 | --libexe=* | --libex=* | --libe=*)
1789 libexecdir=$ac_optarg ;;
1791 -localedir | --localedir | --localedi | --localed | --locale)
1792 ac_prev=localedir ;;
1793 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1794 localedir=$ac_optarg ;;
1796 -localstatedir | --localstatedir | --localstatedi | --localstated \
1797 | --localstate | --localstat | --localsta | --localst | --locals)
1798 ac_prev=localstatedir ;;
1799 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1800 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1801 localstatedir=$ac_optarg ;;
1803 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1804 ac_prev=mandir ;;
1805 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1806 mandir=$ac_optarg ;;
1808 -nfp | --nfp | --nf)
1809 # Obsolete; use --without-fp.
1810 with_fp=no ;;
1812 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1813 | --no-cr | --no-c | -n)
1814 no_create=yes ;;
1816 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1817 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1818 no_recursion=yes ;;
1820 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1821 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1822 | --oldin | --oldi | --old | --ol | --o)
1823 ac_prev=oldincludedir ;;
1824 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1825 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1826 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1827 oldincludedir=$ac_optarg ;;
1829 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1830 ac_prev=prefix ;;
1831 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1832 prefix=$ac_optarg ;;
1834 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1835 | --program-pre | --program-pr | --program-p)
1836 ac_prev=program_prefix ;;
1837 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1838 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1839 program_prefix=$ac_optarg ;;
1841 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1842 | --program-suf | --program-su | --program-s)
1843 ac_prev=program_suffix ;;
1844 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1845 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1846 program_suffix=$ac_optarg ;;
1848 -program-transform-name | --program-transform-name \
1849 | --program-transform-nam | --program-transform-na \
1850 | --program-transform-n | --program-transform- \
1851 | --program-transform | --program-transfor \
1852 | --program-transfo | --program-transf \
1853 | --program-trans | --program-tran \
1854 | --progr-tra | --program-tr | --program-t)
1855 ac_prev=program_transform_name ;;
1856 -program-transform-name=* | --program-transform-name=* \
1857 | --program-transform-nam=* | --program-transform-na=* \
1858 | --program-transform-n=* | --program-transform-=* \
1859 | --program-transform=* | --program-transfor=* \
1860 | --program-transfo=* | --program-transf=* \
1861 | --program-trans=* | --program-tran=* \
1862 | --progr-tra=* | --program-tr=* | --program-t=*)
1863 program_transform_name=$ac_optarg ;;
1865 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1866 ac_prev=pdfdir ;;
1867 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1868 pdfdir=$ac_optarg ;;
1870 -psdir | --psdir | --psdi | --psd | --ps)
1871 ac_prev=psdir ;;
1872 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1873 psdir=$ac_optarg ;;
1875 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1876 | -silent | --silent | --silen | --sile | --sil)
1877 silent=yes ;;
1879 -runstatedir | --runstatedir | --runstatedi | --runstated \
1880 | --runstate | --runstat | --runsta | --runst | --runs \
1881 | --run | --ru | --r)
1882 ac_prev=runstatedir ;;
1883 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1884 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1885 | --run=* | --ru=* | --r=*)
1886 runstatedir=$ac_optarg ;;
1888 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1889 ac_prev=sbindir ;;
1890 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1891 | --sbi=* | --sb=*)
1892 sbindir=$ac_optarg ;;
1894 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1895 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1896 | --sharedst | --shareds | --shared | --share | --shar \
1897 | --sha | --sh)
1898 ac_prev=sharedstatedir ;;
1899 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1900 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1901 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1902 | --sha=* | --sh=*)
1903 sharedstatedir=$ac_optarg ;;
1905 -site | --site | --sit)
1906 ac_prev=site ;;
1907 -site=* | --site=* | --sit=*)
1908 site=$ac_optarg ;;
1910 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1911 ac_prev=srcdir ;;
1912 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1913 srcdir=$ac_optarg ;;
1915 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1916 | --syscon | --sysco | --sysc | --sys | --sy)
1917 ac_prev=sysconfdir ;;
1918 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1919 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1920 sysconfdir=$ac_optarg ;;
1922 -target | --target | --targe | --targ | --tar | --ta | --t)
1923 ac_prev=target_alias ;;
1924 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1925 target_alias=$ac_optarg ;;
1927 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1928 verbose=yes ;;
1930 -version | --version | --versio | --versi | --vers | -V)
1931 ac_init_version=: ;;
1933 -with-* | --with-*)
1934 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1935 # Reject names that are not valid shell variable names.
1936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1937 as_fn_error $? "invalid package name: $ac_useropt"
1938 ac_useropt_orig=$ac_useropt
1939 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1940 case $ac_user_opts in
1942 "with_$ac_useropt"
1943 "*) ;;
1944 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1945 ac_unrecognized_sep=', ';;
1946 esac
1947 eval with_$ac_useropt=\$ac_optarg ;;
1949 -without-* | --without-*)
1950 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1951 # Reject names that are not valid shell variable names.
1952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1953 as_fn_error $? "invalid package name: $ac_useropt"
1954 ac_useropt_orig=$ac_useropt
1955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1956 case $ac_user_opts in
1958 "with_$ac_useropt"
1959 "*) ;;
1960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1961 ac_unrecognized_sep=', ';;
1962 esac
1963 eval with_$ac_useropt=no ;;
1965 --x)
1966 # Obsolete; use --with-x.
1967 with_x=yes ;;
1969 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1970 | --x-incl | --x-inc | --x-in | --x-i)
1971 ac_prev=x_includes ;;
1972 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1973 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1974 x_includes=$ac_optarg ;;
1976 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1977 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1978 ac_prev=x_libraries ;;
1979 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1980 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1981 x_libraries=$ac_optarg ;;
1983 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1984 Try \`$0 --help' for more information"
1987 *=*)
1988 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1989 # Reject names that are not valid shell variable names.
1990 case $ac_envvar in #(
1991 '' | [0-9]* | *[!_$as_cr_alnum]* )
1992 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1993 esac
1994 eval $ac_envvar=\$ac_optarg
1995 export $ac_envvar ;;
1998 # FIXME: should be removed in autoconf 3.0.
1999 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2000 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2001 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2002 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2005 esac
2006 done
2008 if test -n "$ac_prev"; then
2009 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2010 as_fn_error $? "missing argument to $ac_option"
2013 if test -n "$ac_unrecognized_opts"; then
2014 case $enable_option_checking in
2015 no) ;;
2016 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2017 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2018 esac
2021 # Check all directory arguments for consistency.
2022 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2023 datadir sysconfdir sharedstatedir localstatedir includedir \
2024 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2025 libdir localedir mandir runstatedir
2027 eval ac_val=\$$ac_var
2028 # Remove trailing slashes.
2029 case $ac_val in
2030 */ )
2031 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2032 eval $ac_var=\$ac_val;;
2033 esac
2034 # Be sure to have absolute directory names.
2035 case $ac_val in
2036 [\\/$]* | ?:[\\/]* ) continue;;
2037 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2038 esac
2039 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2040 done
2042 # There might be people who depend on the old broken behavior: `$host'
2043 # used to hold the argument of --host etc.
2044 # FIXME: To remove some day.
2045 build=$build_alias
2046 host=$host_alias
2047 target=$target_alias
2049 # FIXME: To remove some day.
2050 if test "x$host_alias" != x; then
2051 if test "x$build_alias" = x; then
2052 cross_compiling=maybe
2053 elif test "x$build_alias" != "x$host_alias"; then
2054 cross_compiling=yes
2058 ac_tool_prefix=
2059 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2061 test "$silent" = yes && exec 6>/dev/null
2064 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2065 ac_ls_di=`ls -di .` &&
2066 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2067 as_fn_error $? "working directory cannot be determined"
2068 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2069 as_fn_error $? "pwd does not report name of working directory"
2072 # Find the source files, if location was not specified.
2073 if test -z "$srcdir"; then
2074 ac_srcdir_defaulted=yes
2075 # Try the directory containing this script, then the parent directory.
2076 ac_confdir=`$as_dirname -- "$as_myself" ||
2077 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2078 X"$as_myself" : 'X\(//\)[^/]' \| \
2079 X"$as_myself" : 'X\(//\)$' \| \
2080 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2081 $as_echo X"$as_myself" |
2082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2083 s//\1/
2086 /^X\(\/\/\)[^/].*/{
2087 s//\1/
2090 /^X\(\/\/\)$/{
2091 s//\1/
2094 /^X\(\/\).*/{
2095 s//\1/
2098 s/.*/./; q'`
2099 srcdir=$ac_confdir
2100 if test ! -r "$srcdir/$ac_unique_file"; then
2101 srcdir=..
2103 else
2104 ac_srcdir_defaulted=no
2106 if test ! -r "$srcdir/$ac_unique_file"; then
2107 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2108 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2110 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2111 ac_abs_confdir=`(
2112 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2113 pwd)`
2114 # When building in place, set srcdir=.
2115 if test "$ac_abs_confdir" = "$ac_pwd"; then
2116 srcdir=.
2118 # Remove unnecessary trailing slashes from srcdir.
2119 # Double slashes in file names in object file debugging info
2120 # mess up M-x gdb in Emacs.
2121 case $srcdir in
2122 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2123 esac
2124 for ac_var in $ac_precious_vars; do
2125 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_env_${ac_var}_value=\$${ac_var}
2127 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2128 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2129 done
2132 # Report the --help message.
2134 if test "$ac_init_help" = "long"; then
2135 # Omit some internal or obsolete options to make the list less imposing.
2136 # This message is too long to be a string in the A/UX 3.1 sh.
2137 cat <<_ACEOF
2138 \`configure' configures Wine 1.9.13 to adapt to many kinds of systems.
2140 Usage: $0 [OPTION]... [VAR=VALUE]...
2142 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2143 VAR=VALUE. See below for descriptions of some of the useful variables.
2145 Defaults for the options are specified in brackets.
2147 Configuration:
2148 -h, --help display this help and exit
2149 --help=short display options specific to this package
2150 --help=recursive display the short help of all the included packages
2151 -V, --version display version information and exit
2152 -q, --quiet, --silent do not print \`checking ...' messages
2153 --cache-file=FILE cache test results in FILE [disabled]
2154 -C, --config-cache alias for \`--cache-file=config.cache'
2155 -n, --no-create do not create output files
2156 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2158 Installation directories:
2159 --prefix=PREFIX install architecture-independent files in PREFIX
2160 [$ac_default_prefix]
2161 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2162 [PREFIX]
2164 By default, \`make install' will install all the files in
2165 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2166 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2167 for instance \`--prefix=\$HOME'.
2169 For better control, use the options below.
2171 Fine tuning of the installation directories:
2172 --bindir=DIR user executables [EPREFIX/bin]
2173 --sbindir=DIR system admin executables [EPREFIX/sbin]
2174 --libexecdir=DIR program executables [EPREFIX/libexec]
2175 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2176 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2177 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2178 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2179 --libdir=DIR object code libraries [EPREFIX/lib]
2180 --includedir=DIR C header files [PREFIX/include]
2181 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2182 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2183 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2184 --infodir=DIR info documentation [DATAROOTDIR/info]
2185 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2186 --mandir=DIR man documentation [DATAROOTDIR/man]
2187 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2188 --htmldir=DIR html documentation [DOCDIR]
2189 --dvidir=DIR dvi documentation [DOCDIR]
2190 --pdfdir=DIR pdf documentation [DOCDIR]
2191 --psdir=DIR ps documentation [DOCDIR]
2192 _ACEOF
2194 cat <<\_ACEOF
2196 X features:
2197 --x-includes=DIR X include files are in DIR
2198 --x-libraries=DIR X library files are in DIR
2200 System types:
2201 --build=BUILD configure for building on BUILD [guessed]
2202 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2203 _ACEOF
2206 if test -n "$ac_init_help"; then
2207 case $ac_init_help in
2208 short | recursive ) echo "Configuration of Wine 1.9.13:";;
2209 esac
2210 cat <<\_ACEOF
2212 Optional Features:
2213 --disable-option-checking ignore unrecognized --enable/--with options
2214 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2215 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2216 --disable-win16 do not include Win16 support
2217 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2218 binaries)
2219 --disable-tests do not build the regression tests
2220 --enable-maintainer-mode
2221 enable maintainer-specific build rules
2222 --disable-largefile omit support for large files
2224 Optional Packages:
2225 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2226 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2227 --without-alsa do not use the Alsa sound support
2228 --without-capi do not use CAPI (ISDN support)
2229 --without-cms do not use CMS (color management support)
2230 --without-coreaudio do not use the CoreAudio sound support
2231 --without-cups do not use CUPS
2232 --without-curses do not use (n)curses
2233 --without-dbus do not use DBus (dynamic device support)
2234 --without-fontconfig do not use fontconfig
2235 --without-freetype do not use the FreeType library
2236 --without-gettext do not use gettext
2237 --with-gettextpo use the GetTextPO library to rebuild po files
2238 --without-gphoto do not use gphoto (Digital Camera support)
2239 --without-glu do not use the GLU library
2240 --without-gnutls do not use GnuTLS (schannel support)
2241 --without-gsm do not use libgsm (GSM 06.10 codec support)
2242 --without-gstreamer do not use GStreamer (codecs support)
2243 --without-hal do not use HAL (dynamic device support)
2244 --without-jpeg do not use JPEG
2245 --without-ldap do not use LDAP
2246 --without-mpg123 do not use the mpg123 library
2247 --without-netapi do not use the Samba NetAPI library
2248 --without-openal do not use OpenAL
2249 --without-opencl do not use OpenCL
2250 --without-opengl do not use OpenGL
2251 --without-osmesa do not use the OSMesa library
2252 --without-oss do not use the OSS sound support
2253 --without-pcap do not use the Packet Capture library
2254 --without-png do not use PNG
2255 --without-pthread do not use the pthread library
2256 --without-pulse do not use PulseAudio sound support
2257 --without-sane do not use SANE (scanner support)
2258 --without-tiff do not use TIFF
2259 --without-v4l do not use v4l1 (v4l support)
2260 --without-xcomposite do not use the Xcomposite extension
2261 --without-xcursor do not use the Xcursor extension
2262 --without-xinerama do not use Xinerama (multi-monitor support)
2263 --without-xinput do not use the Xinput extension
2264 --without-xinput2 do not use the Xinput 2 extension
2265 --without-xml do not use XML
2266 --without-xrandr do not use Xrandr (resolution changes)
2267 --without-xrender do not use the Xrender extension
2268 --without-xshape do not use the Xshape extension
2269 --without-xshm do not use XShm (shared memory extension)
2270 --without-xslt do not use XSLT
2271 --without-xxf86vm do not use XFree video mode extension
2272 --without-zlib do not use Zlib (data compression)
2273 --with-wine-tools=DIR use Wine tools from directory DIR
2274 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2275 --with-x use the X Window System
2277 Some influential environment variables:
2278 CC C compiler command
2279 CFLAGS C compiler flags
2280 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2281 nonstandard directory <lib dir>
2282 LIBS libraries to pass to the linker, e.g. -l<library>
2283 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2284 you have headers in a nonstandard directory <include dir>
2285 CXX C++ compiler command
2286 CXXFLAGS C++ compiler flags
2287 CPP C preprocessor
2288 XMKMF Path to xmkmf, Makefile generator for X Window System
2289 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2290 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2291 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2292 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2293 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2294 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2295 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2296 HAL_LIBS Linker flags for hal, overriding pkg-config
2297 GNUTLS_CFLAGS
2298 C compiler flags for gnutls, overriding pkg-config
2299 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2300 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2301 SANE_LIBS Linker flags for libsane, overriding pkg-config
2302 GPHOTO2_CFLAGS
2303 C compiler flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_LIBS
2305 Linker flags for libgphoto2, overriding pkg-config
2306 GPHOTO2_PORT_CFLAGS
2307 C compiler flags for libgphoto2_port, overriding pkg-config
2308 GPHOTO2_PORT_LIBS
2309 Linker flags for libgphoto2_port, overriding pkg-config
2310 LCMS2_CFLAGS
2311 C compiler flags for lcms2, overriding pkg-config
2312 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2313 FREETYPE_CFLAGS
2314 C compiler flags for freetype2, overriding pkg-config
2315 FREETYPE_LIBS
2316 Linker flags for freetype2, overriding pkg-config
2317 PULSE_CFLAGS
2318 C compiler flags for libpulse, overriding pkg-config
2319 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2320 GSTREAMER_CFLAGS
2321 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2322 gstreamer-audio-1.0, overriding pkg-config
2323 GSTREAMER_LIBS
2324 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2325 gstreamer-audio-1.0, overriding pkg-config
2326 CAPI20_CFLAGS
2327 C compiler flags for capi20, overriding pkg-config
2328 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2329 FONTCONFIG_CFLAGS
2330 C compiler flags for fontconfig, overriding pkg-config
2331 FONTCONFIG_LIBS
2332 Linker flags for fontconfig, overriding pkg-config
2333 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2334 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2335 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2336 PNG_LIBS Linker flags for libpng, overriding pkg-config
2337 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2338 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2339 MPG123_CFLAGS
2340 C compiler flags for libmpg123, overriding pkg-config
2341 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2342 NETAPI_CFLAGS
2343 C compiler flags for netapi, overriding pkg-config
2344 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2346 Use these variables to override the choices made by `configure' or to help
2347 it to find libraries and programs with nonstandard names/locations.
2349 Report bugs to <wine-devel@winehq.org>.
2350 Wine home page: <http://www.winehq.org>.
2351 _ACEOF
2352 ac_status=$?
2355 if test "$ac_init_help" = "recursive"; then
2356 # If there are subdirs, report their specific --help.
2357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2358 test -d "$ac_dir" ||
2359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2360 continue
2361 ac_builddir=.
2363 case "$ac_dir" in
2364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2366 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2367 # A ".." for each directory in $ac_dir_suffix.
2368 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2369 case $ac_top_builddir_sub in
2370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2372 esac ;;
2373 esac
2374 ac_abs_top_builddir=$ac_pwd
2375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2376 # for backward compatibility:
2377 ac_top_builddir=$ac_top_build_prefix
2379 case $srcdir in
2380 .) # We are building in place.
2381 ac_srcdir=.
2382 ac_top_srcdir=$ac_top_builddir_sub
2383 ac_abs_top_srcdir=$ac_pwd ;;
2384 [\\/]* | ?:[\\/]* ) # Absolute name.
2385 ac_srcdir=$srcdir$ac_dir_suffix;
2386 ac_top_srcdir=$srcdir
2387 ac_abs_top_srcdir=$srcdir ;;
2388 *) # Relative name.
2389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2390 ac_top_srcdir=$ac_top_build_prefix$srcdir
2391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2392 esac
2393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2395 cd "$ac_dir" || { ac_status=$?; continue; }
2396 # Check for guested configure.
2397 if test -f "$ac_srcdir/configure.gnu"; then
2398 echo &&
2399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2400 elif test -f "$ac_srcdir/configure"; then
2401 echo &&
2402 $SHELL "$ac_srcdir/configure" --help=recursive
2403 else
2404 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2405 fi || ac_status=$?
2406 cd "$ac_pwd" || { ac_status=$?; break; }
2407 done
2410 test -n "$ac_init_help" && exit $ac_status
2411 if $ac_init_version; then
2412 cat <<\_ACEOF
2413 Wine configure 1.9.13
2414 generated by GNU Autoconf 2.69
2416 Copyright (C) 2012 Free Software Foundation, Inc.
2417 This configure script is free software; the Free Software Foundation
2418 gives unlimited permission to copy, distribute and modify it.
2419 _ACEOF
2420 exit
2423 ## ------------------------ ##
2424 ## Autoconf initialization. ##
2425 ## ------------------------ ##
2427 # ac_fn_c_try_compile LINENO
2428 # --------------------------
2429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2430 ac_fn_c_try_compile ()
2432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2433 rm -f conftest.$ac_objext
2434 if { { ac_try="$ac_compile"
2435 case "(($ac_try" in
2436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437 *) ac_try_echo=$ac_try;;
2438 esac
2439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2440 $as_echo "$ac_try_echo"; } >&5
2441 (eval "$ac_compile") 2>conftest.err
2442 ac_status=$?
2443 if test -s conftest.err; then
2444 grep -v '^ *+' conftest.err >conftest.er1
2445 cat conftest.er1 >&5
2446 mv -f conftest.er1 conftest.err
2448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2449 test $ac_status = 0; } && {
2450 test -z "$ac_c_werror_flag" ||
2451 test ! -s conftest.err
2452 } && test -s conftest.$ac_objext; then :
2453 ac_retval=0
2454 else
2455 $as_echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2458 ac_retval=1
2460 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2461 as_fn_set_status $ac_retval
2463 } # ac_fn_c_try_compile
2465 # ac_fn_cxx_try_compile LINENO
2466 # ----------------------------
2467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2468 ac_fn_cxx_try_compile ()
2470 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2471 rm -f conftest.$ac_objext
2472 if { { ac_try="$ac_compile"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2478 $as_echo "$ac_try_echo"; } >&5
2479 (eval "$ac_compile") 2>conftest.err
2480 ac_status=$?
2481 if test -s conftest.err; then
2482 grep -v '^ *+' conftest.err >conftest.er1
2483 cat conftest.er1 >&5
2484 mv -f conftest.er1 conftest.err
2486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2487 test $ac_status = 0; } && {
2488 test -z "$ac_cxx_werror_flag" ||
2489 test ! -s conftest.err
2490 } && test -s conftest.$ac_objext; then :
2491 ac_retval=0
2492 else
2493 $as_echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.$ac_ext >&5
2496 ac_retval=1
2498 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2499 as_fn_set_status $ac_retval
2501 } # ac_fn_cxx_try_compile
2503 # ac_fn_c_try_link LINENO
2504 # -----------------------
2505 # Try to link conftest.$ac_ext, and return whether this succeeded.
2506 ac_fn_c_try_link ()
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2509 rm -f conftest.$ac_objext conftest$ac_exeext
2510 if { { ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>conftest.err
2518 ac_status=$?
2519 if test -s conftest.err; then
2520 grep -v '^ *+' conftest.err >conftest.er1
2521 cat conftest.er1 >&5
2522 mv -f conftest.er1 conftest.err
2524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2525 test $ac_status = 0; } && {
2526 test -z "$ac_c_werror_flag" ||
2527 test ! -s conftest.err
2528 } && test -s conftest$ac_exeext && {
2529 test "$cross_compiling" = yes ||
2530 test -x conftest$ac_exeext
2531 }; then :
2532 ac_retval=0
2533 else
2534 $as_echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.$ac_ext >&5
2537 ac_retval=1
2539 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2540 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2541 # interfere with the next link command; also delete a directory that is
2542 # left behind by Apple's compiler. We do this before executing the actions.
2543 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2544 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2545 as_fn_set_status $ac_retval
2547 } # ac_fn_c_try_link
2549 # ac_fn_c_try_cpp LINENO
2550 # ----------------------
2551 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2552 ac_fn_c_try_cpp ()
2554 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2555 if { { ac_try="$ac_cpp conftest.$ac_ext"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561 $as_echo "$ac_try_echo"; } >&5
2562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2563 ac_status=$?
2564 if test -s conftest.err; then
2565 grep -v '^ *+' conftest.err >conftest.er1
2566 cat conftest.er1 >&5
2567 mv -f conftest.er1 conftest.err
2569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570 test $ac_status = 0; } > conftest.i && {
2571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2572 test ! -s conftest.err
2573 }; then :
2574 ac_retval=0
2575 else
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's/^/| /' conftest.$ac_ext >&5
2579 ac_retval=1
2581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2582 as_fn_set_status $ac_retval
2584 } # ac_fn_c_try_cpp
2586 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2587 # -------------------------------------------------------
2588 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2589 # the include files in INCLUDES and setting the cache variable VAR
2590 # accordingly.
2591 ac_fn_c_check_header_mongrel ()
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 if eval \${$3+:} false; then :
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2596 $as_echo_n "checking for $2... " >&6; }
2597 if eval \${$3+:} false; then :
2598 $as_echo_n "(cached) " >&6
2600 eval ac_res=\$$3
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2602 $as_echo "$ac_res" >&6; }
2603 else
2604 # Is the header compilable?
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2606 $as_echo_n "checking $2 usability... " >&6; }
2607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2608 /* end confdefs.h. */
2610 #include <$2>
2611 _ACEOF
2612 if ac_fn_c_try_compile "$LINENO"; then :
2613 ac_header_compiler=yes
2614 else
2615 ac_header_compiler=no
2617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2619 $as_echo "$ac_header_compiler" >&6; }
2621 # Is the header present?
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2623 $as_echo_n "checking $2 presence... " >&6; }
2624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2625 /* end confdefs.h. */
2626 #include <$2>
2627 _ACEOF
2628 if ac_fn_c_try_cpp "$LINENO"; then :
2629 ac_header_preproc=yes
2630 else
2631 ac_header_preproc=no
2633 rm -f conftest.err conftest.i conftest.$ac_ext
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2635 $as_echo "$ac_header_preproc" >&6; }
2637 # So? What about this header?
2638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2639 yes:no: )
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2641 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2643 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2645 no:yes:* )
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2647 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2649 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2651 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2653 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2656 ( $as_echo "## ------------------------------------ ##
2657 ## Report this to wine-devel@winehq.org ##
2658 ## ------------------------------------ ##"
2659 ) | sed "s/^/$as_me: WARNING: /" >&2
2661 esac
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2663 $as_echo_n "checking for $2... " >&6; }
2664 if eval \${$3+:} false; then :
2665 $as_echo_n "(cached) " >&6
2666 else
2667 eval "$3=\$ac_header_compiler"
2669 eval ac_res=\$$3
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2671 $as_echo "$ac_res" >&6; }
2673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2675 } # ac_fn_c_check_header_mongrel
2677 # ac_fn_c_try_run LINENO
2678 # ----------------------
2679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2680 # that executables *can* be run.
2681 ac_fn_c_try_run ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 if { { ac_try="$ac_link"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>&5
2692 ac_status=$?
2693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2695 { { case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_try") 2>&5
2702 ac_status=$?
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; }; }; then :
2705 ac_retval=0
2706 else
2707 $as_echo "$as_me: program exited with status $ac_status" >&5
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_retval=$ac_status
2713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_run
2719 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2720 # -------------------------------------------------------
2721 # Tests whether HEADER exists and can be compiled using the include files in
2722 # INCLUDES, setting the cache variable VAR accordingly.
2723 ac_fn_c_check_header_compile ()
2725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2727 $as_echo_n "checking for $2... " >&6; }
2728 if eval \${$3+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h. */
2734 #include <$2>
2735 _ACEOF
2736 if ac_fn_c_try_compile "$LINENO"; then :
2737 eval "$3=yes"
2738 else
2739 eval "$3=no"
2741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 eval ac_res=\$$3
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2745 $as_echo "$ac_res" >&6; }
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 } # ac_fn_c_check_header_compile
2750 # ac_fn_c_check_func LINENO FUNC VAR
2751 # ----------------------------------
2752 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2753 ac_fn_c_check_func ()
2755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2757 $as_echo_n "checking for $2... " >&6; }
2758 if eval \${$3+:} false; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2762 /* end confdefs.h. */
2763 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2765 #define $2 innocuous_$2
2767 /* System header to define __stub macros and hopefully few prototypes,
2768 which can conflict with char $2 (); below.
2769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2770 <limits.h> exists even on freestanding compilers. */
2772 #ifdef __STDC__
2773 # include <limits.h>
2774 #else
2775 # include <assert.h>
2776 #endif
2778 #undef $2
2780 /* Override any GCC internal prototype to avoid an error.
2781 Use char because int might match the return type of a GCC
2782 builtin and then its argument prototype would still apply. */
2783 #ifdef __cplusplus
2784 extern "C"
2785 #endif
2786 char $2 ();
2787 /* The GNU C library defines this for functions which it implements
2788 to always fail with ENOSYS. Some functions are actually named
2789 something starting with __ and the normal name is an alias. */
2790 #if defined __stub_$2 || defined __stub___$2
2791 choke me
2792 #endif
2795 main ()
2797 return $2 ();
2799 return 0;
2801 _ACEOF
2802 if ac_fn_c_try_link "$LINENO"; then :
2803 eval "$3=yes"
2804 else
2805 eval "$3=no"
2807 rm -f core conftest.err conftest.$ac_objext \
2808 conftest$ac_exeext conftest.$ac_ext
2810 eval ac_res=\$$3
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2812 $as_echo "$ac_res" >&6; }
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2815 } # ac_fn_c_check_func
2817 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2818 # ----------------------------------------------------
2819 # Tries to find if the field MEMBER exists in type AGGR, after including
2820 # INCLUDES, setting cache variable VAR accordingly.
2821 ac_fn_c_check_member ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2825 $as_echo_n "checking for $2.$3... " >&6; }
2826 if eval \${$4+:} false; then :
2827 $as_echo_n "(cached) " >&6
2828 else
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2833 main ()
2835 static $2 ac_aggr;
2836 if (ac_aggr.$3)
2837 return 0;
2839 return 0;
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 eval "$4=yes"
2844 else
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2849 main ()
2851 static $2 ac_aggr;
2852 if (sizeof ac_aggr.$3)
2853 return 0;
2855 return 0;
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 eval "$4=yes"
2860 else
2861 eval "$4=no"
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 eval ac_res=\$$4
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2869 $as_echo "$ac_res" >&6; }
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 } # ac_fn_c_check_member
2874 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2875 # -------------------------------------------
2876 # Tests whether TYPE exists after having included INCLUDES, setting cache
2877 # variable VAR accordingly.
2878 ac_fn_c_check_type ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2882 $as_echo_n "checking for $2... " >&6; }
2883 if eval \${$3+:} false; then :
2884 $as_echo_n "(cached) " >&6
2885 else
2886 eval "$3=no"
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2891 main ()
2893 if (sizeof ($2))
2894 return 0;
2896 return 0;
2898 _ACEOF
2899 if ac_fn_c_try_compile "$LINENO"; then :
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2904 main ()
2906 if (sizeof (($2)))
2907 return 0;
2909 return 0;
2911 _ACEOF
2912 if ac_fn_c_try_compile "$LINENO"; then :
2914 else
2915 eval "$3=yes"
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2921 eval ac_res=\$$3
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2923 $as_echo "$ac_res" >&6; }
2924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2926 } # ac_fn_c_check_type
2927 cat >config.log <<_ACEOF
2928 This file contains any messages produced by compilers while
2929 running configure, to aid debugging if configure makes a mistake.
2931 It was created by Wine $as_me 1.9.13, which was
2932 generated by GNU Autoconf 2.69. Invocation command line was
2934 $ $0 $@
2936 _ACEOF
2937 exec 5>>config.log
2939 cat <<_ASUNAME
2940 ## --------- ##
2941 ## Platform. ##
2942 ## --------- ##
2944 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2945 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2946 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2947 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2948 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2950 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2951 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2953 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2954 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2955 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2956 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2957 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2958 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2959 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2961 _ASUNAME
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2966 IFS=$as_save_IFS
2967 test -z "$as_dir" && as_dir=.
2968 $as_echo "PATH: $as_dir"
2969 done
2970 IFS=$as_save_IFS
2972 } >&5
2974 cat >&5 <<_ACEOF
2977 ## ----------- ##
2978 ## Core tests. ##
2979 ## ----------- ##
2981 _ACEOF
2984 # Keep a trace of the command line.
2985 # Strip out --no-create and --no-recursion so they do not pile up.
2986 # Strip out --silent because we don't want to record it for future runs.
2987 # Also quote any args containing shell meta-characters.
2988 # Make two passes to allow for proper duplicate-argument suppression.
2989 ac_configure_args=
2990 ac_configure_args0=
2991 ac_configure_args1=
2992 ac_must_keep_next=false
2993 for ac_pass in 1 2
2995 for ac_arg
2997 case $ac_arg in
2998 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3000 | -silent | --silent | --silen | --sile | --sil)
3001 continue ;;
3002 *\'*)
3003 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3004 esac
3005 case $ac_pass in
3006 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3008 as_fn_append ac_configure_args1 " '$ac_arg'"
3009 if test $ac_must_keep_next = true; then
3010 ac_must_keep_next=false # Got value, back to normal.
3011 else
3012 case $ac_arg in
3013 *=* | --config-cache | -C | -disable-* | --disable-* \
3014 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3015 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3016 | -with-* | --with-* | -without-* | --without-* | --x)
3017 case "$ac_configure_args0 " in
3018 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3019 esac
3021 -* ) ac_must_keep_next=true ;;
3022 esac
3024 as_fn_append ac_configure_args " '$ac_arg'"
3026 esac
3027 done
3028 done
3029 { ac_configure_args0=; unset ac_configure_args0;}
3030 { ac_configure_args1=; unset ac_configure_args1;}
3032 # When interrupted or exit'd, cleanup temporary files, and complete
3033 # config.log. We remove comments because anyway the quotes in there
3034 # would cause problems or look ugly.
3035 # WARNING: Use '\'' to represent an apostrophe within the trap.
3036 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3037 trap 'exit_status=$?
3038 # Save into config.log some information that might help in debugging.
3040 echo
3042 $as_echo "## ---------------- ##
3043 ## Cache variables. ##
3044 ## ---------------- ##"
3045 echo
3046 # The following way of writing the cache mishandles newlines in values,
3048 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3049 eval ac_val=\$$ac_var
3050 case $ac_val in #(
3051 *${as_nl}*)
3052 case $ac_var in #(
3053 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3054 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3055 esac
3056 case $ac_var in #(
3057 _ | IFS | as_nl) ;; #(
3058 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3059 *) { eval $ac_var=; unset $ac_var;} ;;
3060 esac ;;
3061 esac
3062 done
3063 (set) 2>&1 |
3064 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3065 *${as_nl}ac_space=\ *)
3066 sed -n \
3067 "s/'\''/'\''\\\\'\'''\''/g;
3068 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3069 ;; #(
3071 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3073 esac |
3074 sort
3076 echo
3078 $as_echo "## ----------------- ##
3079 ## Output variables. ##
3080 ## ----------------- ##"
3081 echo
3082 for ac_var in $ac_subst_vars
3084 eval ac_val=\$$ac_var
3085 case $ac_val in
3086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3087 esac
3088 $as_echo "$ac_var='\''$ac_val'\''"
3089 done | sort
3090 echo
3092 if test -n "$ac_subst_files"; then
3093 $as_echo "## ------------------- ##
3094 ## File substitutions. ##
3095 ## ------------------- ##"
3096 echo
3097 for ac_var in $ac_subst_files
3099 eval ac_val=\$$ac_var
3100 case $ac_val in
3101 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3102 esac
3103 $as_echo "$ac_var='\''$ac_val'\''"
3104 done | sort
3105 echo
3108 if test -s confdefs.h; then
3109 $as_echo "## ----------- ##
3110 ## confdefs.h. ##
3111 ## ----------- ##"
3112 echo
3113 cat confdefs.h
3114 echo
3116 test "$ac_signal" != 0 &&
3117 $as_echo "$as_me: caught signal $ac_signal"
3118 $as_echo "$as_me: exit $exit_status"
3119 } >&5
3120 rm -f core *.core core.conftest.* &&
3121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3122 exit $exit_status
3124 for ac_signal in 1 2 13 15; do
3125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3126 done
3127 ac_signal=0
3129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3130 rm -f -r conftest* confdefs.h
3132 $as_echo "/* confdefs.h */" > confdefs.h
3134 # Predefined preprocessor variables.
3136 cat >>confdefs.h <<_ACEOF
3137 #define PACKAGE_NAME "$PACKAGE_NAME"
3138 _ACEOF
3140 cat >>confdefs.h <<_ACEOF
3141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3142 _ACEOF
3144 cat >>confdefs.h <<_ACEOF
3145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3146 _ACEOF
3148 cat >>confdefs.h <<_ACEOF
3149 #define PACKAGE_STRING "$PACKAGE_STRING"
3150 _ACEOF
3152 cat >>confdefs.h <<_ACEOF
3153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3154 _ACEOF
3156 cat >>confdefs.h <<_ACEOF
3157 #define PACKAGE_URL "$PACKAGE_URL"
3158 _ACEOF
3161 # Let the site file select an alternate cache file if it wants to.
3162 # Prefer an explicitly selected file to automatically selected ones.
3163 ac_site_file1=NONE
3164 ac_site_file2=NONE
3165 if test -n "$CONFIG_SITE"; then
3166 # We do not want a PATH search for config.site.
3167 case $CONFIG_SITE in #((
3168 -*) ac_site_file1=./$CONFIG_SITE;;
3169 */*) ac_site_file1=$CONFIG_SITE;;
3170 *) ac_site_file1=./$CONFIG_SITE;;
3171 esac
3172 elif test "x$prefix" != xNONE; then
3173 ac_site_file1=$prefix/share/config.site
3174 ac_site_file2=$prefix/etc/config.site
3175 else
3176 ac_site_file1=$ac_default_prefix/share/config.site
3177 ac_site_file2=$ac_default_prefix/etc/config.site
3179 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3181 test "x$ac_site_file" = xNONE && continue
3182 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3184 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3185 sed 's/^/| /' "$ac_site_file" >&5
3186 . "$ac_site_file" \
3187 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $? "failed to load site script $ac_site_file
3190 See \`config.log' for more details" "$LINENO" 5; }
3192 done
3194 if test -r "$cache_file"; then
3195 # Some versions of bash will fail to source /dev/null (special files
3196 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3197 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3199 $as_echo "$as_me: loading cache $cache_file" >&6;}
3200 case $cache_file in
3201 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3202 *) . "./$cache_file";;
3203 esac
3205 else
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3207 $as_echo "$as_me: creating cache $cache_file" >&6;}
3208 >$cache_file
3211 # Check that the precious variables saved in the cache have kept the same
3212 # value.
3213 ac_cache_corrupted=false
3214 for ac_var in $ac_precious_vars; do
3215 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3216 eval ac_new_set=\$ac_env_${ac_var}_set
3217 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3218 eval ac_new_val=\$ac_env_${ac_var}_value
3219 case $ac_old_set,$ac_new_set in
3220 set,)
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3222 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3223 ac_cache_corrupted=: ;;
3224 ,set)
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3226 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3227 ac_cache_corrupted=: ;;
3228 ,);;
3230 if test "x$ac_old_val" != "x$ac_new_val"; then
3231 # differences in whitespace do not lead to failure.
3232 ac_old_val_w=`echo x $ac_old_val`
3233 ac_new_val_w=`echo x $ac_new_val`
3234 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3236 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3237 ac_cache_corrupted=:
3238 else
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3240 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3241 eval $ac_var=\$ac_old_val
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3244 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3246 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3247 fi;;
3248 esac
3249 # Pass precious variables to config.status.
3250 if test "$ac_new_set" = set; then
3251 case $ac_new_val in
3252 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3253 *) ac_arg=$ac_var=$ac_new_val ;;
3254 esac
3255 case " $ac_configure_args " in
3256 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3257 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3258 esac
3260 done
3261 if $ac_cache_corrupted; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3265 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3266 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3268 ## -------------------- ##
3269 ## Main body of script. ##
3270 ## -------------------- ##
3272 ac_ext=c
3273 ac_cpp='$CPP $CPPFLAGS'
3274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3280 ac_config_headers="$ac_config_headers include/config.h"
3282 ac_aux_dir=
3283 for ac_dir in tools "$srcdir"/tools; do
3284 if test -f "$ac_dir/install-sh"; then
3285 ac_aux_dir=$ac_dir
3286 ac_install_sh="$ac_aux_dir/install-sh -c"
3287 break
3288 elif test -f "$ac_dir/install.sh"; then
3289 ac_aux_dir=$ac_dir
3290 ac_install_sh="$ac_aux_dir/install.sh -c"
3291 break
3292 elif test -f "$ac_dir/shtool"; then
3293 ac_aux_dir=$ac_dir
3294 ac_install_sh="$ac_aux_dir/shtool install -c"
3295 break
3297 done
3298 if test -z "$ac_aux_dir"; then
3299 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3302 # These three variables are undocumented and unsupported,
3303 # and are intended to be withdrawn in a future Autoconf release.
3304 # They can cause serious problems if a builder's source tree is in a directory
3305 # whose full name contains unusual characters.
3306 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3307 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3308 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3312 libwine_version="1.0"
3316 # Check whether --enable-win16 was given.
3317 if test "${enable_win16+set}" = set; then :
3318 enableval=$enable_win16;
3321 # Check whether --enable-win64 was given.
3322 if test "${enable_win64+set}" = set; then :
3323 enableval=$enable_win64;
3326 # Check whether --enable-tests was given.
3327 if test "${enable_tests+set}" = set; then :
3328 enableval=$enable_tests;
3331 # Check whether --enable-maintainer-mode was given.
3332 if test "${enable_maintainer_mode+set}" = set; then :
3333 enableval=$enable_maintainer_mode;
3338 # Check whether --with-alsa was given.
3339 if test "${with_alsa+set}" = set; then :
3340 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3344 # Check whether --with-capi was given.
3345 if test "${with_capi+set}" = set; then :
3346 withval=$with_capi;
3350 # Check whether --with-cms was given.
3351 if test "${with_cms+set}" = set; then :
3352 withval=$with_cms;
3356 # Check whether --with-coreaudio was given.
3357 if test "${with_coreaudio+set}" = set; then :
3358 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3362 # Check whether --with-cups was given.
3363 if test "${with_cups+set}" = set; then :
3364 withval=$with_cups;
3368 # Check whether --with-curses was given.
3369 if test "${with_curses+set}" = set; then :
3370 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3374 # Check whether --with-dbus was given.
3375 if test "${with_dbus+set}" = set; then :
3376 withval=$with_dbus;
3380 # Check whether --with-fontconfig was given.
3381 if test "${with_fontconfig+set}" = set; then :
3382 withval=$with_fontconfig;
3386 # Check whether --with-freetype was given.
3387 if test "${with_freetype+set}" = set; then :
3388 withval=$with_freetype;
3392 # Check whether --with-gettext was given.
3393 if test "${with_gettext+set}" = set; then :
3394 withval=$with_gettext;
3398 # Check whether --with-gettextpo was given.
3399 if test "${with_gettextpo+set}" = set; then :
3400 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3404 # Check whether --with-gphoto was given.
3405 if test "${with_gphoto+set}" = set; then :
3406 withval=$with_gphoto;
3410 # Check whether --with-glu was given.
3411 if test "${with_glu+set}" = set; then :
3412 withval=$with_glu;
3416 # Check whether --with-gnutls was given.
3417 if test "${with_gnutls+set}" = set; then :
3418 withval=$with_gnutls;
3422 # Check whether --with-gsm was given.
3423 if test "${with_gsm+set}" = set; then :
3424 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3428 # Check whether --with-gstreamer was given.
3429 if test "${with_gstreamer+set}" = set; then :
3430 withval=$with_gstreamer;
3434 # Check whether --with-hal was given.
3435 if test "${with_hal+set}" = set; then :
3436 withval=$with_hal;
3440 # Check whether --with-jpeg was given.
3441 if test "${with_jpeg+set}" = set; then :
3442 withval=$with_jpeg;
3446 # Check whether --with-ldap was given.
3447 if test "${with_ldap+set}" = set; then :
3448 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3452 # Check whether --with-mpg123 was given.
3453 if test "${with_mpg123+set}" = set; then :
3454 withval=$with_mpg123;
3458 # Check whether --with-netapi was given.
3459 if test "${with_netapi+set}" = set; then :
3460 withval=$with_netapi;
3464 # Check whether --with-openal was given.
3465 if test "${with_openal+set}" = set; then :
3466 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3470 # Check whether --with-opencl was given.
3471 if test "${with_opencl+set}" = set; then :
3472 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3476 # Check whether --with-opengl was given.
3477 if test "${with_opengl+set}" = set; then :
3478 withval=$with_opengl;
3482 # Check whether --with-osmesa was given.
3483 if test "${with_osmesa+set}" = set; then :
3484 withval=$with_osmesa;
3488 # Check whether --with-oss was given.
3489 if test "${with_oss+set}" = set; then :
3490 withval=$with_oss;
3494 # Check whether --with-pcap was given.
3495 if test "${with_pcap+set}" = set; then :
3496 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3500 # Check whether --with-png was given.
3501 if test "${with_png+set}" = set; then :
3502 withval=$with_png;
3506 # Check whether --with-pthread was given.
3507 if test "${with_pthread+set}" = set; then :
3508 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3512 # Check whether --with-pulse was given.
3513 if test "${with_pulse+set}" = set; then :
3514 withval=$with_pulse;
3518 # Check whether --with-sane was given.
3519 if test "${with_sane+set}" = set; then :
3520 withval=$with_sane;
3524 # Check whether --with-tiff was given.
3525 if test "${with_tiff+set}" = set; then :
3526 withval=$with_tiff;
3530 # Check whether --with-v4l was given.
3531 if test "${with_v4l+set}" = set; then :
3532 withval=$with_v4l;
3536 # Check whether --with-xcomposite was given.
3537 if test "${with_xcomposite+set}" = set; then :
3538 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3542 # Check whether --with-xcursor was given.
3543 if test "${with_xcursor+set}" = set; then :
3544 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3548 # Check whether --with-xinerama was given.
3549 if test "${with_xinerama+set}" = set; then :
3550 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3554 # Check whether --with-xinput was given.
3555 if test "${with_xinput+set}" = set; then :
3556 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3560 # Check whether --with-xinput2 was given.
3561 if test "${with_xinput2+set}" = set; then :
3562 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3566 # Check whether --with-xml was given.
3567 if test "${with_xml+set}" = set; then :
3568 withval=$with_xml;
3572 # Check whether --with-xrandr was given.
3573 if test "${with_xrandr+set}" = set; then :
3574 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3578 # Check whether --with-xrender was given.
3579 if test "${with_xrender+set}" = set; then :
3580 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3584 # Check whether --with-xshape was given.
3585 if test "${with_xshape+set}" = set; then :
3586 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3590 # Check whether --with-xshm was given.
3591 if test "${with_xshm+set}" = set; then :
3592 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3596 # Check whether --with-xslt was given.
3597 if test "${with_xslt+set}" = set; then :
3598 withval=$with_xslt;
3602 # Check whether --with-xxf86vm was given.
3603 if test "${with_xxf86vm+set}" = set; then :
3604 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
3608 # Check whether --with-zlib was given.
3609 if test "${with_zlib+set}" = set; then :
3610 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3615 # Check whether --with-wine-tools was given.
3616 if test "${with_wine_tools+set}" = set; then :
3617 withval=$with_wine_tools;
3621 # Check whether --with-wine64 was given.
3622 if test "${with_wine64+set}" = set; then :
3623 withval=$with_wine64;
3627 # Make sure we can run config.sub.
3628 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3629 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3632 $as_echo_n "checking build system type... " >&6; }
3633 if ${ac_cv_build+:} false; then :
3634 $as_echo_n "(cached) " >&6
3635 else
3636 ac_build_alias=$build_alias
3637 test "x$ac_build_alias" = x &&
3638 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3639 test "x$ac_build_alias" = x &&
3640 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3641 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3642 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3646 $as_echo "$ac_cv_build" >&6; }
3647 case $ac_cv_build in
3648 *-*-*) ;;
3649 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3650 esac
3651 build=$ac_cv_build
3652 ac_save_IFS=$IFS; IFS='-'
3653 set x $ac_cv_build
3654 shift
3655 build_cpu=$1
3656 build_vendor=$2
3657 shift; shift
3658 # Remember, the first character of IFS is used to create $*,
3659 # except with old shells:
3660 build_os=$*
3661 IFS=$ac_save_IFS
3662 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3666 $as_echo_n "checking host system type... " >&6; }
3667 if ${ac_cv_host+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 if test "x$host_alias" = x; then
3671 ac_cv_host=$ac_cv_build
3672 else
3673 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3674 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3679 $as_echo "$ac_cv_host" >&6; }
3680 case $ac_cv_host in
3681 *-*-*) ;;
3682 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3683 esac
3684 host=$ac_cv_host
3685 ac_save_IFS=$IFS; IFS='-'
3686 set x $ac_cv_host
3687 shift
3688 host_cpu=$1
3689 host_vendor=$2
3690 shift; shift
3691 # Remember, the first character of IFS is used to create $*,
3692 # except with old shells:
3693 host_os=$*
3694 IFS=$ac_save_IFS
3695 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3699 case "$srcdir" in
3700 .) ;;
3701 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3702 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3703 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3704 fi ;;
3705 esac
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3709 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3710 set x ${MAKE-make}
3711 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3712 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 cat >conftest.make <<\_ACEOF
3716 SHELL = /bin/sh
3717 all:
3718 @echo '@@@%%%=$(MAKE)=@@@%%%'
3719 _ACEOF
3720 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3722 *@@@%%%=?*=@@@%%%*)
3723 eval ac_cv_prog_make_${ac_make}_set=yes;;
3725 eval ac_cv_prog_make_${ac_make}_set=no;;
3726 esac
3727 rm -f conftest.make
3729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3731 $as_echo "yes" >&6; }
3732 SET_MAKE=
3733 else
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 SET_MAKE="MAKE=${MAKE-make}"
3739 ac_ext=c
3740 ac_cpp='$CPP $CPPFLAGS'
3741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3744 if test -n "$ac_tool_prefix"; then
3745 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3746 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_CC+:} false; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC="$CC" # Let the user override the test.
3754 else
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3758 IFS=$as_save_IFS
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 break 2
3766 done
3767 done
3768 IFS=$as_save_IFS
3772 CC=$ac_cv_prog_CC
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3776 else
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3783 if test -z "$ac_cv_prog_CC"; then
3784 ac_ct_CC=$CC
3785 # Extract the first word of "gcc", so it can be a program name with args.
3786 set dummy gcc; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3790 $as_echo_n "(cached) " >&6
3791 else
3792 if test -n "$ac_ct_CC"; then
3793 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3794 else
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 for as_dir in $PATH
3798 IFS=$as_save_IFS
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_ac_ct_CC="gcc"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 break 2
3806 done
3807 done
3808 IFS=$as_save_IFS
3812 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3813 if test -n "$ac_ct_CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3815 $as_echo "$ac_ct_CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3821 if test "x$ac_ct_CC" = x; then
3822 CC=""
3823 else
3824 case $cross_compiling:$ac_tool_warned in
3825 yes:)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3828 ac_tool_warned=yes ;;
3829 esac
3830 CC=$ac_ct_CC
3832 else
3833 CC="$ac_cv_prog_CC"
3836 if test -z "$CC"; then
3837 if test -n "$ac_tool_prefix"; then
3838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3839 set dummy ${ac_tool_prefix}cc; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if ${ac_cv_prog_CC+:} false; then :
3843 $as_echo_n "(cached) " >&6
3844 else
3845 if test -n "$CC"; then
3846 ac_cv_prog_CC="$CC" # Let the user override the test.
3847 else
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 for as_dir in $PATH
3851 IFS=$as_save_IFS
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3855 ac_cv_prog_CC="${ac_tool_prefix}cc"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 break 2
3859 done
3860 done
3861 IFS=$as_save_IFS
3865 CC=$ac_cv_prog_CC
3866 if test -n "$CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3868 $as_echo "$CC" >&6; }
3869 else
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3877 if test -z "$CC"; then
3878 # Extract the first word of "cc", so it can be a program name with args.
3879 set dummy cc; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_prog_CC+:} false; then :
3883 $as_echo_n "(cached) " >&6
3884 else
3885 if test -n "$CC"; then
3886 ac_cv_prog_CC="$CC" # Let the user override the test.
3887 else
3888 ac_prog_rejected=no
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in $PATH
3892 IFS=$as_save_IFS
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3897 ac_prog_rejected=yes
3898 continue
3900 ac_cv_prog_CC="cc"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 break 2
3904 done
3905 done
3906 IFS=$as_save_IFS
3908 if test $ac_prog_rejected = yes; then
3909 # We found a bogon in the path, so make sure we never use it.
3910 set dummy $ac_cv_prog_CC
3911 shift
3912 if test $# != 0; then
3913 # We chose a different compiler from the bogus one.
3914 # However, it has the same basename, so the bogon will be chosen
3915 # first if we set CC to just the basename; use the full file name.
3916 shift
3917 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3922 CC=$ac_cv_prog_CC
3923 if test -n "$CC"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3925 $as_echo "$CC" >&6; }
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3933 if test -z "$CC"; then
3934 if test -n "$ac_tool_prefix"; then
3935 for ac_prog in cl.exe
3937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3940 $as_echo_n "checking for $ac_word... " >&6; }
3941 if ${ac_cv_prog_CC+:} false; then :
3942 $as_echo_n "(cached) " >&6
3943 else
3944 if test -n "$CC"; then
3945 ac_cv_prog_CC="$CC" # Let the user override the test.
3946 else
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 for as_dir in $PATH
3950 IFS=$as_save_IFS
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 break 2
3958 done
3959 done
3960 IFS=$as_save_IFS
3964 CC=$ac_cv_prog_CC
3965 if test -n "$CC"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3967 $as_echo "$CC" >&6; }
3968 else
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3974 test -n "$CC" && break
3975 done
3977 if test -z "$CC"; then
3978 ac_ct_CC=$CC
3979 for ac_prog in cl.exe
3981 # Extract the first word of "$ac_prog", so it can be a program name with args.
3982 set dummy $ac_prog; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$ac_ct_CC"; then
3989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_ac_ct_CC="$ac_prog"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4002 done
4003 done
4004 IFS=$as_save_IFS
4008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4009 if test -n "$ac_ct_CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4011 $as_echo "$ac_ct_CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4018 test -n "$ac_ct_CC" && break
4019 done
4021 if test "x$ac_ct_CC" = x; then
4022 CC=""
4023 else
4024 case $cross_compiling:$ac_tool_warned in
4025 yes:)
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4029 esac
4030 CC=$ac_ct_CC
4037 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4039 as_fn_error $? "no acceptable C compiler found in \$PATH
4040 See \`config.log' for more details" "$LINENO" 5; }
4042 # Provide some information about the compiler.
4043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4044 set X $ac_compile
4045 ac_compiler=$2
4046 for ac_option in --version -v -V -qversion; do
4047 { { ac_try="$ac_compiler $ac_option >&5"
4048 case "(($ac_try" in
4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4050 *) ac_try_echo=$ac_try;;
4051 esac
4052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4053 $as_echo "$ac_try_echo"; } >&5
4054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4055 ac_status=$?
4056 if test -s conftest.err; then
4057 sed '10a\
4058 ... rest of stderr output deleted ...
4059 10q' conftest.err >conftest.er1
4060 cat conftest.er1 >&5
4062 rm -f conftest.er1 conftest.err
4063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4064 test $ac_status = 0; }
4065 done
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4071 main ()
4075 return 0;
4077 _ACEOF
4078 ac_clean_files_save=$ac_clean_files
4079 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4080 # Try to create an executable without -o first, disregard a.out.
4081 # It will help us diagnose broken compilers, and finding out an intuition
4082 # of exeext.
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4084 $as_echo_n "checking whether the C compiler works... " >&6; }
4085 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4087 # The possible output files:
4088 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4090 ac_rmfiles=
4091 for ac_file in $ac_files
4093 case $ac_file in
4094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4095 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4096 esac
4097 done
4098 rm -f $ac_rmfiles
4100 if { { ac_try="$ac_link_default"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_link_default") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4112 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4113 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4114 # so that the user can short-circuit this test for compilers unknown to
4115 # Autoconf.
4116 for ac_file in $ac_files ''
4118 test -f "$ac_file" || continue
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4122 [ab].out )
4123 # We found the default executable, but exeext='' is most
4124 # certainly right.
4125 break;;
4126 *.* )
4127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4128 then :; else
4129 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4131 # We set ac_cv_exeext here because the later test for it is not
4132 # safe: cross compilers may not add the suffix if given an `-o'
4133 # argument, so we may need to know it at that point already.
4134 # Even if this section looks crufty: it has the advantage of
4135 # actually working.
4136 break;;
4138 break;;
4139 esac
4140 done
4141 test "$ac_cv_exeext" = no && ac_cv_exeext=
4143 else
4144 ac_file=''
4146 if test -z "$ac_file"; then :
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4149 $as_echo "$as_me: failed program was:" >&5
4150 sed 's/^/| /' conftest.$ac_ext >&5
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4154 as_fn_error 77 "C compiler cannot create executables
4155 See \`config.log' for more details" "$LINENO" 5; }
4156 else
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4158 $as_echo "yes" >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4161 $as_echo_n "checking for C compiler default output file name... " >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4163 $as_echo "$ac_file" >&6; }
4164 ac_exeext=$ac_cv_exeext
4166 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4167 ac_clean_files=$ac_clean_files_save
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4169 $as_echo_n "checking for suffix of executables... " >&6; }
4170 if { { ac_try="$ac_link"
4171 case "(($ac_try" in
4172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4173 *) ac_try_echo=$ac_try;;
4174 esac
4175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4176 $as_echo "$ac_try_echo"; } >&5
4177 (eval "$ac_link") 2>&5
4178 ac_status=$?
4179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4180 test $ac_status = 0; }; then :
4181 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4182 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4183 # work properly (i.e., refer to `conftest.exe'), while it won't with
4184 # `rm'.
4185 for ac_file in conftest.exe conftest conftest.*; do
4186 test -f "$ac_file" || continue
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4189 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4190 break;;
4191 * ) break;;
4192 esac
4193 done
4194 else
4195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4197 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4198 See \`config.log' for more details" "$LINENO" 5; }
4200 rm -f conftest conftest$ac_cv_exeext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4202 $as_echo "$ac_cv_exeext" >&6; }
4204 rm -f conftest.$ac_ext
4205 EXEEXT=$ac_cv_exeext
4206 ac_exeext=$EXEEXT
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 #include <stdio.h>
4211 main ()
4213 FILE *f = fopen ("conftest.out", "w");
4214 return ferror (f) || fclose (f) != 0;
4217 return 0;
4219 _ACEOF
4220 ac_clean_files="$ac_clean_files conftest.out"
4221 # Check that the compiler produces executables we can run. If not, either
4222 # the compiler is broken, or we cross compile.
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4224 $as_echo_n "checking whether we are cross compiling... " >&6; }
4225 if test "$cross_compiling" != yes; then
4226 { { ac_try="$ac_link"
4227 case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4232 $as_echo "$ac_try_echo"; } >&5
4233 (eval "$ac_link") 2>&5
4234 ac_status=$?
4235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4236 test $ac_status = 0; }
4237 if { ac_try='./conftest$ac_cv_exeext'
4238 { { case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_try") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; }; then
4248 cross_compiling=no
4249 else
4250 if test "$cross_compiling" = maybe; then
4251 cross_compiling=yes
4252 else
4253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4255 as_fn_error $? "cannot run C compiled programs.
4256 If you meant to cross compile, use \`--host'.
4257 See \`config.log' for more details" "$LINENO" 5; }
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4262 $as_echo "$cross_compiling" >&6; }
4264 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4265 ac_clean_files=$ac_clean_files_save
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4267 $as_echo_n "checking for suffix of object files... " >&6; }
4268 if ${ac_cv_objext+:} false; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 rm -f conftest.o conftest.obj
4283 if { { ac_try="$ac_compile"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4289 $as_echo "$ac_try_echo"; } >&5
4290 (eval "$ac_compile") 2>&5
4291 ac_status=$?
4292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4293 test $ac_status = 0; }; then :
4294 for ac_file in conftest.o conftest.obj conftest.*; do
4295 test -f "$ac_file" || continue;
4296 case $ac_file in
4297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4299 break;;
4300 esac
4301 done
4302 else
4303 $as_echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.$ac_ext >&5
4306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4308 as_fn_error $? "cannot compute suffix of object files: cannot compile
4309 See \`config.log' for more details" "$LINENO" 5; }
4311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4314 $as_echo "$ac_cv_objext" >&6; }
4315 OBJEXT=$ac_cv_objext
4316 ac_objext=$OBJEXT
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4318 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4319 if ${ac_cv_c_compiler_gnu+:} false; then :
4320 $as_echo_n "(cached) " >&6
4321 else
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4323 /* end confdefs.h. */
4326 main ()
4328 #ifndef __GNUC__
4329 choke me
4330 #endif
4333 return 0;
4335 _ACEOF
4336 if ac_fn_c_try_compile "$LINENO"; then :
4337 ac_compiler_gnu=yes
4338 else
4339 ac_compiler_gnu=no
4341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4346 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4347 if test $ac_compiler_gnu = yes; then
4348 GCC=yes
4349 else
4350 GCC=
4352 ac_test_CFLAGS=${CFLAGS+set}
4353 ac_save_CFLAGS=$CFLAGS
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4355 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4356 if ${ac_cv_prog_cc_g+:} false; then :
4357 $as_echo_n "(cached) " >&6
4358 else
4359 ac_save_c_werror_flag=$ac_c_werror_flag
4360 ac_c_werror_flag=yes
4361 ac_cv_prog_cc_g=no
4362 CFLAGS="-g"
4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4367 main ()
4371 return 0;
4373 _ACEOF
4374 if ac_fn_c_try_compile "$LINENO"; then :
4375 ac_cv_prog_cc_g=yes
4376 else
4377 CFLAGS=""
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4382 main ()
4386 return 0;
4388 _ACEOF
4389 if ac_fn_c_try_compile "$LINENO"; then :
4391 else
4392 ac_c_werror_flag=$ac_save_c_werror_flag
4393 CFLAGS="-g"
4394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4395 /* end confdefs.h. */
4398 main ()
4402 return 0;
4404 _ACEOF
4405 if ac_fn_c_try_compile "$LINENO"; then :
4406 ac_cv_prog_cc_g=yes
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 ac_c_werror_flag=$ac_save_c_werror_flag
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4416 $as_echo "$ac_cv_prog_cc_g" >&6; }
4417 if test "$ac_test_CFLAGS" = set; then
4418 CFLAGS=$ac_save_CFLAGS
4419 elif test $ac_cv_prog_cc_g = yes; then
4420 if test "$GCC" = yes; then
4421 CFLAGS="-g -O2"
4422 else
4423 CFLAGS="-g"
4425 else
4426 if test "$GCC" = yes; then
4427 CFLAGS="-O2"
4428 else
4429 CFLAGS=
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4434 if ${ac_cv_prog_cc_c89+:} false; then :
4435 $as_echo_n "(cached) " >&6
4436 else
4437 ac_cv_prog_cc_c89=no
4438 ac_save_CC=$CC
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <stdarg.h>
4442 #include <stdio.h>
4443 struct stat;
4444 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4445 struct buf { int x; };
4446 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4447 static char *e (p, i)
4448 char **p;
4449 int i;
4451 return p[i];
4453 static char *f (char * (*g) (char **, int), char **p, ...)
4455 char *s;
4456 va_list v;
4457 va_start (v,p);
4458 s = g (p, va_arg (v,int));
4459 va_end (v);
4460 return s;
4463 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4464 function prototypes and stuff, but not '\xHH' hex character constants.
4465 These don't provoke an error unfortunately, instead are silently treated
4466 as 'x'. The following induces an error, until -std is added to get
4467 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4468 array size at least. It's necessary to write '\x00'==0 to get something
4469 that's true only with -std. */
4470 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4472 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4473 inside strings and character constants. */
4474 #define FOO(x) 'x'
4475 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4477 int test (int i, double x);
4478 struct s1 {int (*f) (int a);};
4479 struct s2 {int (*f) (double a);};
4480 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4481 int argc;
4482 char **argv;
4484 main ()
4486 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4488 return 0;
4490 _ACEOF
4491 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4492 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4494 CC="$ac_save_CC $ac_arg"
4495 if ac_fn_c_try_compile "$LINENO"; then :
4496 ac_cv_prog_cc_c89=$ac_arg
4498 rm -f core conftest.err conftest.$ac_objext
4499 test "x$ac_cv_prog_cc_c89" != "xno" && break
4500 done
4501 rm -f conftest.$ac_ext
4502 CC=$ac_save_CC
4505 # AC_CACHE_VAL
4506 case "x$ac_cv_prog_cc_c89" in
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4509 $as_echo "none needed" >&6; } ;;
4510 xno)
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4512 $as_echo "unsupported" >&6; } ;;
4514 CC="$CC $ac_cv_prog_cc_c89"
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4516 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4517 esac
4518 if test "x$ac_cv_prog_cc_c89" != xno; then :
4522 ac_ext=c
4523 ac_cpp='$CPP $CPPFLAGS'
4524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528 ac_ext=cpp
4529 ac_cpp='$CXXCPP $CPPFLAGS'
4530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4533 if test -z "$CXX"; then
4534 if test -n "$CCC"; then
4535 CXX=$CCC
4536 else
4537 if test -n "$ac_tool_prefix"; then
4538 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4540 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4543 $as_echo_n "checking for $ac_word... " >&6; }
4544 if ${ac_cv_prog_CXX+:} false; then :
4545 $as_echo_n "(cached) " >&6
4546 else
4547 if test -n "$CXX"; then
4548 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4549 else
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH
4553 IFS=$as_save_IFS
4554 test -z "$as_dir" && as_dir=.
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 break 2
4561 done
4562 done
4563 IFS=$as_save_IFS
4567 CXX=$ac_cv_prog_CXX
4568 if test -n "$CXX"; then
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4570 $as_echo "$CXX" >&6; }
4571 else
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4573 $as_echo "no" >&6; }
4577 test -n "$CXX" && break
4578 done
4580 if test -z "$CXX"; then
4581 ac_ct_CXX=$CXX
4582 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4584 # Extract the first word of "$ac_prog", so it can be a program name with args.
4585 set dummy $ac_prog; ac_word=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4589 $as_echo_n "(cached) " >&6
4590 else
4591 if test -n "$ac_ct_CXX"; then
4592 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4593 else
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 for as_dir in $PATH
4597 IFS=$as_save_IFS
4598 test -z "$as_dir" && as_dir=.
4599 for ac_exec_ext in '' $ac_executable_extensions; do
4600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4601 ac_cv_prog_ac_ct_CXX="$ac_prog"
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4603 break 2
4605 done
4606 done
4607 IFS=$as_save_IFS
4611 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4612 if test -n "$ac_ct_CXX"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4614 $as_echo "$ac_ct_CXX" >&6; }
4615 else
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 test -n "$ac_ct_CXX" && break
4622 done
4624 if test "x$ac_ct_CXX" = x; then
4625 CXX="g++"
4626 else
4627 case $cross_compiling:$ac_tool_warned in
4628 yes:)
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4631 ac_tool_warned=yes ;;
4632 esac
4633 CXX=$ac_ct_CXX
4639 # Provide some information about the compiler.
4640 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4641 set X $ac_compile
4642 ac_compiler=$2
4643 for ac_option in --version -v -V -qversion; do
4644 { { ac_try="$ac_compiler $ac_option >&5"
4645 case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4650 $as_echo "$ac_try_echo"; } >&5
4651 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4652 ac_status=$?
4653 if test -s conftest.err; then
4654 sed '10a\
4655 ... rest of stderr output deleted ...
4656 10q' conftest.err >conftest.er1
4657 cat conftest.er1 >&5
4659 rm -f conftest.er1 conftest.err
4660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4661 test $ac_status = 0; }
4662 done
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4665 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4666 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4667 $as_echo_n "(cached) " >&6
4668 else
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4673 main ()
4675 #ifndef __GNUC__
4676 choke me
4677 #endif
4680 return 0;
4682 _ACEOF
4683 if ac_fn_cxx_try_compile "$LINENO"; then :
4684 ac_compiler_gnu=yes
4685 else
4686 ac_compiler_gnu=no
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4693 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4694 if test $ac_compiler_gnu = yes; then
4695 GXX=yes
4696 else
4697 GXX=
4699 ac_test_CXXFLAGS=${CXXFLAGS+set}
4700 ac_save_CXXFLAGS=$CXXFLAGS
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4702 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4703 if ${ac_cv_prog_cxx_g+:} false; then :
4704 $as_echo_n "(cached) " >&6
4705 else
4706 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4707 ac_cxx_werror_flag=yes
4708 ac_cv_prog_cxx_g=no
4709 CXXFLAGS="-g"
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4714 main ()
4718 return 0;
4720 _ACEOF
4721 if ac_fn_cxx_try_compile "$LINENO"; then :
4722 ac_cv_prog_cxx_g=yes
4723 else
4724 CXXFLAGS=""
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4729 main ()
4733 return 0;
4735 _ACEOF
4736 if ac_fn_cxx_try_compile "$LINENO"; then :
4738 else
4739 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4740 CXXFLAGS="-g"
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 if ac_fn_cxx_try_compile "$LINENO"; then :
4753 ac_cv_prog_cxx_g=yes
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4763 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4764 if test "$ac_test_CXXFLAGS" = set; then
4765 CXXFLAGS=$ac_save_CXXFLAGS
4766 elif test $ac_cv_prog_cxx_g = yes; then
4767 if test "$GXX" = yes; then
4768 CXXFLAGS="-g -O2"
4769 else
4770 CXXFLAGS="-g"
4772 else
4773 if test "$GXX" = yes; then
4774 CXXFLAGS="-O2"
4775 else
4776 CXXFLAGS=
4779 ac_ext=c
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4785 if test -n "$ac_tool_prefix"; then
4786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4787 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4789 $as_echo_n "checking for $ac_word... " >&6; }
4790 if ${ac_cv_prog_CPPBIN+:} false; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if test -n "$CPPBIN"; then
4794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4795 else
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4797 for as_dir in $PATH
4799 IFS=$as_save_IFS
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 break 2
4807 done
4808 done
4809 IFS=$as_save_IFS
4813 CPPBIN=$ac_cv_prog_CPPBIN
4814 if test -n "$CPPBIN"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4816 $as_echo "$CPPBIN" >&6; }
4817 else
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4824 if test -z "$ac_cv_prog_CPPBIN"; then
4825 ac_ct_CPPBIN=$CPPBIN
4826 # Extract the first word of "cpp", so it can be a program name with args.
4827 set dummy cpp; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 if test -n "$ac_ct_CPPBIN"; then
4834 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4835 else
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4839 IFS=$as_save_IFS
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_ac_ct_CPPBIN="cpp"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 break 2
4847 done
4848 done
4849 IFS=$as_save_IFS
4853 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4854 if test -n "$ac_ct_CPPBIN"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4856 $as_echo "$ac_ct_CPPBIN" >&6; }
4857 else
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4862 if test "x$ac_ct_CPPBIN" = x; then
4863 CPPBIN="cpp"
4864 else
4865 case $cross_compiling:$ac_tool_warned in
4866 yes:)
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4869 ac_tool_warned=yes ;;
4870 esac
4871 CPPBIN=$ac_ct_CPPBIN
4873 else
4874 CPPBIN="$ac_cv_prog_CPPBIN"
4878 cat >>confdefs.h <<_ACEOF
4879 #define EXEEXT "$ac_exeext"
4880 _ACEOF
4882 if test -n "$ac_tool_prefix"; then
4883 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}ld; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if ${ac_cv_prog_LD+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if test -n "$LD"; then
4891 ac_cv_prog_LD="$LD" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4896 IFS=$as_save_IFS
4897 test -z "$as_dir" && as_dir=.
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_LD="${ac_tool_prefix}ld"
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 LD=$ac_cv_prog_LD
4911 if test -n "$LD"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4913 $as_echo "$LD" >&6; }
4914 else
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4921 if test -z "$ac_cv_prog_LD"; then
4922 ac_ct_LD=$LD
4923 # Extract the first word of "ld", so it can be a program name with args.
4924 set dummy ld; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$ac_ct_LD"; then
4931 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_ac_ct_LD="ld"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4951 if test -n "$ac_ct_LD"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4953 $as_echo "$ac_ct_LD" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4959 if test "x$ac_ct_LD" = x; then
4960 LD=""
4961 else
4962 case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968 LD=$ac_ct_LD
4970 else
4971 LD="$ac_cv_prog_LD"
4975 case $host in
4976 *-darwin*)
4977 with_fontconfig=${with_fontconfig:-no}
4979 *-mingw32*|*-cygwin*)
4980 enable_win16=${enable_win16:-no}
4981 CFLAGS="$CFLAGS -D_WIN32"
4983 esac
4985 case $host in
4986 x86_64*|amd64*)
4987 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4988 then
4989 CC="$CC -m32"
4990 CXX="$CXX -m32"
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4992 $as_echo_n "checking whether $CC works... " >&6; }
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_c_try_link "$LINENO"; then :
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5007 $as_echo "yes" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5013 rm -f core conftest.err conftest.$ac_objext \
5014 conftest$ac_exeext conftest.$ac_ext
5015 host_cpu="i386"
5016 notice_platform="32-bit "
5017 TARGETFLAGS="-m32"
5019 enable_win16=${enable_win16:-yes}
5020 else
5021 if test "x${GCC}" = "xyes"
5022 then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5024 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5027 #include <stdarg.h>
5029 main ()
5031 void func(__builtin_ms_va_list *args);
5033 return 0;
5035 _ACEOF
5036 if ac_fn_c_try_compile "$LINENO"; then :
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5038 $as_echo "yes" >&6; }
5039 else
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5042 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046 CC="$CC -m64"
5047 CXX="$CXX -m64"
5048 host_cpu="x86_64"
5049 notice_platform="64-bit "
5050 TARGETFLAGS="-m64"
5054 arm*)
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5056 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058 /* end confdefs.h. */
5059 int ac_test(int i) { return i; }
5061 main ()
5063 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5065 return 0;
5067 _ACEOF
5068 if ac_fn_c_try_link "$LINENO"; then :
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5070 $as_echo "yes" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5074 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5076 rm -f core conftest.err conftest.$ac_objext \
5077 conftest$ac_exeext conftest.$ac_ext
5078 CFLAGS="$CFLAGS -marm"
5079 TARGETFLAGS="-marm"
5082 i[3456789]86*)
5083 enable_win16=${enable_win16:-yes}
5085 esac
5087 enable_win16=${enable_win16:-no}
5088 enable_win64=${enable_win64:-no}
5090 enable_winetest=${enable_winetest:-$enable_tests}
5092 if test -n "$with_wine64"
5093 then
5094 if test "x$enable_win64" = "xyes"
5095 then
5096 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5097 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5099 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5100 You should create a separate build directory and run configure from there." "$LINENO" 5
5101 enable_fonts=${enable_fonts:-no}
5102 enable_server=${enable_server:-no}
5103 elif test "x$enable_win64" = "xyes"
5104 then
5105 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5109 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5110 if ${wine_cv_toolsdir+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 wine_cv_toolsdir="$with_wine_tools"
5114 if test -z "$with_wine_tools"; then
5115 if test "$cross_compiling" = "yes"; then
5116 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5117 elif test -n "$with_wine64"; then
5118 wine_cv_toolsdir="$with_wine64"
5121 if test -z "$wine_cv_toolsdir"; then
5122 wine_makedep=tools/makedep
5123 wine_cv_toolsdir="\$(top_builddir)"
5124 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5125 wine_makedep=$wine_cv_toolsdir/tools/makedep
5126 case "$wine_cv_toolsdir" in
5127 /*) ;;
5128 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5129 esac
5130 enable_tools=${enable_tools:-no}
5131 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5132 else
5133 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5137 $as_echo "$wine_cv_toolsdir" >&6; }
5138 TOOLSDIR=$wine_cv_toolsdir
5140 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5141 then
5142 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5146 for ac_prog in flex
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151 $as_echo_n "checking for $ac_word... " >&6; }
5152 if ${ac_cv_prog_FLEX+:} false; then :
5153 $as_echo_n "(cached) " >&6
5154 else
5155 if test -n "$FLEX"; then
5156 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_FLEX="$ac_prog"
5166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5171 IFS=$as_save_IFS
5175 FLEX=$ac_cv_prog_FLEX
5176 if test -n "$FLEX"; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5178 $as_echo "$FLEX" >&6; }
5179 else
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181 $as_echo "no" >&6; }
5185 test -n "$FLEX" && break
5186 done
5187 test -n "$FLEX" || FLEX="none"
5189 if test "$FLEX" = "none"
5190 then
5191 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5194 $as_echo_n "checking whether flex is recent enough... " >&6; }
5195 cat >conftest.l <<EOF
5196 %top{
5197 #include "prediluvian.h"
5201 if $FLEX -t conftest.l >/dev/null 2>&5
5202 then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5204 $as_echo "yes" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5208 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5211 for ac_prog in bison
5213 # Extract the first word of "$ac_prog", so it can be a program name with args.
5214 set dummy $ac_prog; ac_word=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if ${ac_cv_prog_BISON+:} false; then :
5218 $as_echo_n "(cached) " >&6
5219 else
5220 if test -n "$BISON"; then
5221 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5222 else
5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 for as_dir in $PATH
5226 IFS=$as_save_IFS
5227 test -z "$as_dir" && as_dir=.
5228 for ac_exec_ext in '' $ac_executable_extensions; do
5229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5230 ac_cv_prog_BISON="$ac_prog"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 break 2
5234 done
5235 done
5236 IFS=$as_save_IFS
5240 BISON=$ac_cv_prog_BISON
5241 if test -n "$BISON"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5243 $as_echo "$BISON" >&6; }
5244 else
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5250 test -n "$BISON" && break
5251 done
5252 test -n "$BISON" || BISON="none"
5254 if test "$BISON" = "none"
5255 then
5256 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5259 if test -n "$ac_tool_prefix"; then
5260 for ac_prog in ar gar
5262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5265 $as_echo_n "checking for $ac_word... " >&6; }
5266 if ${ac_cv_prog_AR+:} false; then :
5267 $as_echo_n "(cached) " >&6
5268 else
5269 if test -n "$AR"; then
5270 ac_cv_prog_AR="$AR" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5279 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 AR=$ac_cv_prog_AR
5290 if test -n "$AR"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5292 $as_echo "$AR" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5299 test -n "$AR" && break
5300 done
5302 if test -z "$AR"; then
5303 ac_ct_AR=$AR
5304 for ac_prog in ar gar
5306 # Extract the first word of "$ac_prog", so it can be a program name with args.
5307 set dummy $ac_prog; ac_word=$2
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5309 $as_echo_n "checking for $ac_word... " >&6; }
5310 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5311 $as_echo_n "(cached) " >&6
5312 else
5313 if test -n "$ac_ct_AR"; then
5314 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5315 else
5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 for as_dir in $PATH
5319 IFS=$as_save_IFS
5320 test -z "$as_dir" && as_dir=.
5321 for ac_exec_ext in '' $ac_executable_extensions; do
5322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5323 ac_cv_prog_ac_ct_AR="$ac_prog"
5324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5325 break 2
5327 done
5328 done
5329 IFS=$as_save_IFS
5333 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5334 if test -n "$ac_ct_AR"; then
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5336 $as_echo "$ac_ct_AR" >&6; }
5337 else
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5339 $as_echo "no" >&6; }
5343 test -n "$ac_ct_AR" && break
5344 done
5346 if test "x$ac_ct_AR" = x; then
5347 AR="ar"
5348 else
5349 case $cross_compiling:$ac_tool_warned in
5350 yes:)
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5353 ac_tool_warned=yes ;;
5354 esac
5355 AR=$ac_ct_AR
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5361 set dummy ${ac_tool_prefix}strip; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_STRIP+:} false; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 if test -n "$STRIP"; then
5368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5369 else
5370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5371 for as_dir in $PATH
5373 IFS=$as_save_IFS
5374 test -z "$as_dir" && as_dir=.
5375 for ac_exec_ext in '' $ac_executable_extensions; do
5376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 break 2
5381 done
5382 done
5383 IFS=$as_save_IFS
5387 STRIP=$ac_cv_prog_STRIP
5388 if test -n "$STRIP"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5390 $as_echo "$STRIP" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5398 if test -z "$ac_cv_prog_STRIP"; then
5399 ac_ct_STRIP=$STRIP
5400 # Extract the first word of "strip", so it can be a program name with args.
5401 set dummy strip; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 if test -n "$ac_ct_STRIP"; then
5408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5409 else
5410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411 for as_dir in $PATH
5413 IFS=$as_save_IFS
5414 test -z "$as_dir" && as_dir=.
5415 for ac_exec_ext in '' $ac_executable_extensions; do
5416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5417 ac_cv_prog_ac_ct_STRIP="strip"
5418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 break 2
5421 done
5422 done
5423 IFS=$as_save_IFS
5427 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5428 if test -n "$ac_ct_STRIP"; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5430 $as_echo "$ac_ct_STRIP" >&6; }
5431 else
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5436 if test "x$ac_ct_STRIP" = x; then
5437 STRIP="strip"
5438 else
5439 case $cross_compiling:$ac_tool_warned in
5440 yes:)
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5444 esac
5445 STRIP=$ac_ct_STRIP
5447 else
5448 STRIP="$ac_cv_prog_STRIP"
5451 ARFLAGS=rc
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_RANLIB+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$RANLIB"; then
5462 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 RANLIB=$ac_cv_prog_RANLIB
5482 if test -n "$RANLIB"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5484 $as_echo "$RANLIB" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_RANLIB"; then
5493 ac_ct_RANLIB=$RANLIB
5494 # Extract the first word of "ranlib", so it can be a program name with args.
5495 set dummy ranlib; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_RANLIB"; then
5502 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_RANLIB="ranlib"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5522 if test -n "$ac_ct_RANLIB"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5524 $as_echo "$ac_ct_RANLIB" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_RANLIB" = x; then
5531 RANLIB=":"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 RANLIB=$ac_ct_RANLIB
5541 else
5542 RANLIB="$ac_cv_prog_RANLIB"
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5546 $as_echo_n "checking whether ln -s works... " >&6; }
5547 LN_S=$as_ln_s
5548 if test "$LN_S" = "ln -s"; then
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5550 $as_echo "yes" >&6; }
5551 else
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5553 $as_echo "no, using $LN_S" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5557 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5558 if ${ac_cv_path_GREP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -z "$GREP"; then
5562 ac_path_GREP_found=false
5563 # Loop through the user's path and test for each of PROGNAME-LIST
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_prog in grep ggrep; do
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5572 as_fn_executable_p "$ac_path_GREP" || continue
5573 # Check for GNU ac_path_GREP and select it if it is found.
5574 # Check for GNU $ac_path_GREP
5575 case `"$ac_path_GREP" --version 2>&1` in
5576 *GNU*)
5577 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5579 ac_count=0
5580 $as_echo_n 0123456789 >"conftest.in"
5581 while :
5583 cat "conftest.in" "conftest.in" >"conftest.tmp"
5584 mv "conftest.tmp" "conftest.in"
5585 cp "conftest.in" "conftest.nl"
5586 $as_echo 'GREP' >> "conftest.nl"
5587 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5588 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5589 as_fn_arith $ac_count + 1 && ac_count=$as_val
5590 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5591 # Best one so far, save it but keep looking for a better one
5592 ac_cv_path_GREP="$ac_path_GREP"
5593 ac_path_GREP_max=$ac_count
5595 # 10*(2^10) chars as input seems more than enough
5596 test $ac_count -gt 10 && break
5597 done
5598 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 esac
5601 $ac_path_GREP_found && break 3
5602 done
5603 done
5604 done
5605 IFS=$as_save_IFS
5606 if test -z "$ac_cv_path_GREP"; then
5607 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5609 else
5610 ac_cv_path_GREP=$GREP
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5615 $as_echo "$ac_cv_path_GREP" >&6; }
5616 GREP="$ac_cv_path_GREP"
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5620 $as_echo_n "checking for egrep... " >&6; }
5621 if ${ac_cv_path_EGREP+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5625 then ac_cv_path_EGREP="$GREP -E"
5626 else
5627 if test -z "$EGREP"; then
5628 ac_path_EGREP_found=false
5629 # Loop through the user's path and test for each of PROGNAME-LIST
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_prog in egrep; do
5636 for ac_exec_ext in '' $ac_executable_extensions; do
5637 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5638 as_fn_executable_p "$ac_path_EGREP" || continue
5639 # Check for GNU ac_path_EGREP and select it if it is found.
5640 # Check for GNU $ac_path_EGREP
5641 case `"$ac_path_EGREP" --version 2>&1` in
5642 *GNU*)
5643 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5645 ac_count=0
5646 $as_echo_n 0123456789 >"conftest.in"
5647 while :
5649 cat "conftest.in" "conftest.in" >"conftest.tmp"
5650 mv "conftest.tmp" "conftest.in"
5651 cp "conftest.in" "conftest.nl"
5652 $as_echo 'EGREP' >> "conftest.nl"
5653 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5655 as_fn_arith $ac_count + 1 && ac_count=$as_val
5656 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5657 # Best one so far, save it but keep looking for a better one
5658 ac_cv_path_EGREP="$ac_path_EGREP"
5659 ac_path_EGREP_max=$ac_count
5661 # 10*(2^10) chars as input seems more than enough
5662 test $ac_count -gt 10 && break
5663 done
5664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5665 esac
5667 $ac_path_EGREP_found && break 3
5668 done
5669 done
5670 done
5671 IFS=$as_save_IFS
5672 if test -z "$ac_cv_path_EGREP"; then
5673 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 else
5676 ac_cv_path_EGREP=$EGREP
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5682 $as_echo "$ac_cv_path_EGREP" >&6; }
5683 EGREP="$ac_cv_path_EGREP"
5686 # Extract the first word of "ldconfig", so it can be a program name with args.
5687 set dummy ldconfig; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_path_LDCONFIG+:} false; then :
5691 $as_echo_n "(cached) " >&6
5692 else
5693 case $LDCONFIG in
5694 [\\/]* | ?:[\\/]*)
5695 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in /sbin /usr/sbin $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5713 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5715 esac
5717 LDCONFIG=$ac_cv_path_LDCONFIG
5718 if test -n "$LDCONFIG"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5720 $as_echo "$LDCONFIG" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5727 for ac_prog in msgfmt
5729 # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_MSGFMT+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$MSGFMT"; then
5737 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_MSGFMT="$ac_prog"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 MSGFMT=$ac_cv_prog_MSGFMT
5757 if test -n "$MSGFMT"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5759 $as_echo "$MSGFMT" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5766 test -n "$MSGFMT" && break
5767 done
5768 test -n "$MSGFMT" || MSGFMT="false"
5770 if ${ac_tool_prefix+:} false; then :
5771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5772 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5774 $as_echo_n "checking for $ac_word... " >&6; }
5775 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5776 $as_echo_n "(cached) " >&6
5777 else
5778 if test -n "$PKG_CONFIG"; then
5779 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5780 else
5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 for as_dir in $PATH
5784 IFS=$as_save_IFS
5785 test -z "$as_dir" && as_dir=.
5786 for ac_exec_ext in '' $ac_executable_extensions; do
5787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5788 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 break 2
5792 done
5793 done
5794 IFS=$as_save_IFS
5798 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5799 if test -n "$PKG_CONFIG"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5801 $as_echo "$PKG_CONFIG" >&6; }
5802 else
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5810 if test "x$cross_compiling" = xyes; then :
5812 else
5813 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5814 # Extract the first word of "pkg-config", so it can be a program name with args.
5815 set dummy pkg-config; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$PKG_CONFIG"; then
5822 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_PKG_CONFIG="pkg-config"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5842 if test -n "$PKG_CONFIG"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5844 $as_echo "$PKG_CONFIG" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 else
5853 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5856 if test "x$enable_maintainer_mode" != "xyes"
5857 then
5858 FONTFORGE=""
5859 RSVG=""
5860 CONVERT=""
5861 ICOTOOL=""
5862 else
5863 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5864 for ac_prog in fontforge
5866 # Extract the first word of "$ac_prog", so it can be a program name with args.
5867 set dummy $ac_prog; ac_word=$2
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869 $as_echo_n "checking for $ac_word... " >&6; }
5870 if ${ac_cv_prog_FONTFORGE+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 if test -n "$FONTFORGE"; then
5874 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883 ac_cv_prog_FONTFORGE="$ac_prog"
5884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 FONTFORGE=$ac_cv_prog_FONTFORGE
5894 if test -n "$FONTFORGE"; then
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5896 $as_echo "$FONTFORGE" >&6; }
5897 else
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 $as_echo "no" >&6; }
5903 test -n "$FONTFORGE" && break
5904 done
5905 test -n "$FONTFORGE" || FONTFORGE="false"
5907 for ac_prog in rsvg-convert rsvg
5909 # Extract the first word of "$ac_prog", so it can be a program name with args.
5910 set dummy $ac_prog; ac_word=$2
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5912 $as_echo_n "checking for $ac_word... " >&6; }
5913 if ${ac_cv_prog_RSVG+:} false; then :
5914 $as_echo_n "(cached) " >&6
5915 else
5916 if test -n "$RSVG"; then
5917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5918 else
5919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 for as_dir in $PATH
5922 IFS=$as_save_IFS
5923 test -z "$as_dir" && as_dir=.
5924 for ac_exec_ext in '' $ac_executable_extensions; do
5925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5926 ac_cv_prog_RSVG="$ac_prog"
5927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928 break 2
5930 done
5931 done
5932 IFS=$as_save_IFS
5936 RSVG=$ac_cv_prog_RSVG
5937 if test -n "$RSVG"; then
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5939 $as_echo "$RSVG" >&6; }
5940 else
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 $as_echo "no" >&6; }
5946 test -n "$RSVG" && break
5947 done
5948 test -n "$RSVG" || RSVG="false"
5950 for ac_prog in convert
5952 # Extract the first word of "$ac_prog", so it can be a program name with args.
5953 set dummy $ac_prog; ac_word=$2
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5955 $as_echo_n "checking for $ac_word... " >&6; }
5956 if ${ac_cv_prog_CONVERT+:} false; then :
5957 $as_echo_n "(cached) " >&6
5958 else
5959 if test -n "$CONVERT"; then
5960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5961 else
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5963 for as_dir in $PATH
5965 IFS=$as_save_IFS
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5969 ac_cv_prog_CONVERT="$ac_prog"
5970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5971 break 2
5973 done
5974 done
5975 IFS=$as_save_IFS
5979 CONVERT=$ac_cv_prog_CONVERT
5980 if test -n "$CONVERT"; then
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5982 $as_echo "$CONVERT" >&6; }
5983 else
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 $as_echo "no" >&6; }
5989 test -n "$CONVERT" && break
5990 done
5991 test -n "$CONVERT" || CONVERT="false"
5993 for ac_prog in icotool
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ICOTOOL+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$ICOTOOL"; then
6003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ICOTOOL="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 ICOTOOL=$ac_cv_prog_ICOTOOL
6023 if test -n "$ICOTOOL"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6025 $as_echo "$ICOTOOL" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$ICOTOOL" && break
6033 done
6034 test -n "$ICOTOOL" || ICOTOOL="false"
6036 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6037 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6039 if test "$CONVERT" = false
6040 then
6041 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6044 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6045 convert_version=`convert --version | head -n1`
6046 if test "x$convert_version" != "x"
6047 then
6048 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6049 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6050 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6051 then
6052 CONVERT=false
6055 if test "$CONVERT" = false
6056 then
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6058 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6059 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6062 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6066 if test "$ICOTOOL" = false
6067 then
6068 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6071 $as_echo_n "checking for recent enough icotool... " >&6; }
6072 icotool_version=`icotool --version | head -n1`
6073 if test "x$icotool_version" != "x"
6074 then
6075 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6076 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6077 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6078 then
6079 ICOTOOL=false
6080 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6083 if test "$ICOTOOL" = false
6084 then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6086 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6087 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6090 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6094 with_gettext=yes
6095 with_gettextpo=yes
6096 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6099 test "x$with_gettext" != xno || MSGFMT=false
6100 if test "$MSGFMT" != "false"
6101 then
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6103 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6104 cat >conftest.po <<EOF
6105 # comment
6106 msgctxt "ctxt"
6107 msgid "id"
6108 msgstr "str"
6110 if $MSGFMT -o /dev/null conftest.po 2>&5
6111 then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6113 $as_echo "yes" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6117 MSGFMT=false
6120 if test "$MSGFMT" = false; then :
6121 case "x$with_gettext" in
6122 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6123 xno) ;;
6124 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6125 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6126 esac
6127 enable_po=${enable_po:-no}
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6132 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6133 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6134 $as_echo_n "(cached) " >&6
6135 else
6136 ac_check_lib_save_LIBS=$LIBS
6137 LIBS="-li386 $LIBS"
6138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6139 /* end confdefs.h. */
6141 /* Override any GCC internal prototype to avoid an error.
6142 Use char because int might match the return type of a GCC
6143 builtin and then its argument prototype would still apply. */
6144 #ifdef __cplusplus
6145 extern "C"
6146 #endif
6147 char i386_set_ldt ();
6149 main ()
6151 return i386_set_ldt ();
6153 return 0;
6155 _ACEOF
6156 if ac_fn_c_try_link "$LINENO"; then :
6157 ac_cv_lib_i386_i386_set_ldt=yes
6158 else
6159 ac_cv_lib_i386_i386_set_ldt=no
6161 rm -f core conftest.err conftest.$ac_objext \
6162 conftest$ac_exeext conftest.$ac_ext
6163 LIBS=$ac_check_lib_save_LIBS
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6166 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6167 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6168 cat >>confdefs.h <<_ACEOF
6169 #define HAVE_LIBI386 1
6170 _ACEOF
6172 LIBS="-li386 $LIBS"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6177 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6178 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 ac_check_lib_save_LIBS=$LIBS
6182 LIBS="-lossaudio $LIBS"
6183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 /* Override any GCC internal prototype to avoid an error.
6187 Use char because int might match the return type of a GCC
6188 builtin and then its argument prototype would still apply. */
6189 #ifdef __cplusplus
6190 extern "C"
6191 #endif
6192 char _oss_ioctl ();
6194 main ()
6196 return _oss_ioctl ();
6198 return 0;
6200 _ACEOF
6201 if ac_fn_c_try_link "$LINENO"; then :
6202 ac_cv_lib_ossaudio__oss_ioctl=yes
6203 else
6204 ac_cv_lib_ossaudio__oss_ioctl=no
6206 rm -f core conftest.err conftest.$ac_objext \
6207 conftest$ac_exeext conftest.$ac_ext
6208 LIBS=$ac_check_lib_save_LIBS
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6211 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6212 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_LIBOSSAUDIO 1
6215 _ACEOF
6217 LIBS="-lossaudio $LIBS"
6222 OPENGL_LIBS=""
6226 # Check whether --enable-largefile was given.
6227 if test "${enable_largefile+set}" = set; then :
6228 enableval=$enable_largefile;
6231 if test "$enable_largefile" != no; then
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6234 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6235 if ${ac_cv_sys_largefile_CC+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 ac_cv_sys_largefile_CC=no
6239 if test "$GCC" != yes; then
6240 ac_save_CC=$CC
6241 while :; do
6242 # IRIX 6.2 and later do not support large files by default,
6243 # so use the C compiler's -n32 option if that helps.
6244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6245 /* end confdefs.h. */
6246 #include <sys/types.h>
6247 /* Check that off_t can represent 2**63 - 1 correctly.
6248 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6249 since some C++ compilers masquerading as C compilers
6250 incorrectly reject 9223372036854775807. */
6251 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6252 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6253 && LARGE_OFF_T % 2147483647 == 1)
6254 ? 1 : -1];
6256 main ()
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_compile "$LINENO"; then :
6264 break
6266 rm -f core conftest.err conftest.$ac_objext
6267 CC="$CC -n32"
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 ac_cv_sys_largefile_CC=' -n32'; break
6271 rm -f core conftest.err conftest.$ac_objext
6272 break
6273 done
6274 CC=$ac_save_CC
6275 rm -f conftest.$ac_ext
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6279 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6280 if test "$ac_cv_sys_largefile_CC" != no; then
6281 CC=$CC$ac_cv_sys_largefile_CC
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6285 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6286 if ${ac_cv_sys_file_offset_bits+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 while :; do
6290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h. */
6292 #include <sys/types.h>
6293 /* Check that off_t can represent 2**63 - 1 correctly.
6294 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6295 since some C++ compilers masquerading as C compilers
6296 incorrectly reject 9223372036854775807. */
6297 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6298 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6299 && LARGE_OFF_T % 2147483647 == 1)
6300 ? 1 : -1];
6302 main ()
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_compile "$LINENO"; then :
6310 ac_cv_sys_file_offset_bits=no; break
6312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 /* end confdefs.h. */
6315 #define _FILE_OFFSET_BITS 64
6316 #include <sys/types.h>
6317 /* Check that off_t can represent 2**63 - 1 correctly.
6318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6319 since some C++ compilers masquerading as C compilers
6320 incorrectly reject 9223372036854775807. */
6321 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6323 && LARGE_OFF_T % 2147483647 == 1)
6324 ? 1 : -1];
6326 main ()
6330 return 0;
6332 _ACEOF
6333 if ac_fn_c_try_compile "$LINENO"; then :
6334 ac_cv_sys_file_offset_bits=64; break
6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6337 ac_cv_sys_file_offset_bits=unknown
6338 break
6339 done
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6342 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6343 case $ac_cv_sys_file_offset_bits in #(
6344 no | unknown) ;;
6346 cat >>confdefs.h <<_ACEOF
6347 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6348 _ACEOF
6350 esac
6351 rm -rf conftest*
6352 if test $ac_cv_sys_file_offset_bits = unknown; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6354 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6355 if ${ac_cv_sys_large_files+:} false; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 while :; do
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 /* Check that off_t can represent 2**63 - 1 correctly.
6363 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6364 since some C++ compilers masquerading as C compilers
6365 incorrectly reject 9223372036854775807. */
6366 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6367 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6368 && LARGE_OFF_T % 2147483647 == 1)
6369 ? 1 : -1];
6371 main ()
6375 return 0;
6377 _ACEOF
6378 if ac_fn_c_try_compile "$LINENO"; then :
6379 ac_cv_sys_large_files=no; break
6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 /* end confdefs.h. */
6384 #define _LARGE_FILES 1
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6393 ? 1 : -1];
6395 main ()
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 ac_cv_sys_large_files=1; break
6405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6406 ac_cv_sys_large_files=unknown
6407 break
6408 done
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6411 $as_echo "$ac_cv_sys_large_files" >&6; }
6412 case $ac_cv_sys_large_files in #(
6413 no | unknown) ;;
6415 cat >>confdefs.h <<_ACEOF
6416 #define _LARGE_FILES $ac_cv_sys_large_files
6417 _ACEOF
6419 esac
6420 rm -rf conftest*
6427 ac_ext=c
6428 ac_cpp='$CPP $CPPFLAGS'
6429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6433 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6434 # On Suns, sometimes $CPP names a directory.
6435 if test -n "$CPP" && test -d "$CPP"; then
6436 CPP=
6438 if test -z "$CPP"; then
6439 if ${ac_cv_prog_CPP+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 # Double quotes because CPP needs to be expanded
6443 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6445 ac_preproc_ok=false
6446 for ac_c_preproc_warn_flag in '' yes
6448 # Use a header file that comes with gcc, so configuring glibc
6449 # with a fresh cross-compiler works.
6450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6451 # <limits.h> exists even on freestanding compilers.
6452 # On the NeXT, cc -E runs the code through the compiler's parser,
6453 # not just through cpp. "Syntax error" is here to catch this case.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #ifdef __STDC__
6457 # include <limits.h>
6458 #else
6459 # include <assert.h>
6460 #endif
6461 Syntax error
6462 _ACEOF
6463 if ac_fn_c_try_cpp "$LINENO"; then :
6465 else
6466 # Broken: fails on valid input.
6467 continue
6469 rm -f conftest.err conftest.i conftest.$ac_ext
6471 # OK, works on sane cases. Now check whether nonexistent headers
6472 # can be detected and how.
6473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 #include <ac_nonexistent.h>
6476 _ACEOF
6477 if ac_fn_c_try_cpp "$LINENO"; then :
6478 # Broken: success on invalid input.
6479 continue
6480 else
6481 # Passes both tests.
6482 ac_preproc_ok=:
6483 break
6485 rm -f conftest.err conftest.i conftest.$ac_ext
6487 done
6488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6489 rm -f conftest.i conftest.err conftest.$ac_ext
6490 if $ac_preproc_ok; then :
6491 break
6494 done
6495 ac_cv_prog_CPP=$CPP
6498 CPP=$ac_cv_prog_CPP
6499 else
6500 ac_cv_prog_CPP=$CPP
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6503 $as_echo "$CPP" >&6; }
6504 ac_preproc_ok=false
6505 for ac_c_preproc_warn_flag in '' yes
6507 # Use a header file that comes with gcc, so configuring glibc
6508 # with a fresh cross-compiler works.
6509 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6510 # <limits.h> exists even on freestanding compilers.
6511 # On the NeXT, cc -E runs the code through the compiler's parser,
6512 # not just through cpp. "Syntax error" is here to catch this case.
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6514 /* end confdefs.h. */
6515 #ifdef __STDC__
6516 # include <limits.h>
6517 #else
6518 # include <assert.h>
6519 #endif
6520 Syntax error
6521 _ACEOF
6522 if ac_fn_c_try_cpp "$LINENO"; then :
6524 else
6525 # Broken: fails on valid input.
6526 continue
6528 rm -f conftest.err conftest.i conftest.$ac_ext
6530 # OK, works on sane cases. Now check whether nonexistent headers
6531 # can be detected and how.
6532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6533 /* end confdefs.h. */
6534 #include <ac_nonexistent.h>
6535 _ACEOF
6536 if ac_fn_c_try_cpp "$LINENO"; then :
6537 # Broken: success on invalid input.
6538 continue
6539 else
6540 # Passes both tests.
6541 ac_preproc_ok=:
6542 break
6544 rm -f conftest.err conftest.i conftest.$ac_ext
6546 done
6547 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6548 rm -f conftest.i conftest.err conftest.$ac_ext
6549 if $ac_preproc_ok; then :
6551 else
6552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6554 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6555 See \`config.log' for more details" "$LINENO" 5; }
6558 ac_ext=c
6559 ac_cpp='$CPP $CPPFLAGS'
6560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6566 $as_echo_n "checking for ANSI C header files... " >&6; }
6567 if ${ac_cv_header_stdc+:} false; then :
6568 $as_echo_n "(cached) " >&6
6569 else
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6572 #include <stdlib.h>
6573 #include <stdarg.h>
6574 #include <string.h>
6575 #include <float.h>
6578 main ()
6582 return 0;
6584 _ACEOF
6585 if ac_fn_c_try_compile "$LINENO"; then :
6586 ac_cv_header_stdc=yes
6587 else
6588 ac_cv_header_stdc=no
6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 if test $ac_cv_header_stdc = yes; then
6593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <string.h>
6598 _ACEOF
6599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6600 $EGREP "memchr" >/dev/null 2>&1; then :
6602 else
6603 ac_cv_header_stdc=no
6605 rm -f conftest*
6609 if test $ac_cv_header_stdc = yes; then
6610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <stdlib.h>
6615 _ACEOF
6616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6617 $EGREP "free" >/dev/null 2>&1; then :
6619 else
6620 ac_cv_header_stdc=no
6622 rm -f conftest*
6626 if test $ac_cv_header_stdc = yes; then
6627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6628 if test "$cross_compiling" = yes; then :
6630 else
6631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6632 /* end confdefs.h. */
6633 #include <ctype.h>
6634 #include <stdlib.h>
6635 #if ((' ' & 0x0FF) == 0x020)
6636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6638 #else
6639 # define ISLOWER(c) \
6640 (('a' <= (c) && (c) <= 'i') \
6641 || ('j' <= (c) && (c) <= 'r') \
6642 || ('s' <= (c) && (c) <= 'z'))
6643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6644 #endif
6646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6648 main ()
6650 int i;
6651 for (i = 0; i < 256; i++)
6652 if (XOR (islower (i), ISLOWER (i))
6653 || toupper (i) != TOUPPER (i))
6654 return 2;
6655 return 0;
6657 _ACEOF
6658 if ac_fn_c_try_run "$LINENO"; then :
6660 else
6661 ac_cv_header_stdc=no
6663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6664 conftest.$ac_objext conftest.beam conftest.$ac_ext
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6670 $as_echo "$ac_cv_header_stdc" >&6; }
6671 if test $ac_cv_header_stdc = yes; then
6673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6679 inttypes.h stdint.h unistd.h
6680 do :
6681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6685 cat >>confdefs.h <<_ACEOF
6686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6687 _ACEOF
6691 done
6694 for ac_header in \
6695 AL/al.h \
6696 ApplicationServices/ApplicationServices.h \
6697 AudioToolbox/AudioConverter.h \
6698 AudioUnit/AudioUnit.h \
6699 AudioUnit/AudioComponent.h \
6700 CL/cl.h \
6701 Carbon/Carbon.h \
6702 CommonCrypto/CommonDigest.h \
6703 CoreAudio/CoreAudio.h \
6704 CoreServices/CoreServices.h \
6705 DiskArbitration/DiskArbitration.h \
6706 IOKit/IOKitLib.h \
6707 IOKit/hid/IOHIDLib.h \
6708 OpenAL/al.h \
6709 OpenCL/opencl.h \
6710 QuickTime/ImageCompression.h \
6711 Security/Security.h \
6712 alias.h \
6713 alsa/asoundlib.h \
6714 arpa/inet.h \
6715 arpa/nameser.h \
6716 asm/types.h \
6717 asm/user.h \
6718 curses.h \
6719 direct.h \
6720 dirent.h \
6721 dlfcn.h \
6722 elf.h \
6723 float.h \
6724 fnmatch.h \
6725 getopt.h \
6726 gettext-po.h \
6727 grp.h \
6728 gsm.h \
6729 gsm/gsm.h \
6730 ieeefp.h \
6731 inet/mib2.h \
6732 io.h \
6733 kstat.h \
6734 lber.h \
6735 ldap.h \
6736 libproc.h \
6737 link.h \
6738 linux/cdrom.h \
6739 linux/compiler.h \
6740 linux/filter.h \
6741 linux/hdreg.h \
6742 linux/input.h \
6743 linux/ioctl.h \
6744 linux/joystick.h \
6745 linux/major.h \
6746 linux/param.h \
6747 linux/serial.h \
6748 linux/types.h \
6749 linux/ucdrom.h \
6750 lwp.h \
6751 mach-o/nlist.h \
6752 mach-o/loader.h \
6753 mach/mach.h \
6754 mach/machine.h \
6755 machine/cpu.h \
6756 machine/limits.h \
6757 machine/sysarch.h \
6758 mntent.h \
6759 ncurses.h \
6760 netdb.h \
6761 netinet/in.h \
6762 netinet/in_systm.h \
6763 netinet/tcp.h \
6764 netinet/tcp_fsm.h \
6765 pcap/pcap.h \
6766 poll.h \
6767 port.h \
6768 process.h \
6769 pthread.h \
6770 pwd.h \
6771 sched.h \
6772 scsi/scsi.h \
6773 scsi/scsi_ioctl.h \
6774 scsi/sg.h \
6775 stdbool.h \
6776 stdint.h \
6777 stropts.h \
6778 sys/asoundlib.h \
6779 sys/attr.h \
6780 sys/cdio.h \
6781 sys/elf32.h \
6782 sys/epoll.h \
6783 sys/event.h \
6784 sys/exec_elf.h \
6785 sys/filio.h \
6786 sys/inotify.h \
6787 sys/ioctl.h \
6788 sys/ipc.h \
6789 sys/limits.h \
6790 sys/link.h \
6791 sys/mman.h \
6792 sys/modem.h \
6793 sys/msg.h \
6794 sys/mtio.h \
6795 sys/param.h \
6796 sys/poll.h \
6797 sys/prctl.h \
6798 sys/protosw.h \
6799 sys/ptrace.h \
6800 sys/queue.h \
6801 sys/resource.h \
6802 sys/scsiio.h \
6803 sys/shm.h \
6804 sys/signal.h \
6805 sys/socket.h \
6806 sys/socketvar.h \
6807 sys/sockio.h \
6808 sys/statvfs.h \
6809 sys/strtio.h \
6810 sys/syscall.h \
6811 sys/tihdr.h \
6812 sys/time.h \
6813 sys/timeout.h \
6814 sys/times.h \
6815 sys/uio.h \
6816 sys/user.h \
6817 sys/utsname.h \
6818 sys/vm86.h \
6819 sys/vnode.h \
6820 sys/wait.h \
6821 syscall.h \
6822 termios.h \
6823 unistd.h \
6824 utime.h \
6825 valgrind/memcheck.h \
6826 valgrind/valgrind.h \
6827 zlib.h
6829 do :
6830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6831 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6832 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6833 cat >>confdefs.h <<_ACEOF
6834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6835 _ACEOF
6839 done
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6842 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6843 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6844 $as_echo_n "(cached) " >&6
6845 else
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <sys/types.h>
6850 main ()
6852 return makedev(0, 0);
6854 return 0;
6856 _ACEOF
6857 if ac_fn_c_try_link "$LINENO"; then :
6858 ac_cv_header_sys_types_h_makedev=yes
6859 else
6860 ac_cv_header_sys_types_h_makedev=no
6862 rm -f core conftest.err conftest.$ac_objext \
6863 conftest$ac_exeext conftest.$ac_ext
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6867 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6869 if test $ac_cv_header_sys_types_h_makedev = no; then
6870 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6871 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6873 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6879 if test $ac_cv_header_sys_mkdev_h = no; then
6880 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6881 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6883 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6892 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6893 if ${ac_cv_header_stat_broken+:} false; then :
6894 $as_echo_n "(cached) " >&6
6895 else
6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897 /* end confdefs.h. */
6898 #include <sys/types.h>
6899 #include <sys/stat.h>
6901 #if defined S_ISBLK && defined S_IFDIR
6902 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6903 #endif
6905 #if defined S_ISBLK && defined S_IFCHR
6906 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6907 #endif
6909 #if defined S_ISLNK && defined S_IFREG
6910 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6911 #endif
6913 #if defined S_ISSOCK && defined S_IFREG
6914 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6915 #endif
6917 _ACEOF
6918 if ac_fn_c_try_compile "$LINENO"; then :
6919 ac_cv_header_stat_broken=no
6920 else
6921 ac_cv_header_stat_broken=yes
6923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6926 $as_echo "$ac_cv_header_stat_broken" >&6; }
6927 if test $ac_cv_header_stat_broken = yes; then
6929 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6935 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6936 do :
6937 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6939 #ifdef HAVE_SYS_PARAM_H
6940 # include <sys/param.h>
6941 #endif
6943 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6944 cat >>confdefs.h <<_ACEOF
6945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6946 _ACEOF
6950 done
6953 for ac_header in \
6954 netinet/ip.h \
6955 net/if.h \
6956 net/if_arp.h \
6957 net/if_dl.h \
6958 net/if_types.h \
6959 net/route.h \
6960 netinet/if_ether.h \
6961 netinet/if_inarp.h \
6962 netinet/in_pcb.h \
6963 netinet/ip_icmp.h \
6964 netinet/ip_var.h \
6965 netinet/udp.h \
6966 netipx/ipx.h \
6967 sys/un.h \
6969 do :
6970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6972 #ifdef HAVE_SYS_SOCKET_H
6973 # include <sys/socket.h>
6974 #endif
6975 #ifdef HAVE_SYS_SOCKETVAR_H
6976 # include <sys/socketvar.h>
6977 #endif
6978 #ifdef HAVE_NET_ROUTE_H
6979 # include <net/route.h>
6980 #endif
6981 #ifdef HAVE_NETINET_IN_H
6982 # include <netinet/in.h>
6983 #endif
6984 #ifdef HAVE_NETINET_IN_SYSTM_H
6985 # include <netinet/in_systm.h>
6986 #endif
6987 #ifdef HAVE_NET_IF_H
6988 # include <net/if.h>
6989 #endif
6990 #ifdef HAVE_NETINET_IP_H
6991 # include <netinet/ip.h>
6992 #endif
6994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6995 cat >>confdefs.h <<_ACEOF
6996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6997 _ACEOF
7001 done
7004 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7005 do :
7006 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7007 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7008 #ifdef HAVE_ALIAS_H
7009 # include <alias.h>
7010 #endif
7011 #ifdef HAVE_SYS_SOCKET_H
7012 # include <sys/socket.h>
7013 #endif
7014 #ifdef HAVE_SYS_SOCKETVAR_H
7015 # include <sys/socketvar.h>
7016 #endif
7017 #ifdef HAVE_SYS_TIMEOUT_H
7018 # include <sys/timeout.h>
7019 #endif
7020 #ifdef HAVE_NETINET_IN_H
7021 # include <netinet/in.h>
7022 #endif
7023 #ifdef HAVE_NETINET_IN_SYSTM_H
7024 # include <netinet/in_systm.h>
7025 #endif
7026 #ifdef HAVE_NETINET_IP_H
7027 # include <netinet/ip.h>
7028 #endif
7029 #ifdef HAVE_NETINET_IP_VAR_H
7030 # include <netinet/ip_var.h>
7031 #endif
7032 #ifdef HAVE_NETINET_IP_ICMP_H
7033 # include <netinet/ip_icmp.h>
7034 #endif
7035 #ifdef HAVE_NETINET_UDP_H
7036 # include <netinet/udp.h>
7037 #endif
7038 #ifdef HAVE_NETINET_TCP_H
7039 # include <netinet/tcp.h>
7040 #endif
7041 #ifdef HAVE_NETINET_TCP_TIMER_H
7042 #include <netinet/tcp_timer.h>
7043 #endif
7045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7048 _ACEOF
7052 done
7055 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7056 do :
7057 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7058 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7059 #ifdef HAVE_ASM_TYPES_H
7060 # include <asm/types.h>
7061 #endif
7062 #ifdef HAVE_SYS_SOCKET_H
7063 # include <sys/socket.h>
7064 #endif
7065 #ifdef HAVE_LINUX_TYPES_H
7066 # include <linux/types.h>
7067 #endif
7069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7070 cat >>confdefs.h <<_ACEOF
7071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 _ACEOF
7076 done
7079 for ac_header in mach-o/dyld_images.h
7080 do :
7081 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7082 # include <stdbool.h>
7083 #endif
7084 #ifdef HAVE_STDINT_H
7085 # include <stdint.h>
7086 #endif
7088 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7089 cat >>confdefs.h <<_ACEOF
7090 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7091 _ACEOF
7095 done
7098 for ac_header in resolv.h
7099 do :
7100 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7101 #ifdef HAVE_SYS_SOCKET_H
7102 # include <sys/socket.h>
7103 #endif
7104 #ifdef HAVE_NETINET_IN_H
7105 # include <netinet/in.h>
7106 #endif
7107 #ifdef HAVE_ARPA_NAMESER_H
7108 # include <arpa/nameser.h>
7109 #endif
7111 if test "x$ac_cv_header_resolv_h" = xyes; then :
7112 cat >>confdefs.h <<_ACEOF
7113 #define HAVE_RESOLV_H 1
7114 _ACEOF
7118 done
7121 for ac_header in ifaddrs.h
7122 do :
7123 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7125 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7126 cat >>confdefs.h <<_ACEOF
7127 #define HAVE_IFADDRS_H 1
7128 _ACEOF
7132 done
7135 for ac_header in sys/ucontext.h
7136 do :
7137 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7139 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7140 cat >>confdefs.h <<_ACEOF
7141 #define HAVE_SYS_UCONTEXT_H 1
7142 _ACEOF
7146 done
7149 for ac_header in sys/thr.h
7150 do :
7151 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7152 #ifdef HAVE_SYS_UCONTEXT_H
7153 #include <sys/ucontext.h>
7154 #endif
7156 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_SYS_THR_H 1
7159 _ACEOF
7163 done
7166 for ac_header in pthread_np.h
7167 do :
7168 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7169 #include <pthread.h>
7170 #endif
7172 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7173 cat >>confdefs.h <<_ACEOF
7174 #define HAVE_PTHREAD_NP_H 1
7175 _ACEOF
7179 done
7182 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7183 do :
7184 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7185 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7186 #include <sys/time.h>
7187 #endif
7188 #include <sys/types.h>
7189 #ifdef HAVE_ASM_TYPES_H
7190 #include <asm/types.h>
7191 #endif
7193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7196 _ACEOF
7200 done
7203 for ac_header in libprocstat.h
7204 do :
7205 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7206 #include <sys/param.h>
7207 #endif
7208 #ifdef HAVE_SYS_QUEUE_H
7209 #include <sys/queue.h>
7210 #endif
7211 #ifdef HAVE_SYS_SOCKET_H
7212 #include <sys/socket.h>
7213 #endif
7215 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7216 cat >>confdefs.h <<_ACEOF
7217 #define HAVE_LIBPROCSTAT_H 1
7218 _ACEOF
7222 done
7226 dlldir="\${libdir}/wine"
7228 DLLFLAGS="-D_REENTRANT"
7230 LDRPATH_INSTALL=""
7232 LDRPATH_LOCAL=""
7234 LDEXECFLAGS=""
7236 LIBEXT="so"
7237 DLLEXT=".so"
7238 IMPLIBEXT="def"
7239 # Extract the first word of "ldd", so it can be a program name with args.
7240 set dummy ldd; ac_word=$2
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7242 $as_echo_n "checking for $ac_word... " >&6; }
7243 if ${ac_cv_path_LDD+:} false; then :
7244 $as_echo_n "(cached) " >&6
7245 else
7246 case $LDD in
7247 [\\/]* | ?:[\\/]*)
7248 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 as_dummy="/sbin:/usr/sbin:$PATH"
7253 for as_dir in $as_dummy
7255 IFS=$as_save_IFS
7256 test -z "$as_dir" && as_dir=.
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7259 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 break 2
7263 done
7264 done
7265 IFS=$as_save_IFS
7267 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7269 esac
7271 LDD=$ac_cv_path_LDD
7272 if test -n "$LDD"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7274 $as_echo "$LDD" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}otool; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_OTOOL+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$OTOOL"; then
7290 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 OTOOL=$ac_cv_prog_OTOOL
7310 if test -n "$OTOOL"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7312 $as_echo "$OTOOL" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_OTOOL"; then
7321 ac_ct_OTOOL=$OTOOL
7322 # Extract the first word of "otool", so it can be a program name with args.
7323 set dummy otool; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_OTOOL"; then
7330 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_OTOOL="otool"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7350 if test -n "$ac_ct_OTOOL"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7352 $as_echo "$ac_ct_OTOOL" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_OTOOL" = x; then
7359 OTOOL="otool"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 OTOOL=$ac_ct_OTOOL
7369 else
7370 OTOOL="$ac_cv_prog_OTOOL"
7373 if test -n "$ac_tool_prefix"; then
7374 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7375 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_prog_READELF+:} false; then :
7379 $as_echo_n "(cached) " >&6
7380 else
7381 if test -n "$READELF"; then
7382 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7383 else
7384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 for as_dir in $PATH
7387 IFS=$as_save_IFS
7388 test -z "$as_dir" && as_dir=.
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7393 break 2
7395 done
7396 done
7397 IFS=$as_save_IFS
7401 READELF=$ac_cv_prog_READELF
7402 if test -n "$READELF"; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7404 $as_echo "$READELF" >&6; }
7405 else
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 $as_echo "no" >&6; }
7412 if test -z "$ac_cv_prog_READELF"; then
7413 ac_ct_READELF=$READELF
7414 # Extract the first word of "readelf", so it can be a program name with args.
7415 set dummy readelf; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 if test -n "$ac_ct_READELF"; then
7422 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 test -z "$as_dir" && as_dir=.
7429 for ac_exec_ext in '' $ac_executable_extensions; do
7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7431 ac_cv_prog_ac_ct_READELF="readelf"
7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7433 break 2
7435 done
7436 done
7437 IFS=$as_save_IFS
7441 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7442 if test -n "$ac_ct_READELF"; then
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7444 $as_echo "$ac_ct_READELF" >&6; }
7445 else
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7447 $as_echo "no" >&6; }
7450 if test "x$ac_ct_READELF" = x; then
7451 READELF="true"
7452 else
7453 case $cross_compiling:$ac_tool_warned in
7454 yes:)
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7457 ac_tool_warned=yes ;;
7458 esac
7459 READELF=$ac_ct_READELF
7461 else
7462 READELF="$ac_cv_prog_READELF"
7465 wine_rules_file=conf$$rules.make
7466 rm -f $wine_rules_file
7467 SUBDIRS=""
7469 DISABLED_SUBDIRS=""
7471 CONFIGURE_TARGETS=""
7473 ALL_TEST_RESOURCES=""
7476 wine_fn_append_file ()
7478 as_fn_append $1 " \\$as_nl $2"
7481 wine_fn_append_rule ()
7483 $as_echo "$1" >>$wine_rules_file
7486 wine_fn_has_flag ()
7488 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7491 wine_fn_all_rules ()
7493 wine_fn_append_file SUBDIRS $ac_dir
7494 wine_fn_append_rule \
7495 "all: $ac_dir
7496 .PHONY: $ac_dir
7497 $ac_dir: dummy
7498 @cd $ac_dir && \$(MAKE)"
7501 wine_fn_install_rules ()
7503 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7505 wine_fn_append_rule \
7506 ".PHONY: $ac_dir/install $ac_dir/uninstall
7507 $ac_dir/install:: $ac_dir
7508 @cd $ac_dir && \$(MAKE) install
7509 $ac_dir/uninstall::
7510 @cd $ac_dir && \$(MAKE) uninstall
7511 install:: $ac_dir/install
7512 __uninstall__: $ac_dir/uninstall"
7514 if wine_fn_has_flag install-lib
7515 then
7516 wine_fn_append_rule \
7517 ".PHONY: $ac_dir/install-lib
7518 $ac_dir/install-lib:: $ac_dir
7519 @cd $ac_dir && \$(MAKE) install-lib
7520 install-lib:: $ac_dir/install-lib"
7523 if wine_fn_has_flag install-dev
7524 then
7525 wine_fn_append_rule \
7526 ".PHONY: $ac_dir/install-dev
7527 $ac_dir/install-dev:: $ac_dir
7528 @cd $ac_dir && \$(MAKE) install-dev
7529 install-dev:: $ac_dir/install-dev"
7533 wine_fn_clean_rules ()
7535 ac_clean=$@
7537 if wine_fn_has_flag clean
7538 then
7539 wine_fn_append_rule \
7540 "$ac_dir/clean: dummy
7541 @cd $ac_dir && \$(MAKE) clean"
7542 else
7543 wine_fn_append_rule \
7544 "$ac_dir/clean: dummy
7545 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7547 wine_fn_append_rule \
7548 "__clean__: $ac_dir/clean
7549 .PHONY: $ac_dir/clean"
7552 wine_fn_disabled_rules ()
7554 ac_clean=$@
7556 wine_fn_append_file SUBDIRS $ac_dir
7557 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7558 wine_fn_append_rule \
7559 "__clean__: $ac_dir/clean
7560 .PHONY: $ac_dir/clean
7561 $ac_dir/clean: dummy
7562 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7565 wine_fn_config_makefile ()
7567 ac_dir=$1
7568 ac_enable=$2
7569 ac_flags=$3
7571 case $ac_dir in
7572 fonts|server) test -z "$with_wine64" || return ;;
7573 esac
7574 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7575 wine_fn_disabled_rules; return
7577 wine_fn_all_rules
7578 wine_fn_install_rules
7579 wine_fn_clean_rules
7582 wine_fn_config_lib ()
7584 ac_name=$1
7585 ac_flags=$2
7586 ac_dir=dlls/$ac_name
7587 ac_deps="include"
7589 if test "x$enable_tools" = xno; then :
7591 else
7592 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7594 wine_fn_all_rules
7595 wine_fn_clean_rules
7597 wine_fn_append_rule \
7598 ".PHONY: $ac_dir/install $ac_dir/uninstall
7599 $ac_dir/install:: $ac_dir
7600 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7601 $ac_dir/uninstall::
7602 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7603 install install-dev:: $ac_dir/install
7604 __uninstall__: $ac_dir/uninstall
7605 __builddeps__: $ac_dir
7606 $ac_dir: $ac_deps"
7609 wine_fn_config_dll ()
7611 ac_name=$1
7612 ac_dir=dlls/$ac_name
7613 ac_enable=$2
7614 ac_flags=$3
7615 ac_implib=${4:-$ac_name}
7616 ac_file=$ac_dir/lib$ac_implib
7617 ac_dll=$ac_name
7618 ac_deps="include"
7619 ac_implibflags=""
7621 if test "x$enable_tools" = xno; then :
7623 else
7624 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7626 case $ac_name in
7627 *16) ac_implibflags=" -m16" ;;
7628 *.*) ;;
7629 *) ac_dll=$ac_dll.dll ;;
7630 esac
7632 ac_clean=
7633 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7634 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7636 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7637 if test "$ac_enable" != enable_win16
7638 then
7639 wine_fn_clean_rules $ac_clean
7640 wine_fn_append_file SUBDIRS $ac_dir
7641 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7642 else
7643 wine_fn_disabled_rules $ac_clean
7644 return
7646 else
7647 wine_fn_all_rules
7648 wine_fn_clean_rules $ac_clean
7649 wine_fn_append_rule \
7650 "$ac_dir: __builddeps__
7651 manpages htmlpages sgmlpages xmlpages::
7652 @cd $ac_dir && \$(MAKE) \$@
7653 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7654 install install-lib:: $ac_dir/install-lib
7655 __uninstall__: $ac_dir/uninstall"
7656 if test -n "$DLLEXT"
7657 then
7658 wine_fn_append_rule \
7659 "$ac_dir/install-lib:: $ac_dir
7660 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7661 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7662 $ac_dir/uninstall::
7663 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7664 else
7665 wine_fn_append_rule \
7666 "$ac_dir/install-lib:: $ac_dir
7667 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7668 $ac_dir/uninstall::
7669 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7673 if wine_fn_has_flag staticimplib
7674 then
7675 wine_fn_append_rule \
7676 "__builddeps__: $ac_file.a
7677 $ac_file.a $ac_file.cross.a: $ac_deps
7678 $ac_file.a: dummy
7679 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7680 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7681 $ac_dir/install-dev:: $ac_file.a
7682 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7683 $ac_dir/uninstall::
7684 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7685 install install-dev:: $ac_dir/install-dev
7686 __uninstall__: $ac_dir/uninstall"
7688 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7689 then
7690 wine_fn_append_rule \
7691 "__builddeps__: $ac_file.cross.a
7692 $ac_file.cross.a: dummy
7693 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7696 elif wine_fn_has_flag implib
7697 then
7698 wine_fn_append_rule \
7699 "__builddeps__: $ac_file.$IMPLIBEXT
7700 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7701 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7702 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7703 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7704 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7705 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7706 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7707 $ac_dir/uninstall::
7708 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7709 install install-dev:: $ac_dir/install-dev
7710 __uninstall__: $ac_dir/uninstall"
7711 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7712 then
7713 wine_fn_append_rule \
7714 "__builddeps__: $ac_file.cross.a
7715 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7716 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7721 wine_fn_config_program ()
7723 ac_name=$1
7724 ac_dir=programs/$ac_name
7725 ac_enable=$2
7726 ac_flags=$3
7727 ac_program=$ac_name
7729 case $ac_name in
7730 *.*) ;;
7731 *) ac_program=$ac_program.exe ;;
7732 esac
7734 ac_clean=
7735 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7736 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7738 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7739 wine_fn_disabled_rules $ac_clean; return
7742 wine_fn_all_rules
7743 wine_fn_clean_rules $ac_clean
7744 wine_fn_append_rule "$ac_dir: __builddeps__"
7746 wine_fn_has_flag install || return
7747 wine_fn_append_rule \
7748 ".PHONY: $ac_dir/install $ac_dir/uninstall
7749 install install-lib:: $ac_dir/install
7750 __uninstall__: $ac_dir/uninstall"
7752 if test -n "$DLLEXT"
7753 then
7754 wine_fn_append_rule \
7755 "$ac_dir/install:: $ac_dir
7756 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7757 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7758 $ac_dir/uninstall::
7759 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7761 if test -z "$with_wine64" && wine_fn_has_flag installbin
7762 then
7763 wine_fn_append_rule \
7764 "$ac_dir/install:: __tooldeps__
7765 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7766 $ac_dir/uninstall::
7767 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7769 else
7770 wine_fn_append_rule \
7771 "$ac_dir/install:: $ac_dir
7772 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7773 $ac_dir/uninstall::
7774 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7777 if test -z "$with_wine64" && wine_fn_has_flag manpage
7778 then
7779 wine_fn_append_rule \
7780 "$ac_dir/install:: $ac_dir
7781 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7787 wine_fn_config_test ()
7789 ac_dir=$1
7790 ac_name=$2
7791 ac_flags=$3
7793 ac_clean=
7794 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7795 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7797 if test "x$enable_tests" = xno; then :
7798 wine_fn_disabled_rules $ac_clean; return
7801 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7802 wine_fn_all_rules
7803 wine_fn_clean_rules $ac_clean
7805 wine_fn_append_rule \
7806 "$ac_dir: __builddeps__
7807 programs/winetest: $ac_dir
7808 check test: $ac_dir/test
7809 .PHONY: $ac_dir/test
7810 $ac_dir/test: dummy
7811 @cd $ac_dir && \$(MAKE) test
7812 testclean::
7813 \$(RM) $ac_dir/*.ok"
7815 if test -n "$CROSSTARGET"
7816 then
7817 wine_fn_append_rule \
7818 "crosstest: $ac_dir/crosstest
7819 .PHONY: $ac_dir/crosstest
7820 $ac_dir/crosstest: __builddeps__ dummy
7821 @cd $ac_dir && \$(MAKE) crosstest"
7825 wine_fn_config_tool ()
7827 ac_dir=$1
7828 ac_flags=$2
7829 if test "x$enable_tools" = xno; then :
7830 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7833 wine_fn_all_rules
7834 wine_fn_install_rules
7835 wine_fn_clean_rules
7837 wine_fn_append_rule "__tooldeps__: $ac_dir"
7838 wine_fn_append_rule "$ac_dir: libs/port"
7839 case $ac_dir in
7840 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7841 esac
7844 wine_fn_config_symlink ()
7846 ac_linkdir=
7847 if test "x$1" = "x-d"
7848 then
7849 ac_linkdir=$2
7850 shift; shift
7852 ac_links=$@
7853 wine_fn_append_rule \
7854 "$ac_links:
7855 @./config.status \$@"
7856 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7857 test -n "$ac_linkdir" || return
7858 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7861 wine_binary="wine"
7862 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7863 WINELOADER_PROGRAMS="$wine_binary"
7865 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7867 case $host_os in
7868 cygwin*|mingw32*)
7869 if test -n "$ac_tool_prefix"; then
7870 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7871 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7873 $as_echo_n "checking for $ac_word... " >&6; }
7874 if ${ac_cv_prog_DLLTOOL+:} false; then :
7875 $as_echo_n "(cached) " >&6
7876 else
7877 if test -n "$DLLTOOL"; then
7878 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7879 else
7880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7881 for as_dir in $PATH
7883 IFS=$as_save_IFS
7884 test -z "$as_dir" && as_dir=.
7885 for ac_exec_ext in '' $ac_executable_extensions; do
7886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7887 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7889 break 2
7891 done
7892 done
7893 IFS=$as_save_IFS
7897 DLLTOOL=$ac_cv_prog_DLLTOOL
7898 if test -n "$DLLTOOL"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7900 $as_echo "$DLLTOOL" >&6; }
7901 else
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7903 $as_echo "no" >&6; }
7908 if test -z "$ac_cv_prog_DLLTOOL"; then
7909 ac_ct_DLLTOOL=$DLLTOOL
7910 # Extract the first word of "dlltool", so it can be a program name with args.
7911 set dummy dlltool; ac_word=$2
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7913 $as_echo_n "checking for $ac_word... " >&6; }
7914 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 if test -n "$ac_ct_DLLTOOL"; then
7918 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7919 else
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 for as_dir in $PATH
7923 IFS=$as_save_IFS
7924 test -z "$as_dir" && as_dir=.
7925 for ac_exec_ext in '' $ac_executable_extensions; do
7926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 break 2
7931 done
7932 done
7933 IFS=$as_save_IFS
7937 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7938 if test -n "$ac_ct_DLLTOOL"; then
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7940 $as_echo "$ac_ct_DLLTOOL" >&6; }
7941 else
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7943 $as_echo "no" >&6; }
7946 if test "x$ac_ct_DLLTOOL" = x; then
7947 DLLTOOL="false"
7948 else
7949 case $cross_compiling:$ac_tool_warned in
7950 yes:)
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7953 ac_tool_warned=yes ;;
7954 esac
7955 DLLTOOL=$ac_ct_DLLTOOL
7957 else
7958 DLLTOOL="$ac_cv_prog_DLLTOOL"
7961 LIBEXT="dll"
7962 DLLEXT=""
7963 IMPLIBEXT="a"
7964 enable_iphlpapi=${enable_iphlpapi:-no}
7965 enable_kernel32=${enable_kernel32:-no}
7966 enable_msvcrt=${enable_msvcrt:-no}
7967 enable_ntdll=${enable_ntdll:-no}
7968 enable_ws2_32=${enable_ws2_32:-no}
7969 enable_loader=${enable_loader:-no}
7970 enable_server=${enable_server:-no}
7971 with_x=${with_x:-no}
7972 with_pthread=${with_pthread:-no}
7974 crtlibs=""
7975 case $host_os in
7976 mingw32*)
7977 crtlibs="-lmsvcrt"
7978 SOCKET_LIBS="-lws2_32"
7980 esac
7982 LIBWINE_SHAREDLIB="libwine.dll"
7984 LIBWINE_IMPORTLIB="libwine.a"
7986 LIBWINE_INSTALL_LIB="libwine.dll"
7988 LIBWINE_INSTALL_DEV="libwine.a"
7990 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7992 LIBWINE_DEPENDS="wine.def"
7996 darwin*|macosx*)
7997 for ac_header in libunwind.h
7998 do :
7999 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8001 cat >>confdefs.h <<_ACEOF
8002 #define HAVE_LIBUNWIND_H 1
8003 _ACEOF
8007 done
8009 LIBEXT="dylib"
8010 DLLFLAGS="$DLLFLAGS -fPIC"
8011 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8012 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8013 COREFOUNDATION_LIBS="-framework CoreFoundation"
8015 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8017 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8019 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8021 CORESERVICES_LIBS="-framework CoreServices"
8023 APPKIT_LIBS="-framework AppKit"
8025 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8027 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8028 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8029 $as_echo_n "(cached) " >&6
8030 else
8031 ac_wine_try_cflags_saved=$CFLAGS
8032 CFLAGS="$CFLAGS -Wl,-no_pie"
8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034 /* end confdefs.h. */
8035 int main(int argc, char **argv) { return 0; }
8036 _ACEOF
8037 if ac_fn_c_try_link "$LINENO"; then :
8038 ac_cv_cflags__Wl__no_pie=yes
8039 else
8040 ac_cv_cflags__Wl__no_pie=no
8042 rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
8044 CFLAGS=$ac_wine_try_cflags_saved
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8047 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8048 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8049 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8051 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8052 then
8053 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8056 if test "$ac_cv_header_Security_Security_h" = "yes"
8057 then
8058 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8060 ac_save_LIBS="$LIBS"
8061 LIBS="$LIBS $SECURITY_LIBS"
8062 for ac_func in SSLCopyPeerCertificates
8063 do :
8064 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8065 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8066 cat >>confdefs.h <<_ACEOF
8067 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8068 _ACEOF
8071 done
8073 LIBS="$ac_save_LIBS"
8074 with_gnutls=${with_gnutls:-no}
8076 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8077 then
8078 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8079 then
8080 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8082 else
8083 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8086 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8087 ac_save_LIBS="$LIBS"
8088 LIBS="$LIBS $COREAUDIO_LIBS"
8089 for ac_func in AUGraphAddNode
8090 do :
8091 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8092 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8093 cat >>confdefs.h <<_ACEOF
8094 #define HAVE_AUGRAPHADDNODE 1
8095 _ACEOF
8098 done
8100 LIBS="$ac_save_LIBS"
8102 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8103 then
8104 OPENAL_LIBS="-framework OpenAL"
8107 cat >>confdefs.h <<_ACEOF
8108 #define HAVE_OPENAL 1
8109 _ACEOF
8111 ac_cv_lib_openal=yes
8113 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8114 then
8115 OPENCL_LIBS="-framework OpenCL"
8117 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8119 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8120 then
8121 ac_save_LIBS="$LIBS"
8122 LIBS="$LIBS $IOKIT_LIBS"
8123 for ac_func in IOHIDManagerCreate
8124 do :
8125 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8126 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8127 cat >>confdefs.h <<_ACEOF
8128 #define HAVE_IOHIDMANAGERCREATE 1
8129 _ACEOF
8132 done
8134 LIBS="$ac_save_LIBS"
8136 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8137 then
8138 ac_save_LIBS="$LIBS"
8139 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8141 $as_echo_n "checking for the QuickTime framework... " >&6; }
8142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8144 #include <QuickTime/ImageCompression.h>
8146 main ()
8148 CodecManagerVersion(NULL);
8150 return 0;
8152 _ACEOF
8153 if ac_fn_c_try_link "$LINENO"; then :
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8155 $as_echo "yes" >&6; }
8156 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8158 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8159 else
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161 $as_echo "no" >&6; }
8162 ac_cv_header_QuickTime_ImageCompression_h=no
8164 rm -f core conftest.err conftest.$ac_objext \
8165 conftest$ac_exeext conftest.$ac_ext
8166 LIBS="$ac_save_LIBS"
8168 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8169 then
8170 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8172 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8173 then
8174 CARBON_LIBS="-framework Carbon"
8178 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8179 then
8180 ac_save_LIBS="$LIBS"
8181 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8182 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8183 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8184 enable_winemac_drv=${enable_winemac_drv:-yes}
8187 LIBS="$ac_save_LIBS"
8190 if test "x$enable_win16" = "xyes"
8191 then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8193 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8194 if test "$cross_compiling" = yes; then :
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8196 $as_echo "cross-compiling, assuming yes" >&6; }
8197 else
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 asm(".text\n"
8201 "bad:\tnop;nop\n"
8202 "good:\tnop;nop\n\t"
8203 ".globl _testfunc\n"
8204 "_testfunc:\tcallw good");
8205 extern void testfunc();
8207 main ()
8209 unsigned short *p = (unsigned short *)testfunc;
8210 return p[0] != 0xe866 || p[1] != 0xfffa
8212 return 0;
8214 _ACEOF
8215 if ac_fn_c_try_run "$LINENO"; then :
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8217 $as_echo "yes" >&6; }
8218 else
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8221 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
8223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8224 conftest.$ac_objext conftest.beam conftest.$ac_ext
8229 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8231 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8233 LIBWINE_INSTALL_DEV="libwine.dylib"
8235 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8237 WINELOADER_DEPENDS="wine_info.plist"
8241 linux-android*)
8242 DLLFLAGS="$DLLFLAGS -fPIC"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8244 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8245 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 ac_wine_try_cflags_saved=$CFLAGS
8249 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8252 int main(int argc, char **argv) { return 0; }
8253 _ACEOF
8254 if ac_fn_c_try_link "$LINENO"; then :
8255 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8256 else
8257 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8259 rm -f core conftest.err conftest.$ac_objext \
8260 conftest$ac_exeext conftest.$ac_ext
8261 CFLAGS=$ac_wine_try_cflags_saved
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8264 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8265 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8266 LDEXECFLAGS="-Wl,--export-dynamic"
8268 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8270 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8271 if eval \${$as_ac_var+:} false; then :
8272 $as_echo_n "(cached) " >&6
8273 else
8274 ac_wine_try_cflags_saved=$CFLAGS
8275 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8277 /* end confdefs.h. */
8278 int main(int argc, char **argv) { return 0; }
8279 _ACEOF
8280 if ac_fn_c_try_link "$LINENO"; then :
8281 eval "$as_ac_var=yes"
8282 else
8283 eval "$as_ac_var=no"
8285 rm -f core conftest.err conftest.$ac_objext \
8286 conftest$ac_exeext conftest.$ac_ext
8287 CFLAGS=$ac_wine_try_cflags_saved
8289 eval ac_res=\$$as_ac_var
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8291 $as_echo "$ac_res" >&6; }
8292 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8293 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8294 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8295 else
8296 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8298 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8299 if eval \${$as_ac_var+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 eval "$as_ac_var=yes"
8310 else
8311 eval "$as_ac_var=no"
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 eval ac_res=\$$as_ac_var
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8319 $as_echo "$ac_res" >&6; }
8320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8321 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8322 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8327 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8328 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8329 $as_echo_n "(cached) " >&6
8330 else
8331 ac_wine_try_cflags_saved=$CFLAGS
8332 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 int main(int argc, char **argv) { return 0; }
8336 _ACEOF
8337 if ac_fn_c_try_link "$LINENO"; then :
8338 ac_cv_cflags__Wl___enable_new_dtags=yes
8339 else
8340 ac_cv_cflags__Wl___enable_new_dtags=no
8342 rm -f core conftest.err conftest.$ac_objext \
8343 conftest$ac_exeext conftest.$ac_ext
8344 CFLAGS=$ac_wine_try_cflags_saved
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8347 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8348 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8349 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8352 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8353 if ${ac_cv_cflags__Wl__pie+:} false; then :
8354 $as_echo_n "(cached) " >&6
8355 else
8356 ac_wine_try_cflags_saved=$CFLAGS
8357 CFLAGS="$CFLAGS -Wl,-pie"
8358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8360 int main(int argc, char **argv) { return 0; }
8361 _ACEOF
8362 if ac_fn_c_try_link "$LINENO"; then :
8363 ac_cv_cflags__Wl__pie=yes
8364 else
8365 ac_cv_cflags__Wl__pie=no
8367 rm -f core conftest.err conftest.$ac_objext \
8368 conftest$ac_exeext conftest.$ac_ext
8369 CFLAGS=$ac_wine_try_cflags_saved
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8372 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8373 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8374 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8377 LIBWINE_SHAREDLIB="libwine.so"
8379 LIBWINE_INSTALL_LIB="libwine.so"
8381 LIBWINE_LDFLAGS="-shared"
8386 DLLFLAGS="$DLLFLAGS -fPIC"
8387 LDEXECFLAGS=""
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8389 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8390 if ${ac_cv_c_dll_gnuelf+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 ac_wine_try_cflags_saved=$CFLAGS
8394 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8396 /* end confdefs.h. */
8397 void myfunc() {}
8398 _ACEOF
8399 if ac_fn_c_try_link "$LINENO"; then :
8400 ac_cv_c_dll_gnuelf="yes"
8401 else
8402 ac_cv_c_dll_gnuelf="no"
8404 rm -f core conftest.err conftest.$ac_objext \
8405 conftest$ac_exeext conftest.$ac_ext
8406 CFLAGS=$ac_wine_try_cflags_saved
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8409 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8410 if test "$ac_cv_c_dll_gnuelf" = "yes"
8411 then
8412 LIBWINE_LDFLAGS="-shared"
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8414 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8415 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8416 $as_echo_n "(cached) " >&6
8417 else
8418 ac_wine_try_cflags_saved=$CFLAGS
8419 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421 /* end confdefs.h. */
8422 int main(int argc, char **argv) { return 0; }
8423 _ACEOF
8424 if ac_fn_c_try_link "$LINENO"; then :
8425 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8426 else
8427 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8429 rm -f core conftest.err conftest.$ac_objext \
8430 conftest$ac_exeext conftest.$ac_ext
8431 CFLAGS=$ac_wine_try_cflags_saved
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8434 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8435 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8436 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8437 else
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8439 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8440 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8441 $as_echo_n "(cached) " >&6
8442 else
8443 ac_wine_try_cflags_saved=$CFLAGS
8444 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8447 int main(int argc, char **argv) { return 0; }
8448 _ACEOF
8449 if ac_fn_c_try_link "$LINENO"; then :
8450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8451 else
8452 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8454 rm -f core conftest.err conftest.$ac_objext \
8455 conftest$ac_exeext conftest.$ac_ext
8456 CFLAGS=$ac_wine_try_cflags_saved
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8459 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8460 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8461 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8465 echo '{ global: *; };' >conftest.map
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8489 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8491 rm -f conftest.map
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8495 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8496 $as_echo_n "(cached) " >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8502 int main(int argc, char **argv) { return 0; }
8503 _ACEOF
8504 if ac_fn_c_try_link "$LINENO"; then :
8505 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8506 else
8507 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8509 rm -f core conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 CFLAGS=$ac_wine_try_cflags_saved
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8514 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8515 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8516 LDEXECFLAGS="-Wl,--export-dynamic"
8519 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8521 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8522 if eval \${$as_ac_var+:} false; then :
8523 $as_echo_n "(cached) " >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8529 int main(int argc, char **argv) { return 0; }
8530 _ACEOF
8531 if ac_fn_c_try_link "$LINENO"; then :
8532 eval "$as_ac_var=yes"
8533 else
8534 eval "$as_ac_var=no"
8536 rm -f core conftest.err conftest.$ac_objext \
8537 conftest$ac_exeext conftest.$ac_ext
8538 CFLAGS=$ac_wine_try_cflags_saved
8540 eval ac_res=\$$as_ac_var
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8542 $as_echo "$ac_res" >&6; }
8543 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8544 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8545 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8546 else
8547 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8550 if eval \${$as_ac_var+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 eval "$as_ac_var=yes"
8561 else
8562 eval "$as_ac_var=no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 eval ac_res=\$$as_ac_var
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8570 $as_echo "$ac_res" >&6; }
8571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8572 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8573 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8578 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8579 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 ac_cv_cflags__Wl___enable_new_dtags=yes
8590 else
8591 ac_cv_cflags__Wl___enable_new_dtags=no
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8598 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8599 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8600 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8603 case $host_cpu in
8604 *i[3456789]86* | x86_64)
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8607 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8618 else
8619 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8626 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8627 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8628 case $host_os in
8629 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8630 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8631 esac
8632 else
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8635 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8646 else
8647 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8654 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8655 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8656 case $host_os in
8657 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8658 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8659 esac
8661 # Extract the first word of "prelink", so it can be a program name with args.
8662 set dummy prelink; ac_word=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if ${ac_cv_path_PRELINK+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $PRELINK in
8669 [\\/]* | ?:[\\/]*)
8670 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8674 for as_dir in /sbin /usr/sbin $PATH
8676 IFS=$as_save_IFS
8677 test -z "$as_dir" && as_dir=.
8678 for ac_exec_ext in '' $ac_executable_extensions; do
8679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8680 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8682 break 2
8684 done
8685 done
8686 IFS=$as_save_IFS
8688 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8690 esac
8692 PRELINK=$ac_cv_path_PRELINK
8693 if test -n "$PRELINK"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8695 $as_echo "$PRELINK" >&6; }
8696 else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8702 if test "x$PRELINK" = xfalse
8703 then
8704 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8708 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8709 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8710 $as_echo_n "(cached) " >&6
8711 else
8712 ac_wine_try_cflags_saved=$CFLAGS
8713 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8715 /* end confdefs.h. */
8716 int main(int argc, char **argv) { return 0; }
8717 _ACEOF
8718 if ac_fn_c_try_link "$LINENO"; then :
8719 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8720 else
8721 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 CFLAGS=$ac_wine_try_cflags_saved
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8728 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8729 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8730 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8733 esac
8735 else
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8737 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8738 if ${ac_cv_c_dll_unixware+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 void myfunc() {}
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_c_dll_unixware="yes"
8749 else
8750 ac_cv_c_dll_unixware="no"
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8757 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8758 if test "$ac_cv_c_dll_unixware" = "yes"
8759 then
8760 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8763 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8765 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8767 LIBWINE_INSTALL_DEV="libwine.so"
8769 LIBWINE_DEPENDS="wine.map"
8772 esac
8774 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8775 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8776 enable_winemac_drv=${enable_winemac_drv:-no}
8777 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8779 CROSSTARGET=""
8781 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8782 then
8783 case "$host_cpu" in
8784 arm*)
8785 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8786 i[3456789]86*)
8787 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
8788 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8789 mingw32-gcc" ;;
8790 x86_64)
8791 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
8792 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8794 ac_prefix_list="" ;;
8795 esac
8796 for ac_prog in $ac_prefix_list
8798 # Extract the first word of "$ac_prog", so it can be a program name with args.
8799 set dummy $ac_prog; ac_word=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8801 $as_echo_n "checking for $ac_word... " >&6; }
8802 if ${ac_cv_prog_CROSSCC+:} false; then :
8803 $as_echo_n "(cached) " >&6
8804 else
8805 if test -n "$CROSSCC"; then
8806 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8807 else
8808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 for as_dir in $PATH
8811 IFS=$as_save_IFS
8812 test -z "$as_dir" && as_dir=.
8813 for ac_exec_ext in '' $ac_executable_extensions; do
8814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8815 ac_cv_prog_CROSSCC="$ac_prog"
8816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8817 break 2
8819 done
8820 done
8821 IFS=$as_save_IFS
8825 CROSSCC=$ac_cv_prog_CROSSCC
8826 if test -n "$CROSSCC"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8828 $as_echo "$CROSSCC" >&6; }
8829 else
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8835 test -n "$CROSSCC" && break
8836 done
8837 test -n "$CROSSCC" || CROSSCC="false"
8839 if test "$CROSSCC" != "false"
8840 then
8841 ac_save_CC="$CC"
8842 CC="$CROSSCC"
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8844 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8849 main ()
8853 return 0;
8855 _ACEOF
8856 if ac_fn_c_try_compile "$LINENO"; then :
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8858 $as_echo "yes" >&6; }
8859 set x $CROSSCC
8860 shift
8861 while test $# -ge 1
8863 case "$1" in
8864 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8865 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8866 esac
8867 shift
8868 done
8869 else
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 $as_echo "no" >&6; }
8873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8874 CC="$ac_save_CC"
8879 if test "$ac_cv_header_pthread_h" = "yes"
8880 then
8881 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8882 if test "x$ac_cv_func_pthread_create" = xyes; then :
8884 else
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8886 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8887 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 ac_check_lib_save_LIBS=$LIBS
8891 LIBS="-lpthread $LIBS"
8892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8893 /* end confdefs.h. */
8895 /* Override any GCC internal prototype to avoid an error.
8896 Use char because int might match the return type of a GCC
8897 builtin and then its argument prototype would still apply. */
8898 #ifdef __cplusplus
8899 extern "C"
8900 #endif
8901 char pthread_create ();
8903 main ()
8905 return pthread_create ();
8907 return 0;
8909 _ACEOF
8910 if ac_fn_c_try_link "$LINENO"; then :
8911 ac_cv_lib_pthread_pthread_create=yes
8912 else
8913 ac_cv_lib_pthread_pthread_create=no
8915 rm -f core conftest.err conftest.$ac_objext \
8916 conftest$ac_exeext conftest.$ac_ext
8917 LIBS=$ac_check_lib_save_LIBS
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8920 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8921 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8922 PTHREAD_LIBS="-lpthread"
8929 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8930 case "x$with_pthread" in
8931 xno) ;;
8932 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8933 Wine cannot support threads without libpthread.
8934 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8935 esac
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8941 $as_echo_n "checking for X... " >&6; }
8944 # Check whether --with-x was given.
8945 if test "${with_x+set}" = set; then :
8946 withval=$with_x;
8949 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8950 if test "x$with_x" = xno; then
8951 # The user explicitly disabled X.
8952 have_x=disabled
8953 else
8954 case $x_includes,$x_libraries in #(
8955 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8956 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8957 $as_echo_n "(cached) " >&6
8958 else
8959 # One or both of the vars are not set, and there is no cached value.
8960 ac_x_includes=no ac_x_libraries=no
8961 rm -f -r conftest.dir
8962 if mkdir conftest.dir; then
8963 cd conftest.dir
8964 cat >Imakefile <<'_ACEOF'
8965 incroot:
8966 @echo incroot='${INCROOT}'
8967 usrlibdir:
8968 @echo usrlibdir='${USRLIBDIR}'
8969 libdir:
8970 @echo libdir='${LIBDIR}'
8971 _ACEOF
8972 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8973 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8974 for ac_var in incroot usrlibdir libdir; do
8975 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8976 done
8977 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8978 for ac_extension in a so sl dylib la dll; do
8979 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8980 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8981 ac_im_usrlibdir=$ac_im_libdir; break
8983 done
8984 # Screen out bogus values from the imake configuration. They are
8985 # bogus both because they are the default anyway, and because
8986 # using them would break gcc on systems where it needs fixed includes.
8987 case $ac_im_incroot in
8988 /usr/include) ac_x_includes= ;;
8989 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8990 esac
8991 case $ac_im_usrlibdir in
8992 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8993 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8994 esac
8996 cd ..
8997 rm -f -r conftest.dir
9000 # Standard set of common directories for X headers.
9001 # Check X11 before X11Rn because it is often a symlink to the current release.
9002 ac_x_header_dirs='
9003 /usr/X11/include
9004 /usr/X11R7/include
9005 /usr/X11R6/include
9006 /usr/X11R5/include
9007 /usr/X11R4/include
9009 /usr/include/X11
9010 /usr/include/X11R7
9011 /usr/include/X11R6
9012 /usr/include/X11R5
9013 /usr/include/X11R4
9015 /usr/local/X11/include
9016 /usr/local/X11R7/include
9017 /usr/local/X11R6/include
9018 /usr/local/X11R5/include
9019 /usr/local/X11R4/include
9021 /usr/local/include/X11
9022 /usr/local/include/X11R7
9023 /usr/local/include/X11R6
9024 /usr/local/include/X11R5
9025 /usr/local/include/X11R4
9027 /usr/X386/include
9028 /usr/x386/include
9029 /usr/XFree86/include/X11
9031 /usr/include
9032 /usr/local/include
9033 /usr/unsupported/include
9034 /usr/athena/include
9035 /usr/local/x11r5/include
9036 /usr/lpp/Xamples/include
9038 /usr/openwin/include
9039 /usr/openwin/share/include'
9041 if test "$ac_x_includes" = no; then
9042 # Guess where to find include files, by looking for Xlib.h.
9043 # First, try using that file with no special directory specified.
9044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9045 /* end confdefs.h. */
9046 #include <X11/Xlib.h>
9047 _ACEOF
9048 if ac_fn_c_try_cpp "$LINENO"; then :
9049 # We can compile using X headers with no special include directory.
9050 ac_x_includes=
9051 else
9052 for ac_dir in $ac_x_header_dirs; do
9053 if test -r "$ac_dir/X11/Xlib.h"; then
9054 ac_x_includes=$ac_dir
9055 break
9057 done
9059 rm -f conftest.err conftest.i conftest.$ac_ext
9060 fi # $ac_x_includes = no
9062 if test "$ac_x_libraries" = no; then
9063 # Check for the libraries.
9064 # See if we find them without any special options.
9065 # Don't add to $LIBS permanently.
9066 ac_save_LIBS=$LIBS
9067 LIBS="-lX11 $LIBS"
9068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9069 /* end confdefs.h. */
9070 #include <X11/Xlib.h>
9072 main ()
9074 XrmInitialize ()
9076 return 0;
9078 _ACEOF
9079 if ac_fn_c_try_link "$LINENO"; then :
9080 LIBS=$ac_save_LIBS
9081 # We can link X programs with no special library path.
9082 ac_x_libraries=
9083 else
9084 LIBS=$ac_save_LIBS
9085 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9087 # Don't even attempt the hair of trying to link an X program!
9088 for ac_extension in a so sl dylib la dll; do
9089 if test -r "$ac_dir/libX11.$ac_extension"; then
9090 ac_x_libraries=$ac_dir
9091 break 2
9093 done
9094 done
9096 rm -f core conftest.err conftest.$ac_objext \
9097 conftest$ac_exeext conftest.$ac_ext
9098 fi # $ac_x_libraries = no
9100 case $ac_x_includes,$ac_x_libraries in #(
9101 no,* | *,no | *\'*)
9102 # Didn't find X, or a directory has "'" in its name.
9103 ac_cv_have_x="have_x=no";; #(
9105 # Record where we found X for the cache.
9106 ac_cv_have_x="have_x=yes\
9107 ac_x_includes='$ac_x_includes'\
9108 ac_x_libraries='$ac_x_libraries'"
9109 esac
9111 ;; #(
9112 *) have_x=yes;;
9113 esac
9114 eval "$ac_cv_have_x"
9115 fi # $with_x != no
9117 if test "$have_x" != yes; then
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9119 $as_echo "$have_x" >&6; }
9120 no_x=yes
9121 else
9122 # If each of the values was on the command line, it overrides each guess.
9123 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9124 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9125 # Update the cache value to reflect the command line values.
9126 ac_cv_have_x="have_x=yes\
9127 ac_x_includes='$x_includes'\
9128 ac_x_libraries='$x_libraries'"
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9130 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9133 if test "$no_x" = yes; then
9134 # Not all programs may use this symbol, but it does not hurt to define it.
9136 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9138 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9139 else
9140 if test -n "$x_includes"; then
9141 X_CFLAGS="$X_CFLAGS -I$x_includes"
9144 # It would also be nice to do this for all -L options, not just this one.
9145 if test -n "$x_libraries"; then
9146 X_LIBS="$X_LIBS -L$x_libraries"
9147 # For Solaris; some versions of Sun CC require a space after -R and
9148 # others require no space. Words are not sufficient . . . .
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9150 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9151 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9152 ac_xsave_c_werror_flag=$ac_c_werror_flag
9153 ac_c_werror_flag=yes
9154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9158 main ()
9162 return 0;
9164 _ACEOF
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9167 $as_echo "no" >&6; }
9168 X_LIBS="$X_LIBS -R$x_libraries"
9169 else
9170 LIBS="$ac_xsave_LIBS -R $x_libraries"
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9175 main ()
9179 return 0;
9181 _ACEOF
9182 if ac_fn_c_try_link "$LINENO"; then :
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9184 $as_echo "yes" >&6; }
9185 X_LIBS="$X_LIBS -R $x_libraries"
9186 else
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9188 $as_echo "neither works" >&6; }
9190 rm -f core conftest.err conftest.$ac_objext \
9191 conftest$ac_exeext conftest.$ac_ext
9193 rm -f core conftest.err conftest.$ac_objext \
9194 conftest$ac_exeext conftest.$ac_ext
9195 ac_c_werror_flag=$ac_xsave_c_werror_flag
9196 LIBS=$ac_xsave_LIBS
9199 # Check for system-dependent libraries X programs must link with.
9200 # Do this before checking for the system-independent R6 libraries
9201 # (-lICE), since we may need -lsocket or whatever for X linking.
9203 if test "$ISC" = yes; then
9204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9205 else
9206 # Martyn Johnson says this is needed for Ultrix, if the X
9207 # libraries were built with DECnet support. And Karl Berry says
9208 # the Alpha needs dnet_stub (dnet does not exist).
9209 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char XOpenDisplay ();
9221 main ()
9223 return XOpenDisplay ();
9225 return 0;
9227 _ACEOF
9228 if ac_fn_c_try_link "$LINENO"; then :
9230 else
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9232 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9233 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9234 $as_echo_n "(cached) " >&6
9235 else
9236 ac_check_lib_save_LIBS=$LIBS
9237 LIBS="-ldnet $LIBS"
9238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9239 /* end confdefs.h. */
9241 /* Override any GCC internal prototype to avoid an error.
9242 Use char because int might match the return type of a GCC
9243 builtin and then its argument prototype would still apply. */
9244 #ifdef __cplusplus
9245 extern "C"
9246 #endif
9247 char dnet_ntoa ();
9249 main ()
9251 return dnet_ntoa ();
9253 return 0;
9255 _ACEOF
9256 if ac_fn_c_try_link "$LINENO"; then :
9257 ac_cv_lib_dnet_dnet_ntoa=yes
9258 else
9259 ac_cv_lib_dnet_dnet_ntoa=no
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_lib_save_LIBS
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9266 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9267 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9268 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9271 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9273 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9274 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9275 $as_echo_n "(cached) " >&6
9276 else
9277 ac_check_lib_save_LIBS=$LIBS
9278 LIBS="-ldnet_stub $LIBS"
9279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9285 #ifdef __cplusplus
9286 extern "C"
9287 #endif
9288 char dnet_ntoa ();
9290 main ()
9292 return dnet_ntoa ();
9294 return 0;
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9299 else
9300 ac_cv_lib_dnet_stub_dnet_ntoa=no
9302 rm -f core conftest.err conftest.$ac_objext \
9303 conftest$ac_exeext conftest.$ac_ext
9304 LIBS=$ac_check_lib_save_LIBS
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9307 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9308 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9309 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9314 rm -f core conftest.err conftest.$ac_objext \
9315 conftest$ac_exeext conftest.$ac_ext
9316 LIBS="$ac_xsave_LIBS"
9318 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9319 # to get the SysV transport functions.
9320 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9321 # needs -lnsl.
9322 # The nsl library prevents programs from opening the X display
9323 # on Irix 5.2, according to T.E. Dickey.
9324 # The functions gethostbyname, getservbyname, and inet_addr are
9325 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9326 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9327 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9331 if test $ac_cv_func_gethostbyname = no; then
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9333 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9334 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9335 $as_echo_n "(cached) " >&6
9336 else
9337 ac_check_lib_save_LIBS=$LIBS
9338 LIBS="-lnsl $LIBS"
9339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9340 /* end confdefs.h. */
9342 /* Override any GCC internal prototype to avoid an error.
9343 Use char because int might match the return type of a GCC
9344 builtin and then its argument prototype would still apply. */
9345 #ifdef __cplusplus
9346 extern "C"
9347 #endif
9348 char gethostbyname ();
9350 main ()
9352 return gethostbyname ();
9354 return 0;
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_lib_nsl_gethostbyname=yes
9359 else
9360 ac_cv_lib_nsl_gethostbyname=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 LIBS=$ac_check_lib_save_LIBS
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9367 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9368 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9372 if test $ac_cv_lib_nsl_gethostbyname = no; then
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9374 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9375 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_check_lib_save_LIBS=$LIBS
9379 LIBS="-lbsd $LIBS"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9383 /* Override any GCC internal prototype to avoid an error.
9384 Use char because int might match the return type of a GCC
9385 builtin and then its argument prototype would still apply. */
9386 #ifdef __cplusplus
9387 extern "C"
9388 #endif
9389 char gethostbyname ();
9391 main ()
9393 return gethostbyname ();
9395 return 0;
9397 _ACEOF
9398 if ac_fn_c_try_link "$LINENO"; then :
9399 ac_cv_lib_bsd_gethostbyname=yes
9400 else
9401 ac_cv_lib_bsd_gethostbyname=no
9403 rm -f core conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9408 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9409 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9416 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9417 # socket/setsockopt and other routines are undefined under SCO ODT
9418 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9419 # on later versions), says Simon Leinen: it contains gethostby*
9420 # variants that don't use the name server (or something). -lsocket
9421 # must be given before -lnsl if both are needed. We assume that
9422 # if connect needs -lnsl, so does gethostbyname.
9423 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9424 if test "x$ac_cv_func_connect" = xyes; then :
9428 if test $ac_cv_func_connect = no; then
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9430 $as_echo_n "checking for connect in -lsocket... " >&6; }
9431 if ${ac_cv_lib_socket_connect+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_check_lib_save_LIBS=$LIBS
9435 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9442 #ifdef __cplusplus
9443 extern "C"
9444 #endif
9445 char connect ();
9447 main ()
9449 return connect ();
9451 return 0;
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455 ac_cv_lib_socket_connect=yes
9456 else
9457 ac_cv_lib_socket_connect=no
9459 rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_lib_save_LIBS
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9464 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9465 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9466 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9471 # Guillermo Gomez says -lposix is necessary on A/UX.
9472 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9473 if test "x$ac_cv_func_remove" = xyes; then :
9477 if test $ac_cv_func_remove = no; then
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9479 $as_echo_n "checking for remove in -lposix... " >&6; }
9480 if ${ac_cv_lib_posix_remove+:} false; then :
9481 $as_echo_n "(cached) " >&6
9482 else
9483 ac_check_lib_save_LIBS=$LIBS
9484 LIBS="-lposix $LIBS"
9485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9491 #ifdef __cplusplus
9492 extern "C"
9493 #endif
9494 char remove ();
9496 main ()
9498 return remove ();
9500 return 0;
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_lib_posix_remove=yes
9505 else
9506 ac_cv_lib_posix_remove=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 LIBS=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9513 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9514 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9515 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9520 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9521 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9522 if test "x$ac_cv_func_shmat" = xyes; then :
9526 if test $ac_cv_func_shmat = no; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9528 $as_echo_n "checking for shmat in -lipc... " >&6; }
9529 if ${ac_cv_lib_ipc_shmat+:} false; then :
9530 $as_echo_n "(cached) " >&6
9531 else
9532 ac_check_lib_save_LIBS=$LIBS
9533 LIBS="-lipc $LIBS"
9534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9535 /* end confdefs.h. */
9537 /* Override any GCC internal prototype to avoid an error.
9538 Use char because int might match the return type of a GCC
9539 builtin and then its argument prototype would still apply. */
9540 #ifdef __cplusplus
9541 extern "C"
9542 #endif
9543 char shmat ();
9545 main ()
9547 return shmat ();
9549 return 0;
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_lib_ipc_shmat=yes
9554 else
9555 ac_cv_lib_ipc_shmat=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 LIBS=$ac_check_lib_save_LIBS
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9562 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9563 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9570 # Check for libraries that X11R6 Xt/Xaw programs need.
9571 ac_save_LDFLAGS=$LDFLAGS
9572 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9573 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9574 # check for ICE first), but we must link in the order -lSM -lICE or
9575 # we get undefined symbols. So assume we have SM if we have ICE.
9576 # These have to be linked with before -lX11, unlike the other
9577 # libraries we check for below, so use a different variable.
9578 # John Interrante, Karl Berry
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9580 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9581 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9582 $as_echo_n "(cached) " >&6
9583 else
9584 ac_check_lib_save_LIBS=$LIBS
9585 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9587 /* end confdefs.h. */
9589 /* Override any GCC internal prototype to avoid an error.
9590 Use char because int might match the return type of a GCC
9591 builtin and then its argument prototype would still apply. */
9592 #ifdef __cplusplus
9593 extern "C"
9594 #endif
9595 char IceConnectionNumber ();
9597 main ()
9599 return IceConnectionNumber ();
9601 return 0;
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605 ac_cv_lib_ICE_IceConnectionNumber=yes
9606 else
9607 ac_cv_lib_ICE_IceConnectionNumber=no
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9614 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9615 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9616 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9619 LDFLAGS=$ac_save_LDFLAGS
9624 if test "$have_x" = "yes"
9625 then
9626 ac_save_CPPFLAGS="$CPPFLAGS"
9627 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9630 $as_echo_n "checking for -lX11... " >&6; }
9631 if ${ac_cv_lib_soname_X11+:} false; then :
9632 $as_echo_n "(cached) " >&6
9633 else
9634 ac_check_soname_save_LIBS=$LIBS
9635 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9637 /* end confdefs.h. */
9639 /* Override any GCC internal prototype to avoid an error.
9640 Use char because int might match the return type of a GCC
9641 builtin and then its argument prototype would still apply. */
9642 #ifdef __cplusplus
9643 extern "C"
9644 #endif
9645 char XCreateWindow ();
9647 main ()
9649 return XCreateWindow ();
9651 return 0;
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655 case "$LIBEXT" in
9656 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9657 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'` ;;
9658 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9659 if ${ac_cv_lib_soname_X11:+false} :; then :
9660 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9661 fi ;;
9662 esac
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_soname_save_LIBS
9668 if ${ac_cv_lib_soname_X11:+false} :; then :
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9670 $as_echo "not found" >&6; }
9672 else
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9674 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9676 cat >>confdefs.h <<_ACEOF
9677 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9678 _ACEOF
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9683 $as_echo_n "checking for -lXext... " >&6; }
9684 if ${ac_cv_lib_soname_Xext+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_check_soname_save_LIBS=$LIBS
9688 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char XextCreateExtension ();
9700 main ()
9702 return XextCreateExtension ();
9704 return 0;
9706 _ACEOF
9707 if ac_fn_c_try_link "$LINENO"; then :
9708 case "$LIBEXT" in
9709 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9710 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'` ;;
9711 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9712 if ${ac_cv_lib_soname_Xext:+false} :; then :
9713 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9714 fi ;;
9715 esac
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_soname_save_LIBS
9721 if ${ac_cv_lib_soname_Xext:+false} :; then :
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9723 $as_echo "not found" >&6; }
9725 else
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9727 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9729 cat >>confdefs.h <<_ACEOF
9730 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9731 _ACEOF
9733 X_LIBS="$X_LIBS -lXext"
9735 X_LIBS="$X_LIBS -lX11"
9737 for ac_header in X11/Xlib.h \
9738 X11/XKBlib.h \
9739 X11/Xutil.h \
9740 X11/Xcursor/Xcursor.h \
9741 X11/extensions/shape.h \
9742 X11/extensions/XInput.h \
9743 X11/extensions/XInput2.h \
9744 X11/extensions/XShm.h \
9745 X11/extensions/Xcomposite.h \
9746 X11/extensions/Xinerama.h \
9747 X11/extensions/Xrandr.h \
9748 X11/extensions/Xrender.h \
9749 X11/extensions/xf86vmode.h \
9750 X11/extensions/xf86vmproto.h
9751 do :
9752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9753 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9754 # include <X11/Xlib.h>
9755 #endif
9756 #ifdef HAVE_X11_XUTIL_H
9757 # include <X11/Xutil.h>
9758 #endif
9760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9761 cat >>confdefs.h <<_ACEOF
9762 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9763 _ACEOF
9767 done
9770 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9771 then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9773 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9774 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 ac_check_lib_save_LIBS=$LIBS
9778 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9782 /* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
9785 #ifdef __cplusplus
9786 extern "C"
9787 #endif
9788 char XkbQueryExtension ();
9790 main ()
9792 return XkbQueryExtension ();
9794 return 0;
9796 _ACEOF
9797 if ac_fn_c_try_link "$LINENO"; then :
9798 ac_cv_lib_X11_XkbQueryExtension=yes
9799 else
9800 ac_cv_lib_X11_XkbQueryExtension=no
9802 rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
9804 LIBS=$ac_check_lib_save_LIBS
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9807 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9808 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9810 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9816 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9817 then
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9819 $as_echo_n "checking for -lXcursor... " >&6; }
9820 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 ac_check_soname_save_LIBS=$LIBS
9824 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826 /* end confdefs.h. */
9828 /* Override any GCC internal prototype to avoid an error.
9829 Use char because int might match the return type of a GCC
9830 builtin and then its argument prototype would still apply. */
9831 #ifdef __cplusplus
9832 extern "C"
9833 #endif
9834 char XcursorImageLoadCursor ();
9836 main ()
9838 return XcursorImageLoadCursor ();
9840 return 0;
9842 _ACEOF
9843 if ac_fn_c_try_link "$LINENO"; then :
9844 case "$LIBEXT" in
9845 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9846 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'` ;;
9847 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9848 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9849 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9850 fi ;;
9851 esac
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 LIBS=$ac_check_soname_save_LIBS
9857 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9859 $as_echo "not found" >&6; }
9861 else
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9863 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9865 cat >>confdefs.h <<_ACEOF
9866 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9867 _ACEOF
9872 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9873 case "x$with_xcursor" in
9874 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9875 xno) ;;
9876 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9877 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9878 esac
9882 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9883 then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9885 $as_echo_n "checking for -lXi... " >&6; }
9886 if ${ac_cv_lib_soname_Xi+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_soname_save_LIBS=$LIBS
9890 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XOpenDevice ();
9902 main ()
9904 return XOpenDevice ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 case "$LIBEXT" in
9911 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9912 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'` ;;
9913 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9914 if ${ac_cv_lib_soname_Xi:+false} :; then :
9915 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9916 fi ;;
9917 esac
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 LIBS=$ac_check_soname_save_LIBS
9923 if ${ac_cv_lib_soname_Xi:+false} :; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9925 $as_echo "not found" >&6; }
9927 else
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9929 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9931 cat >>confdefs.h <<_ACEOF
9932 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9933 _ACEOF
9938 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9939 case "x$with_xinput" in
9940 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9941 xno) ;;
9942 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9943 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9944 esac
9948 if test "x$ac_cv_lib_soname_Xi" != x
9949 then
9950 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9951 case "x$with_xinput2" in
9952 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9953 xno) ;;
9954 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9955 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9956 esac
9961 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9962 then
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9964 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9965 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9966 $as_echo_n "(cached) " >&6
9967 else
9968 ac_check_lib_save_LIBS=$LIBS
9969 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9973 /* Override any GCC internal prototype to avoid an error.
9974 Use char because int might match the return type of a GCC
9975 builtin and then its argument prototype would still apply. */
9976 #ifdef __cplusplus
9977 extern "C"
9978 #endif
9979 char XShmQueryExtension ();
9981 main ()
9983 return XShmQueryExtension ();
9985 return 0;
9987 _ACEOF
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 ac_cv_lib_Xext_XShmQueryExtension=yes
9990 else
9991 ac_cv_lib_Xext_XShmQueryExtension=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9995 LIBS=$ac_check_lib_save_LIBS
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9998 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9999 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10001 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10006 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10007 case "x$with_xshm" in
10008 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10009 xno) ;;
10010 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10011 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10012 esac
10016 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10017 then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10019 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10020 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10021 $as_echo_n "(cached) " >&6
10022 else
10023 ac_check_lib_save_LIBS=$LIBS
10024 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10026 /* end confdefs.h. */
10028 /* Override any GCC internal prototype to avoid an error.
10029 Use char because int might match the return type of a GCC
10030 builtin and then its argument prototype would still apply. */
10031 #ifdef __cplusplus
10032 extern "C"
10033 #endif
10034 char XShapeQueryExtension ();
10036 main ()
10038 return XShapeQueryExtension ();
10040 return 0;
10042 _ACEOF
10043 if ac_fn_c_try_link "$LINENO"; then :
10044 ac_cv_lib_Xext_XShapeQueryExtension=yes
10045 else
10046 ac_cv_lib_Xext_XShapeQueryExtension=no
10048 rm -f core conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10050 LIBS=$ac_check_lib_save_LIBS
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10053 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10054 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10056 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10061 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10062 case "x$with_xshape" in
10063 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10064 xno) ;;
10065 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10066 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10067 esac
10071 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10072 then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10074 $as_echo_n "checking for -lXxf86vm... " >&6; }
10075 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10076 $as_echo_n "(cached) " >&6
10077 else
10078 ac_check_soname_save_LIBS=$LIBS
10079 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10081 /* end confdefs.h. */
10083 /* Override any GCC internal prototype to avoid an error.
10084 Use char because int might match the return type of a GCC
10085 builtin and then its argument prototype would still apply. */
10086 #ifdef __cplusplus
10087 extern "C"
10088 #endif
10089 char XF86VidModeQueryExtension ();
10091 main ()
10093 return XF86VidModeQueryExtension ();
10095 return 0;
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 case "$LIBEXT" in
10100 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10101 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'` ;;
10102 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10103 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10104 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10105 fi ;;
10106 esac
10108 rm -f core conftest.err conftest.$ac_objext \
10109 conftest$ac_exeext conftest.$ac_ext
10110 LIBS=$ac_check_soname_save_LIBS
10112 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10114 $as_echo "not found" >&6; }
10116 else
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10118 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10120 cat >>confdefs.h <<_ACEOF
10121 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10122 _ACEOF
10127 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10128 case "x$with_xxf86vm" in
10129 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10130 xno) ;;
10131 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10132 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10133 esac
10137 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10138 then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10140 $as_echo_n "checking for -lXrender... " >&6; }
10141 if ${ac_cv_lib_soname_Xrender+:} false; then :
10142 $as_echo_n "(cached) " >&6
10143 else
10144 ac_check_soname_save_LIBS=$LIBS
10145 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10149 /* Override any GCC internal prototype to avoid an error.
10150 Use char because int might match the return type of a GCC
10151 builtin and then its argument prototype would still apply. */
10152 #ifdef __cplusplus
10153 extern "C"
10154 #endif
10155 char XRenderQueryExtension ();
10157 main ()
10159 return XRenderQueryExtension ();
10161 return 0;
10163 _ACEOF
10164 if ac_fn_c_try_link "$LINENO"; then :
10165 case "$LIBEXT" in
10166 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10167 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'` ;;
10168 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10169 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10170 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10171 fi ;;
10172 esac
10174 rm -f core conftest.err conftest.$ac_objext \
10175 conftest$ac_exeext conftest.$ac_ext
10176 LIBS=$ac_check_soname_save_LIBS
10178 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10180 $as_echo "not found" >&6; }
10182 else
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10184 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10186 cat >>confdefs.h <<_ACEOF
10187 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10188 _ACEOF
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10191 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10192 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10193 $as_echo_n "(cached) " >&6
10194 else
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10198 /* end confdefs.h. */
10200 /* Override any GCC internal prototype to avoid an error.
10201 Use char because int might match the return type of a GCC
10202 builtin and then its argument prototype would still apply. */
10203 #ifdef __cplusplus
10204 extern "C"
10205 #endif
10206 char XRenderSetPictureTransform ();
10208 main ()
10210 return XRenderSetPictureTransform ();
10212 return 0;
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10217 else
10218 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10220 rm -f core conftest.err conftest.$ac_objext \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10228 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10233 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10234 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10235 $as_echo_n "(cached) " >&6
10236 else
10237 ac_check_lib_save_LIBS=$LIBS
10238 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10242 /* Override any GCC internal prototype to avoid an error.
10243 Use char because int might match the return type of a GCC
10244 builtin and then its argument prototype would still apply. */
10245 #ifdef __cplusplus
10246 extern "C"
10247 #endif
10248 char XRenderCreateLinearGradient ();
10250 main ()
10252 return XRenderCreateLinearGradient ();
10254 return 0;
10256 _ACEOF
10257 if ac_fn_c_try_link "$LINENO"; then :
10258 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10259 else
10260 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10262 rm -f core conftest.err conftest.$ac_objext \
10263 conftest$ac_exeext conftest.$ac_ext
10264 LIBS=$ac_check_lib_save_LIBS
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10267 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10268 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10270 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10277 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10278 case "x$with_xrender" in
10279 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10280 xno) ;;
10281 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10282 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10283 esac
10287 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10288 then
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 #include <X11/Xlib.h>
10292 #include <X11/extensions/Xrandr.h>
10294 main ()
10296 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10298 return 0;
10300 _ACEOF
10301 if ac_fn_c_try_compile "$LINENO"; then :
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10303 $as_echo_n "checking for -lXrandr... " >&6; }
10304 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_soname_save_LIBS=$LIBS
10308 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char XRRQueryExtension ();
10320 main ()
10322 return XRRQueryExtension ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 case "$LIBEXT" in
10329 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10330 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'` ;;
10331 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10332 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10333 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 fi ;;
10335 esac
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_soname_save_LIBS
10341 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10343 $as_echo "not found" >&6; }
10345 else
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10347 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10349 cat >>confdefs.h <<_ACEOF
10350 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10351 _ACEOF
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 #include <X11/Xlib.h>
10356 #include <X11/extensions/Xrandr.h>
10358 main ()
10360 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10362 return 0;
10364 _ACEOF
10365 if ac_fn_c_try_compile "$LINENO"; then :
10367 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10375 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10376 case "x$with_xrandr" in
10377 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10378 xno) ;;
10379 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10380 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10381 esac
10385 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10386 then
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 #include <X11/Xlib.h>
10390 #include <X11/extensions/Xinerama.h>
10392 main ()
10394 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10396 return 0;
10398 _ACEOF
10399 if ac_fn_c_try_compile "$LINENO"; then :
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10401 $as_echo_n "checking for -lXinerama... " >&6; }
10402 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10403 $as_echo_n "(cached) " >&6
10404 else
10405 ac_check_soname_save_LIBS=$LIBS
10406 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10410 /* Override any GCC internal prototype to avoid an error.
10411 Use char because int might match the return type of a GCC
10412 builtin and then its argument prototype would still apply. */
10413 #ifdef __cplusplus
10414 extern "C"
10415 #endif
10416 char XineramaQueryScreens ();
10418 main ()
10420 return XineramaQueryScreens ();
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_link "$LINENO"; then :
10426 case "$LIBEXT" in
10427 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10428 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'` ;;
10429 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10430 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10431 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10432 fi ;;
10433 esac
10435 rm -f core conftest.err conftest.$ac_objext \
10436 conftest$ac_exeext conftest.$ac_ext
10437 LIBS=$ac_check_soname_save_LIBS
10439 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10441 $as_echo "not found" >&6; }
10443 else
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10445 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10447 cat >>confdefs.h <<_ACEOF
10448 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10449 _ACEOF
10454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10456 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10457 case "x$with_xinerama" in
10458 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10459 xno) ;;
10460 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10461 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10462 esac
10466 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10467 then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10469 $as_echo_n "checking for -lXcomposite... " >&6; }
10470 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_check_soname_save_LIBS=$LIBS
10474 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10481 #ifdef __cplusplus
10482 extern "C"
10483 #endif
10484 char XCompositeRedirectWindow ();
10486 main ()
10488 return XCompositeRedirectWindow ();
10490 return 0;
10492 _ACEOF
10493 if ac_fn_c_try_link "$LINENO"; then :
10494 case "$LIBEXT" in
10495 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10496 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'` ;;
10497 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10498 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10499 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10500 fi ;;
10501 esac
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_soname_save_LIBS
10507 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10509 $as_echo "not found" >&6; }
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10513 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10517 _ACEOF
10522 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10523 case "x$with_xcomposite" in
10524 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10525 xno) ;;
10526 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10527 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10528 esac
10532 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10533 #include <X11/Xlib.h>
10534 #endif
10536 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define HAVE_XICCALLBACK_CALLBACK 1
10540 _ACEOF
10544 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10545 #include <X11/Xlib.h>
10546 #endif
10548 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10550 cat >>confdefs.h <<_ACEOF
10551 #define HAVE_XEVENT_XCOOKIE 1
10552 _ACEOF
10559 opengl_msg=""
10560 if test "x$with_opengl" != "xno"
10561 then
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10563 $as_echo_n "checking for -lGL... " >&6; }
10564 if ${ac_cv_lib_soname_GL+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_check_soname_save_LIBS=$LIBS
10568 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10570 /* end confdefs.h. */
10572 /* Override any GCC internal prototype to avoid an error.
10573 Use char because int might match the return type of a GCC
10574 builtin and then its argument prototype would still apply. */
10575 #ifdef __cplusplus
10576 extern "C"
10577 #endif
10578 char glXCreateContext ();
10580 main ()
10582 return glXCreateContext ();
10584 return 0;
10586 _ACEOF
10587 if ac_fn_c_try_link "$LINENO"; then :
10588 case "$LIBEXT" in
10589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10590 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'` ;;
10591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10592 if ${ac_cv_lib_soname_GL:+false} :; then :
10593 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10594 fi ;;
10595 esac
10597 rm -f core conftest.err conftest.$ac_objext \
10598 conftest$ac_exeext conftest.$ac_ext
10599 LIBS=$ac_check_soname_save_LIBS
10601 if ${ac_cv_lib_soname_GL:+false} :; then :
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10603 $as_echo "not found" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10605 $as_echo_n "checking for -lGL... " >&6; }
10606 if ${ac_cv_lib_soname_GL+:} false; then :
10607 $as_echo_n "(cached) " >&6
10608 else
10609 ac_check_soname_save_LIBS=$LIBS
10610 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"
10611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10617 #ifdef __cplusplus
10618 extern "C"
10619 #endif
10620 char glXCreateContext ();
10622 main ()
10624 return glXCreateContext ();
10626 return 0;
10628 _ACEOF
10629 if ac_fn_c_try_link "$LINENO"; then :
10630 case "$LIBEXT" in
10631 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10632 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'` ;;
10633 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10634 if ${ac_cv_lib_soname_GL:+false} :; then :
10635 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10636 fi ;;
10637 esac
10639 rm -f core conftest.err conftest.$ac_objext \
10640 conftest$ac_exeext conftest.$ac_ext
10641 LIBS=$ac_check_soname_save_LIBS
10643 if ${ac_cv_lib_soname_GL:+false} :; then :
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10645 $as_echo "not found" >&6; }
10646 if test -f /usr/X11R6/lib/libGL.a
10647 then
10648 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10649 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10650 else
10651 opengl_msg="No OpenGL library found on this system."
10653 else
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10655 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10657 cat >>confdefs.h <<_ACEOF
10658 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10659 _ACEOF
10661 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"
10663 else
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10665 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10669 _ACEOF
10671 OPENGL_LIBS="-lGL"
10673 if test "x$with_glu" != "xno"
10674 then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10676 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10677 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_lib_save_LIBS=$LIBS
10681 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char gluLookAt ();
10693 main ()
10695 return gluLookAt ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 ac_cv_lib_GLU_gluLookAt=yes
10702 else
10703 ac_cv_lib_GLU_gluLookAt=no
10705 rm -f core conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10710 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10711 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10715 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10716 case "x$with_glu" in
10717 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10718 xno) ;;
10719 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10720 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10721 esac
10726 if test "x$with_osmesa" != "xno"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10729 $as_echo_n "checking for -lOSMesa... " >&6; }
10730 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_check_soname_save_LIBS=$LIBS
10734 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */
10738 /* Override any GCC internal prototype to avoid an error.
10739 Use char because int might match the return type of a GCC
10740 builtin and then its argument prototype would still apply. */
10741 #ifdef __cplusplus
10742 extern "C"
10743 #endif
10744 char glAccum ();
10746 main ()
10748 return glAccum ();
10750 return 0;
10752 _ACEOF
10753 if ac_fn_c_try_link "$LINENO"; then :
10754 case "$LIBEXT" in
10755 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10756 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'` ;;
10757 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10758 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10759 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10760 fi ;;
10761 esac
10763 rm -f core conftest.err conftest.$ac_objext \
10764 conftest$ac_exeext conftest.$ac_ext
10765 LIBS=$ac_check_soname_save_LIBS
10767 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10769 $as_echo "not found" >&6; }
10771 else
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10773 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10775 cat >>confdefs.h <<_ACEOF
10776 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10777 _ACEOF
10781 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10782 case "x$with_osmesa" in
10783 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10784 xno) ;;
10785 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10786 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10787 esac
10792 if test -n "$opengl_msg"; then :
10793 case "x$with_opengl" in
10794 x) as_fn_append wine_warnings "|$opengl_msg
10795 OpenGL and Direct3D won't be supported." ;;
10796 xno) ;;
10797 *) as_fn_error $? "$opengl_msg
10798 OpenGL and Direct3D won't be supported.
10799 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10800 esac
10804 CPPFLAGS="$ac_save_CPPFLAGS"
10805 else
10806 X_CFLAGS=""
10807 X_LIBS=""
10809 if test "x$X_LIBS" = "x"; then :
10810 case "x$with_x" in
10811 xno) ;;
10812 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10813 without X support, which probably isn't what you want. You will need
10814 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10815 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10816 esac
10817 enable_winex11_drv=${enable_winex11_drv:-no}
10820 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10822 if test "$ac_cv_header_CL_cl_h" = "yes"
10823 then
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10825 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10826 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10827 $as_echo_n "(cached) " >&6
10828 else
10829 ac_check_lib_save_LIBS=$LIBS
10830 LIBS="-lOpenCL $LIBS"
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10834 /* Override any GCC internal prototype to avoid an error.
10835 Use char because int might match the return type of a GCC
10836 builtin and then its argument prototype would still apply. */
10837 #ifdef __cplusplus
10838 extern "C"
10839 #endif
10840 char clGetPlatformInfo ();
10842 main ()
10844 return clGetPlatformInfo ();
10846 return 0;
10848 _ACEOF
10849 if ac_fn_c_try_link "$LINENO"; then :
10850 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10851 else
10852 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10854 rm -f core conftest.err conftest.$ac_objext \
10855 conftest$ac_exeext conftest.$ac_ext
10856 LIBS=$ac_check_lib_save_LIBS
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10859 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10860 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10861 OPENCL_LIBS="-lOpenCL"
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10867 case "x$with_opencl" in
10868 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10869 xno) ;;
10870 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10871 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10872 esac
10873 enable_opencl=${enable_opencl:-no}
10876 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10877 then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10879 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10880 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10881 $as_echo_n "(cached) " >&6
10882 else
10883 ac_check_lib_save_LIBS=$LIBS
10884 LIBS="-lpcap $LIBS"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10888 /* Override any GCC internal prototype to avoid an error.
10889 Use char because int might match the return type of a GCC
10890 builtin and then its argument prototype would still apply. */
10891 #ifdef __cplusplus
10892 extern "C"
10893 #endif
10894 char pcap_create ();
10896 main ()
10898 return pcap_create ();
10900 return 0;
10902 _ACEOF
10903 if ac_fn_c_try_link "$LINENO"; then :
10904 ac_cv_lib_pcap_pcap_create=yes
10905 else
10906 ac_cv_lib_pcap_pcap_create=no
10908 rm -f core conftest.err conftest.$ac_objext \
10909 conftest$ac_exeext conftest.$ac_ext
10910 LIBS=$ac_check_lib_save_LIBS
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10913 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10914 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10915 PCAP_LIBS="-lpcap"
10920 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10921 case "x$with_pcap" in
10922 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10923 xno) ;;
10924 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10925 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10926 esac
10927 enable_wpcap=${enable_wpcap:-no}
10931 if test "x$with_xml" != "xno"
10932 then
10933 if ${XML2_CFLAGS:+false} :; then :
10934 if ${PKG_CONFIG+:} false; then :
10935 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10938 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10939 if ${XML2_LIBS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10945 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10946 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10947 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10948 ac_save_CPPFLAGS=$CPPFLAGS
10949 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10950 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10951 do :
10952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10955 cat >>confdefs.h <<_ACEOF
10956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10957 _ACEOF
10961 done
10963 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"
10964 then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10966 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10967 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10968 $as_echo_n "(cached) " >&6
10969 else
10970 ac_check_lib_save_LIBS=$LIBS
10971 LIBS="-lxml2 $XML2_LIBS $LIBS"
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10973 /* end confdefs.h. */
10975 /* Override any GCC internal prototype to avoid an error.
10976 Use char because int might match the return type of a GCC
10977 builtin and then its argument prototype would still apply. */
10978 #ifdef __cplusplus
10979 extern "C"
10980 #endif
10981 char xmlParseMemory ();
10983 main ()
10985 return xmlParseMemory ();
10987 return 0;
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"; then :
10991 ac_cv_lib_xml2_xmlParseMemory=yes
10992 else
10993 ac_cv_lib_xml2_xmlParseMemory=no
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 LIBS=$ac_check_lib_save_LIBS
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11000 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11001 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11003 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11005 else
11006 XML2_LIBS=""
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11010 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11011 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_lib_save_LIBS=$LIBS
11015 LIBS="-lxml2 $XML2_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char xmlReadMemory ();
11027 main ()
11029 return xmlReadMemory ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 ac_cv_lib_xml2_xmlReadMemory=yes
11036 else
11037 ac_cv_lib_xml2_xmlReadMemory=no
11039 rm -f core conftest.err conftest.$ac_objext \
11040 conftest$ac_exeext conftest.$ac_ext
11041 LIBS=$ac_check_lib_save_LIBS
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11044 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11045 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11047 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11052 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11053 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lxml2 $XML2_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char xmlNewDocPI ();
11069 main ()
11071 return xmlNewDocPI ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_xml2_xmlNewDocPI=yes
11078 else
11079 ac_cv_lib_xml2_xmlNewDocPI=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11086 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11087 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11089 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11094 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11095 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lxml2 $XML2_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char xmlSchemaSetParserStructuredErrors ();
11111 main ()
11113 return xmlSchemaSetParserStructuredErrors ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11120 else
11121 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11123 rm -f core conftest.err conftest.$ac_objext \
11124 conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11128 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11129 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11131 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11136 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11137 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11138 $as_echo_n "(cached) " >&6
11139 else
11140 ac_check_lib_save_LIBS=$LIBS
11141 LIBS="-lxml2 $XML2_LIBS $LIBS"
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char xmlSchemaSetValidStructuredErrors ();
11153 main ()
11155 return xmlSchemaSetValidStructuredErrors ();
11157 return 0;
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"; then :
11161 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11162 else
11163 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11165 rm -f core conftest.err conftest.$ac_objext \
11166 conftest$ac_exeext conftest.$ac_ext
11167 LIBS=$ac_check_lib_save_LIBS
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11170 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11171 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11173 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11178 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11179 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11180 $as_echo_n "(cached) " >&6
11181 else
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lxml2 $XML2_LIBS $LIBS"
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11190 #ifdef __cplusplus
11191 extern "C"
11192 #endif
11193 char xmlFirstElementChild ();
11195 main ()
11197 return xmlFirstElementChild ();
11199 return 0;
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_xml2_xmlFirstElementChild=yes
11204 else
11205 ac_cv_lib_xml2_xmlFirstElementChild=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11212 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11213 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11215 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11219 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11221 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11223 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11227 else
11228 XML2_CFLAGS=""
11229 XML2_LIBS=""
11231 CPPFLAGS=$ac_save_CPPFLAGS
11232 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11233 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11236 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11237 case "x$with_xml" in
11238 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11239 xno) ;;
11240 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11241 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11242 esac
11246 if test "x$with_xslt" != "xno"
11247 then
11248 if ${XSLT_CFLAGS:+false} :; then :
11249 if ${PKG_CONFIG+:} false; then :
11250 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11253 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11254 if ${XSLT_LIBS:+false} :; then :
11255 if ${PKG_CONFIG+:} false; then :
11256 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11260 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11261 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11262 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11263 ac_save_CPPFLAGS=$CPPFLAGS
11264 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11265 for ac_header in libxslt/pattern.h libxslt/transform.h
11266 do :
11267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11268 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11269 # include <libxslt/pattern.h>
11270 #endif
11272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11273 cat >>confdefs.h <<_ACEOF
11274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11275 _ACEOF
11279 done
11281 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11282 then
11283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11284 $as_echo_n "checking for -lxslt... " >&6; }
11285 if ${ac_cv_lib_soname_xslt+:} false; then :
11286 $as_echo_n "(cached) " >&6
11287 else
11288 ac_check_soname_save_LIBS=$LIBS
11289 LIBS="-lxslt $XSLT_LIBS $LIBS"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11293 /* Override any GCC internal prototype to avoid an error.
11294 Use char because int might match the return type of a GCC
11295 builtin and then its argument prototype would still apply. */
11296 #ifdef __cplusplus
11297 extern "C"
11298 #endif
11299 char xsltCompilePattern ();
11301 main ()
11303 return xsltCompilePattern ();
11305 return 0;
11307 _ACEOF
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 case "$LIBEXT" in
11310 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11311 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'` ;;
11312 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11313 if ${ac_cv_lib_soname_xslt:+false} :; then :
11314 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11315 fi ;;
11316 esac
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_soname_save_LIBS
11322 if ${ac_cv_lib_soname_xslt:+false} :; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11328 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11330 cat >>confdefs.h <<_ACEOF
11331 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11332 _ACEOF
11336 else
11337 XSLT_CFLAGS=""
11339 CPPFLAGS=$ac_save_CPPFLAGS
11340 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11341 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11344 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11345 case "x$with_xslt" in
11346 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11347 xno) ;;
11348 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11349 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11350 esac
11354 if test "x$with_dbus" != "xno"
11355 then
11356 if ${DBUS_CFLAGS:+false} :; then :
11357 if ${PKG_CONFIG+:} false; then :
11358 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11362 if ${DBUS_LIBS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11369 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11370 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11371 ac_save_CPPFLAGS=$CPPFLAGS
11372 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11373 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11374 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11376 $as_echo_n "checking for -ldbus-1... " >&6; }
11377 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11378 $as_echo_n "(cached) " >&6
11379 else
11380 ac_check_soname_save_LIBS=$LIBS
11381 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11385 /* Override any GCC internal prototype to avoid an error.
11386 Use char because int might match the return type of a GCC
11387 builtin and then its argument prototype would still apply. */
11388 #ifdef __cplusplus
11389 extern "C"
11390 #endif
11391 char dbus_connection_close ();
11393 main ()
11395 return dbus_connection_close ();
11397 return 0;
11399 _ACEOF
11400 if ac_fn_c_try_link "$LINENO"; then :
11401 case "$LIBEXT" in
11402 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11403 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'` ;;
11404 *) 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'`
11405 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11406 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11407 fi ;;
11408 esac
11410 rm -f core conftest.err conftest.$ac_objext \
11411 conftest$ac_exeext conftest.$ac_ext
11412 LIBS=$ac_check_soname_save_LIBS
11414 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11416 $as_echo "not found" >&6; }
11417 DBUS_CFLAGS=""
11418 else
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11420 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11422 cat >>confdefs.h <<_ACEOF
11423 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11424 _ACEOF
11428 else
11429 DBUS_CFLAGS=""
11433 CPPFLAGS=$ac_save_CPPFLAGS
11434 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11435 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11438 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11439 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11440 case "x$with_dbus" in
11441 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11442 xno) ;;
11443 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11444 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11445 esac
11449 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11450 then
11451 if ${HAL_CFLAGS:+false} :; then :
11452 if ${PKG_CONFIG+:} false; then :
11453 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11457 if ${HAL_LIBS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11463 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11464 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11465 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11466 ac_save_CPPFLAGS=$CPPFLAGS
11467 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11468 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11469 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11471 $as_echo_n "checking for -lhal... " >&6; }
11472 if ${ac_cv_lib_soname_hal+:} false; then :
11473 $as_echo_n "(cached) " >&6
11474 else
11475 ac_check_soname_save_LIBS=$LIBS
11476 LIBS="-lhal $HAL_LIBS $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char libhal_ctx_new ();
11488 main ()
11490 return libhal_ctx_new ();
11492 return 0;
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 case "$LIBEXT" in
11497 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11498 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'` ;;
11499 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11500 if ${ac_cv_lib_soname_hal:+false} :; then :
11501 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11502 fi ;;
11503 esac
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_soname_save_LIBS
11509 if ${ac_cv_lib_soname_hal:+false} :; then :
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11511 $as_echo "not found" >&6; }
11512 HAL_CFLAGS=""
11513 else
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11515 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11517 cat >>confdefs.h <<_ACEOF
11518 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11519 _ACEOF
11523 else
11524 HAL_CFLAGS=""
11528 CPPFLAGS=$ac_save_CPPFLAGS
11529 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11530 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11532 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11533 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11534 case "x$with_hal" in
11535 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11536 xno) ;;
11537 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11538 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11539 esac
11544 if test "x$with_gnutls" != "xno"
11545 then
11546 if ${GNUTLS_CFLAGS:+false} :; then :
11547 if ${PKG_CONFIG+:} false; then :
11548 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11552 if ${GNUTLS_LIBS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11559 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11560 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11561 ac_save_CPPFLAGS=$CPPFLAGS
11562 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11563 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11564 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 #include <gnutls/gnutls.h>
11568 #include <gnutls/crypto.h>
11570 main ()
11572 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11574 return 0;
11576 _ACEOF
11577 if ac_fn_c_try_compile "$LINENO"; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11579 $as_echo_n "checking for -lgnutls... " >&6; }
11580 if ${ac_cv_lib_soname_gnutls+:} false; then :
11581 $as_echo_n "(cached) " >&6
11582 else
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11591 #ifdef __cplusplus
11592 extern "C"
11593 #endif
11594 char gnutls_global_init ();
11596 main ()
11598 return gnutls_global_init ();
11600 return 0;
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604 case "$LIBEXT" in
11605 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) 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'`
11608 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11609 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'`
11610 fi ;;
11611 esac
11613 rm -f core conftest.err conftest.$ac_objext \
11614 conftest$ac_exeext conftest.$ac_ext
11615 LIBS=$ac_check_soname_save_LIBS
11617 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11619 $as_echo "not found" >&6; }
11620 GNUTLS_CFLAGS=""
11621 else
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11623 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11625 cat >>confdefs.h <<_ACEOF
11626 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11627 _ACEOF
11631 ac_wine_check_funcs_save_LIBS="$LIBS"
11632 LIBS="$LIBS $GNUTLS_LIBS"
11633 for ac_func in gnutls_hash
11634 do :
11635 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11636 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11637 cat >>confdefs.h <<_ACEOF
11638 #define HAVE_GNUTLS_HASH 1
11639 _ACEOF
11641 else
11642 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11644 done
11646 LIBS="$ac_wine_check_funcs_save_LIBS"
11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11649 else
11650 GNUTLS_CFLAGS=""
11654 CPPFLAGS=$ac_save_CPPFLAGS
11655 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11656 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11659 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11660 case "x$with_gnutls" in
11661 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11662 xno) ;;
11663 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11664 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11665 esac
11669 CURSES_LIBS=""
11670 if test "$ac_cv_header_ncurses_h" = "yes"
11671 then
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11673 $as_echo_n "checking for -lncurses... " >&6; }
11674 if ${ac_cv_lib_soname_ncurses+:} false; then :
11675 $as_echo_n "(cached) " >&6
11676 else
11677 ac_check_soname_save_LIBS=$LIBS
11678 LIBS="-lncurses $LIBS"
11679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11685 #ifdef __cplusplus
11686 extern "C"
11687 #endif
11688 char waddch ();
11690 main ()
11692 return waddch ();
11694 return 0;
11696 _ACEOF
11697 if ac_fn_c_try_link "$LINENO"; then :
11698 case "$LIBEXT" in
11699 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11700 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'` ;;
11701 *) 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'`
11702 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11703 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11704 fi ;;
11705 esac
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_soname_save_LIBS
11711 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11713 $as_echo "not found" >&6; }
11715 else
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11717 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11719 cat >>confdefs.h <<_ACEOF
11720 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11721 _ACEOF
11723 CURSES_LIBS="-lncurses"
11725 elif test "$ac_cv_header_curses_h" = "yes"
11726 then
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11728 $as_echo_n "checking for -lcurses... " >&6; }
11729 if ${ac_cv_lib_soname_curses+:} false; then :
11730 $as_echo_n "(cached) " >&6
11731 else
11732 ac_check_soname_save_LIBS=$LIBS
11733 LIBS="-lcurses $LIBS"
11734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11740 #ifdef __cplusplus
11741 extern "C"
11742 #endif
11743 char waddch ();
11745 main ()
11747 return waddch ();
11749 return 0;
11751 _ACEOF
11752 if ac_fn_c_try_link "$LINENO"; then :
11753 case "$LIBEXT" in
11754 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11755 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'` ;;
11756 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11757 if ${ac_cv_lib_soname_curses:+false} :; then :
11758 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11759 fi ;;
11760 esac
11762 rm -f core conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_soname_save_LIBS
11766 if ${ac_cv_lib_soname_curses:+false} :; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11768 $as_echo "not found" >&6; }
11770 else
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11772 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11774 cat >>confdefs.h <<_ACEOF
11775 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11776 _ACEOF
11778 CURSES_LIBS="-lcurses"
11781 ac_save_LIBS="$LIBS"
11782 LIBS="$LIBS $CURSES_LIBS"
11783 for ac_func in mousemask
11784 do :
11785 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11786 if test "x$ac_cv_func_mousemask" = xyes; then :
11787 cat >>confdefs.h <<_ACEOF
11788 #define HAVE_MOUSEMASK 1
11789 _ACEOF
11792 done
11794 LIBS="$ac_save_LIBS"
11795 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11796 case "x$with_curses" in
11797 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11798 xno) ;;
11799 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11800 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11801 esac
11805 if test "x$with_sane" != "xno"
11806 then
11807 if ${SANE_CFLAGS:+false} :; then :
11808 if ${PKG_CONFIG+:} false; then :
11809 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11812 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11813 if ${SANE_LIBS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11818 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11820 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11821 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11824 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11825 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11827 $as_echo_n "checking for -lsane... " >&6; }
11828 if ${ac_cv_lib_soname_sane+:} false; then :
11829 $as_echo_n "(cached) " >&6
11830 else
11831 ac_check_soname_save_LIBS=$LIBS
11832 LIBS="-lsane $SANE_LIBS $LIBS"
11833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11834 /* end confdefs.h. */
11836 /* Override any GCC internal prototype to avoid an error.
11837 Use char because int might match the return type of a GCC
11838 builtin and then its argument prototype would still apply. */
11839 #ifdef __cplusplus
11840 extern "C"
11841 #endif
11842 char sane_init ();
11844 main ()
11846 return sane_init ();
11848 return 0;
11850 _ACEOF
11851 if ac_fn_c_try_link "$LINENO"; then :
11852 case "$LIBEXT" in
11853 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11854 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'` ;;
11855 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11856 if ${ac_cv_lib_soname_sane:+false} :; then :
11857 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11858 fi ;;
11859 esac
11861 rm -f core conftest.err conftest.$ac_objext \
11862 conftest$ac_exeext conftest.$ac_ext
11863 LIBS=$ac_check_soname_save_LIBS
11865 if ${ac_cv_lib_soname_sane:+false} :; then :
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11867 $as_echo "not found" >&6; }
11868 SANE_CFLAGS=""
11869 else
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11871 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11873 cat >>confdefs.h <<_ACEOF
11874 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11875 _ACEOF
11879 else
11880 SANE_CFLAGS=""
11884 CPPFLAGS=$ac_save_CPPFLAGS
11885 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11886 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11889 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11890 case "x$with_sane" in
11891 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11892 xno) ;;
11893 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11894 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11895 esac
11899 if test "x$with_v4l" != "xno"
11900 then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11902 $as_echo_n "checking for -lv4l1... " >&6; }
11903 if ${ac_cv_lib_soname_v4l1+:} false; then :
11904 $as_echo_n "(cached) " >&6
11905 else
11906 ac_check_soname_save_LIBS=$LIBS
11907 LIBS="-lv4l1 $LIBS"
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11911 /* Override any GCC internal prototype to avoid an error.
11912 Use char because int might match the return type of a GCC
11913 builtin and then its argument prototype would still apply. */
11914 #ifdef __cplusplus
11915 extern "C"
11916 #endif
11917 char v4l1_open ();
11919 main ()
11921 return v4l1_open ();
11923 return 0;
11925 _ACEOF
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 case "$LIBEXT" in
11928 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11929 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'` ;;
11930 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11931 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11932 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11933 fi ;;
11934 esac
11936 rm -f core conftest.err conftest.$ac_objext \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11942 $as_echo "not found" >&6; }
11944 else
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11946 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11950 _ACEOF
11955 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11956 case "x$with_v4l" in
11957 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11958 xno) ;;
11959 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11960 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11961 esac
11965 if test "x$with_gphoto" != "xno"
11966 then
11967 if ${GPHOTO2_CFLAGS:+false} :; then :
11968 if ${PKG_CONFIG+:} false; then :
11969 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11972 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11973 if ${GPHOTO2_LIBS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11979 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11982 ac_save_CPPFLAGS=$CPPFLAGS
11983 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11984 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11985 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11987 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11988 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11989 $as_echo_n "(cached) " >&6
11990 else
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
11999 #ifdef __cplusplus
12000 extern "C"
12001 #endif
12002 char gp_camera_new ();
12004 main ()
12006 return gp_camera_new ();
12008 return 0;
12010 _ACEOF
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_gphoto2_gp_camera_new=yes
12013 else
12014 ac_cv_lib_gphoto2_gp_camera_new=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12021 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12022 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12024 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12026 else
12027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12030 else
12031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12035 CPPFLAGS=$ac_save_CPPFLAGS
12036 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12037 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12039 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12040 if ${PKG_CONFIG+:} false; then :
12041 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12044 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12045 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12046 if ${PKG_CONFIG+:} false; then :
12047 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12050 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12051 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12052 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12053 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12054 ac_save_CPPFLAGS=$CPPFLAGS
12055 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12056 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12057 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12059 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12060 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12061 $as_echo_n "(cached) " >&6
12062 else
12063 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char gp_port_info_list_new ();
12076 main ()
12078 return gp_port_info_list_new ();
12080 return 0;
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12085 else
12086 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12088 rm -f core conftest.err conftest.$ac_objext \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12093 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12094 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12096 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12098 else
12099 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12102 else
12103 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12107 CPPFLAGS=$ac_save_CPPFLAGS
12108 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12109 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12112 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12113 case "x$with_gphoto" in
12114 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12115 xno) ;;
12116 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12118 esac
12121 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12122 case "x$with_gphoto" in
12123 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12124 xno) ;;
12125 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12126 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12127 esac
12132 if test "$ac_cv_header_resolv_h" = "yes"
12133 then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12135 $as_echo_n "checking for resolver library... " >&6; }
12136 if ${ac_cv_have_resolv+:} false; then :
12137 $as_echo_n "(cached) " >&6
12138 else
12139 ac_save_LIBS="$LIBS"
12140 for lib in '' -lresolv
12142 LIBS="$lib $ac_save_LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12145 #ifdef HAVE_NETINET_IN_H
12146 #include <netinet/in.h>
12147 #endif
12148 #include <resolv.h>
12150 main ()
12152 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12154 return 0;
12156 _ACEOF
12157 if ac_fn_c_try_link "$LINENO"; then :
12158 ac_cv_have_resolv=${lib:-"none required"}
12159 else
12160 ac_cv_have_resolv="not found"
12162 rm -f core conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12164 test "x$ac_cv_have_resolv" = "xnot found" || break
12165 done
12166 LIBS="$ac_save_LIBS"
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12169 $as_echo "$ac_cv_have_resolv" >&6; }
12171 case "$ac_cv_have_resolv" in
12172 "not found") ;;
12173 "none required")
12175 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12178 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12180 RESOLV_LIBS=$ac_cv_have_resolv
12182 esac
12185 if test "x$with_cms" != "xno"
12186 then
12187 if ${LCMS2_CFLAGS:+false} :; then :
12188 if ${PKG_CONFIG+:} false; then :
12189 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12193 if ${LCMS2_LIBS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12199 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12200 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12201 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12202 ac_save_CPPFLAGS=$CPPFLAGS
12203 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12204 for ac_header in lcms2.h
12205 do :
12206 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12207 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12208 cat >>confdefs.h <<_ACEOF
12209 #define HAVE_LCMS2_H 1
12210 _ACEOF
12214 done
12216 if test "$ac_cv_header_lcms2_h" = "yes"
12217 then
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12219 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12220 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 ac_check_lib_save_LIBS=$LIBS
12224 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char cmsOpenProfileFromFile ();
12236 main ()
12238 return cmsOpenProfileFromFile ();
12240 return 0;
12242 _ACEOF
12243 if ac_fn_c_try_link "$LINENO"; then :
12244 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12245 else
12246 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_lib_save_LIBS
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12253 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12254 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12256 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12258 else
12259 LCMS2_LIBS=""
12262 else
12263 LCMS2_CFLAGS=""
12264 LCMS2_LIBS=""
12266 CPPFLAGS=$ac_save_CPPFLAGS
12267 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12268 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12271 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12272 case "x$with_cms" in
12273 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12274 xno) ;;
12275 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12276 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12277 esac
12281 if test "x$with_freetype" != "xno"
12282 then
12283 if ${FREETYPE_CFLAGS:+false} :; then :
12284 if ${PKG_CONFIG+:} false; then :
12285 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12288 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12289 if ${FREETYPE_LIBS:+false} :; then :
12290 if ${PKG_CONFIG+:} false; then :
12291 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12294 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12295 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12296 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12297 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12298 ac_save_CPPFLAGS=$CPPFLAGS
12299 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12300 for ac_header in ft2build.h
12301 do :
12302 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12303 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12304 cat >>confdefs.h <<_ACEOF
12305 #define HAVE_FT2BUILD_H 1
12306 _ACEOF
12310 done
12312 if test "$ac_cv_header_ft2build_h" = "yes"
12313 then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12315 $as_echo_n "checking for -lfreetype... " >&6; }
12316 if ${ac_cv_lib_soname_freetype+:} false; then :
12317 $as_echo_n "(cached) " >&6
12318 else
12319 ac_check_soname_save_LIBS=$LIBS
12320 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322 /* end confdefs.h. */
12324 /* Override any GCC internal prototype to avoid an error.
12325 Use char because int might match the return type of a GCC
12326 builtin and then its argument prototype would still apply. */
12327 #ifdef __cplusplus
12328 extern "C"
12329 #endif
12330 char FT_Init_FreeType ();
12332 main ()
12334 return FT_Init_FreeType ();
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 case "$LIBEXT" in
12341 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12342 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'` ;;
12343 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12344 if ${ac_cv_lib_soname_freetype:+false} :; then :
12345 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12346 fi ;;
12347 esac
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 LIBS=$ac_check_soname_save_LIBS
12353 if ${ac_cv_lib_soname_freetype:+false} :; then :
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12355 $as_echo "not found" >&6; }
12356 FREETYPE_LIBS=""
12357 else
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12359 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12361 cat >>confdefs.h <<_ACEOF
12362 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12363 _ACEOF
12366 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12368 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12369 #include FT_MODULE_H
12371 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12373 cat >>confdefs.h <<_ACEOF
12374 #define HAVE_FT_TRUETYPEENGINETYPE 1
12375 _ACEOF
12381 else
12382 FREETYPE_CFLAGS=""
12383 FREETYPE_LIBS=""
12385 CPPFLAGS=$ac_save_CPPFLAGS
12386 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12387 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12390 if test "x$ac_cv_lib_soname_freetype" = x; then :
12391 case "x$with_freetype" in
12392 xno) ;;
12393 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12394 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12395 esac
12396 enable_fonts=${enable_fonts:-no}
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12400 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12401 if ${ac_cv_c_ppdev+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12406 #ifdef HAVE_SYS_IOCTL_H
12407 # include <sys/ioctl.h>
12408 #endif
12409 #include <linux/ppdev.h>
12411 main ()
12413 ioctl (1,PPCLAIM,0)
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_compile "$LINENO"; then :
12419 ac_cv_c_ppdev="yes"
12420 else
12421 ac_cv_c_ppdev="no"
12423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12426 $as_echo "$ac_cv_c_ppdev" >&6; }
12427 if test "$ac_cv_c_ppdev" = "yes"
12428 then
12430 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12434 ac_wine_check_funcs_save_LIBS="$LIBS"
12435 LIBS="$LIBS $PTHREAD_LIBS"
12436 for ac_func in \
12437 pthread_attr_get_np \
12438 pthread_getattr_np \
12439 pthread_getthreadid_np \
12440 pthread_get_stackaddr_np \
12441 pthread_get_stacksize_np
12442 do :
12443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12445 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12446 cat >>confdefs.h <<_ACEOF
12447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12448 _ACEOF
12451 done
12453 LIBS="$ac_wine_check_funcs_save_LIBS"
12455 if test "$ac_cv_header_zlib_h" = "yes"
12456 then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12458 $as_echo_n "checking for inflate in -lz... " >&6; }
12459 if ${ac_cv_lib_z_inflate+:} false; then :
12460 $as_echo_n "(cached) " >&6
12461 else
12462 ac_check_lib_save_LIBS=$LIBS
12463 LIBS="-lz $LIBS"
12464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12470 #ifdef __cplusplus
12471 extern "C"
12472 #endif
12473 char inflate ();
12475 main ()
12477 return inflate ();
12479 return 0;
12481 _ACEOF
12482 if ac_fn_c_try_link "$LINENO"; then :
12483 ac_cv_lib_z_inflate=yes
12484 else
12485 ac_cv_lib_z_inflate=no
12487 rm -f core conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489 LIBS=$ac_check_lib_save_LIBS
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12492 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12493 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12495 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12497 Z_LIBS="-lz"
12502 if test "x$Z_LIBS" = "x"; then :
12503 case "x$with_zlib" in
12504 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12505 xno) ;;
12506 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12507 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12508 esac
12512 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12513 then
12514 if test "$ac_cv_header_gettext_po_h" = "yes"
12515 then
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12517 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12518 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12519 $as_echo_n "(cached) " >&6
12520 else
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lgettextpo $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 #ifdef __cplusplus
12530 extern "C"
12531 #endif
12532 char po_message_msgctxt ();
12534 main ()
12536 return po_message_msgctxt ();
12538 return 0;
12540 _ACEOF
12541 if ac_fn_c_try_link "$LINENO"; then :
12542 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12543 else
12544 ac_cv_lib_gettextpo_po_message_msgctxt=no
12546 rm -f core conftest.err conftest.$ac_objext \
12547 conftest$ac_exeext conftest.$ac_ext
12548 LIBS=$ac_check_lib_save_LIBS
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12551 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12552 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12554 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12556 GETTEXTPO_LIBS="-lgettextpo"
12561 if test "x$GETTEXTPO_LIBS" = "x"; then :
12562 case "x$with_gettextpo" in
12563 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12564 xno) ;;
12565 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12566 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12567 esac
12570 if test "$srcdir" != .; then :
12571 case "x$with_gettextpo" in
12572 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12573 xno) ;;
12574 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12575 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12576 esac
12581 if test "x$with_pulse" != "xno";
12582 then
12583 if ${PULSE_CFLAGS:+false} :; then :
12584 if ${PKG_CONFIG+:} false; then :
12585 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12589 if ${PULSE_LIBS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12596 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12597 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12598 ac_save_CPPFLAGS=$CPPFLAGS
12599 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12600 for ac_header in pulse/pulseaudio.h
12601 do :
12602 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12603 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12604 cat >>confdefs.h <<_ACEOF
12605 #define HAVE_PULSE_PULSEAUDIO_H 1
12606 _ACEOF
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12608 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12609 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12610 $as_echo_n "(cached) " >&6
12611 else
12612 ac_check_lib_save_LIBS=$LIBS
12613 LIBS="-lpulse $PULSE_LIBS $LIBS"
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12617 /* Override any GCC internal prototype to avoid an error.
12618 Use char because int might match the return type of a GCC
12619 builtin and then its argument prototype would still apply. */
12620 #ifdef __cplusplus
12621 extern "C"
12622 #endif
12623 char pa_stream_is_corked ();
12625 main ()
12627 return pa_stream_is_corked ();
12629 return 0;
12631 _ACEOF
12632 if ac_fn_c_try_link "$LINENO"; then :
12633 ac_cv_lib_pulse_pa_stream_is_corked=yes
12634 else
12635 ac_cv_lib_pulse_pa_stream_is_corked=no
12637 rm -f core conftest.err conftest.$ac_objext \
12638 conftest$ac_exeext conftest.$ac_ext
12639 LIBS=$ac_check_lib_save_LIBS
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12642 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12643 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12645 else
12646 PULSE_LIBS=""
12649 else
12650 PULSE_LIBS=""
12653 done
12655 CPPFLAGS=$ac_save_CPPFLAGS
12656 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12657 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12660 if test -z "$PULSE_LIBS"; then :
12661 case "x$with_pulse" in
12662 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12663 xno) ;;
12664 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12665 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12666 esac
12667 enable_winepulse_drv=${enable_winepulse_drv:-no}
12670 if test "x$with_gstreamer" != "xno"
12671 then
12672 if ${GSTREAMER_CFLAGS:+false} :; then :
12673 if ${PKG_CONFIG+:} false; then :
12674 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12678 if ${GSTREAMER_LIBS:+false} :; then :
12679 if ${PKG_CONFIG+:} false; then :
12680 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12685 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12686 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12689 ac_gst_incl=""
12690 for i in $GSTREAMER_CFLAGS
12692 case "$i" in
12693 -I*) ac_gst_incl="$ac_gst_incl $i";;
12694 esac
12695 done
12696 GSTREAMER_CFLAGS=$ac_gst_incl
12697 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12698 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12699 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12701 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12704 #include <gst/gst.h>
12706 main ()
12708 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12710 return 0;
12712 _ACEOF
12713 if ac_fn_c_try_compile "$LINENO"; then :
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12715 $as_echo "yes" >&6; }
12716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12717 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12718 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12719 $as_echo_n "(cached) " >&6
12720 else
12721 ac_check_lib_save_LIBS=$LIBS
12722 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12729 #ifdef __cplusplus
12730 extern "C"
12731 #endif
12732 char gst_pad_new ();
12734 main ()
12736 return gst_pad_new ();
12738 return 0;
12740 _ACEOF
12741 if ac_fn_c_try_link "$LINENO"; then :
12742 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12743 else
12744 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12746 rm -f core conftest.err conftest.$ac_objext \
12747 conftest$ac_exeext conftest.$ac_ext
12748 LIBS=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12751 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12752 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12756 else
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12758 $as_echo "no" >&6; }
12759 ac_glib2_broken=yes
12760 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12766 CPPFLAGS=$ac_save_CPPFLAGS
12767 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12768 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12771 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 :
12772 case "x$with_gstreamer" in
12773 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12774 xno) ;;
12775 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12776 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12777 esac
12780 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12782 ALSA_LIBS=""
12784 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12785 then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12787 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12788 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lasound $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char snd_pcm_hw_params_get_access_mask ();
12804 main ()
12806 return snd_pcm_hw_params_get_access_mask ();
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12813 else
12814 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12821 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12822 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12825 #ifdef HAVE_ALSA_ASOUNDLIB_H
12826 #include <alsa/asoundlib.h>
12827 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12828 #include <sys/asoundlib.h>
12829 #endif
12831 main ()
12833 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12835 return 0;
12837 _ACEOF
12838 if ac_fn_c_try_compile "$LINENO"; then :
12839 ALSA_LIBS="-lasound"
12841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12845 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12847 if test "x$with_oss" != xno
12848 then
12849 ac_save_CPPFLAGS="$CPPFLAGS"
12850 if test -f /etc/oss.conf
12851 then
12852 . /etc/oss.conf
12854 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12855 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12856 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12857 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12858 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12860 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12862 cat >>confdefs.h <<_ACEOF
12863 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12864 _ACEOF
12866 OSS4_CFLAGS="$ac_oss_incl"
12873 CPPFLAGS="$ac_save_CPPFLAGS"
12875 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12876 case "x$with_oss" in
12877 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12878 xno) ;;
12879 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12880 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12881 esac
12882 enable_wineoss_drv=${enable_wineoss_drv:-no}
12885 if test "x$with_capi" != "xno"
12886 then
12887 if ${CAPI20_CFLAGS:+false} :; then :
12888 if ${PKG_CONFIG+:} false; then :
12889 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12893 if ${CAPI20_LIBS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12900 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12901 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12902 ac_save_CPPFLAGS=$CPPFLAGS
12903 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12904 for ac_header in capi20.h linux/capi.h
12905 do :
12906 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12909 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12910 cat >>confdefs.h <<_ACEOF
12911 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12912 _ACEOF
12916 done
12918 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12919 then
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12921 $as_echo_n "checking for -lcapi20... " >&6; }
12922 if ${ac_cv_lib_soname_capi20+:} false; then :
12923 $as_echo_n "(cached) " >&6
12924 else
12925 ac_check_soname_save_LIBS=$LIBS
12926 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12930 /* Override any GCC internal prototype to avoid an error.
12931 Use char because int might match the return type of a GCC
12932 builtin and then its argument prototype would still apply. */
12933 #ifdef __cplusplus
12934 extern "C"
12935 #endif
12936 char capi20_register ();
12938 main ()
12940 return capi20_register ();
12942 return 0;
12944 _ACEOF
12945 if ac_fn_c_try_link "$LINENO"; then :
12946 case "$LIBEXT" in
12947 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12948 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'` ;;
12949 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12950 if ${ac_cv_lib_soname_capi20:+false} :; then :
12951 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12952 fi ;;
12953 esac
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_soname_save_LIBS
12959 if ${ac_cv_lib_soname_capi20:+false} :; then :
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12961 $as_echo "not found" >&6; }
12963 else
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12965 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12967 cat >>confdefs.h <<_ACEOF
12968 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12969 _ACEOF
12974 CPPFLAGS=$ac_save_CPPFLAGS
12975 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12976 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12979 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12980 case "x$with_capi" in
12981 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12982 xno) ;;
12983 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12984 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12985 esac
12989 CUPS_CFLAGS=""
12991 if test "x$with_cups" != "xno"
12992 then
12993 ac_save_CPPFLAGS="$CPPFLAGS"
12994 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12995 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12996 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12997 for ac_header in cups/cups.h
12998 do :
12999 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13000 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_CUPS_CUPS_H 1
13003 _ACEOF
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13005 $as_echo_n "checking for -lcups... " >&6; }
13006 if ${ac_cv_lib_soname_cups+:} false; then :
13007 $as_echo_n "(cached) " >&6
13008 else
13009 ac_check_soname_save_LIBS=$LIBS
13010 LIBS="-lcups $ac_cups_libs $LIBS"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13017 #ifdef __cplusplus
13018 extern "C"
13019 #endif
13020 char cupsGetDefault ();
13022 main ()
13024 return cupsGetDefault ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"; then :
13030 case "$LIBEXT" in
13031 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13032 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'` ;;
13033 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13034 if ${ac_cv_lib_soname_cups:+false} :; then :
13035 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13036 fi ;;
13037 esac
13039 rm -f core conftest.err conftest.$ac_objext \
13040 conftest$ac_exeext conftest.$ac_ext
13041 LIBS=$ac_check_soname_save_LIBS
13043 if ${ac_cv_lib_soname_cups:+false} :; then :
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13045 $as_echo "not found" >&6; }
13047 else
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13049 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13051 cat >>confdefs.h <<_ACEOF
13052 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13053 _ACEOF
13055 CUPS_CFLAGS="$ac_cups_cflags"
13057 for ac_header in cups/ppd.h
13058 do :
13059 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13060 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13061 cat >>confdefs.h <<_ACEOF
13062 #define HAVE_CUPS_PPD_H 1
13063 _ACEOF
13067 done
13071 done
13073 CPPFLAGS="$ac_save_CPPFLAGS"
13075 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13076 case "x$with_cups" in
13077 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13078 xno) ;;
13079 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13080 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13081 esac
13085 if test "x$with_fontconfig" != "xno"
13086 then
13087 if ${FONTCONFIG_CFLAGS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13092 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13093 if ${FONTCONFIG_LIBS:+false} :; then :
13094 if ${PKG_CONFIG+:} false; then :
13095 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13098 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13100 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13102 ac_save_CPPFLAGS=$CPPFLAGS
13103 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13104 for ac_header in fontconfig/fontconfig.h
13105 do :
13106 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13107 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13108 cat >>confdefs.h <<_ACEOF
13109 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13110 _ACEOF
13114 done
13116 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13117 then
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13119 $as_echo_n "checking for -lfontconfig... " >&6; }
13120 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_soname_save_LIBS=$LIBS
13124 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char FcInit ();
13136 main ()
13138 return FcInit ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 case "$LIBEXT" in
13145 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13146 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'` ;;
13147 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13148 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13149 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13150 fi ;;
13151 esac
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_soname_save_LIBS
13157 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13159 $as_echo "not found" >&6; }
13160 FONTCONFIG_CFLAGS=""
13161 else
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13163 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13165 cat >>confdefs.h <<_ACEOF
13166 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13167 _ACEOF
13171 else
13172 FONTCONFIG_CFLAGS=""
13174 CPPFLAGS=$ac_save_CPPFLAGS
13175 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13176 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13179 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13180 case "x$with_fontconfig" in
13181 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13182 xno) ;;
13183 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13184 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13185 esac
13189 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13190 then
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13192 $as_echo_n "checking for -lgsm... " >&6; }
13193 if ${ac_cv_lib_soname_gsm+:} false; then :
13194 $as_echo_n "(cached) " >&6
13195 else
13196 ac_check_soname_save_LIBS=$LIBS
13197 LIBS="-lgsm $LIBS"
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h. */
13201 /* Override any GCC internal prototype to avoid an error.
13202 Use char because int might match the return type of a GCC
13203 builtin and then its argument prototype would still apply. */
13204 #ifdef __cplusplus
13205 extern "C"
13206 #endif
13207 char gsm_create ();
13209 main ()
13211 return gsm_create ();
13213 return 0;
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"; then :
13217 case "$LIBEXT" in
13218 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13219 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'` ;;
13220 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13221 if ${ac_cv_lib_soname_gsm:+false} :; then :
13222 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13223 fi ;;
13224 esac
13226 rm -f core conftest.err conftest.$ac_objext \
13227 conftest$ac_exeext conftest.$ac_ext
13228 LIBS=$ac_check_soname_save_LIBS
13230 if ${ac_cv_lib_soname_gsm:+false} :; then :
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13232 $as_echo "not found" >&6; }
13234 else
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13236 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13238 cat >>confdefs.h <<_ACEOF
13239 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13240 _ACEOF
13245 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13246 case "x$with_gsm" in
13247 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13248 xno) ;;
13249 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13250 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13251 esac
13255 if test "x$with_jpeg" != "xno"
13256 then
13257 if ${JPEG_CFLAGS:+false} :; then :
13258 if ${PKG_CONFIG+:} false; then :
13259 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13263 if ${JPEG_LIBS:+false} :; then :
13264 if ${PKG_CONFIG+:} false; then :
13265 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13270 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13271 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13272 ac_save_CPPFLAGS=$CPPFLAGS
13273 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13274 for ac_header in jpeglib.h
13275 do :
13276 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13277 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13278 cat >>confdefs.h <<_ACEOF
13279 #define HAVE_JPEGLIB_H 1
13280 _ACEOF
13284 done
13286 if test "$ac_cv_header_jpeglib_h" = "yes"
13287 then
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13289 $as_echo_n "checking for -ljpeg... " >&6; }
13290 if ${ac_cv_lib_soname_jpeg+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_soname_save_LIBS=$LIBS
13294 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char jpeg_start_decompress ();
13306 main ()
13308 return jpeg_start_decompress ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 case "$LIBEXT" in
13315 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13316 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'` ;;
13317 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13318 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13319 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13320 fi ;;
13321 esac
13323 rm -f core conftest.err conftest.$ac_objext \
13324 conftest$ac_exeext conftest.$ac_ext
13325 LIBS=$ac_check_soname_save_LIBS
13327 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13329 $as_echo "not found" >&6; }
13330 JPEG_CFLAGS=""
13331 else
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13333 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13335 cat >>confdefs.h <<_ACEOF
13336 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13337 _ACEOF
13341 else
13342 JPEG_CFLAGS=""
13344 CPPFLAGS=$ac_save_CPPFLAGS
13345 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13346 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13349 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13350 case "x$with_jpeg" in
13351 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13352 xno) ;;
13353 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13354 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13355 esac
13359 if test "x$with_png" != "xno"
13360 then
13361 if ${PNG_CFLAGS:+false} :; then :
13362 if ${PKG_CONFIG+:} false; then :
13363 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13366 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13367 if ${PNG_LIBS:+false} :; then :
13368 if ${PKG_CONFIG+:} false; then :
13369 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13372 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13374 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13375 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13376 ac_save_CPPFLAGS=$CPPFLAGS
13377 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13378 for ac_header in png.h
13379 do :
13380 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13381 if test "x$ac_cv_header_png_h" = xyes; then :
13382 cat >>confdefs.h <<_ACEOF
13383 #define HAVE_PNG_H 1
13384 _ACEOF
13388 done
13390 if test "$ac_cv_header_png_h" = "yes"
13391 then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13393 $as_echo_n "checking for -lpng... " >&6; }
13394 if ${ac_cv_lib_soname_png+:} false; then :
13395 $as_echo_n "(cached) " >&6
13396 else
13397 ac_check_soname_save_LIBS=$LIBS
13398 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 char png_create_read_struct ();
13410 main ()
13412 return png_create_read_struct ();
13414 return 0;
13416 _ACEOF
13417 if ac_fn_c_try_link "$LINENO"; then :
13418 case "$LIBEXT" in
13419 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13420 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'` ;;
13421 *) 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'`
13422 if ${ac_cv_lib_soname_png:+false} :; then :
13423 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13424 fi ;;
13425 esac
13427 rm -f core conftest.err conftest.$ac_objext \
13428 conftest$ac_exeext conftest.$ac_ext
13429 LIBS=$ac_check_soname_save_LIBS
13431 if ${ac_cv_lib_soname_png:+false} :; then :
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13433 $as_echo "not found" >&6; }
13434 PNG_CFLAGS=""
13435 else
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13437 $as_echo "$ac_cv_lib_soname_png" >&6; }
13439 cat >>confdefs.h <<_ACEOF
13440 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13441 _ACEOF
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <png.h>
13447 main ()
13449 typeof(png_set_expand_gray_1_2_4_to_8) *p
13451 return 0;
13453 _ACEOF
13454 if ac_fn_c_try_compile "$LINENO"; then :
13456 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13461 else
13462 PNG_CFLAGS=""
13464 CPPFLAGS=$ac_save_CPPFLAGS
13465 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13466 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13469 if test "x$ac_cv_lib_soname_png" = "x"; then :
13470 case "x$with_png" in
13471 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13472 xno) ;;
13473 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13474 This is an error since --with-png was requested." "$LINENO" 5 ;;
13475 esac
13479 if test "x$with_tiff" != "xno"
13480 then
13481 if ${TIFF_CFLAGS:+false} :; then :
13482 if ${PKG_CONFIG+:} false; then :
13483 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13487 if ${TIFF_LIBS:+false} :; then :
13488 if ${PKG_CONFIG+:} false; then :
13489 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13494 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13495 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13496 ac_save_CPPFLAGS=$CPPFLAGS
13497 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13498 for ac_header in tiffio.h
13499 do :
13500 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13501 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13502 cat >>confdefs.h <<_ACEOF
13503 #define HAVE_TIFFIO_H 1
13504 _ACEOF
13508 done
13510 if test "$ac_cv_header_tiffio_h" = "yes"
13511 then
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13513 $as_echo_n "checking for -ltiff... " >&6; }
13514 if ${ac_cv_lib_soname_tiff+:} false; then :
13515 $as_echo_n "(cached) " >&6
13516 else
13517 ac_check_soname_save_LIBS=$LIBS
13518 LIBS="-ltiff $TIFF_LIBS $LIBS"
13519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13525 #ifdef __cplusplus
13526 extern "C"
13527 #endif
13528 char TIFFClientOpen ();
13530 main ()
13532 return TIFFClientOpen ();
13534 return 0;
13536 _ACEOF
13537 if ac_fn_c_try_link "$LINENO"; then :
13538 case "$LIBEXT" in
13539 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13540 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'` ;;
13541 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13542 if ${ac_cv_lib_soname_tiff:+false} :; then :
13543 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13544 fi ;;
13545 esac
13547 rm -f core conftest.err conftest.$ac_objext \
13548 conftest$ac_exeext conftest.$ac_ext
13549 LIBS=$ac_check_soname_save_LIBS
13551 if ${ac_cv_lib_soname_tiff:+false} :; then :
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13553 $as_echo "not found" >&6; }
13555 else
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13557 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13559 cat >>confdefs.h <<_ACEOF
13560 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13561 _ACEOF
13566 CPPFLAGS=$ac_save_CPPFLAGS
13567 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13568 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13571 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13572 case "x$with_tiff" in
13573 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13574 xno) ;;
13575 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13576 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13577 esac
13581 if test "x$with_mpg123" != "xno"
13582 then
13583 if ${MPG123_CFLAGS:+false} :; then :
13584 if ${PKG_CONFIG+:} false; then :
13585 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13589 if ${MPG123_LIBS:+false} :; then :
13590 if ${PKG_CONFIG+:} false; then :
13591 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13595 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13596 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13597 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13598 ac_save_CPPFLAGS=$CPPFLAGS
13599 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13600 for ac_header in mpg123.h
13601 do :
13602 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13603 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13604 cat >>confdefs.h <<_ACEOF
13605 #define HAVE_MPG123_H 1
13606 _ACEOF
13610 done
13612 if test "$ac_cv_header_mpg123_h" = "yes"
13613 then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13615 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13616 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13617 $as_echo_n "(cached) " >&6
13618 else
13619 ac_check_lib_save_LIBS=$LIBS
13620 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13627 #ifdef __cplusplus
13628 extern "C"
13629 #endif
13630 char mpg123_feed ();
13632 main ()
13634 return mpg123_feed ();
13636 return 0;
13638 _ACEOF
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 ac_cv_lib_mpg123_mpg123_feed=yes
13641 else
13642 ac_cv_lib_mpg123_mpg123_feed=no
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS=$ac_check_lib_save_LIBS
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13649 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13650 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13652 else
13653 MPG123_LIBS=""
13656 else
13657 MPG123_CFLAGS=""
13658 MPG123_LIBS=""
13660 CPPFLAGS=$ac_save_CPPFLAGS
13661 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13662 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13665 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13666 case "x$with_mpg123" in
13667 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13668 xno) ;;
13669 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13670 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13671 esac
13672 enable_winemp3_acm=${enable_winemp3_acm:-no}
13675 if test "$ac_cv_header_AL_al_h" = "yes"
13676 then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13678 $as_echo_n "checking for -lopenal... " >&6; }
13679 if ${ac_cv_lib_soname_openal+:} false; then :
13680 $as_echo_n "(cached) " >&6
13681 else
13682 ac_check_soname_save_LIBS=$LIBS
13683 LIBS="-lopenal $LIBS"
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 /* Override any GCC internal prototype to avoid an error.
13688 Use char because int might match the return type of a GCC
13689 builtin and then its argument prototype would still apply. */
13690 #ifdef __cplusplus
13691 extern "C"
13692 #endif
13693 char alGetSource3i ();
13695 main ()
13697 return alGetSource3i ();
13699 return 0;
13701 _ACEOF
13702 if ac_fn_c_try_link "$LINENO"; then :
13703 case "$LIBEXT" in
13704 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13705 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'` ;;
13706 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13707 if ${ac_cv_lib_soname_openal:+false} :; then :
13708 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13709 fi ;;
13710 esac
13712 rm -f core conftest.err conftest.$ac_objext \
13713 conftest$ac_exeext conftest.$ac_ext
13714 LIBS=$ac_check_soname_save_LIBS
13716 if ${ac_cv_lib_soname_openal:+false} :; then :
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13718 $as_echo "not found" >&6; }
13720 else
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13722 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13724 cat >>confdefs.h <<_ACEOF
13725 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13726 _ACEOF
13728 OPENAL_LIBS="-lopenal"
13730 ac_cv_lib_openal=yes
13732 cat >>confdefs.h <<_ACEOF
13733 #define HAVE_OPENAL 1
13734 _ACEOF
13738 if test "x$ac_cv_lib_openal" != xyes; then :
13739 case "x$with_openal" in
13740 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13741 xno) ;;
13742 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13743 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13744 esac
13745 enable_openal32=${enable_openal32:-no}
13748 if test "x$ac_cv_lib_openal" = xyes
13749 then
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13751 $as_echo_n "checking for openal-soft... " >&6; }
13752 if ${ac_cv_have_openalsoft+:} false; then :
13753 $as_echo_n "(cached) " >&6
13754 else
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 #include <AL/al.h>
13758 #include <AL/alc.h>
13759 #include <AL/alext.h>
13760 LPALCRENDERSAMPLESSOFT x;
13762 main ()
13766 return 0;
13768 _ACEOF
13769 if ac_fn_c_try_compile "$LINENO"; then :
13770 ac_cv_have_openalsoft=yes
13771 else
13772 ac_cv_have_openalsoft=no
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13777 $as_echo "$ac_cv_have_openalsoft" >&6; }
13779 if test "x$ac_cv_have_openalsoft" != xyes
13780 then
13781 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13782 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13783 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13784 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13785 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13786 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13787 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13788 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13789 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13790 enable_xapofx1_1=${enable_xapofx1_1:-no}
13791 enable_xapofx1_2=${enable_xapofx1_2:-no}
13792 enable_xapofx1_3=${enable_xapofx1_3:-no}
13793 enable_xapofx1_4=${enable_xapofx1_4:-no}
13794 enable_xapofx1_5=${enable_xapofx1_5:-no}
13795 enable_xaudio2_0=${enable_xaudio2_0:-no}
13796 enable_xaudio2_1=${enable_xaudio2_1:-no}
13797 enable_xaudio2_2=${enable_xaudio2_2:-no}
13798 enable_xaudio2_3=${enable_xaudio2_3:-no}
13799 enable_xaudio2_4=${enable_xaudio2_4:-no}
13800 enable_xaudio2_5=${enable_xaudio2_5:-no}
13801 enable_xaudio2_6=${enable_xaudio2_6:-no}
13802 enable_xaudio2_7=${enable_xaudio2_7:-no}
13803 enable_xaudio2_8=${enable_xaudio2_8:-no}
13804 enable_xaudio2_9=${enable_xaudio2_9:-no}
13807 if test "$ac_cv_header_kstat_h" = "yes"
13808 then
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13810 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13811 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 ac_check_lib_save_LIBS=$LIBS
13815 LIBS="-lkstat $LIBS"
13816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13817 /* end confdefs.h. */
13819 /* Override any GCC internal prototype to avoid an error.
13820 Use char because int might match the return type of a GCC
13821 builtin and then its argument prototype would still apply. */
13822 #ifdef __cplusplus
13823 extern "C"
13824 #endif
13825 char kstat_open ();
13827 main ()
13829 return kstat_open ();
13831 return 0;
13833 _ACEOF
13834 if ac_fn_c_try_link "$LINENO"; then :
13835 ac_cv_lib_kstat_kstat_open=yes
13836 else
13837 ac_cv_lib_kstat_kstat_open=no
13839 rm -f core conftest.err conftest.$ac_objext \
13840 conftest$ac_exeext conftest.$ac_ext
13841 LIBS=$ac_check_lib_save_LIBS
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13844 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13845 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13847 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13849 KSTAT_LIBS="-lkstat"
13855 if test "$ac_cv_header_libprocstat_h" = "yes"
13856 then
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13858 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13859 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13860 $as_echo_n "(cached) " >&6
13861 else
13862 ac_check_lib_save_LIBS=$LIBS
13863 LIBS="-lprocstat $LIBS"
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13865 /* end confdefs.h. */
13867 /* Override any GCC internal prototype to avoid an error.
13868 Use char because int might match the return type of a GCC
13869 builtin and then its argument prototype would still apply. */
13870 #ifdef __cplusplus
13871 extern "C"
13872 #endif
13873 char procstat_open_sysctl ();
13875 main ()
13877 return procstat_open_sysctl ();
13879 return 0;
13881 _ACEOF
13882 if ac_fn_c_try_link "$LINENO"; then :
13883 ac_cv_lib_procstat_procstat_open_sysctl=yes
13884 else
13885 ac_cv_lib_procstat_procstat_open_sysctl=no
13887 rm -f core conftest.err conftest.$ac_objext \
13888 conftest$ac_exeext conftest.$ac_ext
13889 LIBS=$ac_check_lib_save_LIBS
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13892 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13893 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13895 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13897 PROCSTAT_LIBS="-lprocstat"
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13904 $as_echo_n "checking for -lodbc... " >&6; }
13905 if ${ac_cv_lib_soname_odbc+:} false; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 ac_check_soname_save_LIBS=$LIBS
13909 LIBS="-lodbc $LIBS"
13910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13911 /* end confdefs.h. */
13913 /* Override any GCC internal prototype to avoid an error.
13914 Use char because int might match the return type of a GCC
13915 builtin and then its argument prototype would still apply. */
13916 #ifdef __cplusplus
13917 extern "C"
13918 #endif
13919 char SQLConnect ();
13921 main ()
13923 return SQLConnect ();
13925 return 0;
13927 _ACEOF
13928 if ac_fn_c_try_link "$LINENO"; then :
13929 case "$LIBEXT" in
13930 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13931 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'` ;;
13932 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13933 if ${ac_cv_lib_soname_odbc:+false} :; then :
13934 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13935 fi ;;
13936 esac
13938 rm -f core conftest.err conftest.$ac_objext \
13939 conftest$ac_exeext conftest.$ac_ext
13940 LIBS=$ac_check_soname_save_LIBS
13942 if ${ac_cv_lib_soname_odbc:+false} :; then :
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13944 $as_echo "not found" >&6; }
13945 cat >>confdefs.h <<_ACEOF
13946 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13947 _ACEOF
13949 else
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13951 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13953 cat >>confdefs.h <<_ACEOF
13954 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13955 _ACEOF
13960 if test "x$with_netapi" != "xno"
13961 then
13962 if ${NETAPI_CFLAGS:+false} :; then :
13963 if ${PKG_CONFIG+:} false; then :
13964 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13968 if ${NETAPI_LIBS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13975 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13976 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13977 ac_save_CPPFLAGS=$CPPFLAGS
13978 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13980 $as_echo_n "checking for -lnetapi... " >&6; }
13981 if ${ac_cv_lib_soname_netapi+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_check_soname_save_LIBS=$LIBS
13985 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char libnetapi_init ();
13997 main ()
13999 return libnetapi_init ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 case "$LIBEXT" in
14006 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14007 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'` ;;
14008 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14009 if ${ac_cv_lib_soname_netapi:+false} :; then :
14010 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14011 fi ;;
14012 esac
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_soname_save_LIBS
14018 if ${ac_cv_lib_soname_netapi:+false} :; then :
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14020 $as_echo "not found" >&6; }
14021 cat >>confdefs.h <<_ACEOF
14022 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14023 _ACEOF
14025 else
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14027 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14029 cat >>confdefs.h <<_ACEOF
14030 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14031 _ACEOF
14035 CPPFLAGS=$ac_save_CPPFLAGS
14036 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14037 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14041 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14042 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14043 then
14044 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14048 EXTRACFLAGS=""
14050 if test "x${GCC}" = "xyes"
14051 then
14052 EXTRACFLAGS="-Wall -pipe"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14055 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14056 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 if test "$cross_compiling" = yes; then :
14060 ac_cv_c_gcc_strength_bug="no"
14061 else
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14064 int L[4] = {0,1,2,3};
14066 main ()
14068 static int Array[3];
14069 unsigned int B = 3;
14070 int i;
14071 for(i=0; i<B; i++) Array[i] = i - 3;
14072 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14073 L[i] = 4;
14074 return (Array[1] != -2 || L[2] != 3)
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_run "$LINENO"; then :
14080 ac_cv_c_gcc_strength_bug="no"
14081 else
14082 ac_cv_c_gcc_strength_bug="yes"
14084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14085 conftest.$ac_objext conftest.beam conftest.$ac_ext
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14090 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14091 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14092 then
14093 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14097 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14098 if ${ac_cv_cflags__fno_builtin+:} false; then :
14099 $as_echo_n "(cached) " >&6
14100 else
14101 ac_wine_try_cflags_saved=$CFLAGS
14102 CFLAGS="$CFLAGS -fno-builtin"
14103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14105 int main(int argc, char **argv) { return 0; }
14106 _ACEOF
14107 if ac_fn_c_try_link "$LINENO"; then :
14108 ac_cv_cflags__fno_builtin=yes
14109 else
14110 ac_cv_cflags__fno_builtin=no
14112 rm -f core conftest.err conftest.$ac_objext \
14113 conftest$ac_exeext conftest.$ac_ext
14114 CFLAGS=$ac_wine_try_cflags_saved
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14117 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14118 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14119 BUILTINFLAG="-fno-builtin"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14123 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14124 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 ac_wine_try_cflags_saved=$CFLAGS
14128 CFLAGS="$CFLAGS -fno-strict-aliasing"
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 ac_cv_cflags__fno_strict_aliasing=yes
14135 else
14136 ac_cv_cflags__fno_strict_aliasing=no
14138 rm -f core conftest.err conftest.$ac_objext \
14139 conftest$ac_exeext conftest.$ac_ext
14140 CFLAGS=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14143 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14144 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14145 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14148 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14149 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_wine_try_cflags_saved=$CFLAGS
14153 CFLAGS="$CFLAGS -fexcess-precision=standard"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 ac_cv_cflags__fexcess_precision_standard=yes
14160 else
14161 ac_cv_cflags__fexcess_precision_standard=no
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 CFLAGS=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14168 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14169 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14170 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14173 saved_CFLAGS=$CFLAGS
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14175 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14176 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14177 $as_echo_n "(cached) " >&6
14178 else
14179 ac_wine_try_cflags_saved=$CFLAGS
14180 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 int main(int argc, char **argv) { return 0; }
14184 _ACEOF
14185 if ac_fn_c_try_link "$LINENO"; then :
14186 ac_cv_cflags__Werror_unknown_warning_option=yes
14187 else
14188 ac_cv_cflags__Werror_unknown_warning_option=no
14190 rm -f core conftest.err conftest.$ac_objext \
14191 conftest$ac_exeext conftest.$ac_ext
14192 CFLAGS=$ac_wine_try_cflags_saved
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14195 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14196 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14197 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14200 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14201 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14202 $as_echo_n "(cached) " >&6
14203 else
14204 ac_wine_try_cflags_saved=$CFLAGS
14205 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14207 /* end confdefs.h. */
14208 int main(int argc, char **argv) { return 0; }
14209 _ACEOF
14210 if ac_fn_c_try_link "$LINENO"; then :
14211 ac_cv_cflags__Wdeclaration_after_statement=yes
14212 else
14213 ac_cv_cflags__Wdeclaration_after_statement=no
14215 rm -f core conftest.err conftest.$ac_objext \
14216 conftest$ac_exeext conftest.$ac_ext
14217 CFLAGS=$ac_wine_try_cflags_saved
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14220 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14221 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14222 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14225 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14226 if ${ac_cv_cflags__Wempty_body+:} false; then :
14227 $as_echo_n "(cached) " >&6
14228 else
14229 ac_wine_try_cflags_saved=$CFLAGS
14230 CFLAGS="$CFLAGS -Wempty-body"
14231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14232 /* end confdefs.h. */
14233 int main(int argc, char **argv) { return 0; }
14234 _ACEOF
14235 if ac_fn_c_try_link "$LINENO"; then :
14236 ac_cv_cflags__Wempty_body=yes
14237 else
14238 ac_cv_cflags__Wempty_body=no
14240 rm -f core conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14242 CFLAGS=$ac_wine_try_cflags_saved
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14245 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14246 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14247 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14250 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14251 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_wine_try_cflags_saved=$CFLAGS
14255 CFLAGS="$CFLAGS -Wignored-qualifiers"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14258 int main(int argc, char **argv) { return 0; }
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 ac_cv_cflags__Wignored_qualifiers=yes
14262 else
14263 ac_cv_cflags__Wignored_qualifiers=no
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14267 CFLAGS=$ac_wine_try_cflags_saved
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14270 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14271 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14272 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14275 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14276 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14277 $as_echo_n "(cached) " >&6
14278 else
14279 ac_wine_try_cflags_saved=$CFLAGS
14280 CFLAGS="$CFLAGS -Wshift-overflow=2"
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 int main(int argc, char **argv) { return 0; }
14284 _ACEOF
14285 if ac_fn_c_try_link "$LINENO"; then :
14286 ac_cv_cflags__Wshift_overflow_2=yes
14287 else
14288 ac_cv_cflags__Wshift_overflow_2=no
14290 rm -f core conftest.err conftest.$ac_objext \
14291 conftest$ac_exeext conftest.$ac_ext
14292 CFLAGS=$ac_wine_try_cflags_saved
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14295 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14296 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14297 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14300 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14301 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 ac_wine_try_cflags_saved=$CFLAGS
14305 CFLAGS="$CFLAGS -Wstrict-prototypes"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14308 int main(int argc, char **argv) { return 0; }
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"; then :
14311 ac_cv_cflags__Wstrict_prototypes=yes
14312 else
14313 ac_cv_cflags__Wstrict_prototypes=no
14315 rm -f core conftest.err conftest.$ac_objext \
14316 conftest$ac_exeext conftest.$ac_ext
14317 CFLAGS=$ac_wine_try_cflags_saved
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14320 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14321 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14322 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14325 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14326 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14327 $as_echo_n "(cached) " >&6
14328 else
14329 ac_wine_try_cflags_saved=$CFLAGS
14330 CFLAGS="$CFLAGS -Wtype-limits"
14331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14332 /* end confdefs.h. */
14333 int main(int argc, char **argv) { return 0; }
14334 _ACEOF
14335 if ac_fn_c_try_link "$LINENO"; then :
14336 ac_cv_cflags__Wtype_limits=yes
14337 else
14338 ac_cv_cflags__Wtype_limits=no
14340 rm -f core conftest.err conftest.$ac_objext \
14341 conftest$ac_exeext conftest.$ac_ext
14342 CFLAGS=$ac_wine_try_cflags_saved
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14345 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14346 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14347 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14350 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14351 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14352 $as_echo_n "(cached) " >&6
14353 else
14354 ac_wine_try_cflags_saved=$CFLAGS
14355 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14357 /* end confdefs.h. */
14358 int main(int argc, char **argv) { return 0; }
14359 _ACEOF
14360 if ac_fn_c_try_link "$LINENO"; then :
14361 ac_cv_cflags__Wunused_but_set_parameter=yes
14362 else
14363 ac_cv_cflags__Wunused_but_set_parameter=no
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 CFLAGS=$ac_wine_try_cflags_saved
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14370 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14371 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14372 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14375 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14376 if ${ac_cv_cflags__Wvla+:} false; then :
14377 $as_echo_n "(cached) " >&6
14378 else
14379 ac_wine_try_cflags_saved=$CFLAGS
14380 CFLAGS="$CFLAGS -Wvla"
14381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14382 /* end confdefs.h. */
14383 int main(int argc, char **argv) { return 0; }
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 ac_cv_cflags__Wvla=yes
14387 else
14388 ac_cv_cflags__Wvla=no
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 CFLAGS=$ac_wine_try_cflags_saved
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14395 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14396 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14397 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14400 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14401 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14402 $as_echo_n "(cached) " >&6
14403 else
14404 ac_wine_try_cflags_saved=$CFLAGS
14405 CFLAGS="$CFLAGS -Wwrite-strings"
14406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14407 /* end confdefs.h. */
14408 int main(int argc, char **argv) { return 0; }
14409 _ACEOF
14410 if ac_fn_c_try_link "$LINENO"; then :
14411 ac_cv_cflags__Wwrite_strings=yes
14412 else
14413 ac_cv_cflags__Wwrite_strings=no
14415 rm -f core conftest.err conftest.$ac_objext \
14416 conftest$ac_exeext conftest.$ac_ext
14417 CFLAGS=$ac_wine_try_cflags_saved
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14420 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14421 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14422 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14426 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14427 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_wine_try_cflags_saved=$CFLAGS
14431 CFLAGS="$CFLAGS -Wpointer-arith"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14434 int main(int argc, char **argv) { return 0; }
14435 _ACEOF
14436 if ac_fn_c_try_link "$LINENO"; then :
14437 ac_cv_cflags__Wpointer_arith=yes
14438 else
14439 ac_cv_cflags__Wpointer_arith=no
14441 rm -f core conftest.err conftest.$ac_objext \
14442 conftest$ac_exeext conftest.$ac_ext
14443 CFLAGS=$ac_wine_try_cflags_saved
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14446 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14447 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14448 saved_string_h_CFLAGS=$CFLAGS
14449 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14451 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14452 if ${ac_cv_c_string_h_warnings+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14456 /* end confdefs.h. */
14457 #include <string.h>
14459 main ()
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_compile "$LINENO"; then :
14467 ac_cv_c_string_h_warnings=no
14468 else
14469 ac_cv_c_string_h_warnings=yes
14471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14474 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14475 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14476 CFLAGS=$saved_string_h_CFLAGS
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14480 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14481 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14482 $as_echo_n "(cached) " >&6
14483 else
14484 ac_wine_try_cflags_saved=$CFLAGS
14485 CFLAGS="$CFLAGS -Wlogical-op"
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488 int main(int argc, char **argv) { return 0; }
14489 _ACEOF
14490 if ac_fn_c_try_link "$LINENO"; then :
14491 ac_cv_cflags__Wlogical_op=yes
14492 else
14493 ac_cv_cflags__Wlogical_op=no
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14497 CFLAGS=$ac_wine_try_cflags_saved
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14500 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14501 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14502 saved_string_h_CFLAGS=$CFLAGS
14503 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14505 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14506 if ${ac_cv_c_logicalop_noisy+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14511 #include <string.h>
14512 char*f(const char *h,char n) {return strchr(h,n);}
14514 main ()
14518 return 0;
14520 _ACEOF
14521 if ac_fn_c_try_compile "$LINENO"; then :
14522 ac_cv_c_logicalop_noisy=no
14523 else
14524 ac_cv_c_logicalop_noisy=yes
14526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14529 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14530 CFLAGS=$saved_string_h_CFLAGS
14531 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14534 CFLAGS=$saved_CFLAGS
14536 for ac_flag in $CFLAGS; do
14537 case $ac_flag in
14538 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14539 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14540 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14541 $as_echo_n "(cached) " >&6
14542 else
14543 ac_wine_try_cflags_saved=$CFLAGS
14544 CFLAGS="$CFLAGS -gdwarf-2"
14545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 int main(int argc, char **argv) { return 0; }
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_cflags__gdwarf_2=yes
14551 else
14552 ac_cv_cflags__gdwarf_2=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 CFLAGS=$ac_wine_try_cflags_saved
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14559 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14560 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14561 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14564 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14565 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14566 $as_echo_n "(cached) " >&6
14567 else
14568 ac_wine_try_cflags_saved=$CFLAGS
14569 CFLAGS="$CFLAGS -gstrict-dwarf"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14572 int main(int argc, char **argv) { return 0; }
14573 _ACEOF
14574 if ac_fn_c_try_link "$LINENO"; then :
14575 ac_cv_cflags__gstrict_dwarf=yes
14576 else
14577 ac_cv_cflags__gstrict_dwarf=no
14579 rm -f core conftest.err conftest.$ac_objext \
14580 conftest$ac_exeext conftest.$ac_ext
14581 CFLAGS=$ac_wine_try_cflags_saved
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14584 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14585 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14586 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14587 fi ;;
14588 esac
14589 done
14591 case $host_cpu in
14592 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14593 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14594 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14595 $as_echo_n "(cached) " >&6
14596 else
14597 ac_wine_try_cflags_saved=$CFLAGS
14598 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14601 int main(int argc, char **argv) { return 0; }
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_cflags__fno_omit_frame_pointer=yes
14605 else
14606 ac_cv_cflags__fno_omit_frame_pointer=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 CFLAGS=$ac_wine_try_cflags_saved
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14613 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14614 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14615 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14616 fi ;;
14617 esac
14619 case $host in
14620 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14621 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14622 if ${ac_cv_cflags__Wno_format+:} false; then :
14623 $as_echo_n "(cached) " >&6
14624 else
14625 ac_wine_try_cflags_saved=$CFLAGS
14626 CFLAGS="$CFLAGS -Wno-format"
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 int main(int argc, char **argv) { return 0; }
14630 _ACEOF
14631 if ac_fn_c_try_link "$LINENO"; then :
14632 ac_cv_cflags__Wno_format=yes
14633 else
14634 ac_cv_cflags__Wno_format=no
14636 rm -f core conftest.err conftest.$ac_objext \
14637 conftest$ac_exeext conftest.$ac_ext
14638 CFLAGS=$ac_wine_try_cflags_saved
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14641 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14642 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14643 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14644 fi ;;
14645 esac
14647 if test "x$enable_maintainer_mode" = "xyes"
14648 then
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14650 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14651 if ${ac_cv_cflags__Werror+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_wine_try_cflags_saved=$CFLAGS
14655 CFLAGS="$CFLAGS -Werror"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14658 int main(int argc, char **argv) { return 0; }
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661 ac_cv_cflags__Werror=yes
14662 else
14663 ac_cv_cflags__Werror=no
14665 rm -f core conftest.err conftest.$ac_objext \
14666 conftest$ac_exeext conftest.$ac_ext
14667 CFLAGS=$ac_wine_try_cflags_saved
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14670 $as_echo "$ac_cv_cflags__Werror" >&6; }
14671 if test "x$ac_cv_cflags__Werror" = xyes; then :
14672 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14676 saved_CFLAGS="$CFLAGS"
14677 CFLAGS="$CFLAGS -Werror"
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14679 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14680 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14681 $as_echo_n "(cached) " >&6
14682 else
14683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h. */
14685 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14687 main ()
14691 return 0;
14693 _ACEOF
14694 if ac_fn_c_try_compile "$LINENO"; then :
14695 ac_cv_have_ms_hook_prologue="yes"
14696 else
14697 ac_cv_have_ms_hook_prologue="no"
14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14702 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14703 CFLAGS="$saved_CFLAGS"
14704 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14705 then
14707 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14709 else
14710 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14717 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14718 if ${ac_cv_c_fortify_enabled+:} false; then :
14719 $as_echo_n "(cached) " >&6
14720 else
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 #include <string.h>
14725 main ()
14727 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14728 #error Fortify enabled
14729 #endif
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_compile "$LINENO"; then :
14735 ac_cv_c_fortify_enabled=no
14736 else
14737 ac_cv_c_fortify_enabled=yes
14739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14742 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14743 if test "$ac_cv_c_fortify_enabled" = yes
14744 then
14745 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14750 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14751 if ${ac_cv_c_extern_prefix+:} false; then :
14752 $as_echo_n "(cached) " >&6
14753 else
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 extern int ac_test;
14758 main ()
14760 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_link "$LINENO"; then :
14766 ac_cv_c_extern_prefix="yes"
14767 else
14768 ac_cv_c_extern_prefix="no"
14770 rm -f core conftest.err conftest.$ac_objext \
14771 conftest$ac_exeext conftest.$ac_ext
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14774 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14776 case $host_cpu in
14777 *i[3456789]86*)
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14779 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14780 if ${ac_cv_c_stdcall_suffix+:} false; then :
14781 $as_echo_n "(cached) " >&6
14782 else
14783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14784 /* end confdefs.h. */
14785 #ifndef _MSC_VER
14786 #define __stdcall __attribute__((__stdcall__))
14787 #endif
14788 int __stdcall ac_test(int i) { return i; }
14790 main ()
14792 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14794 return 0;
14796 _ACEOF
14797 if ac_fn_c_try_link "$LINENO"; then :
14798 ac_cv_c_stdcall_suffix="yes"
14799 else
14800 ac_cv_c_stdcall_suffix="no"
14802 rm -f core conftest.err conftest.$ac_objext \
14803 conftest$ac_exeext conftest.$ac_ext
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14806 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14807 *) ac_cv_c_stdcall_suffix="no" ;;
14808 esac
14811 if test "$ac_cv_c_extern_prefix" = "yes"
14812 then
14813 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14815 asm_name_prefix="_"
14816 else
14817 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14819 asm_name_prefix=""
14823 if test "$ac_cv_c_stdcall_suffix" = "yes"
14824 then
14825 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14827 else
14828 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14834 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14835 if ${ac_cv_asm_func_def+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14842 main ()
14844 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14846 return 0;
14848 _ACEOF
14849 if ac_fn_c_try_link "$LINENO"; then :
14850 ac_cv_asm_func_def=".def"
14851 else
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14856 main ()
14858 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14860 return 0;
14862 _ACEOF
14863 if ac_fn_c_try_link "$LINENO"; then :
14864 ac_cv_asm_func_def=".type @function"
14865 else
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14870 main ()
14872 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14874 return 0;
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_asm_func_def=".type 2"
14879 else
14880 ac_cv_asm_func_def="unknown"
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14892 $as_echo "$ac_cv_asm_func_def" >&6; }
14895 case "$ac_cv_asm_func_def" in
14896 ".def")
14897 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14899 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14900 ".type @function")
14901 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14903 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14904 ".type 2")
14905 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14907 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14909 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14911 asm_func_header="" ;;
14912 esac
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14915 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14916 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14917 $as_echo_n "(cached) " >&6
14918 else
14919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h. */
14921 asm(".text\n\t.long 0");
14923 main ()
14927 return 0;
14929 _ACEOF
14930 if ac_fn_c_try_compile "$LINENO"; then :
14931 ac_cv_c_asm_outside_funcs="yes"
14932 else
14933 ac_cv_c_asm_outside_funcs="no"
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14938 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14941 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14942 if ${ac_cv_c_dot_previous+:} false; then :
14943 $as_echo_n "(cached) " >&6
14944 else
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14949 main ()
14951 asm(".text\nac_test:\t.long 0\n\t.previous");
14953 return 0;
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957 ac_cv_c_dot_previous="yes"
14958 else
14959 ac_cv_c_dot_previous="no"
14961 rm -f core conftest.err conftest.$ac_objext \
14962 conftest$ac_exeext conftest.$ac_ext
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14965 $as_echo "$ac_cv_c_dot_previous" >&6; }
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14968 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14969 if ${ac_cv_c_cfi_support+:} false; then :
14970 $as_echo_n "(cached) " >&6
14971 else
14972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14973 /* end confdefs.h. */
14974 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14976 main ()
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_compile "$LINENO"; then :
14984 ac_cv_c_cfi_support="yes"
14985 else
14986 ac_cv_c_cfi_support="no"
14988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14991 $as_echo "$ac_cv_c_cfi_support" >&6; }
14993 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14994 asm_func_trailer=""
14995 if test "$ac_cv_c_dot_previous" = "yes"
14996 then
14997 asm_func_trailer="\\n\\t.previous"
14999 if test "$ac_cv_c_cfi_support" = "yes"
15000 then
15001 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15002 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15004 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15006 UNWINDFLAGS=-fasynchronous-unwind-tables
15008 else
15009 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15011 if test "x$enable_win64" = "xyes"
15012 then
15013 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15017 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15020 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15021 then
15022 cat >>confdefs.h <<_ACEOF
15023 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15024 _ACEOF
15026 else
15027 cat >>confdefs.h <<_ACEOF
15028 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15029 _ACEOF
15033 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15036 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15040 case $build_os in
15041 cygwin*|mingw32*) TOOLSEXT=".exe"
15043 esac
15045 case $host_os in
15046 linux-android*) ;;
15047 linux*)
15048 case $host_cpu in
15049 *i[3456789]86*|x86_64*)
15050 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15051 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15053 esac
15055 esac
15058 ac_save_CFLAGS="$CFLAGS"
15059 CFLAGS="$CFLAGS $BUILTINFLAG"
15060 for ac_func in \
15061 __res_get_state \
15062 __res_getservers \
15063 _finite \
15064 _isnan \
15065 _pclose \
15066 _popen \
15067 _snprintf \
15068 _spawnvp \
15069 _strdup \
15070 _stricmp \
15071 _strnicmp \
15072 _strtoi64 \
15073 _strtoui64 \
15074 _vsnprintf \
15075 asctime_r \
15076 chsize \
15077 dlopen \
15078 epoll_create \
15079 ffs \
15080 finitef \
15081 fnmatch \
15082 fork \
15083 fpclass \
15084 fstatfs \
15085 fstatvfs \
15086 ftruncate \
15087 futimens \
15088 futimes \
15089 futimesat \
15090 getattrlist \
15091 getopt_long_only \
15092 getpwuid \
15093 gettimeofday \
15094 getuid \
15095 if_nameindex \
15096 isnanf \
15097 kqueue \
15098 lstat \
15099 memmove \
15100 mmap \
15101 pclose \
15102 pipe2 \
15103 poll \
15104 popen \
15105 port_create \
15106 prctl \
15107 pread \
15108 proc_pidinfo \
15109 pwrite \
15110 readdir \
15111 readlink \
15112 sched_yield \
15113 select \
15114 setproctitle \
15115 setprogname \
15116 setrlimit \
15117 settimeofday \
15118 sigaltstack \
15119 sigprocmask \
15120 snprintf \
15121 statfs \
15122 statvfs \
15123 strcasecmp \
15124 strdup \
15125 strerror \
15126 strncasecmp \
15127 strtold \
15128 strtoll \
15129 strtoull \
15130 symlink \
15131 tcdrain \
15132 thr_kill2 \
15133 timegm \
15134 usleep \
15135 vsnprintf
15137 do :
15138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15141 cat >>confdefs.h <<_ACEOF
15142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15143 _ACEOF
15146 done
15148 CFLAGS="$ac_save_CFLAGS"
15150 if test "$ac_cv_func_dlopen" = no
15151 then
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15153 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15154 if ${ac_cv_lib_dl_dlopen+:} false; then :
15155 $as_echo_n "(cached) " >&6
15156 else
15157 ac_check_lib_save_LIBS=$LIBS
15158 LIBS="-ldl $LIBS"
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15162 /* Override any GCC internal prototype to avoid an error.
15163 Use char because int might match the return type of a GCC
15164 builtin and then its argument prototype would still apply. */
15165 #ifdef __cplusplus
15166 extern "C"
15167 #endif
15168 char dlopen ();
15170 main ()
15172 return dlopen ();
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_link "$LINENO"; then :
15178 ac_cv_lib_dl_dlopen=yes
15179 else
15180 ac_cv_lib_dl_dlopen=no
15182 rm -f core conftest.err conftest.$ac_objext \
15183 conftest$ac_exeext conftest.$ac_ext
15184 LIBS=$ac_check_lib_save_LIBS
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15188 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15189 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15190 DL_LIBS="-ldl"
15195 ac_wine_check_funcs_save_LIBS="$LIBS"
15196 LIBS="$LIBS $DL_LIBS"
15197 for ac_func in dladdr
15198 do :
15199 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15200 if test "x$ac_cv_func_dladdr" = xyes; then :
15201 cat >>confdefs.h <<_ACEOF
15202 #define HAVE_DLADDR 1
15203 _ACEOF
15206 done
15208 LIBS="$ac_wine_check_funcs_save_LIBS"
15210 if test "$ac_cv_func_poll" = no
15211 then
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15213 $as_echo_n "checking for poll in -lpoll... " >&6; }
15214 if ${ac_cv_lib_poll_poll+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_check_lib_save_LIBS=$LIBS
15218 LIBS="-lpoll $LIBS"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15222 /* Override any GCC internal prototype to avoid an error.
15223 Use char because int might match the return type of a GCC
15224 builtin and then its argument prototype would still apply. */
15225 #ifdef __cplusplus
15226 extern "C"
15227 #endif
15228 char poll ();
15230 main ()
15232 return poll ();
15234 return 0;
15236 _ACEOF
15237 if ac_fn_c_try_link "$LINENO"; then :
15238 ac_cv_lib_poll_poll=yes
15239 else
15240 ac_cv_lib_poll_poll=no
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_check_lib_save_LIBS
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15247 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15248 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15249 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15250 POLL_LIBS="-lpoll"
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15257 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15258 if ${ac_cv_search_gethostbyname+:} false; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15261 ac_func_search_save_LIBS=$LIBS
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15265 /* Override any GCC internal prototype to avoid an error.
15266 Use char because int might match the return type of a GCC
15267 builtin and then its argument prototype would still apply. */
15268 #ifdef __cplusplus
15269 extern "C"
15270 #endif
15271 char gethostbyname ();
15273 main ()
15275 return gethostbyname ();
15277 return 0;
15279 _ACEOF
15280 for ac_lib in '' nsl; do
15281 if test -z "$ac_lib"; then
15282 ac_res="none required"
15283 else
15284 ac_res=-l$ac_lib
15285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15287 if ac_fn_c_try_link "$LINENO"; then :
15288 ac_cv_search_gethostbyname=$ac_res
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext
15292 if ${ac_cv_search_gethostbyname+:} false; then :
15293 break
15295 done
15296 if ${ac_cv_search_gethostbyname+:} false; then :
15298 else
15299 ac_cv_search_gethostbyname=no
15301 rm conftest.$ac_ext
15302 LIBS=$ac_func_search_save_LIBS
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15305 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15306 ac_res=$ac_cv_search_gethostbyname
15307 if test "$ac_res" != no; then :
15308 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15314 $as_echo_n "checking for library containing connect... " >&6; }
15315 if ${ac_cv_search_connect+:} false; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15318 ac_func_search_save_LIBS=$LIBS
15319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h. */
15322 /* Override any GCC internal prototype to avoid an error.
15323 Use char because int might match the return type of a GCC
15324 builtin and then its argument prototype would still apply. */
15325 #ifdef __cplusplus
15326 extern "C"
15327 #endif
15328 char connect ();
15330 main ()
15332 return connect ();
15334 return 0;
15336 _ACEOF
15337 for ac_lib in '' socket; do
15338 if test -z "$ac_lib"; then
15339 ac_res="none required"
15340 else
15341 ac_res=-l$ac_lib
15342 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 ac_cv_search_connect=$ac_res
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext
15349 if ${ac_cv_search_connect+:} false; then :
15350 break
15352 done
15353 if ${ac_cv_search_connect+:} false; then :
15355 else
15356 ac_cv_search_connect=no
15358 rm conftest.$ac_ext
15359 LIBS=$ac_func_search_save_LIBS
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15362 $as_echo "$ac_cv_search_connect" >&6; }
15363 ac_res=$ac_cv_search_connect
15364 if test "$ac_res" != no; then :
15365 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15371 $as_echo_n "checking for library containing inet_aton... " >&6; }
15372 if ${ac_cv_search_inet_aton+:} false; then :
15373 $as_echo_n "(cached) " >&6
15374 else
15375 ac_func_search_save_LIBS=$LIBS
15376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15377 /* end confdefs.h. */
15379 /* Override any GCC internal prototype to avoid an error.
15380 Use char because int might match the return type of a GCC
15381 builtin and then its argument prototype would still apply. */
15382 #ifdef __cplusplus
15383 extern "C"
15384 #endif
15385 char inet_aton ();
15387 main ()
15389 return inet_aton ();
15391 return 0;
15393 _ACEOF
15394 for ac_lib in '' resolv; do
15395 if test -z "$ac_lib"; then
15396 ac_res="none required"
15397 else
15398 ac_res=-l$ac_lib
15399 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15401 if ac_fn_c_try_link "$LINENO"; then :
15402 ac_cv_search_inet_aton=$ac_res
15404 rm -f core conftest.err conftest.$ac_objext \
15405 conftest$ac_exeext
15406 if ${ac_cv_search_inet_aton+:} false; then :
15407 break
15409 done
15410 if ${ac_cv_search_inet_aton+:} false; then :
15412 else
15413 ac_cv_search_inet_aton=no
15415 rm conftest.$ac_ext
15416 LIBS=$ac_func_search_save_LIBS
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15419 $as_echo "$ac_cv_search_inet_aton" >&6; }
15420 ac_res=$ac_cv_search_inet_aton
15421 if test "$ac_res" != no; then :
15422 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15427 for ac_func in \
15428 getaddrinfo \
15429 getnameinfo \
15430 getnetbyname \
15431 getprotobyname \
15432 getprotobynumber \
15433 getservbyport \
15434 inet_addr \
15435 inet_network \
15436 inet_ntop \
15437 inet_pton \
15438 sendmsg \
15439 socketpair \
15441 do :
15442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15444 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15445 cat >>confdefs.h <<_ACEOF
15446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15447 _ACEOF
15450 done
15453 ac_save_LIBS=$LIBS
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15455 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15456 if ${ac_cv_search_clock_gettime+:} false; then :
15457 $as_echo_n "(cached) " >&6
15458 else
15459 ac_func_search_save_LIBS=$LIBS
15460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15461 /* end confdefs.h. */
15463 /* Override any GCC internal prototype to avoid an error.
15464 Use char because int might match the return type of a GCC
15465 builtin and then its argument prototype would still apply. */
15466 #ifdef __cplusplus
15467 extern "C"
15468 #endif
15469 char clock_gettime ();
15471 main ()
15473 return clock_gettime ();
15475 return 0;
15477 _ACEOF
15478 for ac_lib in '' rt; do
15479 if test -z "$ac_lib"; then
15480 ac_res="none required"
15481 else
15482 ac_res=-l$ac_lib
15483 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15485 if ac_fn_c_try_link "$LINENO"; then :
15486 ac_cv_search_clock_gettime=$ac_res
15488 rm -f core conftest.err conftest.$ac_objext \
15489 conftest$ac_exeext
15490 if ${ac_cv_search_clock_gettime+:} false; then :
15491 break
15493 done
15494 if ${ac_cv_search_clock_gettime+:} false; then :
15496 else
15497 ac_cv_search_clock_gettime=no
15499 rm conftest.$ac_ext
15500 LIBS=$ac_func_search_save_LIBS
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15503 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15504 ac_res=$ac_cv_search_clock_gettime
15505 if test "$ac_res" != no; then :
15506 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15508 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15510 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15514 LIBS=$ac_save_LIBS
15516 LDAP_LIBS=""
15518 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15519 then
15520 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15522 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15524 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15525 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15526 $as_echo_n "(cached) " >&6
15527 else
15528 ac_check_lib_save_LIBS=$LIBS
15529 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15531 /* end confdefs.h. */
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 #ifdef __cplusplus
15537 extern "C"
15538 #endif
15539 char ldap_initialize ();
15541 main ()
15543 return ldap_initialize ();
15545 return 0;
15547 _ACEOF
15548 if ac_fn_c_try_link "$LINENO"; then :
15549 ac_cv_lib_ldap_r_ldap_initialize=yes
15550 else
15551 ac_cv_lib_ldap_r_ldap_initialize=no
15553 rm -f core conftest.err conftest.$ac_objext \
15554 conftest$ac_exeext conftest.$ac_ext
15555 LIBS=$ac_check_lib_save_LIBS
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15558 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15559 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15561 $as_echo_n "checking for ber_init in -llber... " >&6; }
15562 if ${ac_cv_lib_lber_ber_init+:} false; then :
15563 $as_echo_n "(cached) " >&6
15564 else
15565 ac_check_lib_save_LIBS=$LIBS
15566 LIBS="-llber $PTHREAD_LIBS $LIBS"
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15570 /* Override any GCC internal prototype to avoid an error.
15571 Use char because int might match the return type of a GCC
15572 builtin and then its argument prototype would still apply. */
15573 #ifdef __cplusplus
15574 extern "C"
15575 #endif
15576 char ber_init ();
15578 main ()
15580 return ber_init ();
15582 return 0;
15584 _ACEOF
15585 if ac_fn_c_try_link "$LINENO"; then :
15586 ac_cv_lib_lber_ber_init=yes
15587 else
15588 ac_cv_lib_lber_ber_init=no
15590 rm -f core conftest.err conftest.$ac_objext \
15591 conftest$ac_exeext conftest.$ac_ext
15592 LIBS=$ac_check_lib_save_LIBS
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15595 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15596 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15598 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15600 LDAP_LIBS="-lldap_r -llber"
15607 ac_wine_check_funcs_save_LIBS="$LIBS"
15608 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15609 for ac_func in \
15610 ldap_count_references \
15611 ldap_first_reference \
15612 ldap_next_reference \
15613 ldap_parse_reference \
15614 ldap_parse_sort_control \
15615 ldap_parse_sortresponse_control \
15616 ldap_parse_vlv_control \
15617 ldap_parse_vlvresponse_control
15618 do :
15619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15621 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15622 cat >>confdefs.h <<_ACEOF
15623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15624 _ACEOF
15627 done
15629 LIBS="$ac_wine_check_funcs_save_LIBS"
15631 if test "x$LDAP_LIBS" = "x"; then :
15632 case "x$with_ldap" in
15633 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15634 xno) ;;
15635 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15636 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15637 esac
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15642 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15643 if ${wine_cv_one_arg_mkdir+:} false; then :
15644 $as_echo_n "(cached) " >&6
15645 else
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15648 #include <sys/stat.h>
15650 main ()
15652 mkdir("foo");
15654 return 0;
15656 _ACEOF
15657 if ac_fn_c_try_compile "$LINENO"; then :
15658 wine_cv_one_arg_mkdir=yes
15659 else
15660 wine_cv_one_arg_mkdir=no
15662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15665 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15666 if test "$wine_cv_one_arg_mkdir" = "yes"
15667 then
15669 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15674 $as_echo_n "checking for sched_setaffinity... " >&6; }
15675 if ${wine_cv_have_sched_setaffinity+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15679 /* end confdefs.h. */
15680 #define _GNU_SOURCE
15681 #include <sched.h>
15683 main ()
15685 sched_setaffinity(0, 0, 0);
15687 return 0;
15689 _ACEOF
15690 if ac_fn_c_try_link "$LINENO"; then :
15691 wine_cv_have_sched_setaffinity=yes
15692 else
15693 wine_cv_have_sched_setaffinity=no
15695 rm -f core conftest.err conftest.$ac_objext \
15696 conftest$ac_exeext conftest.$ac_ext
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15699 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15700 if test "$wine_cv_have_sched_setaffinity" = "yes"
15701 then
15703 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15708 $as_echo_n "checking for fallocate... " >&6; }
15709 if ${wine_cv_have_fallocate+:} false; then :
15710 $as_echo_n "(cached) " >&6
15711 else
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15714 #define _GNU_SOURCE
15715 #include <fcntl.h>
15717 main ()
15719 fallocate(-1, 0, 0, 0);
15721 return 0;
15723 _ACEOF
15724 if ac_fn_c_try_link "$LINENO"; then :
15725 wine_cv_have_fallocate=yes
15726 else
15727 wine_cv_have_fallocate=no
15729 rm -f core conftest.err conftest.$ac_objext \
15730 conftest$ac_exeext conftest.$ac_ext
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15733 $as_echo "$wine_cv_have_fallocate" >&6; }
15734 if test "$wine_cv_have_fallocate" = "yes"
15735 then
15737 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15743 $as_echo_n "checking for inline... " >&6; }
15744 if ${ac_cv_c_inline+:} false; then :
15745 $as_echo_n "(cached) " >&6
15746 else
15747 ac_cv_c_inline=no
15748 for ac_kw in inline __inline__ __inline; do
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 #ifndef __cplusplus
15752 typedef int foo_t;
15753 static $ac_kw foo_t static_foo () {return 0; }
15754 $ac_kw foo_t foo () {return 0; }
15755 #endif
15757 _ACEOF
15758 if ac_fn_c_try_compile "$LINENO"; then :
15759 ac_cv_c_inline=$ac_kw
15761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15762 test "$ac_cv_c_inline" != no && break
15763 done
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15767 $as_echo "$ac_cv_c_inline" >&6; }
15769 case $ac_cv_c_inline in
15770 inline | yes) ;;
15772 case $ac_cv_c_inline in
15773 no) ac_val=;;
15774 *) ac_val=$ac_cv_c_inline;;
15775 esac
15776 cat >>confdefs.h <<_ACEOF
15777 #ifndef __cplusplus
15778 #define inline $ac_val
15779 #endif
15780 _ACEOF
15782 esac
15784 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15785 if test "x$ac_cv_type_mode_t" = xyes; then :
15787 cat >>confdefs.h <<_ACEOF
15788 #define HAVE_MODE_T 1
15789 _ACEOF
15793 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15794 if test "x$ac_cv_type_off_t" = xyes; then :
15796 cat >>confdefs.h <<_ACEOF
15797 #define HAVE_OFF_T 1
15798 _ACEOF
15802 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15803 if test "x$ac_cv_type_pid_t" = xyes; then :
15805 cat >>confdefs.h <<_ACEOF
15806 #define HAVE_PID_T 1
15807 _ACEOF
15811 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15812 if test "x$ac_cv_type_size_t" = xyes; then :
15814 cat >>confdefs.h <<_ACEOF
15815 #define HAVE_SIZE_T 1
15816 _ACEOF
15820 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15821 if test "x$ac_cv_type_ssize_t" = xyes; then :
15823 cat >>confdefs.h <<_ACEOF
15824 #define HAVE_SSIZE_T 1
15825 _ACEOF
15829 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15830 if test "x$ac_cv_type_long_long" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_LONG_LONG 1
15834 _ACEOF
15838 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15839 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_FSBLKCNT_T 1
15843 _ACEOF
15847 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15848 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15850 cat >>confdefs.h <<_ACEOF
15851 #define HAVE_FSFILCNT_T 1
15852 _ACEOF
15857 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15858 #include <signal.h>
15860 if test "x$ac_cv_type_sigset_t" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_SIGSET_T 1
15864 _ACEOF
15869 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15871 if test "x$ac_cv_type_request_sense" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_REQUEST_SENSE 1
15875 _ACEOF
15881 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15882 #ifdef HAVE_SYS_SOCKET_H
15883 #include <sys/socket.h>
15884 #endif
15885 #ifdef HAVE_SYS_SOCKETVAR_H
15886 #include <sys/socketvar.h>
15887 #endif
15888 #ifdef HAVE_NET_ROUTE_H
15889 #include <net/route.h>
15890 #endif
15891 #ifdef HAVE_NETINET_IN_H
15892 #include <netinet/in.h>
15893 #endif
15894 #ifdef HAVE_NETINET_IN_SYSTM_H
15895 #include <netinet/in_systm.h>
15896 #endif
15897 #ifdef HAVE_NETINET_IP_H
15898 #include <netinet/ip.h>
15899 #endif
15900 #ifdef HAVE_NETINET_IN_PCB_H
15901 #include <netinet/in_pcb.h>
15902 #endif
15904 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15906 cat >>confdefs.h <<_ACEOF
15907 #define HAVE_STRUCT_XINPGEN 1
15908 _ACEOF
15914 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15915 #include <link.h>
15916 #endif
15917 #ifdef HAVE_SYS_LINK_H
15918 #include <sys/link.h>
15919 #endif
15921 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_STRUCT_R_DEBUG 1
15925 _ACEOF
15929 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15930 #include <link.h>
15931 #endif
15932 #ifdef HAVE_SYS_LINK_H
15933 #include <sys/link.h>
15934 #endif
15936 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15938 cat >>confdefs.h <<_ACEOF
15939 #define HAVE_STRUCT_LINK_MAP 1
15940 _ACEOF
15946 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15947 #include <linux/input.h>
15948 #endif
15950 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15952 cat >>confdefs.h <<_ACEOF
15953 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15954 _ACEOF
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15961 $as_echo_n "checking for sigaddset... " >&6; }
15962 if ${wine_cv_have_sigaddset+:} false; then :
15963 $as_echo_n "(cached) " >&6
15964 else
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15967 #include <signal.h>
15969 main ()
15971 sigset_t set; sigaddset(&set,SIGTERM);
15973 return 0;
15975 _ACEOF
15976 if ac_fn_c_try_link "$LINENO"; then :
15977 wine_cv_have_sigaddset=yes
15978 else
15979 wine_cv_have_sigaddset=no
15981 rm -f core conftest.err conftest.$ac_objext \
15982 conftest$ac_exeext conftest.$ac_ext
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15985 $as_echo "$wine_cv_have_sigaddset" >&6; }
15986 if test "$wine_cv_have_sigaddset" = "yes"
15987 then
15989 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15995 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15996 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15997 $as_echo_n "(cached) " >&6
15998 else
15999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16000 /* end confdefs.h. */
16001 #include <netdb.h>
16003 main ()
16006 char *name=0;
16007 struct hostent he;
16008 struct hostent *result;
16009 char *buf=0;
16010 int bufsize=0;
16011 int errnr;
16012 char *addr=0;
16013 int addrlen=0;
16014 int addrtype=0;
16015 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16016 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 wine_cv_linux_gethostbyname_r_6=yes
16024 else
16025 wine_cv_linux_gethostbyname_r_6=no
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16033 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16034 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16035 then
16037 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16041 if test "$ac_cv_header_linux_joystick_h" = "yes"
16042 then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16044 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16045 if ${wine_cv_linux_joystick_22_api+:} false; then :
16046 $as_echo_n "(cached) " >&6
16047 else
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16051 #include <sys/ioctl.h>
16052 #include <sys/types.h>
16053 #include <linux/joystick.h>
16055 struct js_event blub;
16056 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16057 #error "no 2.2 header"
16058 #endif
16061 main ()
16063 /*empty*/
16065 return 0;
16067 _ACEOF
16068 if ac_fn_c_try_compile "$LINENO"; then :
16069 wine_cv_linux_joystick_22_api=yes
16070 else
16071 wine_cv_linux_joystick_22_api=no
16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16077 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16078 if test "$wine_cv_linux_joystick_22_api" = "yes"
16079 then
16081 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16087 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16088 #ifdef HAVE_SYS_PARAM_H
16089 # include <sys/param.h>
16090 #endif
16091 #ifdef HAVE_SYS_MOUNT_H
16092 # include <sys/mount.h>
16093 #endif
16094 #ifdef HAVE_SYS_VFS_H
16095 # include <sys/vfs.h>
16096 #endif
16097 #ifdef HAVE_SYS_STATFS_H
16098 # include <sys/statfs.h>
16099 #endif
16101 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16103 cat >>confdefs.h <<_ACEOF
16104 #define HAVE_STRUCT_STATFS_F_BFREE 1
16105 _ACEOF
16109 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16110 #ifdef HAVE_SYS_PARAM_H
16111 # include <sys/param.h>
16112 #endif
16113 #ifdef HAVE_SYS_MOUNT_H
16114 # include <sys/mount.h>
16115 #endif
16116 #ifdef HAVE_SYS_VFS_H
16117 # include <sys/vfs.h>
16118 #endif
16119 #ifdef HAVE_SYS_STATFS_H
16120 # include <sys/statfs.h>
16121 #endif
16123 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16127 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16132 #ifdef HAVE_SYS_PARAM_H
16133 # include <sys/param.h>
16134 #endif
16135 #ifdef HAVE_SYS_MOUNT_H
16136 # include <sys/mount.h>
16137 #endif
16138 #ifdef HAVE_SYS_VFS_H
16139 # include <sys/vfs.h>
16140 #endif
16141 #ifdef HAVE_SYS_STATFS_H
16142 # include <sys/statfs.h>
16143 #endif
16145 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16147 cat >>confdefs.h <<_ACEOF
16148 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16149 _ACEOF
16153 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16154 #ifdef HAVE_SYS_PARAM_H
16155 # include <sys/param.h>
16156 #endif
16157 #ifdef HAVE_SYS_MOUNT_H
16158 # include <sys/mount.h>
16159 #endif
16160 #ifdef HAVE_SYS_VFS_H
16161 # include <sys/vfs.h>
16162 #endif
16163 #ifdef HAVE_SYS_STATFS_H
16164 # include <sys/statfs.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_STATFS_F_FFREE 1
16171 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16176 #ifdef HAVE_SYS_PARAM_H
16177 # include <sys/param.h>
16178 #endif
16179 #ifdef HAVE_SYS_MOUNT_H
16180 # include <sys/mount.h>
16181 #endif
16182 #ifdef HAVE_SYS_VFS_H
16183 # include <sys/vfs.h>
16184 #endif
16185 #ifdef HAVE_SYS_STATFS_H
16186 # include <sys/statfs.h>
16187 #endif
16189 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16191 cat >>confdefs.h <<_ACEOF
16192 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16193 _ACEOF
16197 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16198 #ifdef HAVE_SYS_PARAM_H
16199 # include <sys/param.h>
16200 #endif
16201 #ifdef HAVE_SYS_MOUNT_H
16202 # include <sys/mount.h>
16203 #endif
16204 #ifdef HAVE_SYS_VFS_H
16205 # include <sys/vfs.h>
16206 #endif
16207 #ifdef HAVE_SYS_STATFS_H
16208 # include <sys/statfs.h>
16209 #endif
16211 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16213 cat >>confdefs.h <<_ACEOF
16214 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16215 _ACEOF
16221 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16222 #include <sys/statvfs.h>
16223 #endif
16225 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16227 cat >>confdefs.h <<_ACEOF
16228 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16229 _ACEOF
16235 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16236 #include <dirent.h>
16237 #endif
16239 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16243 _ACEOF
16249 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16250 #ifdef HAVE_SYS_SOCKET_H
16251 # include <sys/socket.h>
16252 #endif
16253 #ifdef HAVE_SYS_UN_H
16254 # include <sys/un.h>
16255 #endif
16257 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16261 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_SOCKET_H
16267 # include <sys/socket.h>
16268 #endif
16269 #ifdef HAVE_SYS_UN_H
16270 # include <sys/un.h>
16271 #endif
16273 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16277 _ACEOF
16281 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16282 #ifdef HAVE_SYS_SOCKET_H
16283 # include <sys/socket.h>
16284 #endif
16285 #ifdef HAVE_SYS_UN_H
16286 # include <sys/un.h>
16287 #endif
16289 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16293 _ACEOF
16299 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16300 #ifdef HAVE_SCSI_SG_H
16301 #include <scsi/sg.h>
16302 #endif
16304 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16306 cat >>confdefs.h <<_ACEOF
16307 #define HAVE_SCSIREQ_T_CMD 1
16308 _ACEOF
16312 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>
16313 #ifdef HAVE_SCSI_SG_H
16314 #include <scsi/sg.h>
16315 #endif
16317 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16321 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16329 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16331 cat >>confdefs.h <<_ACEOF
16332 #define HAVE_SIGINFO_T_SI_FD 1
16333 _ACEOF
16339 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16340 #ifdef HAVE_SYS_MTIO_H
16341 #include <sys/mtio.h>
16342 #endif
16344 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16353 #ifdef HAVE_SYS_MTIO_H
16354 #include <sys/mtio.h>
16355 #endif
16357 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16361 _ACEOF
16365 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16366 #ifdef HAVE_SYS_MTIO_H
16367 #include <sys/mtio.h>
16368 #endif
16370 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16374 _ACEOF
16380 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16381 #include <getopt.h>
16382 #endif
16384 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16386 cat >>confdefs.h <<_ACEOF
16387 #define HAVE_STRUCT_OPTION_NAME 1
16388 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16395 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16399 _ACEOF
16403 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16404 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_STAT_ST_MTIM 1
16408 _ACEOF
16412 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16413 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16417 _ACEOF
16421 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT_STAT_ST_CTIM 1
16426 _ACEOF
16430 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16431 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16435 _ACEOF
16439 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16440 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16442 cat >>confdefs.h <<_ACEOF
16443 #define HAVE_STRUCT_STAT_ST_ATIM 1
16444 _ACEOF
16448 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16449 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16453 _ACEOF
16457 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16458 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16462 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16467 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16471 _ACEOF
16475 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16476 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16480 _ACEOF
16484 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16485 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16489 _ACEOF
16493 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16494 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16498 _ACEOF
16504 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
16505 #include <sys/types.h>
16506 #endif
16507 #ifdef HAVE_NETINET_IN_H
16508 #include <netinet/in.h>
16509 #endif
16511 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16513 cat >>confdefs.h <<_ACEOF
16514 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16515 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16522 #include <resolv.h>
16523 #endif
16525 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_STRUCT___RES_STATE 1
16529 _ACEOF
16535 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
16536 #include <resolv.h>
16537 #endif
16539 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16543 _ACEOF
16549 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16550 #include <sys/types.h>
16551 #endif
16552 #ifdef HAVE_NETINET_IN_H
16553 # include <netinet/in.h>
16554 #endif
16555 #ifdef HAVE_ARPA_NAMESER_H
16556 # include <arpa/nameser.h>
16557 #endif
16559 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_NS_MSG__MSG_PTR 1
16563 _ACEOF
16569 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16570 #include <sys/types.h>
16571 #endif
16572 #ifdef HAVE_NETINET_IP_H
16573 #include <netinet/ip.h>
16574 #endif
16575 #ifdef HAVE_NETINET_IP_ICMP_H
16576 #include <netinet/ip_icmp.h>
16577 #endif
16578 #ifdef HAVE_NETINET_ICMP_VAR_H
16579 #include <netinet/icmp_var.h>
16580 #endif
16582 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16584 cat >>confdefs.h <<_ACEOF
16585 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16586 _ACEOF
16592 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16593 #include <sys/types.h>
16594 #endif
16595 #ifdef HAVE_ALIAS_H
16596 #include <alias.h>
16597 #endif
16598 #ifdef HAVE_SYS_SOCKET_H
16599 #include <sys/socket.h>
16600 #endif
16601 #ifdef HAVE_SYS_SOCKETVAR_H
16602 #include <sys/socketvar.h>
16603 #endif
16604 #ifdef HAVE_SYS_TIMEOUT_H
16605 #include <sys/timeout.h>
16606 #endif
16607 #ifdef HAVE_NETINET_IN_H
16608 #include <netinet/in.h>
16609 #endif
16610 #ifdef HAVE_NETINET_IN_SYSTM_H
16611 #include <netinet/in_systm.h>
16612 #endif
16613 #ifdef HAVE_NETINET_IP_H
16614 #include <netinet/ip.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IP_VAR_H
16617 #include <netinet/ip_var.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IP_ICMP_H
16620 #include <netinet/ip_icmp.h>
16621 #endif
16622 #ifdef HAVE_NETINET_ICMP_VAR_H
16623 #include <netinet/icmp_var.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16630 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16637 #include <sys/types.h>
16638 #endif
16639 #ifdef HAVE_SYS_SOCKETVAR_H
16640 #include <sys/socketvar.h>
16641 #endif
16642 #ifdef HAVE_NETINET_IN_H
16643 #include <netinet/in.h>
16644 #endif
16645 #ifdef HAVE_NETINET_IP_VAR_H
16646 #include <netinet/ip_var.h>
16647 #endif
16649 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16653 _ACEOF
16659 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
16660 #include <netinet/ip_var.h>
16661 #endif
16663 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16667 _ACEOF
16673 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16674 #include <sys/types.h>
16675 #endif
16676 #ifdef HAVE_SYS_SOCKETVAR_H
16677 #include <sys/socketvar.h>
16678 #endif
16679 #ifdef HAVE_NETINET_IN_H
16680 #include <netinet/in.h>
16681 #endif
16682 #ifdef HAVE_NETINET_TCP_H
16683 #include <netinet/tcp.h>
16684 #endif
16685 #ifdef HAVE_NETINET_TCP_VAR_H
16686 #include <netinet/tcp_var.h>
16687 #endif
16689 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16691 cat >>confdefs.h <<_ACEOF
16692 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16693 _ACEOF
16699 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
16700 #include <netinet/tcp_var.h>
16701 #endif
16703 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16705 cat >>confdefs.h <<_ACEOF
16706 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16707 _ACEOF
16713 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16714 #include <sys/types.h>
16715 #endif
16716 #ifdef HAVE_NETINET_IN_H
16717 #include <netinet/in.h>
16718 #endif
16719 #ifdef HAVE_NETINET_IP_VAR_H
16720 #include <netinet/ip_var.h>
16721 #endif
16722 #ifdef HAVE_NETINET_UDP_H
16723 #include <netinet/udp.h>
16724 #endif
16725 #ifdef HAVE_NETINET_UDP_VAR_H
16726 #include <netinet/udp_var.h>
16727 #endif
16729 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16733 _ACEOF
16739 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16740 #include <sys/types.h>
16741 #endif
16742 #ifdef HAVE_NET_IF_H
16743 # include <net/if.h>
16744 #endif
16746 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16748 cat >>confdefs.h <<_ACEOF
16749 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16750 _ACEOF
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16757 $as_echo_n "checking for timezone variable... " >&6; }
16758 if ${ac_cv_have_timezone+:} false; then :
16759 $as_echo_n "(cached) " >&6
16760 else
16761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16762 /* end confdefs.h. */
16763 #include <time.h>
16765 main ()
16767 timezone = 1
16769 return 0;
16771 _ACEOF
16772 if ac_fn_c_try_link "$LINENO"; then :
16773 ac_cv_have_timezone="yes"
16774 else
16775 ac_cv_have_timezone="no"
16777 rm -f core conftest.err conftest.$ac_objext \
16778 conftest$ac_exeext conftest.$ac_ext
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16781 $as_echo "$ac_cv_have_timezone" >&6; }
16782 if test "$ac_cv_have_timezone" = "yes"
16783 then
16785 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16789 $as_echo_n "checking for daylight variable... " >&6; }
16790 if ${ac_cv_have_daylight+:} false; then :
16791 $as_echo_n "(cached) " >&6
16792 else
16793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h. */
16795 #include <time.h>
16797 main ()
16799 daylight = 1
16801 return 0;
16803 _ACEOF
16804 if ac_fn_c_try_link "$LINENO"; then :
16805 ac_cv_have_daylight="yes"
16806 else
16807 ac_cv_have_daylight="no"
16809 rm -f core conftest.err conftest.$ac_objext \
16810 conftest$ac_exeext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16813 $as_echo "$ac_cv_have_daylight" >&6; }
16814 if test "$ac_cv_have_daylight" = "yes"
16815 then
16817 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16821 ac_save_LIBS="$LIBS"
16822 LIBS="$LIBS -lm"
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16824 $as_echo_n "checking for isfinite... " >&6; }
16825 if ${ac_cv_have_isfinite+:} false; then :
16826 $as_echo_n "(cached) " >&6
16827 else
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h. */
16830 #define _GNU_SOURCE
16831 #include <math.h>
16833 main ()
16835 float f = 0.0; return isfinite(f)
16837 return 0;
16839 _ACEOF
16840 if ac_fn_c_try_link "$LINENO"; then :
16841 ac_cv_have_isfinite="yes"
16842 else
16843 ac_cv_have_isfinite="no"
16845 rm -f core conftest.err conftest.$ac_objext \
16846 conftest$ac_exeext conftest.$ac_ext
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16849 $as_echo "$ac_cv_have_isfinite" >&6; }
16850 if test "$ac_cv_have_isfinite" = "yes"
16851 then
16853 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16858 $as_echo_n "checking for isinf... " >&6; }
16859 if ${ac_cv_have_isinf+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16864 #include <math.h>
16866 main ()
16868 float f = 0.0; return isinf(f)
16870 return 0;
16872 _ACEOF
16873 if ac_fn_c_try_link "$LINENO"; then :
16874 ac_cv_have_isinf="yes"
16875 else
16876 ac_cv_have_isinf="no"
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16882 $as_echo "$ac_cv_have_isinf" >&6; }
16883 if test "$ac_cv_have_isinf" = "yes"
16884 then
16886 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16891 $as_echo_n "checking for isnan... " >&6; }
16892 if ${ac_cv_have_isnan+:} false; then :
16893 $as_echo_n "(cached) " >&6
16894 else
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897 #include <math.h>
16899 main ()
16901 float f = 0.0; return isnan(f)
16903 return 0;
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907 ac_cv_have_isnan="yes"
16908 else
16909 ac_cv_have_isnan="no"
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16915 $as_echo "$ac_cv_have_isnan" >&6; }
16916 if test "$ac_cv_have_isnan" = "yes"
16917 then
16919 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16923 for ac_func in \
16924 asinh \
16925 asinhf \
16926 cbrt \
16927 cbrtf \
16928 erf \
16929 erff \
16930 exp2 \
16931 exp2f \
16932 llrint \
16933 llrintf \
16934 llround \
16935 llroundf \
16936 log2 \
16937 log2f \
16938 lrint \
16939 lrintf \
16940 lround \
16941 lroundf \
16942 remainder \
16943 remainderf \
16944 rint \
16945 rintf \
16946 round \
16947 roundf \
16948 trunc \
16949 truncf
16951 do :
16952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16954 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16955 cat >>confdefs.h <<_ACEOF
16956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16957 _ACEOF
16960 done
16962 LIBS="$ac_save_LIBS"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16965 $as_echo_n "checking for __builtin_clz... " >&6; }
16966 if ${ac_cv_have___builtin_clz+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16973 main ()
16975 return __builtin_clz(1)
16977 return 0;
16979 _ACEOF
16980 if ac_fn_c_try_link "$LINENO"; then :
16981 ac_cv_have___builtin_clz="yes"
16982 else
16983 ac_cv_have___builtin_clz="no"
16985 rm -f core conftest.err conftest.$ac_objext \
16986 conftest$ac_exeext conftest.$ac_ext
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16989 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16990 if test "$ac_cv_have___builtin_clz" = "yes"
16991 then
16993 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16998 $as_echo_n "checking for __builtin_popcount... " >&6; }
16999 if ${ac_cv_have___builtin_popcount+:} false; then :
17000 $as_echo_n "(cached) " >&6
17001 else
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17006 main ()
17008 return __builtin_popcount(1)
17010 return 0;
17012 _ACEOF
17013 if ac_fn_c_try_link "$LINENO"; then :
17014 ac_cv_have___builtin_popcount="yes"
17015 else
17016 ac_cv_have___builtin_popcount="no"
17018 rm -f core conftest.err conftest.$ac_objext \
17019 conftest$ac_exeext conftest.$ac_ext
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17022 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17023 if test "$ac_cv_have___builtin_popcount" = "yes"
17024 then
17026 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17031 case $host_cpu in
17032 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17033 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17034 if ${ac_cv_cpp_def___i386__+:} false; then :
17035 $as_echo_n "(cached) " >&6
17036 else
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #ifndef __i386__
17041 #endif
17042 _ACEOF
17043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17044 $EGREP "yes" >/dev/null 2>&1; then :
17045 ac_cv_cpp_def___i386__=yes
17046 else
17047 ac_cv_cpp_def___i386__=no
17049 rm -f conftest*
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17053 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17054 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17055 CFLAGS="$CFLAGS -D__i386__"
17056 LINTFLAGS="$LINTFLAGS -D__i386__"
17057 fi ;;
17058 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17059 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17060 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 #ifndef __x86_64__
17067 #endif
17068 _ACEOF
17069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17070 $EGREP "yes" >/dev/null 2>&1; then :
17071 ac_cv_cpp_def___x86_64__=yes
17072 else
17073 ac_cv_cpp_def___x86_64__=no
17075 rm -f conftest*
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17079 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17080 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17081 CFLAGS="$CFLAGS -D__x86_64__"
17082 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17083 fi ;;
17084 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17085 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17086 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17087 $as_echo_n "(cached) " >&6
17088 else
17089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17091 #ifndef __sparc64__
17093 #endif
17094 _ACEOF
17095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17096 $EGREP "yes" >/dev/null 2>&1; then :
17097 ac_cv_cpp_def___sparc64__=yes
17098 else
17099 ac_cv_cpp_def___sparc64__=no
17101 rm -f conftest*
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17105 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17106 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17107 CFLAGS="$CFLAGS -D__sparc64__"
17108 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17109 fi ;;
17110 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17111 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17112 if ${ac_cv_cpp_def___sparc__+:} false; then :
17113 $as_echo_n "(cached) " >&6
17114 else
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 #ifndef __sparc__
17119 #endif
17120 _ACEOF
17121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17122 $EGREP "yes" >/dev/null 2>&1; then :
17123 ac_cv_cpp_def___sparc__=yes
17124 else
17125 ac_cv_cpp_def___sparc__=no
17127 rm -f conftest*
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17131 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17132 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17133 CFLAGS="$CFLAGS -D__sparc__"
17134 LINTFLAGS="$LINTFLAGS -D__sparc__"
17135 fi ;;
17136 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17137 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17138 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17139 $as_echo_n "(cached) " >&6
17140 else
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #ifndef __powerpc64__
17145 #endif
17146 _ACEOF
17147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17148 $EGREP "yes" >/dev/null 2>&1; then :
17149 ac_cv_cpp_def___powerpc64__=yes
17150 else
17151 ac_cv_cpp_def___powerpc64__=no
17153 rm -f conftest*
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17157 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17158 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17159 CFLAGS="$CFLAGS -D__powerpc64__"
17160 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17161 fi ;;
17162 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17163 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17164 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17165 $as_echo_n "(cached) " >&6
17166 else
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169 #ifndef __powerpc__
17171 #endif
17172 _ACEOF
17173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17174 $EGREP "yes" >/dev/null 2>&1; then :
17175 ac_cv_cpp_def___powerpc__=yes
17176 else
17177 ac_cv_cpp_def___powerpc__=no
17179 rm -f conftest*
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17183 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17184 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17185 CFLAGS="$CFLAGS -D__powerpc__"
17186 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17187 fi ;;
17188 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17189 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17190 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17191 $as_echo_n "(cached) " >&6
17192 else
17193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17194 /* end confdefs.h. */
17195 #ifndef __aarch64__
17197 #endif
17198 _ACEOF
17199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17200 $EGREP "yes" >/dev/null 2>&1; then :
17201 ac_cv_cpp_def___aarch64__=yes
17202 else
17203 ac_cv_cpp_def___aarch64__=no
17205 rm -f conftest*
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17209 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17210 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17211 CFLAGS="$CFLAGS -D__aarch64__"
17212 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17213 fi ;;
17214 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17215 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17216 if ${ac_cv_cpp_def___arm__+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17220 /* end confdefs.h. */
17221 #ifndef __arm__
17223 #endif
17224 _ACEOF
17225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17226 $EGREP "yes" >/dev/null 2>&1; then :
17227 ac_cv_cpp_def___arm__=yes
17228 else
17229 ac_cv_cpp_def___arm__=no
17231 rm -f conftest*
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17235 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17236 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17237 CFLAGS="$CFLAGS -D__arm__"
17238 LINTFLAGS="$LINTFLAGS -D__arm__"
17239 fi ;;
17240 esac
17242 case $host_vendor in
17243 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17244 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17245 if ${ac_cv_cpp_def___sun__+:} false; then :
17246 $as_echo_n "(cached) " >&6
17247 else
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17250 #ifndef __sun__
17252 #endif
17253 _ACEOF
17254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17255 $EGREP "yes" >/dev/null 2>&1; then :
17256 ac_cv_cpp_def___sun__=yes
17257 else
17258 ac_cv_cpp_def___sun__=no
17260 rm -f conftest*
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17264 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17265 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17266 CFLAGS="$CFLAGS -D__sun__"
17267 LINTFLAGS="$LINTFLAGS -D__sun__"
17268 fi ;;
17269 esac
17275 ac_config_commands="$ac_config_commands include/stamp-h"
17277 $as_echo_n "creating Makefile rules..." >&6
17279 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17280 SOCKET_LIBS = $SOCKET_LIBS
17281 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17282 IOKIT_LIBS = $IOKIT_LIBS
17283 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17284 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17285 CORESERVICES_LIBS = $CORESERVICES_LIBS
17286 APPKIT_LIBS = $APPKIT_LIBS
17287 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17288 SECURITY_LIBS = $SECURITY_LIBS
17289 COREAUDIO_LIBS = $COREAUDIO_LIBS
17290 OPENAL_LIBS = $OPENAL_LIBS
17291 OPENCL_LIBS = $OPENCL_LIBS
17292 QUICKTIME_LIBS = $QUICKTIME_LIBS
17293 CARBON_LIBS = $CARBON_LIBS
17294 PTHREAD_LIBS = $PTHREAD_LIBS
17295 X_CFLAGS = $X_CFLAGS
17296 X_PRE_LIBS = $X_PRE_LIBS
17297 X_LIBS = $X_LIBS
17298 X_EXTRA_LIBS = $X_EXTRA_LIBS
17299 PCAP_LIBS = $PCAP_LIBS
17300 XML2_CFLAGS = $XML2_CFLAGS
17301 XML2_LIBS = $XML2_LIBS
17302 XSLT_CFLAGS = $XSLT_CFLAGS
17303 XSLT_LIBS = $XSLT_LIBS
17304 DBUS_CFLAGS = $DBUS_CFLAGS
17305 DBUS_LIBS = $DBUS_LIBS
17306 HAL_CFLAGS = $HAL_CFLAGS
17307 HAL_LIBS = $HAL_LIBS
17308 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17309 GNUTLS_LIBS = $GNUTLS_LIBS
17310 SANE_CFLAGS = $SANE_CFLAGS
17311 SANE_LIBS = $SANE_LIBS
17312 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17313 GPHOTO2_LIBS = $GPHOTO2_LIBS
17314 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17315 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17316 RESOLV_LIBS = $RESOLV_LIBS
17317 LCMS2_CFLAGS = $LCMS2_CFLAGS
17318 LCMS2_LIBS = $LCMS2_LIBS
17319 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17320 FREETYPE_LIBS = $FREETYPE_LIBS
17321 Z_LIBS = $Z_LIBS
17322 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17323 PULSE_CFLAGS = $PULSE_CFLAGS
17324 PULSE_LIBS = $PULSE_LIBS
17325 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17326 GSTREAMER_LIBS = $GSTREAMER_LIBS
17327 ALSA_LIBS = $ALSA_LIBS
17328 OSS4_CFLAGS = $OSS4_CFLAGS
17329 CAPI20_CFLAGS = $CAPI20_CFLAGS
17330 CAPI20_LIBS = $CAPI20_LIBS
17331 CUPS_CFLAGS = $CUPS_CFLAGS
17332 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17333 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17334 JPEG_CFLAGS = $JPEG_CFLAGS
17335 JPEG_LIBS = $JPEG_LIBS
17336 PNG_CFLAGS = $PNG_CFLAGS
17337 PNG_LIBS = $PNG_LIBS
17338 TIFF_CFLAGS = $TIFF_CFLAGS
17339 TIFF_LIBS = $TIFF_LIBS
17340 MPG123_CFLAGS = $MPG123_CFLAGS
17341 MPG123_LIBS = $MPG123_LIBS
17342 KSTAT_LIBS = $KSTAT_LIBS
17343 PROCSTAT_LIBS = $PROCSTAT_LIBS
17344 NETAPI_CFLAGS = $NETAPI_CFLAGS
17345 NETAPI_LIBS = $NETAPI_LIBS
17346 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17347 DL_LIBS = $DL_LIBS
17348 POLL_LIBS = $POLL_LIBS
17349 RT_LIBS = $RT_LIBS
17350 LDAP_LIBS = $LDAP_LIBS
17355 wine_fn_append_rule "
17356 # Rules automatically generated by configure
17358 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17360 .INIT: Makefile
17361 .MAKEFILEDEPS:
17362 all: Makefile
17363 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17364 @./config.status Make.tmp Makefile
17365 depend: \$(MAKEDEP) dummy
17366 \$(MAKEDEP)"
17368 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17369 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17371 if test "x$enable_fonts" != xno; then
17372 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17373 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17374 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17375 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17376 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17377 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17379 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17380 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17381 ac_config_links="$ac_config_links wine:tools/winewrapper"
17382 wine_fn_config_symlink wine
17383 if test "x$enable_win64" != xno; then
17384 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17385 wine_fn_config_symlink wine64
17388 wine_fn_config_dll acledit enable_acledit
17389 wine_fn_config_dll aclui enable_aclui implib
17390 wine_fn_config_dll activeds enable_activeds implib
17391 wine_fn_config_dll actxprxy enable_actxprxy clean
17392 wine_fn_config_lib adsiid
17393 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17394 wine_fn_config_test dlls/advapi32/tests advapi32_test
17395 wine_fn_config_dll advpack enable_advpack implib
17396 wine_fn_config_test dlls/advpack/tests advpack_test
17397 wine_fn_config_dll amstream enable_amstream clean
17398 wine_fn_config_test dlls/amstream/tests amstream_test
17399 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17400 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17401 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17402 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17403 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17404 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17405 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17406 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17407 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17408 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17409 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17410 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17411 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17414 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17415 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17416 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17417 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17418 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17419 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17420 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17421 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17423 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17424 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17425 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17426 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17428 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17429 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17432 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17434 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17436 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17437 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17440 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17442 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17443 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17445 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17446 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17448 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17451 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17454 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17456 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17458 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17459 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17460 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17462 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17465 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17467 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17472 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17473 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17474 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17475 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17476 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17477 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17478 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17487 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17488 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17489 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17490 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17491 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17492 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17496 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17497 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17498 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17499 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17500 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17501 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17502 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17503 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17504 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17505 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17506 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17507 wine_fn_config_dll apphelp enable_apphelp
17508 wine_fn_config_test dlls/apphelp/tests apphelp_test
17509 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17510 wine_fn_config_dll atl enable_atl clean,implib
17511 wine_fn_config_test dlls/atl/tests atl_test
17512 wine_fn_config_dll atl100 enable_atl100 clean,implib
17513 wine_fn_config_test dlls/atl100/tests atl100_test
17514 wine_fn_config_dll atl110 enable_atl110 clean
17515 wine_fn_config_dll atl80 enable_atl80 clean,implib
17516 wine_fn_config_test dlls/atl80/tests atl80_test
17517 wine_fn_config_dll atl90 enable_atl90 clean
17518 wine_fn_config_dll authz enable_authz
17519 wine_fn_config_dll avicap32 enable_avicap32 implib
17520 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17521 wine_fn_config_test dlls/avifil32/tests avifil32_test
17522 wine_fn_config_dll avifile.dll16 enable_win16
17523 wine_fn_config_dll avrt enable_avrt implib
17524 wine_fn_config_dll bcrypt enable_bcrypt implib
17525 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17526 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17527 wine_fn_config_dll browseui enable_browseui clean
17528 wine_fn_config_test dlls/browseui/tests browseui_test
17529 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17530 wine_fn_config_dll cabinet enable_cabinet implib
17531 wine_fn_config_test dlls/cabinet/tests cabinet_test
17532 wine_fn_config_dll capi2032 enable_capi2032 implib
17533 wine_fn_config_dll cards enable_cards implib
17534 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17535 wine_fn_config_dll clusapi enable_clusapi implib
17536 wine_fn_config_dll combase enable_combase
17537 wine_fn_config_test dlls/combase/tests combase_test
17538 wine_fn_config_dll comcat enable_comcat
17539 wine_fn_config_test dlls/comcat/tests comcat_test
17540 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17541 wine_fn_config_test dlls/comctl32/tests comctl32_test
17542 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17543 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17544 wine_fn_config_dll comm.drv16 enable_win16
17545 wine_fn_config_dll commdlg.dll16 enable_win16
17546 wine_fn_config_dll compobj.dll16 enable_win16
17547 wine_fn_config_dll compstui enable_compstui implib
17548 wine_fn_config_dll comsvcs enable_comsvcs implib
17549 wine_fn_config_dll connect enable_connect
17550 wine_fn_config_dll credui enable_credui clean,implib
17551 wine_fn_config_test dlls/credui/tests credui_test
17552 wine_fn_config_dll crtdll enable_crtdll
17553 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17554 wine_fn_config_test dlls/crypt32/tests crypt32_test
17555 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17556 wine_fn_config_dll cryptdll enable_cryptdll implib
17557 wine_fn_config_dll cryptext enable_cryptext
17558 wine_fn_config_dll cryptnet enable_cryptnet implib
17559 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17560 wine_fn_config_dll cryptui enable_cryptui clean,implib
17561 wine_fn_config_test dlls/cryptui/tests cryptui_test
17562 wine_fn_config_dll ctapi32 enable_ctapi32
17563 wine_fn_config_dll ctl3d.dll16 enable_win16
17564 wine_fn_config_dll ctl3d32 enable_ctl3d32
17565 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17566 wine_fn_config_dll d2d1 enable_d2d1 implib
17567 wine_fn_config_test dlls/d2d1/tests d2d1_test
17568 wine_fn_config_dll d3d10 enable_d3d10 implib
17569 wine_fn_config_test dlls/d3d10/tests d3d10_test
17570 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17571 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17572 wine_fn_config_dll d3d10core enable_d3d10core implib
17573 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17574 wine_fn_config_dll d3d11 enable_d3d11 implib
17575 wine_fn_config_test dlls/d3d11/tests d3d11_test
17576 wine_fn_config_dll d3d8 enable_d3d8 implib
17577 wine_fn_config_test dlls/d3d8/tests d3d8_test
17578 wine_fn_config_dll d3d9 enable_d3d9 implib
17579 wine_fn_config_test dlls/d3d9/tests d3d9_test
17580 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17581 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17582 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17583 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17584 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17585 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17586 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17587 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17588 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17589 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17590 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17591 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17592 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17593 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17594 wine_fn_config_dll d3dim enable_d3dim
17595 wine_fn_config_dll d3drm enable_d3drm implib
17596 wine_fn_config_test dlls/d3drm/tests d3drm_test
17597 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17598 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17599 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17600 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17601 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17602 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17603 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17604 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17605 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17606 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17607 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17608 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17609 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17610 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17611 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17612 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17613 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17614 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17615 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17616 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17617 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17618 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17619 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17620 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17621 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17622 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17623 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17624 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17625 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17626 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17627 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17628 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17629 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17630 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17631 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17632 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17633 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17634 wine_fn_config_dll davclnt enable_davclnt
17635 wine_fn_config_dll dbgeng enable_dbgeng implib
17636 wine_fn_config_dll dbghelp enable_dbghelp implib
17637 wine_fn_config_dll dciman32 enable_dciman32 implib
17638 wine_fn_config_dll ddeml.dll16 enable_win16
17639 wine_fn_config_dll ddraw enable_ddraw clean,implib
17640 wine_fn_config_test dlls/ddraw/tests ddraw_test
17641 wine_fn_config_dll ddrawex enable_ddrawex clean
17642 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17643 wine_fn_config_dll devenum enable_devenum clean
17644 wine_fn_config_test dlls/devenum/tests devenum_test
17645 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17646 wine_fn_config_dll difxapi enable_difxapi
17647 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17648 wine_fn_config_test dlls/dinput/tests dinput_test
17649 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17650 wine_fn_config_test dlls/dinput8/tests dinput8_test
17651 wine_fn_config_dll dispdib.dll16 enable_win16
17652 wine_fn_config_dll dispex enable_dispex clean
17653 wine_fn_config_test dlls/dispex/tests dispex_test
17654 wine_fn_config_dll display.drv16 enable_win16
17655 wine_fn_config_dll dmband enable_dmband clean
17656 wine_fn_config_test dlls/dmband/tests dmband_test
17657 wine_fn_config_dll dmcompos enable_dmcompos clean
17658 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17659 wine_fn_config_dll dmime enable_dmime clean
17660 wine_fn_config_test dlls/dmime/tests dmime_test
17661 wine_fn_config_dll dmloader enable_dmloader clean
17662 wine_fn_config_test dlls/dmloader/tests dmloader_test
17663 wine_fn_config_dll dmscript enable_dmscript clean
17664 wine_fn_config_test dlls/dmscript/tests dmscript_test
17665 wine_fn_config_dll dmstyle enable_dmstyle clean
17666 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17667 wine_fn_config_dll dmsynth enable_dmsynth clean
17668 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17669 wine_fn_config_dll dmusic enable_dmusic clean
17670 wine_fn_config_test dlls/dmusic/tests dmusic_test
17671 wine_fn_config_dll dmusic32 enable_dmusic32
17672 wine_fn_config_dll dnsapi enable_dnsapi implib
17673 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17674 wine_fn_config_dll dplay enable_dplay
17675 wine_fn_config_dll dplayx enable_dplayx clean,implib
17676 wine_fn_config_test dlls/dplayx/tests dplayx_test
17677 wine_fn_config_dll dpnaddr enable_dpnaddr
17678 wine_fn_config_dll dpnet enable_dpnet clean,implib
17679 wine_fn_config_test dlls/dpnet/tests dpnet_test
17680 wine_fn_config_dll dpnhpast enable_dpnhpast
17681 wine_fn_config_dll dpnlobby enable_dpnlobby
17682 wine_fn_config_dll dpvoice enable_dpvoice clean
17683 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17684 wine_fn_config_dll dpwsockx enable_dpwsockx
17685 wine_fn_config_dll drmclien enable_drmclien
17686 wine_fn_config_dll dsound enable_dsound clean,implib
17687 wine_fn_config_test dlls/dsound/tests dsound_test
17688 wine_fn_config_dll dssenh enable_dssenh
17689 wine_fn_config_test dlls/dssenh/tests dssenh_test
17690 wine_fn_config_dll dswave enable_dswave clean
17691 wine_fn_config_test dlls/dswave/tests dswave_test
17692 wine_fn_config_dll dwmapi enable_dwmapi implib
17693 wine_fn_config_dll dwrite enable_dwrite implib
17694 wine_fn_config_test dlls/dwrite/tests dwrite_test
17695 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17696 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17697 wine_fn_config_lib dxerr8
17698 wine_fn_config_lib dxerr9
17699 wine_fn_config_dll dxgi enable_dxgi implib
17700 wine_fn_config_test dlls/dxgi/tests dxgi_test
17701 wine_fn_config_lib dxguid
17702 wine_fn_config_dll dxva2 enable_dxva2
17703 wine_fn_config_dll esent enable_esent
17704 wine_fn_config_dll evr enable_evr
17705 wine_fn_config_dll explorerframe enable_explorerframe clean
17706 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17707 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17708 wine_fn_config_dll faultrep enable_faultrep implib
17709 wine_fn_config_test dlls/faultrep/tests faultrep_test
17710 wine_fn_config_dll fltlib enable_fltlib
17711 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17712 wine_fn_config_dll fntcache enable_fntcache
17713 wine_fn_config_dll fontsub enable_fontsub
17714 wine_fn_config_dll fusion enable_fusion
17715 wine_fn_config_test dlls/fusion/tests fusion_test
17716 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17717 wine_fn_config_dll gameux enable_gameux clean
17718 wine_fn_config_test dlls/gameux/tests gameux_test
17719 wine_fn_config_dll gdi.exe16 enable_win16
17720 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17721 wine_fn_config_test dlls/gdi32/tests gdi32_test
17722 wine_fn_config_dll gdiplus enable_gdiplus implib
17723 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17724 wine_fn_config_dll glu32 enable_glu32 implib
17725 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17726 wine_fn_config_dll gpkcsp enable_gpkcsp
17727 wine_fn_config_dll hal enable_hal
17728 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17729 wine_fn_config_dll hid enable_hid implib
17730 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17731 wine_fn_config_dll hlink enable_hlink clean,implib
17732 wine_fn_config_test dlls/hlink/tests hlink_test
17733 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17734 wine_fn_config_dll httpapi enable_httpapi
17735 wine_fn_config_dll iccvid enable_iccvid clean
17736 wine_fn_config_dll icmp enable_icmp
17737 wine_fn_config_dll ieframe enable_ieframe clean,implib
17738 wine_fn_config_test dlls/ieframe/tests ieframe_test
17739 wine_fn_config_dll ifsmgr.vxd enable_win16
17740 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17741 wine_fn_config_dll imagehlp enable_imagehlp implib
17742 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17743 wine_fn_config_dll imm.dll16 enable_win16
17744 wine_fn_config_dll imm32 enable_imm32 implib
17745 wine_fn_config_test dlls/imm32/tests imm32_test
17746 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17747 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17748 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17749 wine_fn_config_dll inetmib1 enable_inetmib1
17750 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17751 wine_fn_config_dll infosoft enable_infosoft clean
17752 wine_fn_config_test dlls/infosoft/tests infosoft_test
17753 wine_fn_config_dll initpki enable_initpki
17754 wine_fn_config_dll inkobj enable_inkobj
17755 wine_fn_config_dll inseng enable_inseng clean
17756 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17757 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17758 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17759 wine_fn_config_dll itircl enable_itircl
17760 wine_fn_config_dll itss enable_itss clean
17761 wine_fn_config_test dlls/itss/tests itss_test
17762 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17763 wine_fn_config_dll jscript enable_jscript clean
17764 wine_fn_config_test dlls/jscript/tests jscript_test
17765 wine_fn_config_dll jsproxy enable_jsproxy implib
17766 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17767 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17768 wine_fn_config_test dlls/kernel32/tests kernel32_test
17769 wine_fn_config_dll kernelbase enable_kernelbase
17770 wine_fn_config_dll keyboard.drv16 enable_win16
17771 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17772 wine_fn_config_dll ksuser enable_ksuser
17773 wine_fn_config_dll ktmw32 enable_ktmw32
17774 wine_fn_config_dll loadperf enable_loadperf implib
17775 wine_fn_config_dll localspl enable_localspl clean
17776 wine_fn_config_test dlls/localspl/tests localspl_test
17777 wine_fn_config_dll localui enable_localui clean
17778 wine_fn_config_test dlls/localui/tests localui_test
17779 wine_fn_config_dll lz32 enable_lz32 implib
17780 wine_fn_config_test dlls/lz32/tests lz32_test
17781 wine_fn_config_dll lzexpand.dll16 enable_win16
17782 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17783 wine_fn_config_test dlls/mapi32/tests mapi32_test
17784 wine_fn_config_dll mapistub enable_mapistub
17785 wine_fn_config_dll mciavi32 enable_mciavi32
17786 wine_fn_config_dll mcicda enable_mcicda
17787 wine_fn_config_dll mciqtz32 enable_mciqtz32
17788 wine_fn_config_dll mciseq enable_mciseq
17789 wine_fn_config_dll mciwave enable_mciwave
17790 wine_fn_config_dll mf enable_mf
17791 wine_fn_config_dll mfplat enable_mfplat
17792 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17793 wine_fn_config_dll mgmtapi enable_mgmtapi
17794 wine_fn_config_dll midimap enable_midimap
17795 wine_fn_config_dll mlang enable_mlang clean,implib
17796 wine_fn_config_test dlls/mlang/tests mlang_test
17797 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17798 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17799 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17800 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17801 wine_fn_config_dll mmdevldr.vxd enable_win16
17802 wine_fn_config_dll mmsystem.dll16 enable_win16
17803 wine_fn_config_dll monodebg.vxd enable_win16
17804 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17805 wine_fn_config_dll mouse.drv16 enable_win16
17806 wine_fn_config_dll mpr enable_mpr clean,implib
17807 wine_fn_config_test dlls/mpr/tests mpr_test
17808 wine_fn_config_dll mprapi enable_mprapi implib
17809 wine_fn_config_dll msacm.dll16 enable_win16
17810 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17811 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17812 wine_fn_config_test dlls/msacm32/tests msacm32_test
17813 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17814 wine_fn_config_dll msasn1 enable_msasn1 implib
17815 wine_fn_config_dll mscat32 enable_mscat32
17816 wine_fn_config_dll mscms enable_mscms implib
17817 wine_fn_config_test dlls/mscms/tests mscms_test
17818 wine_fn_config_dll mscoree enable_mscoree clean
17819 wine_fn_config_test dlls/mscoree/tests mscoree_test
17820 wine_fn_config_dll msctf enable_msctf clean
17821 wine_fn_config_test dlls/msctf/tests msctf_test
17822 wine_fn_config_dll msctfp enable_msctfp clean
17823 wine_fn_config_dll msdaps enable_msdaps clean
17824 wine_fn_config_dll msdelta enable_msdelta
17825 wine_fn_config_dll msdmo enable_msdmo implib
17826 wine_fn_config_test dlls/msdmo/tests msdmo_test
17827 wine_fn_config_dll msdrm enable_msdrm
17828 wine_fn_config_dll msftedit enable_msftedit
17829 wine_fn_config_dll msg711.acm enable_msg711_acm
17830 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17831 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17832 wine_fn_config_dll mshtml enable_mshtml clean,implib
17833 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17834 wine_fn_config_dll msi enable_msi clean,implib
17835 wine_fn_config_test dlls/msi/tests msi_test
17836 wine_fn_config_dll msident enable_msident clean
17837 wine_fn_config_dll msimg32 enable_msimg32 implib
17838 wine_fn_config_dll msimsg enable_msimsg
17839 wine_fn_config_dll msimtf enable_msimtf clean
17840 wine_fn_config_dll msisip enable_msisip
17841 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17842 wine_fn_config_dll msls31 enable_msls31
17843 wine_fn_config_dll msnet32 enable_msnet32
17844 wine_fn_config_dll mspatcha enable_mspatcha implib
17845 wine_fn_config_dll msrle32 enable_msrle32 clean
17846 wine_fn_config_test dlls/msrle32/tests msrle32_test
17847 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17848 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17849 wine_fn_config_dll mssign32 enable_mssign32
17850 wine_fn_config_dll mssip32 enable_mssip32
17851 wine_fn_config_dll mstask enable_mstask clean
17852 wine_fn_config_test dlls/mstask/tests mstask_test
17853 wine_fn_config_dll msvcirt enable_msvcirt
17854 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17855 wine_fn_config_dll msvcm80 enable_msvcm80
17856 wine_fn_config_dll msvcm90 enable_msvcm90
17857 wine_fn_config_dll msvcp100 enable_msvcp100
17858 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17859 wine_fn_config_dll msvcp110 enable_msvcp110
17860 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17861 wine_fn_config_dll msvcp120 enable_msvcp120
17862 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17863 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17864 wine_fn_config_dll msvcp60 enable_msvcp60
17865 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17866 wine_fn_config_dll msvcp70 enable_msvcp70
17867 wine_fn_config_dll msvcp71 enable_msvcp71
17868 wine_fn_config_dll msvcp80 enable_msvcp80
17869 wine_fn_config_dll msvcp90 enable_msvcp90
17870 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17871 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17872 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17873 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17874 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17875 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17876 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17877 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17878 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17879 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17880 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17881 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17882 wine_fn_config_dll msvcrt enable_msvcrt implib
17883 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17884 wine_fn_config_dll msvcrt20 enable_msvcrt20
17885 wine_fn_config_dll msvcrt40 enable_msvcrt40
17886 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17887 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17888 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17889 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17890 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17891 wine_fn_config_dll msvideo.dll16 enable_win16
17892 wine_fn_config_dll mswsock enable_mswsock implib
17893 wine_fn_config_dll msxml enable_msxml clean
17894 wine_fn_config_dll msxml2 enable_msxml2 clean
17895 wine_fn_config_dll msxml3 enable_msxml3 clean
17896 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17897 wine_fn_config_dll msxml4 enable_msxml4 clean
17898 wine_fn_config_dll msxml6 enable_msxml6 clean
17899 wine_fn_config_dll ncrypt enable_ncrypt
17900 wine_fn_config_dll nddeapi enable_nddeapi implib
17901 wine_fn_config_dll ndis.sys enable_ndis_sys
17902 wine_fn_config_dll netapi32 enable_netapi32 implib
17903 wine_fn_config_test dlls/netapi32/tests netapi32_test
17904 wine_fn_config_dll netcfgx enable_netcfgx clean
17905 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17906 wine_fn_config_dll netprofm enable_netprofm clean
17907 wine_fn_config_test dlls/netprofm/tests netprofm_test
17908 wine_fn_config_dll newdev enable_newdev implib
17909 wine_fn_config_dll normaliz enable_normaliz implib
17910 wine_fn_config_dll npmshtml enable_npmshtml
17911 wine_fn_config_dll npptools enable_npptools
17912 wine_fn_config_dll ntdll enable_ntdll implib
17913 wine_fn_config_test dlls/ntdll/tests ntdll_test
17914 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17915 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17916 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17917 wine_fn_config_dll ntprint enable_ntprint
17918 wine_fn_config_test dlls/ntprint/tests ntprint_test
17919 wine_fn_config_dll objsel enable_objsel clean
17920 wine_fn_config_dll odbc32 enable_odbc32 implib
17921 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17922 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17923 wine_fn_config_dll odbccu32 enable_odbccu32
17924 wine_fn_config_dll ole2.dll16 enable_win16
17925 wine_fn_config_dll ole2conv.dll16 enable_win16
17926 wine_fn_config_dll ole2disp.dll16 enable_win16
17927 wine_fn_config_dll ole2nls.dll16 enable_win16
17928 wine_fn_config_dll ole2prox.dll16 enable_win16
17929 wine_fn_config_dll ole2thk.dll16 enable_win16
17930 wine_fn_config_dll ole32 enable_ole32 clean,implib
17931 wine_fn_config_test dlls/ole32/tests ole32_test
17932 wine_fn_config_dll oleacc enable_oleacc clean,implib
17933 wine_fn_config_test dlls/oleacc/tests oleacc_test
17934 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17935 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17936 wine_fn_config_dll olecli.dll16 enable_win16
17937 wine_fn_config_dll olecli32 enable_olecli32 implib
17938 wine_fn_config_dll oledb32 enable_oledb32 clean
17939 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17940 wine_fn_config_dll oledlg enable_oledlg clean,implib
17941 wine_fn_config_test dlls/oledlg/tests oledlg_test
17942 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17943 wine_fn_config_dll olesvr.dll16 enable_win16
17944 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17945 wine_fn_config_dll olethk32 enable_olethk32
17946 wine_fn_config_dll openal32 enable_openal32
17947 wine_fn_config_dll opencl enable_opencl
17948 wine_fn_config_dll opengl32 enable_opengl32 implib
17949 wine_fn_config_test dlls/opengl32/tests opengl32_test
17950 wine_fn_config_dll packager enable_packager clean
17951 wine_fn_config_test dlls/packager/tests packager_test
17952 wine_fn_config_dll pdh enable_pdh implib
17953 wine_fn_config_test dlls/pdh/tests pdh_test
17954 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17955 wine_fn_config_dll pidgen enable_pidgen
17956 wine_fn_config_dll powrprof enable_powrprof implib
17957 wine_fn_config_dll printui enable_printui
17958 wine_fn_config_dll prntvpt enable_prntvpt
17959 wine_fn_config_dll propsys enable_propsys clean,implib
17960 wine_fn_config_test dlls/propsys/tests propsys_test
17961 wine_fn_config_dll psapi enable_psapi implib
17962 wine_fn_config_test dlls/psapi/tests psapi_test
17963 wine_fn_config_dll pstorec enable_pstorec clean
17964 wine_fn_config_dll qcap enable_qcap
17965 wine_fn_config_test dlls/qcap/tests qcap_test
17966 wine_fn_config_dll qedit enable_qedit clean
17967 wine_fn_config_test dlls/qedit/tests qedit_test
17968 wine_fn_config_dll qmgr enable_qmgr clean
17969 wine_fn_config_test dlls/qmgr/tests qmgr_test
17970 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17971 wine_fn_config_dll quartz enable_quartz clean,implib
17972 wine_fn_config_test dlls/quartz/tests quartz_test clean
17973 wine_fn_config_dll query enable_query
17974 wine_fn_config_dll rasapi16.dll16 enable_win16
17975 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17976 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17977 wine_fn_config_dll rasdlg enable_rasdlg implib
17978 wine_fn_config_dll regapi enable_regapi
17979 wine_fn_config_dll resutils enable_resutils implib
17980 wine_fn_config_dll riched20 enable_riched20 clean,implib
17981 wine_fn_config_test dlls/riched20/tests riched20_test
17982 wine_fn_config_dll riched32 enable_riched32
17983 wine_fn_config_test dlls/riched32/tests riched32_test
17984 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17985 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17986 wine_fn_config_dll rsabase enable_rsabase
17987 wine_fn_config_dll rsaenh enable_rsaenh implib
17988 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17989 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17990 wine_fn_config_dll rtutils enable_rtutils implib
17991 wine_fn_config_dll samlib enable_samlib
17992 wine_fn_config_dll sane.ds enable_sane_ds clean
17993 wine_fn_config_dll scarddlg enable_scarddlg
17994 wine_fn_config_dll sccbase enable_sccbase
17995 wine_fn_config_dll schannel enable_schannel
17996 wine_fn_config_test dlls/schannel/tests schannel_test
17997 wine_fn_config_dll schedsvc enable_schedsvc clean
17998 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17999 wine_fn_config_dll scrrun enable_scrrun clean
18000 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18001 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18002 wine_fn_config_dll secur32 enable_secur32 implib
18003 wine_fn_config_test dlls/secur32/tests secur32_test
18004 wine_fn_config_dll security enable_security
18005 wine_fn_config_dll sensapi enable_sensapi implib
18006 wine_fn_config_dll serialui enable_serialui clean
18007 wine_fn_config_test dlls/serialui/tests serialui_test
18008 wine_fn_config_dll setupapi enable_setupapi clean,implib
18009 wine_fn_config_test dlls/setupapi/tests setupapi_test
18010 wine_fn_config_dll setupx.dll16 enable_win16
18011 wine_fn_config_dll sfc enable_sfc implib
18012 wine_fn_config_dll sfc_os enable_sfc_os implib
18013 wine_fn_config_dll shdoclc enable_shdoclc clean
18014 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18015 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18016 wine_fn_config_dll shell.dll16 enable_win16
18017 wine_fn_config_dll shell32 enable_shell32 clean,implib
18018 wine_fn_config_test dlls/shell32/tests shell32_test
18019 wine_fn_config_dll shfolder enable_shfolder implib
18020 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18021 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18022 wine_fn_config_dll slbcsp enable_slbcsp
18023 wine_fn_config_dll slc enable_slc implib
18024 wine_fn_config_test dlls/slc/tests slc_test
18025 wine_fn_config_dll snmpapi enable_snmpapi implib
18026 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18027 wine_fn_config_dll softpub enable_softpub
18028 wine_fn_config_dll sound.drv16 enable_win16
18029 wine_fn_config_dll spoolss enable_spoolss implib
18030 wine_fn_config_test dlls/spoolss/tests spoolss_test
18031 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18032 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18033 wine_fn_config_dll sti enable_sti clean,implib
18034 wine_fn_config_test dlls/sti/tests sti_test
18035 wine_fn_config_dll storage.dll16 enable_win16
18036 wine_fn_config_dll stress.dll16 enable_win16
18037 wine_fn_config_lib strmbase
18038 wine_fn_config_lib strmiids
18039 wine_fn_config_dll svrapi enable_svrapi
18040 wine_fn_config_dll sxs enable_sxs implib
18041 wine_fn_config_test dlls/sxs/tests sxs_test
18042 wine_fn_config_dll system.drv16 enable_win16
18043 wine_fn_config_dll t2embed enable_t2embed implib
18044 wine_fn_config_test dlls/t2embed/tests t2embed_test
18045 wine_fn_config_dll tapi32 enable_tapi32 implib
18046 wine_fn_config_dll taskschd enable_taskschd clean
18047 wine_fn_config_test dlls/taskschd/tests taskschd_test
18048 wine_fn_config_dll tdi.sys enable_tdi_sys
18049 wine_fn_config_dll toolhelp.dll16 enable_win16
18050 wine_fn_config_dll traffic enable_traffic
18051 wine_fn_config_dll twain.dll16 enable_win16
18052 wine_fn_config_dll twain_32 enable_twain_32
18053 wine_fn_config_test dlls/twain_32/tests twain_32_test
18054 wine_fn_config_dll typelib.dll16 enable_win16
18055 wine_fn_config_dll ucrtbase enable_ucrtbase
18056 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18057 wine_fn_config_dll unicows enable_unicows implib
18058 wine_fn_config_dll updspapi enable_updspapi
18059 wine_fn_config_dll url enable_url implib
18060 wine_fn_config_dll urlmon enable_urlmon clean,implib
18061 wine_fn_config_test dlls/urlmon/tests urlmon_test
18062 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18063 wine_fn_config_dll user.exe16 enable_win16
18064 wine_fn_config_dll user32 enable_user32 clean,implib
18065 wine_fn_config_test dlls/user32/tests user32_test
18066 wine_fn_config_dll userenv enable_userenv implib
18067 wine_fn_config_test dlls/userenv/tests userenv_test
18068 wine_fn_config_dll usp10 enable_usp10 implib
18069 wine_fn_config_test dlls/usp10/tests usp10_test
18070 wine_fn_config_lib uuid
18071 wine_fn_config_dll uxtheme enable_uxtheme implib
18072 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18073 wine_fn_config_dll vbscript enable_vbscript clean
18074 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18075 wine_fn_config_dll vcomp enable_vcomp
18076 wine_fn_config_test dlls/vcomp/tests vcomp_test
18077 wine_fn_config_dll vcomp100 enable_vcomp100
18078 wine_fn_config_dll vcomp110 enable_vcomp110
18079 wine_fn_config_dll vcomp120 enable_vcomp120
18080 wine_fn_config_dll vcomp90 enable_vcomp90
18081 wine_fn_config_dll vcruntime140 enable_vcruntime140
18082 wine_fn_config_dll vdhcp.vxd enable_win16
18083 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18084 wine_fn_config_dll ver.dll16 enable_win16
18085 wine_fn_config_dll version enable_version implib
18086 wine_fn_config_test dlls/version/tests version_test
18087 wine_fn_config_dll vmm.vxd enable_win16
18088 wine_fn_config_dll vnbt.vxd enable_win16
18089 wine_fn_config_dll vnetbios.vxd enable_win16
18090 wine_fn_config_dll vssapi enable_vssapi
18091 wine_fn_config_dll vtdapi.vxd enable_win16
18092 wine_fn_config_dll vwin32.vxd enable_win16
18093 wine_fn_config_dll w32skrnl enable_win16
18094 wine_fn_config_dll w32sys.dll16 enable_win16
18095 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18096 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18097 wine_fn_config_dll wbemprox enable_wbemprox clean
18098 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18099 wine_fn_config_dll webservices enable_webservices implib
18100 wine_fn_config_test dlls/webservices/tests webservices_test
18101 wine_fn_config_dll wer enable_wer implib
18102 wine_fn_config_test dlls/wer/tests wer_test
18103 wine_fn_config_dll wevtapi enable_wevtapi
18104 wine_fn_config_dll wiaservc enable_wiaservc clean
18105 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18106 wine_fn_config_dll wimgapi enable_wimgapi
18107 wine_fn_config_dll win32s16.dll16 enable_win16
18108 wine_fn_config_dll win87em.dll16 enable_win16
18109 wine_fn_config_dll winaspi.dll16 enable_win16
18110 wine_fn_config_dll windebug.dll16 enable_win16
18111 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18112 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18113 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18114 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18115 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18116 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18117 wine_fn_config_lib winecrt0
18118 wine_fn_config_dll wined3d enable_wined3d implib
18119 wine_fn_config_dll winegstreamer enable_winegstreamer
18120 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18121 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18122 wine_fn_config_dll winemapi enable_winemapi
18123 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18124 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18125 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18126 wine_fn_config_dll wineps16.drv16 enable_win16
18127 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18128 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18129 wine_fn_config_dll winex11.drv enable_winex11_drv
18130 wine_fn_config_dll wing.dll16 enable_win16
18131 wine_fn_config_dll wing32 enable_wing32
18132 wine_fn_config_dll winhttp enable_winhttp clean,implib
18133 wine_fn_config_test dlls/winhttp/tests winhttp_test
18134 wine_fn_config_dll wininet enable_wininet clean,implib
18135 wine_fn_config_test dlls/wininet/tests wininet_test
18136 wine_fn_config_dll winmm enable_winmm clean,implib
18137 wine_fn_config_test dlls/winmm/tests winmm_test
18138 wine_fn_config_dll winnls.dll16 enable_win16
18139 wine_fn_config_dll winnls32 enable_winnls32 implib
18140 wine_fn_config_dll winscard enable_winscard implib
18141 wine_fn_config_dll winsock.dll16 enable_win16
18142 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18143 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18144 wine_fn_config_dll winsta enable_winsta
18145 wine_fn_config_dll wintab.dll16 enable_win16
18146 wine_fn_config_dll wintab32 enable_wintab32 implib
18147 wine_fn_config_test dlls/wintab32/tests wintab32_test
18148 wine_fn_config_dll wintrust enable_wintrust implib
18149 wine_fn_config_test dlls/wintrust/tests wintrust_test
18150 wine_fn_config_dll wlanapi enable_wlanapi
18151 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18152 wine_fn_config_test dlls/wldap32/tests wldap32_test
18153 wine_fn_config_dll wmasf enable_wmasf
18154 wine_fn_config_dll wmi enable_wmi
18155 wine_fn_config_dll wmiutils enable_wmiutils clean
18156 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18157 wine_fn_config_dll wmp enable_wmp clean
18158 wine_fn_config_test dlls/wmp/tests wmp_test
18159 wine_fn_config_dll wmvcore enable_wmvcore
18160 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18161 wine_fn_config_dll wow32 enable_win16 implib
18162 wine_fn_config_dll wpcap enable_wpcap
18163 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18164 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18165 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18166 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18167 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18168 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18169 wine_fn_config_dll wsock32 enable_wsock32 implib
18170 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18171 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18172 wine_fn_config_dll wuapi enable_wuapi clean
18173 wine_fn_config_dll wuaueng enable_wuaueng
18174 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18175 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18176 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18177 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18178 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18179 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18180 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18181 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18182 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18183 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18184 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18185 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18186 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18187 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18188 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18189 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18190 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18191 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18192 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18193 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18194 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18195 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18196 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18197 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18198 wine_fn_config_dll xinput1_1 enable_xinput1_1
18199 wine_fn_config_dll xinput1_2 enable_xinput1_2
18200 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18201 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18202 wine_fn_config_dll xinput1_4 enable_xinput1_4
18203 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18204 wine_fn_config_dll xmllite enable_xmllite implib
18205 wine_fn_config_test dlls/xmllite/tests xmllite_test
18206 wine_fn_config_dll xolehlp enable_xolehlp
18207 wine_fn_config_dll xpsprint enable_xpsprint
18208 wine_fn_config_dll xpssvcs enable_xpssvcs
18209 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18210 wine_fn_config_makefile include enable_include clean,install-dev
18211 wine_fn_config_makefile libs/port enable_libs_port
18212 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18213 wine_fn_config_makefile libs/wpp enable_libs_wpp
18214 wine_fn_config_makefile loader enable_loader clean,install-lib
18215 wine_fn_config_makefile po enable_po clean
18216 wine_fn_config_program arp enable_arp install
18217 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18218 wine_fn_config_program attrib enable_attrib clean,install
18219 wine_fn_config_program cabarc enable_cabarc install
18220 wine_fn_config_program cacls enable_cacls install
18221 wine_fn_config_program clock enable_clock clean,install
18222 wine_fn_config_program cmd enable_cmd clean,install
18223 wine_fn_config_test programs/cmd/tests cmd.exe_test
18224 wine_fn_config_program conhost enable_conhost install
18225 wine_fn_config_program control enable_control install
18226 wine_fn_config_program cscript enable_cscript clean,install
18227 wine_fn_config_program dpnsvr enable_dpnsvr install
18228 wine_fn_config_program dxdiag enable_dxdiag clean,install
18229 wine_fn_config_program eject enable_eject install
18230 wine_fn_config_program expand enable_expand install
18231 wine_fn_config_program explorer enable_explorer clean,install
18232 wine_fn_config_program extrac32 enable_extrac32 install
18233 wine_fn_config_program findstr enable_findstr install
18234 wine_fn_config_program fsutil enable_fsutil install
18235 wine_fn_config_program hh enable_hh install
18236 wine_fn_config_program hostname enable_hostname clean,install
18237 wine_fn_config_program icacls enable_icacls install
18238 wine_fn_config_program icinfo enable_icinfo install
18239 wine_fn_config_program iexplore enable_iexplore install
18240 wine_fn_config_program ipconfig enable_ipconfig clean,install
18241 wine_fn_config_program lodctr enable_lodctr install
18242 wine_fn_config_program mofcomp enable_mofcomp install
18243 wine_fn_config_program mshta enable_mshta install
18244 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18245 wine_fn_config_program net enable_net clean,install
18246 wine_fn_config_program netsh enable_netsh install
18247 wine_fn_config_program netstat enable_netstat clean,install
18248 wine_fn_config_program ngen enable_ngen install
18249 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18250 wine_fn_config_program oleview enable_oleview clean,install
18251 wine_fn_config_program ping enable_ping install
18252 wine_fn_config_program plugplay enable_plugplay install
18253 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18254 wine_fn_config_program progman enable_progman clean,install
18255 wine_fn_config_program reg enable_reg clean,install
18256 wine_fn_config_test programs/reg/tests reg.exe_test
18257 wine_fn_config_program regasm enable_regasm install
18258 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18259 wine_fn_config_test programs/regedit/tests regedit.exe_test
18260 wine_fn_config_program regsvcs enable_regsvcs install
18261 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18262 wine_fn_config_program rpcss enable_rpcss clean,install
18263 wine_fn_config_program rundll.exe16 enable_win16 install
18264 wine_fn_config_program rundll32 enable_rundll32 install
18265 wine_fn_config_program sc enable_sc install
18266 wine_fn_config_program schtasks enable_schtasks install
18267 wine_fn_config_program sdbinst enable_sdbinst install
18268 wine_fn_config_program secedit enable_secedit install
18269 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18270 wine_fn_config_program services enable_services clean,install
18271 wine_fn_config_test programs/services/tests services.exe_test
18272 wine_fn_config_program shutdown enable_shutdown install
18273 wine_fn_config_program spoolsv enable_spoolsv install
18274 wine_fn_config_program start enable_start clean,install
18275 wine_fn_config_program svchost enable_svchost install
18276 wine_fn_config_program systeminfo enable_systeminfo install
18277 wine_fn_config_program taskkill enable_taskkill clean,install
18278 wine_fn_config_program tasklist enable_tasklist install
18279 wine_fn_config_program taskmgr enable_taskmgr clean,install
18280 wine_fn_config_program termsv enable_termsv install
18281 wine_fn_config_program uninstaller enable_uninstaller clean,install
18282 wine_fn_config_program unlodctr enable_unlodctr install
18283 wine_fn_config_program view enable_view clean,install
18284 wine_fn_config_program wevtutil enable_wevtutil install
18285 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18286 wine_fn_config_program winebrowser enable_winebrowser install
18287 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18288 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18289 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18290 wine_fn_config_program winedevice enable_winedevice install
18291 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18292 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18293 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18294 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18295 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18296 wine_fn_config_program winetest enable_winetest clean
18297 wine_fn_config_program winevdm enable_win16 install
18298 wine_fn_config_program winhelp.exe16 enable_win16 install
18299 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18300 wine_fn_config_program winoldap.mod16 enable_win16 install
18301 wine_fn_config_program winver enable_winver install
18302 wine_fn_config_program wmic enable_wmic clean,install
18303 wine_fn_config_program wmplayer enable_wmplayer install
18304 wine_fn_config_program wordpad enable_wordpad clean,install
18305 wine_fn_config_program write enable_write clean,install
18306 wine_fn_config_program wscript enable_wscript clean,install
18307 wine_fn_config_test programs/wscript/tests wscript.exe_test
18308 wine_fn_config_program wusa enable_wusa install
18309 wine_fn_config_program xcopy enable_xcopy clean,install
18310 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18311 wine_fn_config_makefile server enable_server clean,install-lib
18312 wine_fn_config_tool tools clean
18313 wine_fn_config_tool tools/sfnt2fon clean
18314 wine_fn_config_tool tools/widl clean,install-dev
18315 wine_fn_config_tool tools/winebuild clean,install-dev
18316 wine_fn_config_tool tools/winedump clean,install-dev
18317 wine_fn_config_tool tools/winegcc clean,install-dev
18318 wine_fn_config_tool tools/winemaker clean,install-dev
18319 wine_fn_config_tool tools/wmc clean,install-dev
18320 wine_fn_config_tool tools/wrc clean,install-dev
18323 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18324 wine_fn_append_file CONFIGURE_TARGETS "tags"
18325 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18326 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18327 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18328 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18329 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18330 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18332 if test "x$enable_tools" != xno
18333 then
18334 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18335 ac_config_commands="$ac_config_commands tools/makedep"
18339 ac_config_commands="$ac_config_commands Makefile"
18342 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18346 if test "x$enable_maintainer_mode" = xyes
18347 then
18348 wine_fn_append_rule "configure: configure.ac aclocal.m4
18349 autoconf --warnings=all
18350 include/config.h.in: include/stamp-h.in
18351 include/stamp-h.in: configure.ac aclocal.m4
18352 autoheader --warnings=all
18353 @echo timestamp > \$@"
18356 if test "x$enable_tools" != xno
18357 then
18358 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18359 @./config.status tools/makedep
18360 Makefile: tools/makedep$ac_exeext"
18361 else
18362 wine_fn_append_rule "\$(MAKEDEP):
18363 @echo \"You need to run make in $TOOLSDIR first\" && false"
18366 if test -n "$with_wine64"
18367 then
18368 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18369 fonts server:
18370 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18371 $with_wine64/loader/wine:
18372 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18373 $with_wine64/loader/wine-preloader:
18374 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18375 clean::
18376 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18377 else
18378 WINELOADER_INSTALL="wine.inf"
18380 wine_fn_append_rule "install install-lib::
18381 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18382 uninstall::
18383 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18384 case $host_os in
18385 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18386 *) wine_fn_append_rule "install install-lib::
18387 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18388 uninstall::
18389 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18390 esac
18393 $as_echo " done" >&6
18394 cat >confcache <<\_ACEOF
18395 # This file is a shell script that caches the results of configure
18396 # tests run on this system so they can be shared between configure
18397 # scripts and configure runs, see configure's option --config-cache.
18398 # It is not useful on other systems. If it contains results you don't
18399 # want to keep, you may remove or edit it.
18401 # config.status only pays attention to the cache file if you give it
18402 # the --recheck option to rerun configure.
18404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18406 # following values.
18408 _ACEOF
18410 # The following way of writing the cache mishandles newlines in values,
18411 # but we know of no workaround that is simple, portable, and efficient.
18412 # So, we kill variables containing newlines.
18413 # Ultrix sh set writes to stderr and can't be redirected directly,
18414 # and sets the high bit in the cache file unless we assign to the vars.
18416 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18417 eval ac_val=\$$ac_var
18418 case $ac_val in #(
18419 *${as_nl}*)
18420 case $ac_var in #(
18421 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18422 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18423 esac
18424 case $ac_var in #(
18425 _ | IFS | as_nl) ;; #(
18426 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18427 *) { eval $ac_var=; unset $ac_var;} ;;
18428 esac ;;
18429 esac
18430 done
18432 (set) 2>&1 |
18433 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18434 *${as_nl}ac_space=\ *)
18435 # `set' does not quote correctly, so add quotes: double-quote
18436 # substitution turns \\\\ into \\, and sed turns \\ into \.
18437 sed -n \
18438 "s/'/'\\\\''/g;
18439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18440 ;; #(
18442 # `set' quotes correctly as required by POSIX, so do not add quotes.
18443 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18445 esac |
18446 sort
18448 sed '
18449 /^ac_cv_env_/b end
18450 t clear
18451 :clear
18452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18453 t end
18454 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18455 :end' >>confcache
18456 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18457 if test -w "$cache_file"; then
18458 if test "x$cache_file" != "x/dev/null"; then
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18460 $as_echo "$as_me: updating cache $cache_file" >&6;}
18461 if test ! -f "$cache_file" || test -h "$cache_file"; then
18462 cat confcache >"$cache_file"
18463 else
18464 case $cache_file in #(
18465 */* | ?:*)
18466 mv -f confcache "$cache_file"$$ &&
18467 mv -f "$cache_file"$$ "$cache_file" ;; #(
18469 mv -f confcache "$cache_file" ;;
18470 esac
18473 else
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18475 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18478 rm -f confcache
18480 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18481 # Let make expand exec_prefix.
18482 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18484 DEFS=-DHAVE_CONFIG_H
18486 ac_libobjs=
18487 ac_ltlibobjs=
18489 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18490 # 1. Remove the extension, and $U if already installed.
18491 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18492 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18493 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18494 # will be set to the directory where LIBOBJS objects are built.
18495 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18496 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18497 done
18498 LIBOBJS=$ac_libobjs
18500 LTLIBOBJS=$ac_ltlibobjs
18504 : "${CONFIG_STATUS=./config.status}"
18505 ac_write_fail=0
18506 ac_clean_files_save=$ac_clean_files
18507 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18509 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18510 as_write_fail=0
18511 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18512 #! $SHELL
18513 # Generated by $as_me.
18514 # Run this file to recreate the current configuration.
18515 # Compiler output produced by configure, useful for debugging
18516 # configure, is in config.log if it exists.
18518 debug=false
18519 ac_cs_recheck=false
18520 ac_cs_silent=false
18522 SHELL=\${CONFIG_SHELL-$SHELL}
18523 export SHELL
18524 _ASEOF
18525 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18526 ## -------------------- ##
18527 ## M4sh Initialization. ##
18528 ## -------------------- ##
18530 # Be more Bourne compatible
18531 DUALCASE=1; export DUALCASE # for MKS sh
18532 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18533 emulate sh
18534 NULLCMD=:
18535 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18536 # is contrary to our usage. Disable this feature.
18537 alias -g '${1+"$@"}'='"$@"'
18538 setopt NO_GLOB_SUBST
18539 else
18540 case `(set -o) 2>/dev/null` in #(
18541 *posix*) :
18542 set -o posix ;; #(
18543 *) :
18545 esac
18549 as_nl='
18551 export as_nl
18552 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18553 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18554 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18555 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18556 # Prefer a ksh shell builtin over an external printf program on Solaris,
18557 # but without wasting forks for bash or zsh.
18558 if test -z "$BASH_VERSION$ZSH_VERSION" \
18559 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18560 as_echo='print -r --'
18561 as_echo_n='print -rn --'
18562 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18563 as_echo='printf %s\n'
18564 as_echo_n='printf %s'
18565 else
18566 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18567 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18568 as_echo_n='/usr/ucb/echo -n'
18569 else
18570 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18571 as_echo_n_body='eval
18572 arg=$1;
18573 case $arg in #(
18574 *"$as_nl"*)
18575 expr "X$arg" : "X\\(.*\\)$as_nl";
18576 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18577 esac;
18578 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18580 export as_echo_n_body
18581 as_echo_n='sh -c $as_echo_n_body as_echo'
18583 export as_echo_body
18584 as_echo='sh -c $as_echo_body as_echo'
18587 # The user is always right.
18588 if test "${PATH_SEPARATOR+set}" != set; then
18589 PATH_SEPARATOR=:
18590 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18591 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18592 PATH_SEPARATOR=';'
18597 # IFS
18598 # We need space, tab and new line, in precisely that order. Quoting is
18599 # there to prevent editors from complaining about space-tab.
18600 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18601 # splitting by setting IFS to empty value.)
18602 IFS=" "" $as_nl"
18604 # Find who we are. Look in the path if we contain no directory separator.
18605 as_myself=
18606 case $0 in #((
18607 *[\\/]* ) as_myself=$0 ;;
18608 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18609 for as_dir in $PATH
18611 IFS=$as_save_IFS
18612 test -z "$as_dir" && as_dir=.
18613 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18614 done
18615 IFS=$as_save_IFS
18618 esac
18619 # We did not find ourselves, most probably we were run as `sh COMMAND'
18620 # in which case we are not to be found in the path.
18621 if test "x$as_myself" = x; then
18622 as_myself=$0
18624 if test ! -f "$as_myself"; then
18625 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18626 exit 1
18629 # Unset variables that we do not need and which cause bugs (e.g. in
18630 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18631 # suppresses any "Segmentation fault" message there. '((' could
18632 # trigger a bug in pdksh 5.2.14.
18633 for as_var in BASH_ENV ENV MAIL MAILPATH
18634 do eval test x\${$as_var+set} = xset \
18635 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18636 done
18637 PS1='$ '
18638 PS2='> '
18639 PS4='+ '
18641 # NLS nuisances.
18642 LC_ALL=C
18643 export LC_ALL
18644 LANGUAGE=C
18645 export LANGUAGE
18647 # CDPATH.
18648 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18651 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18652 # ----------------------------------------
18653 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18654 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18655 # script with STATUS, using 1 if that was 0.
18656 as_fn_error ()
18658 as_status=$1; test $as_status -eq 0 && as_status=1
18659 if test "$4"; then
18660 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18661 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18663 $as_echo "$as_me: error: $2" >&2
18664 as_fn_exit $as_status
18665 } # as_fn_error
18668 # as_fn_set_status STATUS
18669 # -----------------------
18670 # Set $? to STATUS, without forking.
18671 as_fn_set_status ()
18673 return $1
18674 } # as_fn_set_status
18676 # as_fn_exit STATUS
18677 # -----------------
18678 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18679 as_fn_exit ()
18681 set +e
18682 as_fn_set_status $1
18683 exit $1
18684 } # as_fn_exit
18686 # as_fn_unset VAR
18687 # ---------------
18688 # Portably unset VAR.
18689 as_fn_unset ()
18691 { eval $1=; unset $1;}
18693 as_unset=as_fn_unset
18694 # as_fn_append VAR VALUE
18695 # ----------------------
18696 # Append the text in VALUE to the end of the definition contained in VAR. Take
18697 # advantage of any shell optimizations that allow amortized linear growth over
18698 # repeated appends, instead of the typical quadratic growth present in naive
18699 # implementations.
18700 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18701 eval 'as_fn_append ()
18703 eval $1+=\$2
18705 else
18706 as_fn_append ()
18708 eval $1=\$$1\$2
18710 fi # as_fn_append
18712 # as_fn_arith ARG...
18713 # ------------------
18714 # Perform arithmetic evaluation on the ARGs, and store the result in the
18715 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18716 # must be portable across $(()) and expr.
18717 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18718 eval 'as_fn_arith ()
18720 as_val=$(( $* ))
18722 else
18723 as_fn_arith ()
18725 as_val=`expr "$@" || test $? -eq 1`
18727 fi # as_fn_arith
18730 if expr a : '\(a\)' >/dev/null 2>&1 &&
18731 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18732 as_expr=expr
18733 else
18734 as_expr=false
18737 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18738 as_basename=basename
18739 else
18740 as_basename=false
18743 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18744 as_dirname=dirname
18745 else
18746 as_dirname=false
18749 as_me=`$as_basename -- "$0" ||
18750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18751 X"$0" : 'X\(//\)$' \| \
18752 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18753 $as_echo X/"$0" |
18754 sed '/^.*\/\([^/][^/]*\)\/*$/{
18755 s//\1/
18758 /^X\/\(\/\/\)$/{
18759 s//\1/
18762 /^X\/\(\/\).*/{
18763 s//\1/
18766 s/.*/./; q'`
18768 # Avoid depending upon Character Ranges.
18769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18772 as_cr_digits='0123456789'
18773 as_cr_alnum=$as_cr_Letters$as_cr_digits
18775 ECHO_C= ECHO_N= ECHO_T=
18776 case `echo -n x` in #(((((
18777 -n*)
18778 case `echo 'xy\c'` in
18779 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18780 xy) ECHO_C='\c';;
18781 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18782 ECHO_T=' ';;
18783 esac;;
18785 ECHO_N='-n';;
18786 esac
18788 rm -f conf$$ conf$$.exe conf$$.file
18789 if test -d conf$$.dir; then
18790 rm -f conf$$.dir/conf$$.file
18791 else
18792 rm -f conf$$.dir
18793 mkdir conf$$.dir 2>/dev/null
18795 if (echo >conf$$.file) 2>/dev/null; then
18796 if ln -s conf$$.file conf$$ 2>/dev/null; then
18797 as_ln_s='ln -s'
18798 # ... but there are two gotchas:
18799 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18800 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18801 # In both cases, we have to default to `cp -pR'.
18802 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18803 as_ln_s='cp -pR'
18804 elif ln conf$$.file conf$$ 2>/dev/null; then
18805 as_ln_s=ln
18806 else
18807 as_ln_s='cp -pR'
18809 else
18810 as_ln_s='cp -pR'
18812 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18813 rmdir conf$$.dir 2>/dev/null
18816 # as_fn_mkdir_p
18817 # -------------
18818 # Create "$as_dir" as a directory, including parents if necessary.
18819 as_fn_mkdir_p ()
18822 case $as_dir in #(
18823 -*) as_dir=./$as_dir;;
18824 esac
18825 test -d "$as_dir" || eval $as_mkdir_p || {
18826 as_dirs=
18827 while :; do
18828 case $as_dir in #(
18829 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18830 *) as_qdir=$as_dir;;
18831 esac
18832 as_dirs="'$as_qdir' $as_dirs"
18833 as_dir=`$as_dirname -- "$as_dir" ||
18834 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18835 X"$as_dir" : 'X\(//\)[^/]' \| \
18836 X"$as_dir" : 'X\(//\)$' \| \
18837 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18838 $as_echo X"$as_dir" |
18839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18840 s//\1/
18843 /^X\(\/\/\)[^/].*/{
18844 s//\1/
18847 /^X\(\/\/\)$/{
18848 s//\1/
18851 /^X\(\/\).*/{
18852 s//\1/
18855 s/.*/./; q'`
18856 test -d "$as_dir" && break
18857 done
18858 test -z "$as_dirs" || eval "mkdir $as_dirs"
18859 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18862 } # as_fn_mkdir_p
18863 if mkdir -p . 2>/dev/null; then
18864 as_mkdir_p='mkdir -p "$as_dir"'
18865 else
18866 test -d ./-p && rmdir ./-p
18867 as_mkdir_p=false
18871 # as_fn_executable_p FILE
18872 # -----------------------
18873 # Test if FILE is an executable regular file.
18874 as_fn_executable_p ()
18876 test -f "$1" && test -x "$1"
18877 } # as_fn_executable_p
18878 as_test_x='test -x'
18879 as_executable_p=as_fn_executable_p
18881 # Sed expression to map a string onto a valid CPP name.
18882 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18884 # Sed expression to map a string onto a valid variable name.
18885 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18888 exec 6>&1
18889 ## ----------------------------------- ##
18890 ## Main body of $CONFIG_STATUS script. ##
18891 ## ----------------------------------- ##
18892 _ASEOF
18893 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18896 # Save the log message, to keep $0 and so on meaningful, and to
18897 # report actual input values of CONFIG_FILES etc. instead of their
18898 # values after options handling.
18899 ac_log="
18900 This file was extended by Wine $as_me 1.9.13, which was
18901 generated by GNU Autoconf 2.69. Invocation command line was
18903 CONFIG_FILES = $CONFIG_FILES
18904 CONFIG_HEADERS = $CONFIG_HEADERS
18905 CONFIG_LINKS = $CONFIG_LINKS
18906 CONFIG_COMMANDS = $CONFIG_COMMANDS
18907 $ $0 $@
18909 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18912 _ACEOF
18914 case $ac_config_files in *"
18915 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18916 esac
18918 case $ac_config_headers in *"
18919 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18920 esac
18923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18924 # Files that config.status was made for.
18925 config_files="$ac_config_files"
18926 config_headers="$ac_config_headers"
18927 config_links="$ac_config_links"
18928 config_commands="$ac_config_commands"
18930 _ACEOF
18932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18933 ac_cs_usage="\
18934 \`$as_me' instantiates files and other configuration actions
18935 from templates according to the current configuration. Unless the files
18936 and actions are specified as TAGs, all are instantiated by default.
18938 Usage: $0 [OPTION]... [TAG]...
18940 -h, --help print this help, then exit
18941 -V, --version print version number and configuration settings, then exit
18942 --config print configuration, then exit
18943 -q, --quiet, --silent
18944 do not print progress messages
18945 -d, --debug don't remove temporary files
18946 --recheck update $as_me by reconfiguring in the same conditions
18947 --file=FILE[:TEMPLATE]
18948 instantiate the configuration file FILE
18949 --header=FILE[:TEMPLATE]
18950 instantiate the configuration header FILE
18952 Configuration files:
18953 $config_files
18955 Configuration headers:
18956 $config_headers
18958 Configuration links:
18959 $config_links
18961 Configuration commands:
18962 $config_commands
18964 Report bugs to <wine-devel@winehq.org>.
18965 Wine home page: <http://www.winehq.org>."
18967 _ACEOF
18968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18969 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18970 ac_cs_version="\\
18971 Wine config.status 1.9.13
18972 configured by $0, generated by GNU Autoconf 2.69,
18973 with options \\"\$ac_cs_config\\"
18975 Copyright (C) 2012 Free Software Foundation, Inc.
18976 This config.status script is free software; the Free Software Foundation
18977 gives unlimited permission to copy, distribute and modify it."
18979 ac_pwd='$ac_pwd'
18980 srcdir='$srcdir'
18981 test -n "\$AWK" || AWK=awk
18982 _ACEOF
18984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18985 # The default lists apply if the user does not specify any file.
18986 ac_need_defaults=:
18987 while test $# != 0
18989 case $1 in
18990 --*=?*)
18991 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18992 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18993 ac_shift=:
18995 --*=)
18996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18997 ac_optarg=
18998 ac_shift=:
19001 ac_option=$1
19002 ac_optarg=$2
19003 ac_shift=shift
19005 esac
19007 case $ac_option in
19008 # Handling of the options.
19009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19010 ac_cs_recheck=: ;;
19011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19012 $as_echo "$ac_cs_version"; exit ;;
19013 --config | --confi | --conf | --con | --co | --c )
19014 $as_echo "$ac_cs_config"; exit ;;
19015 --debug | --debu | --deb | --de | --d | -d )
19016 debug=: ;;
19017 --file | --fil | --fi | --f )
19018 $ac_shift
19019 case $ac_optarg in
19020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19021 '') as_fn_error $? "missing file argument" ;;
19022 esac
19023 as_fn_append CONFIG_FILES " '$ac_optarg'"
19024 ac_need_defaults=false;;
19025 --header | --heade | --head | --hea )
19026 $ac_shift
19027 case $ac_optarg in
19028 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19029 esac
19030 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19031 ac_need_defaults=false;;
19032 --he | --h)
19033 # Conflict between --help and --header
19034 as_fn_error $? "ambiguous option: \`$1'
19035 Try \`$0 --help' for more information.";;
19036 --help | --hel | -h )
19037 $as_echo "$ac_cs_usage"; exit ;;
19038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19039 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19040 ac_cs_silent=: ;;
19042 # This is an error.
19043 -*) as_fn_error $? "unrecognized option: \`$1'
19044 Try \`$0 --help' for more information." ;;
19046 *) as_fn_append ac_config_targets " $1"
19047 ac_need_defaults=false ;;
19049 esac
19050 shift
19051 done
19053 ac_configure_extra_args=
19055 if $ac_cs_silent; then
19056 exec 6>/dev/null
19057 ac_configure_extra_args="$ac_configure_extra_args --silent"
19060 _ACEOF
19061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19062 if \$ac_cs_recheck; then
19063 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19064 shift
19065 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19066 CONFIG_SHELL='$SHELL'
19067 export CONFIG_SHELL
19068 exec "\$@"
19071 _ACEOF
19072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19073 exec 5>>config.log
19075 echo
19076 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19077 ## Running $as_me. ##
19078 _ASBOX
19079 $as_echo "$ac_log"
19080 } >&5
19082 _ACEOF
19083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19085 # INIT-COMMANDS
19087 wine_fn_output_makedep ()
19089 as_dir=tools; as_fn_mkdir_p
19090 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19092 wine_fn_output_makefile ()
19094 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19095 `cat $wine_rules_file`
19096 _WINE_EOF
19097 as_fn_error $? "could not create Makefile" "$LINENO" 5
19100 _ACEOF
19102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19104 # Handling of arguments.
19105 for ac_config_target in $ac_config_targets
19107 case $ac_config_target in
19108 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19109 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19110 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19111 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19112 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19113 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19114 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19115 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19116 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19117 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19118 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19119 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19120 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19122 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19123 esac
19124 done
19127 # If the user did not use the arguments to specify the items to instantiate,
19128 # then the envvar interface is used. Set only those that are not.
19129 # We use the long form for the default assignment because of an extremely
19130 # bizarre bug on SunOS 4.1.3.
19131 if $ac_need_defaults; then
19132 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19133 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19134 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19135 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19138 # Have a temporary directory for convenience. Make it in the build tree
19139 # simply because there is no reason against having it here, and in addition,
19140 # creating and moving files from /tmp can sometimes cause problems.
19141 # Hook for its removal unless debugging.
19142 # Note that there is a small window in which the directory will not be cleaned:
19143 # after its creation but before its name has been assigned to `$tmp'.
19144 $debug ||
19146 tmp= ac_tmp=
19147 trap 'exit_status=$?
19148 : "${ac_tmp:=$tmp}"
19149 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19151 trap 'as_fn_exit 1' 1 2 13 15
19153 # Create a (secure) tmp directory for tmp files.
19156 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19157 test -d "$tmp"
19158 } ||
19160 tmp=./conf$$-$RANDOM
19161 (umask 077 && mkdir "$tmp")
19162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19163 ac_tmp=$tmp
19165 # Set up the scripts for CONFIG_FILES section.
19166 # No need to generate them if there are no CONFIG_FILES.
19167 # This happens for instance with `./config.status config.h'.
19168 if test -n "$CONFIG_FILES"; then
19171 ac_cr=`echo X | tr X '\015'`
19172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19173 # But we know of no other shell where ac_cr would be empty at this
19174 # point, so we can use a bashism as a fallback.
19175 if test "x$ac_cr" = x; then
19176 eval ac_cr=\$\'\\r\'
19178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19180 ac_cs_awk_cr='\\r'
19181 else
19182 ac_cs_awk_cr=$ac_cr
19185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19186 _ACEOF
19190 echo "cat >conf$$subs.awk <<_ACEOF" &&
19191 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19192 echo "_ACEOF"
19193 } >conf$$subs.sh ||
19194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19196 ac_delim='%!_!# '
19197 for ac_last_try in false false false false false :; do
19198 . ./conf$$subs.sh ||
19199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19201 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19202 if test $ac_delim_n = $ac_delim_num; then
19203 break
19204 elif $ac_last_try; then
19205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19206 else
19207 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19209 done
19210 rm -f conf$$subs.sh
19212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19214 _ACEOF
19215 sed -n '
19217 s/^/S["/; s/!.*/"]=/
19220 s/^[^!]*!//
19221 :repl
19222 t repl
19223 s/'"$ac_delim"'$//
19224 t delim
19227 s/\(.\{148\}\)..*/\1/
19228 t more1
19229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19232 b repl
19233 :more1
19234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19237 s/.\{148\}//
19238 t nl
19239 :delim
19241 s/\(.\{148\}\)..*/\1/
19242 t more2
19243 s/["\\]/\\&/g; s/^/"/; s/$/"/
19246 :more2
19247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19250 s/.\{148\}//
19251 t delim
19252 ' <conf$$subs.awk | sed '
19253 /^[^""]/{
19255 s/\n//
19257 ' >>$CONFIG_STATUS || ac_write_fail=1
19258 rm -f conf$$subs.awk
19259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19260 _ACAWK
19261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19262 for (key in S) S_is_set[key] = 1
19263 FS = "\a"
19267 line = $ 0
19268 nfields = split(line, field, "@")
19269 substed = 0
19270 len = length(field[1])
19271 for (i = 2; i < nfields; i++) {
19272 key = field[i]
19273 keylen = length(key)
19274 if (S_is_set[key]) {
19275 value = S[key]
19276 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19277 len += length(value) + length(field[++i])
19278 substed = 1
19279 } else
19280 len += 1 + keylen
19283 print line
19286 _ACAWK
19287 _ACEOF
19288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19290 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19291 else
19293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19294 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19295 _ACEOF
19297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19299 # trailing colons and then remove the whole line if VPATH becomes empty
19300 # (actually we leave an empty line to preserve line numbers).
19301 if test "x$srcdir" = x.; then
19302 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19304 s///
19305 s/^/:/
19306 s/[ ]*$/:/
19307 s/:\$(srcdir):/:/g
19308 s/:\${srcdir}:/:/g
19309 s/:@srcdir@:/:/g
19310 s/^:*//
19311 s/:*$//
19313 s/\(=[ ]*\).*/\1/
19315 s/\n//
19316 s/^[^=]*=[ ]*$//
19320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19321 fi # test -n "$CONFIG_FILES"
19323 # Set up the scripts for CONFIG_HEADERS section.
19324 # No need to generate them if there are no CONFIG_HEADERS.
19325 # This happens for instance with `./config.status Makefile'.
19326 if test -n "$CONFIG_HEADERS"; then
19327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19328 BEGIN {
19329 _ACEOF
19331 # Transform confdefs.h into an awk script `defines.awk', embedded as
19332 # here-document in config.status, that substitutes the proper values into
19333 # config.h.in to produce config.h.
19335 # Create a delimiter string that does not exist in confdefs.h, to ease
19336 # handling of long lines.
19337 ac_delim='%!_!# '
19338 for ac_last_try in false false :; do
19339 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19340 if test -z "$ac_tt"; then
19341 break
19342 elif $ac_last_try; then
19343 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19344 else
19345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19347 done
19349 # For the awk script, D is an array of macro values keyed by name,
19350 # likewise P contains macro parameters if any. Preserve backslash
19351 # newline sequences.
19353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19354 sed -n '
19355 s/.\{148\}/&'"$ac_delim"'/g
19356 t rset
19357 :rset
19358 s/^[ ]*#[ ]*define[ ][ ]*/ /
19359 t def
19361 :def
19362 s/\\$//
19363 t bsnl
19364 s/["\\]/\\&/g
19365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19366 D["\1"]=" \3"/p
19367 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19369 :bsnl
19370 s/["\\]/\\&/g
19371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19372 D["\1"]=" \3\\\\\\n"\\/p
19373 t cont
19374 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19375 t cont
19377 :cont
19379 s/.\{148\}/&'"$ac_delim"'/g
19380 t clear
19381 :clear
19382 s/\\$//
19383 t bsnlc
19384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19386 :bsnlc
19387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19388 b cont
19389 ' <confdefs.h | sed '
19390 s/'"$ac_delim"'/"\\\
19391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19394 for (key in D) D_is_set[key] = 1
19395 FS = "\a"
19397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19398 line = \$ 0
19399 split(line, arg, " ")
19400 if (arg[1] == "#") {
19401 defundef = arg[2]
19402 mac1 = arg[3]
19403 } else {
19404 defundef = substr(arg[1], 2)
19405 mac1 = arg[2]
19407 split(mac1, mac2, "(") #)
19408 macro = mac2[1]
19409 prefix = substr(line, 1, index(line, defundef) - 1)
19410 if (D_is_set[macro]) {
19411 # Preserve the white space surrounding the "#".
19412 print prefix "define", macro P[macro] D[macro]
19413 next
19414 } else {
19415 # Replace #undef with comments. This is necessary, for example,
19416 # in the case of _POSIX_SOURCE, which is predefined and required
19417 # on some systems where configure will not decide to define it.
19418 if (defundef == "undef") {
19419 print "/*", prefix defundef, macro, "*/"
19420 next
19424 { print }
19425 _ACAWK
19426 _ACEOF
19427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19428 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19429 fi # test -n "$CONFIG_HEADERS"
19432 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19433 shift
19434 for ac_tag
19436 case $ac_tag in
19437 :[FHLC]) ac_mode=$ac_tag; continue;;
19438 esac
19439 case $ac_mode$ac_tag in
19440 :[FHL]*:*);;
19441 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19442 :[FH]-) ac_tag=-:-;;
19443 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19444 esac
19445 ac_save_IFS=$IFS
19446 IFS=:
19447 set x $ac_tag
19448 IFS=$ac_save_IFS
19449 shift
19450 ac_file=$1
19451 shift
19453 case $ac_mode in
19454 :L) ac_source=$1;;
19455 :[FH])
19456 ac_file_inputs=
19457 for ac_f
19459 case $ac_f in
19460 -) ac_f="$ac_tmp/stdin";;
19461 *) # Look for the file first in the build tree, then in the source tree
19462 # (if the path is not absolute). The absolute path cannot be DOS-style,
19463 # because $ac_f cannot contain `:'.
19464 test -f "$ac_f" ||
19465 case $ac_f in
19466 [\\/$]*) false;;
19467 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19468 esac ||
19469 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19470 esac
19471 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19472 as_fn_append ac_file_inputs " '$ac_f'"
19473 done
19475 # Let's still pretend it is `configure' which instantiates (i.e., don't
19476 # use $as_me), people would be surprised to read:
19477 # /* config.h. Generated by config.status. */
19478 configure_input='Generated from '`
19479 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19480 `' by configure.'
19481 if test x"$ac_file" != x-; then
19482 configure_input="$ac_file. $configure_input"
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19484 $as_echo "$as_me: creating $ac_file" >&6;}
19486 # Neutralize special characters interpreted by sed in replacement strings.
19487 case $configure_input in #(
19488 *\&* | *\|* | *\\* )
19489 ac_sed_conf_input=`$as_echo "$configure_input" |
19490 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19491 *) ac_sed_conf_input=$configure_input;;
19492 esac
19494 case $ac_tag in
19495 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19497 esac
19499 esac
19501 ac_dir=`$as_dirname -- "$ac_file" ||
19502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19503 X"$ac_file" : 'X\(//\)[^/]' \| \
19504 X"$ac_file" : 'X\(//\)$' \| \
19505 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19506 $as_echo X"$ac_file" |
19507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19508 s//\1/
19511 /^X\(\/\/\)[^/].*/{
19512 s//\1/
19515 /^X\(\/\/\)$/{
19516 s//\1/
19519 /^X\(\/\).*/{
19520 s//\1/
19523 s/.*/./; q'`
19524 as_dir="$ac_dir"; as_fn_mkdir_p
19525 ac_builddir=.
19527 case "$ac_dir" in
19528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19530 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19531 # A ".." for each directory in $ac_dir_suffix.
19532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19533 case $ac_top_builddir_sub in
19534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19536 esac ;;
19537 esac
19538 ac_abs_top_builddir=$ac_pwd
19539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19540 # for backward compatibility:
19541 ac_top_builddir=$ac_top_build_prefix
19543 case $srcdir in
19544 .) # We are building in place.
19545 ac_srcdir=.
19546 ac_top_srcdir=$ac_top_builddir_sub
19547 ac_abs_top_srcdir=$ac_pwd ;;
19548 [\\/]* | ?:[\\/]* ) # Absolute name.
19549 ac_srcdir=$srcdir$ac_dir_suffix;
19550 ac_top_srcdir=$srcdir
19551 ac_abs_top_srcdir=$srcdir ;;
19552 *) # Relative name.
19553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19554 ac_top_srcdir=$ac_top_build_prefix$srcdir
19555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19556 esac
19557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19560 case $ac_mode in
19563 # CONFIG_FILE
19566 _ACEOF
19568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19569 # If the template does not know about datarootdir, expand it.
19570 # FIXME: This hack should be removed a few years after 2.60.
19571 ac_datarootdir_hack=; ac_datarootdir_seen=
19572 ac_sed_dataroot='
19573 /datarootdir/ {
19577 /@datadir@/p
19578 /@docdir@/p
19579 /@infodir@/p
19580 /@localedir@/p
19581 /@mandir@/p'
19582 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19583 *datarootdir*) ac_datarootdir_seen=yes;;
19584 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19586 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19587 _ACEOF
19588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19589 ac_datarootdir_hack='
19590 s&@datadir@&$datadir&g
19591 s&@docdir@&$docdir&g
19592 s&@infodir@&$infodir&g
19593 s&@localedir@&$localedir&g
19594 s&@mandir@&$mandir&g
19595 s&\\\${datarootdir}&$datarootdir&g' ;;
19596 esac
19597 _ACEOF
19599 # Neutralize VPATH when `$srcdir' = `.'.
19600 # Shell code in configure.ac might set extrasub.
19601 # FIXME: do we really want to maintain this feature?
19602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19603 ac_sed_extra="$ac_vpsub
19604 $extrasub
19605 _ACEOF
19606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19608 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19609 s|@configure_input@|$ac_sed_conf_input|;t t
19610 s&@top_builddir@&$ac_top_builddir_sub&;t t
19611 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19612 s&@srcdir@&$ac_srcdir&;t t
19613 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19614 s&@top_srcdir@&$ac_top_srcdir&;t t
19615 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19616 s&@builddir@&$ac_builddir&;t t
19617 s&@abs_builddir@&$ac_abs_builddir&;t t
19618 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19619 $ac_datarootdir_hack
19621 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19622 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19624 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19625 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19626 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19627 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19629 which seems to be undefined. Please make sure it is defined" >&5
19630 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19631 which seems to be undefined. Please make sure it is defined" >&2;}
19633 rm -f "$ac_tmp/stdin"
19634 case $ac_file in
19635 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19636 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19637 esac \
19638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19642 # CONFIG_HEADER
19644 if test x"$ac_file" != x-; then
19646 $as_echo "/* $configure_input */" \
19647 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19648 } >"$ac_tmp/config.h" \
19649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19650 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19652 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19653 else
19654 rm -f "$ac_file"
19655 mv "$ac_tmp/config.h" "$ac_file" \
19656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19658 else
19659 $as_echo "/* $configure_input */" \
19660 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19661 || as_fn_error $? "could not create -" "$LINENO" 5
19666 # CONFIG_LINK
19669 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19671 else
19672 # Prefer the file from the source tree if names are identical.
19673 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19674 ac_source=$srcdir/$ac_source
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19678 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19680 if test ! -r "$ac_source"; then
19681 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19683 rm -f "$ac_file"
19685 # Try a relative symlink, then a hard link, then a copy.
19686 case $ac_source in
19687 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19688 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19689 esac
19690 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19691 ln "$ac_source" "$ac_file" 2>/dev/null ||
19692 cp -p "$ac_source" "$ac_file" ||
19693 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19696 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19697 $as_echo "$as_me: executing $ac_file commands" >&6;}
19699 esac
19702 case $ac_file$ac_mode in
19703 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19704 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19705 "Makefile":C) wine_fn_output_makefile Makefile ;;
19707 esac
19708 done # for ac_tag
19711 as_fn_exit 0
19712 _ACEOF
19713 ac_clean_files=$ac_clean_files_save
19715 test $ac_write_fail = 0 ||
19716 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19719 # configure is writing to config.log, and then calls config.status.
19720 # config.status does its own redirection, appending to config.log.
19721 # Unfortunately, on DOS this fails, as config.log is still kept open
19722 # by configure, so config.status won't be able to write to it; its
19723 # output is simply discarded. So we exec the FD to /dev/null,
19724 # effectively closing config.log, so it can be properly (re)opened and
19725 # appended to by config.status. When coming back to configure, we
19726 # need to make the FD available again.
19727 if test "$no_create" != yes; then
19728 ac_cs_success=:
19729 ac_config_status_args=
19730 test "$silent" = yes &&
19731 ac_config_status_args="$ac_config_status_args --quiet"
19732 exec 5>/dev/null
19733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19734 exec 5>>config.log
19735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19736 # would make configure fail if this is the last instruction.
19737 $ac_cs_success || as_fn_exit 1
19739 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19741 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19745 if test "$no_create" = "yes"
19746 then
19747 exit 0
19750 ac_save_IFS="$IFS"
19751 if test "x$wine_notices" != x; then
19752 echo >&6
19753 IFS="|"
19754 for msg in $wine_notices; do
19755 IFS="$ac_save_IFS"
19756 if ${msg:+false} :; then :
19758 else
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19760 $as_echo "$as_me: $msg" >&6;}
19762 done
19764 IFS="|"
19765 for msg in $wine_warnings; do
19766 IFS="$ac_save_IFS"
19767 if ${msg:+false} :; then :
19769 else
19770 echo >&2
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19772 $as_echo "$as_me: WARNING: $msg" >&2;}
19774 done
19775 IFS="$ac_save_IFS"
19777 $as_echo "
19778 $as_me: Finished. Do '${ac_make}' to compile Wine.
19779 " >&6