winedevice: Remove static driver_obj variable.
[wine.git] / configure
blob56f1bae07e147a75ae87caaa2203f3d4653de37c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.16.
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.16'
584 PACKAGE_STRING='Wine 1.9.16'
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_concrt140
1009 enable_connect
1010 enable_credui
1011 enable_crtdll
1012 enable_crypt32
1013 enable_cryptdlg
1014 enable_cryptdll
1015 enable_cryptext
1016 enable_cryptnet
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d8
1026 enable_d3d9
1027 enable_d3dcompiler_33
1028 enable_d3dcompiler_34
1029 enable_d3dcompiler_35
1030 enable_d3dcompiler_36
1031 enable_d3dcompiler_37
1032 enable_d3dcompiler_38
1033 enable_d3dcompiler_39
1034 enable_d3dcompiler_40
1035 enable_d3dcompiler_41
1036 enable_d3dcompiler_42
1037 enable_d3dcompiler_43
1038 enable_d3dcompiler_46
1039 enable_d3dcompiler_47
1040 enable_d3dim
1041 enable_d3drm
1042 enable_d3dx10_33
1043 enable_d3dx10_34
1044 enable_d3dx10_35
1045 enable_d3dx10_36
1046 enable_d3dx10_37
1047 enable_d3dx10_38
1048 enable_d3dx10_39
1049 enable_d3dx10_40
1050 enable_d3dx10_41
1051 enable_d3dx10_42
1052 enable_d3dx10_43
1053 enable_d3dx11_42
1054 enable_d3dx11_43
1055 enable_d3dx9_24
1056 enable_d3dx9_25
1057 enable_d3dx9_26
1058 enable_d3dx9_27
1059 enable_d3dx9_28
1060 enable_d3dx9_29
1061 enable_d3dx9_30
1062 enable_d3dx9_31
1063 enable_d3dx9_32
1064 enable_d3dx9_33
1065 enable_d3dx9_34
1066 enable_d3dx9_35
1067 enable_d3dx9_36
1068 enable_d3dx9_37
1069 enable_d3dx9_38
1070 enable_d3dx9_39
1071 enable_d3dx9_40
1072 enable_d3dx9_41
1073 enable_d3dx9_42
1074 enable_d3dx9_43
1075 enable_d3dxof
1076 enable_davclnt
1077 enable_dbgeng
1078 enable_dbghelp
1079 enable_dciman32
1080 enable_ddraw
1081 enable_ddrawex
1082 enable_devenum
1083 enable_dhcpcsvc
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnlobby
1104 enable_dpvoice
1105 enable_dpwsockx
1106 enable_drmclien
1107 enable_dsound
1108 enable_dssenh
1109 enable_dswave
1110 enable_dwmapi
1111 enable_dwrite
1112 enable_dxdiagn
1113 enable_dxgi
1114 enable_dxva2
1115 enable_esent
1116 enable_evr
1117 enable_explorerframe
1118 enable_ext_ms_win_gdi_devcaps_l1_1_0
1119 enable_faultrep
1120 enable_fltlib
1121 enable_fltmgr_sys
1122 enable_fntcache
1123 enable_fontsub
1124 enable_fusion
1125 enable_fwpuclnt
1126 enable_gameux
1127 enable_gdi32
1128 enable_gdiplus
1129 enable_glu32
1130 enable_gphoto2_ds
1131 enable_gpkcsp
1132 enable_hal
1133 enable_hhctrl_ocx
1134 enable_hid
1135 enable_hidclass_sys
1136 enable_hlink
1137 enable_hnetcfg
1138 enable_httpapi
1139 enable_iccvid
1140 enable_icmp
1141 enable_ieframe
1142 enable_imaadp32_acm
1143 enable_imagehlp
1144 enable_imm32
1145 enable_inetcomm
1146 enable_inetcpl_cpl
1147 enable_inetmib1
1148 enable_infosoft
1149 enable_initpki
1150 enable_inkobj
1151 enable_inseng
1152 enable_iphlpapi
1153 enable_irprops_cpl
1154 enable_itircl
1155 enable_itss
1156 enable_joy_cpl
1157 enable_jscript
1158 enable_jsproxy
1159 enable_kernel32
1160 enable_kernelbase
1161 enable_ksuser
1162 enable_ktmw32
1163 enable_loadperf
1164 enable_localspl
1165 enable_localui
1166 enable_lz32
1167 enable_mapi32
1168 enable_mapistub
1169 enable_mciavi32
1170 enable_mcicda
1171 enable_mciqtz32
1172 enable_mciseq
1173 enable_mciwave
1174 enable_mf
1175 enable_mfplat
1176 enable_mfreadwrite
1177 enable_mgmtapi
1178 enable_midimap
1179 enable_mlang
1180 enable_mmcndmgr
1181 enable_mmdevapi
1182 enable_mountmgr_sys
1183 enable_mpr
1184 enable_mprapi
1185 enable_msacm32_drv
1186 enable_msacm32
1187 enable_msadp32_acm
1188 enable_msasn1
1189 enable_mscat32
1190 enable_mscms
1191 enable_mscoree
1192 enable_msctf
1193 enable_msctfp
1194 enable_msdaps
1195 enable_msdelta
1196 enable_msdmo
1197 enable_msdrm
1198 enable_msftedit
1199 enable_msg711_acm
1200 enable_msgsm32_acm
1201 enable_mshtml_tlb
1202 enable_mshtml
1203 enable_msi
1204 enable_msident
1205 enable_msimg32
1206 enable_msimsg
1207 enable_msimtf
1208 enable_msisip
1209 enable_msisys_ocx
1210 enable_msls31
1211 enable_msnet32
1212 enable_mspatcha
1213 enable_msrle32
1214 enable_msscript_ocx
1215 enable_mssign32
1216 enable_mssip32
1217 enable_mstask
1218 enable_msvcirt
1219 enable_msvcm80
1220 enable_msvcm90
1221 enable_msvcp100
1222 enable_msvcp110
1223 enable_msvcp120
1224 enable_msvcp120_app
1225 enable_msvcp140
1226 enable_msvcp60
1227 enable_msvcp70
1228 enable_msvcp71
1229 enable_msvcp80
1230 enable_msvcp90
1231 enable_msvcr100
1232 enable_msvcr110
1233 enable_msvcr120
1234 enable_msvcr120_app
1235 enable_msvcr70
1236 enable_msvcr71
1237 enable_msvcr80
1238 enable_msvcr90
1239 enable_msvcrt
1240 enable_msvcrt20
1241 enable_msvcrt40
1242 enable_msvcrtd
1243 enable_msvfw32
1244 enable_msvidc32
1245 enable_mswsock
1246 enable_msxml
1247 enable_msxml2
1248 enable_msxml3
1249 enable_msxml4
1250 enable_msxml6
1251 enable_ncrypt
1252 enable_nddeapi
1253 enable_ndis_sys
1254 enable_netapi32
1255 enable_netcfgx
1256 enable_netprofm
1257 enable_newdev
1258 enable_normaliz
1259 enable_npmshtml
1260 enable_npptools
1261 enable_ntdll
1262 enable_ntdsapi
1263 enable_ntoskrnl_exe
1264 enable_ntprint
1265 enable_objsel
1266 enable_odbc32
1267 enable_odbccp32
1268 enable_odbccu32
1269 enable_ole32
1270 enable_oleacc
1271 enable_oleaut32
1272 enable_olecli32
1273 enable_oledb32
1274 enable_oledlg
1275 enable_olepro32
1276 enable_olesvr32
1277 enable_olethk32
1278 enable_openal32
1279 enable_opencl
1280 enable_opengl32
1281 enable_packager
1282 enable_pdh
1283 enable_photometadatahandler
1284 enable_pidgen
1285 enable_powrprof
1286 enable_printui
1287 enable_prntvpt
1288 enable_propsys
1289 enable_psapi
1290 enable_pstorec
1291 enable_qcap
1292 enable_qedit
1293 enable_qmgr
1294 enable_qmgrprxy
1295 enable_quartz
1296 enable_query
1297 enable_rasapi32
1298 enable_rasdlg
1299 enable_regapi
1300 enable_resutils
1301 enable_riched20
1302 enable_riched32
1303 enable_rpcrt4
1304 enable_rsabase
1305 enable_rsaenh
1306 enable_rstrtmgr
1307 enable_rtutils
1308 enable_samlib
1309 enable_sane_ds
1310 enable_scarddlg
1311 enable_sccbase
1312 enable_schannel
1313 enable_schedsvc
1314 enable_scrrun
1315 enable_scsiport_sys
1316 enable_secur32
1317 enable_security
1318 enable_sensapi
1319 enable_serialui
1320 enable_setupapi
1321 enable_sfc
1322 enable_sfc_os
1323 enable_shdoclc
1324 enable_shdocvw
1325 enable_shell32
1326 enable_shfolder
1327 enable_shlwapi
1328 enable_slbcsp
1329 enable_slc
1330 enable_snmpapi
1331 enable_softpub
1332 enable_spoolss
1333 enable_sspicli
1334 enable_stdole2_tlb
1335 enable_stdole32_tlb
1336 enable_sti
1337 enable_svrapi
1338 enable_sxs
1339 enable_t2embed
1340 enable_tapi32
1341 enable_taskschd
1342 enable_tdi_sys
1343 enable_traffic
1344 enable_twain_32
1345 enable_ucrtbase
1346 enable_unicows
1347 enable_updspapi
1348 enable_url
1349 enable_urlmon
1350 enable_usbd_sys
1351 enable_user32
1352 enable_userenv
1353 enable_usp10
1354 enable_uxtheme
1355 enable_vbscript
1356 enable_vcomp
1357 enable_vcomp100
1358 enable_vcomp110
1359 enable_vcomp120
1360 enable_vcomp90
1361 enable_vcruntime140
1362 enable_vdmdbg
1363 enable_version
1364 enable_vssapi
1365 enable_wbemdisp
1366 enable_wbemprox
1367 enable_webservices
1368 enable_wer
1369 enable_wevtapi
1370 enable_wiaservc
1371 enable_wimgapi
1372 enable_windowscodecs
1373 enable_windowscodecsext
1374 enable_winealsa_drv
1375 enable_winecoreaudio_drv
1376 enable_wined3d
1377 enable_winegstreamer
1378 enable_winejoystick_drv
1379 enable_winemac_drv
1380 enable_winemapi
1381 enable_winemp3_acm
1382 enable_wineoss_drv
1383 enable_wineps_drv
1384 enable_winepulse_drv
1385 enable_wineqtdecoder
1386 enable_winex11_drv
1387 enable_wing32
1388 enable_winhttp
1389 enable_wininet
1390 enable_winmm
1391 enable_winnls32
1392 enable_winscard
1393 enable_winspool_drv
1394 enable_winsta
1395 enable_wintab32
1396 enable_wintrust
1397 enable_wlanapi
1398 enable_wldap32
1399 enable_wmasf
1400 enable_wmi
1401 enable_wmiutils
1402 enable_wmp
1403 enable_wmvcore
1404 enable_wnaspi32
1405 enable_wpcap
1406 enable_ws2_32
1407 enable_wshom_ocx
1408 enable_wsnmp32
1409 enable_wsock32
1410 enable_wtsapi32
1411 enable_wuapi
1412 enable_wuaueng
1413 enable_x3daudio1_0
1414 enable_x3daudio1_1
1415 enable_x3daudio1_2
1416 enable_x3daudio1_3
1417 enable_x3daudio1_4
1418 enable_x3daudio1_5
1419 enable_x3daudio1_6
1420 enable_x3daudio1_7
1421 enable_xapofx1_1
1422 enable_xapofx1_2
1423 enable_xapofx1_3
1424 enable_xapofx1_4
1425 enable_xapofx1_5
1426 enable_xaudio2_0
1427 enable_xaudio2_1
1428 enable_xaudio2_2
1429 enable_xaudio2_3
1430 enable_xaudio2_4
1431 enable_xaudio2_5
1432 enable_xaudio2_6
1433 enable_xaudio2_7
1434 enable_xaudio2_8
1435 enable_xaudio2_9
1436 enable_xinput1_1
1437 enable_xinput1_2
1438 enable_xinput1_3
1439 enable_xinput1_4
1440 enable_xinput9_1_0
1441 enable_xmllite
1442 enable_xolehlp
1443 enable_xpsprint
1444 enable_xpssvcs
1445 enable_fonts
1446 enable_include
1447 enable_libs_port
1448 enable_libs_wine
1449 enable_libs_wpp
1450 enable_loader
1451 enable_po
1452 enable_arp
1453 enable_aspnet_regiis
1454 enable_attrib
1455 enable_cabarc
1456 enable_cacls
1457 enable_clock
1458 enable_cmd
1459 enable_conhost
1460 enable_control
1461 enable_cscript
1462 enable_dpnsvr
1463 enable_dxdiag
1464 enable_eject
1465 enable_expand
1466 enable_explorer
1467 enable_extrac32
1468 enable_findstr
1469 enable_fsutil
1470 enable_hh
1471 enable_hostname
1472 enable_icacls
1473 enable_icinfo
1474 enable_iexplore
1475 enable_ipconfig
1476 enable_lodctr
1477 enable_mofcomp
1478 enable_mshta
1479 enable_msiexec
1480 enable_net
1481 enable_netsh
1482 enable_netstat
1483 enable_ngen
1484 enable_notepad
1485 enable_oleview
1486 enable_ping
1487 enable_plugplay
1488 enable_presentationfontcache
1489 enable_progman
1490 enable_reg
1491 enable_regasm
1492 enable_regedit
1493 enable_regsvcs
1494 enable_regsvr32
1495 enable_rpcss
1496 enable_rundll32
1497 enable_sc
1498 enable_schtasks
1499 enable_sdbinst
1500 enable_secedit
1501 enable_servicemodelreg
1502 enable_services
1503 enable_shutdown
1504 enable_spoolsv
1505 enable_start
1506 enable_svchost
1507 enable_systeminfo
1508 enable_taskkill
1509 enable_tasklist
1510 enable_taskmgr
1511 enable_termsv
1512 enable_uninstaller
1513 enable_unlodctr
1514 enable_view
1515 enable_wevtutil
1516 enable_wineboot
1517 enable_winebrowser
1518 enable_winecfg
1519 enable_wineconsole
1520 enable_winedbg
1521 enable_winedevice
1522 enable_winefile
1523 enable_winemenubuilder
1524 enable_winemine
1525 enable_winemsibuilder
1526 enable_winepath
1527 enable_winetest
1528 enable_winhlp32
1529 enable_winver
1530 enable_wmic
1531 enable_wmplayer
1532 enable_wordpad
1533 enable_write
1534 enable_wscript
1535 enable_wusa
1536 enable_xcopy
1537 enable_server
1538 enable_tools
1540 ac_precious_vars='build_alias
1541 host_alias
1542 target_alias
1544 CFLAGS
1545 LDFLAGS
1546 LIBS
1547 CPPFLAGS
1549 CXXFLAGS
1552 XMKMF
1553 XML2_CFLAGS
1554 XML2_LIBS
1555 XSLT_CFLAGS
1556 XSLT_LIBS
1557 DBUS_CFLAGS
1558 DBUS_LIBS
1559 HAL_CFLAGS
1560 HAL_LIBS
1561 GNUTLS_CFLAGS
1562 GNUTLS_LIBS
1563 SANE_CFLAGS
1564 SANE_LIBS
1565 GPHOTO2_CFLAGS
1566 GPHOTO2_LIBS
1567 GPHOTO2_PORT_CFLAGS
1568 GPHOTO2_PORT_LIBS
1569 LCMS2_CFLAGS
1570 LCMS2_LIBS
1571 FREETYPE_CFLAGS
1572 FREETYPE_LIBS
1573 PULSE_CFLAGS
1574 PULSE_LIBS
1575 GSTREAMER_CFLAGS
1576 GSTREAMER_LIBS
1577 CAPI20_CFLAGS
1578 CAPI20_LIBS
1579 FONTCONFIG_CFLAGS
1580 FONTCONFIG_LIBS
1581 JPEG_CFLAGS
1582 JPEG_LIBS
1583 PNG_CFLAGS
1584 PNG_LIBS
1585 TIFF_CFLAGS
1586 TIFF_LIBS
1587 MPG123_CFLAGS
1588 MPG123_LIBS
1589 NETAPI_CFLAGS
1590 NETAPI_LIBS'
1593 # Initialize some variables set by options.
1594 ac_init_help=
1595 ac_init_version=false
1596 ac_unrecognized_opts=
1597 ac_unrecognized_sep=
1598 # The variables have the same names as the options, with
1599 # dashes changed to underlines.
1600 cache_file=/dev/null
1601 exec_prefix=NONE
1602 no_create=
1603 no_recursion=
1604 prefix=NONE
1605 program_prefix=NONE
1606 program_suffix=NONE
1607 program_transform_name=s,x,x,
1608 silent=
1609 site=
1610 srcdir=
1611 verbose=
1612 x_includes=NONE
1613 x_libraries=NONE
1615 # Installation directory options.
1616 # These are left unexpanded so users can "make install exec_prefix=/foo"
1617 # and all the variables that are supposed to be based on exec_prefix
1618 # by default will actually change.
1619 # Use braces instead of parens because sh, perl, etc. also accept them.
1620 # (The list follows the same order as the GNU Coding Standards.)
1621 bindir='${exec_prefix}/bin'
1622 sbindir='${exec_prefix}/sbin'
1623 libexecdir='${exec_prefix}/libexec'
1624 datarootdir='${prefix}/share'
1625 datadir='${datarootdir}'
1626 sysconfdir='${prefix}/etc'
1627 sharedstatedir='${prefix}/com'
1628 localstatedir='${prefix}/var'
1629 runstatedir='${localstatedir}/run'
1630 includedir='${prefix}/include'
1631 oldincludedir='/usr/include'
1632 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1633 infodir='${datarootdir}/info'
1634 htmldir='${docdir}'
1635 dvidir='${docdir}'
1636 pdfdir='${docdir}'
1637 psdir='${docdir}'
1638 libdir='${exec_prefix}/lib'
1639 localedir='${datarootdir}/locale'
1640 mandir='${datarootdir}/man'
1642 ac_prev=
1643 ac_dashdash=
1644 for ac_option
1646 # If the previous option needs an argument, assign it.
1647 if test -n "$ac_prev"; then
1648 eval $ac_prev=\$ac_option
1649 ac_prev=
1650 continue
1653 case $ac_option in
1654 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1655 *=) ac_optarg= ;;
1656 *) ac_optarg=yes ;;
1657 esac
1659 # Accept the important Cygnus configure options, so we can diagnose typos.
1661 case $ac_dashdash$ac_option in
1663 ac_dashdash=yes ;;
1665 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1666 ac_prev=bindir ;;
1667 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1668 bindir=$ac_optarg ;;
1670 -build | --build | --buil | --bui | --bu)
1671 ac_prev=build_alias ;;
1672 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1673 build_alias=$ac_optarg ;;
1675 -cache-file | --cache-file | --cache-fil | --cache-fi \
1676 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1677 ac_prev=cache_file ;;
1678 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1679 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1680 cache_file=$ac_optarg ;;
1682 --config-cache | -C)
1683 cache_file=config.cache ;;
1685 -datadir | --datadir | --datadi | --datad)
1686 ac_prev=datadir ;;
1687 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1688 datadir=$ac_optarg ;;
1690 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1691 | --dataroo | --dataro | --datar)
1692 ac_prev=datarootdir ;;
1693 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1694 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1695 datarootdir=$ac_optarg ;;
1697 -disable-* | --disable-*)
1698 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1699 # Reject names that are not valid shell variable names.
1700 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1701 as_fn_error $? "invalid feature name: $ac_useropt"
1702 ac_useropt_orig=$ac_useropt
1703 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1704 case $ac_user_opts in
1706 "enable_$ac_useropt"
1707 "*) ;;
1708 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1709 ac_unrecognized_sep=', ';;
1710 esac
1711 eval enable_$ac_useropt=no ;;
1713 -docdir | --docdir | --docdi | --doc | --do)
1714 ac_prev=docdir ;;
1715 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1716 docdir=$ac_optarg ;;
1718 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1719 ac_prev=dvidir ;;
1720 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1721 dvidir=$ac_optarg ;;
1723 -enable-* | --enable-*)
1724 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1725 # Reject names that are not valid shell variable names.
1726 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1727 as_fn_error $? "invalid feature name: $ac_useropt"
1728 ac_useropt_orig=$ac_useropt
1729 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1730 case $ac_user_opts in
1732 "enable_$ac_useropt"
1733 "*) ;;
1734 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1735 ac_unrecognized_sep=', ';;
1736 esac
1737 eval enable_$ac_useropt=\$ac_optarg ;;
1739 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1740 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1741 | --exec | --exe | --ex)
1742 ac_prev=exec_prefix ;;
1743 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1744 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1745 | --exec=* | --exe=* | --ex=*)
1746 exec_prefix=$ac_optarg ;;
1748 -gas | --gas | --ga | --g)
1749 # Obsolete; use --with-gas.
1750 with_gas=yes ;;
1752 -help | --help | --hel | --he | -h)
1753 ac_init_help=long ;;
1754 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1755 ac_init_help=recursive ;;
1756 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1757 ac_init_help=short ;;
1759 -host | --host | --hos | --ho)
1760 ac_prev=host_alias ;;
1761 -host=* | --host=* | --hos=* | --ho=*)
1762 host_alias=$ac_optarg ;;
1764 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1765 ac_prev=htmldir ;;
1766 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1767 | --ht=*)
1768 htmldir=$ac_optarg ;;
1770 -includedir | --includedir | --includedi | --included | --include \
1771 | --includ | --inclu | --incl | --inc)
1772 ac_prev=includedir ;;
1773 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1774 | --includ=* | --inclu=* | --incl=* | --inc=*)
1775 includedir=$ac_optarg ;;
1777 -infodir | --infodir | --infodi | --infod | --info | --inf)
1778 ac_prev=infodir ;;
1779 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1780 infodir=$ac_optarg ;;
1782 -libdir | --libdir | --libdi | --libd)
1783 ac_prev=libdir ;;
1784 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1785 libdir=$ac_optarg ;;
1787 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1788 | --libexe | --libex | --libe)
1789 ac_prev=libexecdir ;;
1790 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1791 | --libexe=* | --libex=* | --libe=*)
1792 libexecdir=$ac_optarg ;;
1794 -localedir | --localedir | --localedi | --localed | --locale)
1795 ac_prev=localedir ;;
1796 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1797 localedir=$ac_optarg ;;
1799 -localstatedir | --localstatedir | --localstatedi | --localstated \
1800 | --localstate | --localstat | --localsta | --localst | --locals)
1801 ac_prev=localstatedir ;;
1802 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1803 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1804 localstatedir=$ac_optarg ;;
1806 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1807 ac_prev=mandir ;;
1808 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1809 mandir=$ac_optarg ;;
1811 -nfp | --nfp | --nf)
1812 # Obsolete; use --without-fp.
1813 with_fp=no ;;
1815 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1816 | --no-cr | --no-c | -n)
1817 no_create=yes ;;
1819 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1820 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1821 no_recursion=yes ;;
1823 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1824 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1825 | --oldin | --oldi | --old | --ol | --o)
1826 ac_prev=oldincludedir ;;
1827 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1828 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1829 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1830 oldincludedir=$ac_optarg ;;
1832 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1833 ac_prev=prefix ;;
1834 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1835 prefix=$ac_optarg ;;
1837 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1838 | --program-pre | --program-pr | --program-p)
1839 ac_prev=program_prefix ;;
1840 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1841 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1842 program_prefix=$ac_optarg ;;
1844 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1845 | --program-suf | --program-su | --program-s)
1846 ac_prev=program_suffix ;;
1847 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1848 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1849 program_suffix=$ac_optarg ;;
1851 -program-transform-name | --program-transform-name \
1852 | --program-transform-nam | --program-transform-na \
1853 | --program-transform-n | --program-transform- \
1854 | --program-transform | --program-transfor \
1855 | --program-transfo | --program-transf \
1856 | --program-trans | --program-tran \
1857 | --progr-tra | --program-tr | --program-t)
1858 ac_prev=program_transform_name ;;
1859 -program-transform-name=* | --program-transform-name=* \
1860 | --program-transform-nam=* | --program-transform-na=* \
1861 | --program-transform-n=* | --program-transform-=* \
1862 | --program-transform=* | --program-transfor=* \
1863 | --program-transfo=* | --program-transf=* \
1864 | --program-trans=* | --program-tran=* \
1865 | --progr-tra=* | --program-tr=* | --program-t=*)
1866 program_transform_name=$ac_optarg ;;
1868 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1869 ac_prev=pdfdir ;;
1870 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1871 pdfdir=$ac_optarg ;;
1873 -psdir | --psdir | --psdi | --psd | --ps)
1874 ac_prev=psdir ;;
1875 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1876 psdir=$ac_optarg ;;
1878 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1879 | -silent | --silent | --silen | --sile | --sil)
1880 silent=yes ;;
1882 -runstatedir | --runstatedir | --runstatedi | --runstated \
1883 | --runstate | --runstat | --runsta | --runst | --runs \
1884 | --run | --ru | --r)
1885 ac_prev=runstatedir ;;
1886 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1887 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1888 | --run=* | --ru=* | --r=*)
1889 runstatedir=$ac_optarg ;;
1891 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1892 ac_prev=sbindir ;;
1893 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1894 | --sbi=* | --sb=*)
1895 sbindir=$ac_optarg ;;
1897 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1898 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1899 | --sharedst | --shareds | --shared | --share | --shar \
1900 | --sha | --sh)
1901 ac_prev=sharedstatedir ;;
1902 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1903 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1904 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1905 | --sha=* | --sh=*)
1906 sharedstatedir=$ac_optarg ;;
1908 -site | --site | --sit)
1909 ac_prev=site ;;
1910 -site=* | --site=* | --sit=*)
1911 site=$ac_optarg ;;
1913 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1914 ac_prev=srcdir ;;
1915 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1916 srcdir=$ac_optarg ;;
1918 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1919 | --syscon | --sysco | --sysc | --sys | --sy)
1920 ac_prev=sysconfdir ;;
1921 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1922 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1923 sysconfdir=$ac_optarg ;;
1925 -target | --target | --targe | --targ | --tar | --ta | --t)
1926 ac_prev=target_alias ;;
1927 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1928 target_alias=$ac_optarg ;;
1930 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1931 verbose=yes ;;
1933 -version | --version | --versio | --versi | --vers | -V)
1934 ac_init_version=: ;;
1936 -with-* | --with-*)
1937 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1938 # Reject names that are not valid shell variable names.
1939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1940 as_fn_error $? "invalid package name: $ac_useropt"
1941 ac_useropt_orig=$ac_useropt
1942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1943 case $ac_user_opts in
1945 "with_$ac_useropt"
1946 "*) ;;
1947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1948 ac_unrecognized_sep=', ';;
1949 esac
1950 eval with_$ac_useropt=\$ac_optarg ;;
1952 -without-* | --without-*)
1953 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1954 # Reject names that are not valid shell variable names.
1955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1956 as_fn_error $? "invalid package name: $ac_useropt"
1957 ac_useropt_orig=$ac_useropt
1958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1959 case $ac_user_opts in
1961 "with_$ac_useropt"
1962 "*) ;;
1963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1964 ac_unrecognized_sep=', ';;
1965 esac
1966 eval with_$ac_useropt=no ;;
1968 --x)
1969 # Obsolete; use --with-x.
1970 with_x=yes ;;
1972 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1973 | --x-incl | --x-inc | --x-in | --x-i)
1974 ac_prev=x_includes ;;
1975 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1976 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1977 x_includes=$ac_optarg ;;
1979 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1980 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1981 ac_prev=x_libraries ;;
1982 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1983 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1984 x_libraries=$ac_optarg ;;
1986 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1987 Try \`$0 --help' for more information"
1990 *=*)
1991 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1992 # Reject names that are not valid shell variable names.
1993 case $ac_envvar in #(
1994 '' | [0-9]* | *[!_$as_cr_alnum]* )
1995 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1996 esac
1997 eval $ac_envvar=\$ac_optarg
1998 export $ac_envvar ;;
2001 # FIXME: should be removed in autoconf 3.0.
2002 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2003 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2004 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2005 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2008 esac
2009 done
2011 if test -n "$ac_prev"; then
2012 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2013 as_fn_error $? "missing argument to $ac_option"
2016 if test -n "$ac_unrecognized_opts"; then
2017 case $enable_option_checking in
2018 no) ;;
2019 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2020 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2021 esac
2024 # Check all directory arguments for consistency.
2025 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2026 datadir sysconfdir sharedstatedir localstatedir includedir \
2027 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2028 libdir localedir mandir runstatedir
2030 eval ac_val=\$$ac_var
2031 # Remove trailing slashes.
2032 case $ac_val in
2033 */ )
2034 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2035 eval $ac_var=\$ac_val;;
2036 esac
2037 # Be sure to have absolute directory names.
2038 case $ac_val in
2039 [\\/$]* | ?:[\\/]* ) continue;;
2040 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2041 esac
2042 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2043 done
2045 # There might be people who depend on the old broken behavior: `$host'
2046 # used to hold the argument of --host etc.
2047 # FIXME: To remove some day.
2048 build=$build_alias
2049 host=$host_alias
2050 target=$target_alias
2052 # FIXME: To remove some day.
2053 if test "x$host_alias" != x; then
2054 if test "x$build_alias" = x; then
2055 cross_compiling=maybe
2056 elif test "x$build_alias" != "x$host_alias"; then
2057 cross_compiling=yes
2061 ac_tool_prefix=
2062 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2064 test "$silent" = yes && exec 6>/dev/null
2067 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2068 ac_ls_di=`ls -di .` &&
2069 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2070 as_fn_error $? "working directory cannot be determined"
2071 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2072 as_fn_error $? "pwd does not report name of working directory"
2075 # Find the source files, if location was not specified.
2076 if test -z "$srcdir"; then
2077 ac_srcdir_defaulted=yes
2078 # Try the directory containing this script, then the parent directory.
2079 ac_confdir=`$as_dirname -- "$as_myself" ||
2080 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2081 X"$as_myself" : 'X\(//\)[^/]' \| \
2082 X"$as_myself" : 'X\(//\)$' \| \
2083 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2084 $as_echo X"$as_myself" |
2085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2086 s//\1/
2089 /^X\(\/\/\)[^/].*/{
2090 s//\1/
2093 /^X\(\/\/\)$/{
2094 s//\1/
2097 /^X\(\/\).*/{
2098 s//\1/
2101 s/.*/./; q'`
2102 srcdir=$ac_confdir
2103 if test ! -r "$srcdir/$ac_unique_file"; then
2104 srcdir=..
2106 else
2107 ac_srcdir_defaulted=no
2109 if test ! -r "$srcdir/$ac_unique_file"; then
2110 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2111 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2113 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2114 ac_abs_confdir=`(
2115 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2116 pwd)`
2117 # When building in place, set srcdir=.
2118 if test "$ac_abs_confdir" = "$ac_pwd"; then
2119 srcdir=.
2121 # Remove unnecessary trailing slashes from srcdir.
2122 # Double slashes in file names in object file debugging info
2123 # mess up M-x gdb in Emacs.
2124 case $srcdir in
2125 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2126 esac
2127 for ac_var in $ac_precious_vars; do
2128 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2129 eval ac_env_${ac_var}_value=\$${ac_var}
2130 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2131 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2132 done
2135 # Report the --help message.
2137 if test "$ac_init_help" = "long"; then
2138 # Omit some internal or obsolete options to make the list less imposing.
2139 # This message is too long to be a string in the A/UX 3.1 sh.
2140 cat <<_ACEOF
2141 \`configure' configures Wine 1.9.16 to adapt to many kinds of systems.
2143 Usage: $0 [OPTION]... [VAR=VALUE]...
2145 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2146 VAR=VALUE. See below for descriptions of some of the useful variables.
2148 Defaults for the options are specified in brackets.
2150 Configuration:
2151 -h, --help display this help and exit
2152 --help=short display options specific to this package
2153 --help=recursive display the short help of all the included packages
2154 -V, --version display version information and exit
2155 -q, --quiet, --silent do not print \`checking ...' messages
2156 --cache-file=FILE cache test results in FILE [disabled]
2157 -C, --config-cache alias for \`--cache-file=config.cache'
2158 -n, --no-create do not create output files
2159 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2161 Installation directories:
2162 --prefix=PREFIX install architecture-independent files in PREFIX
2163 [$ac_default_prefix]
2164 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2165 [PREFIX]
2167 By default, \`make install' will install all the files in
2168 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2169 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2170 for instance \`--prefix=\$HOME'.
2172 For better control, use the options below.
2174 Fine tuning of the installation directories:
2175 --bindir=DIR user executables [EPREFIX/bin]
2176 --sbindir=DIR system admin executables [EPREFIX/sbin]
2177 --libexecdir=DIR program executables [EPREFIX/libexec]
2178 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2179 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2180 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2181 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2182 --libdir=DIR object code libraries [EPREFIX/lib]
2183 --includedir=DIR C header files [PREFIX/include]
2184 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2185 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2186 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2187 --infodir=DIR info documentation [DATAROOTDIR/info]
2188 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2189 --mandir=DIR man documentation [DATAROOTDIR/man]
2190 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2191 --htmldir=DIR html documentation [DOCDIR]
2192 --dvidir=DIR dvi documentation [DOCDIR]
2193 --pdfdir=DIR pdf documentation [DOCDIR]
2194 --psdir=DIR ps documentation [DOCDIR]
2195 _ACEOF
2197 cat <<\_ACEOF
2199 X features:
2200 --x-includes=DIR X include files are in DIR
2201 --x-libraries=DIR X library files are in DIR
2203 System types:
2204 --build=BUILD configure for building on BUILD [guessed]
2205 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2206 _ACEOF
2209 if test -n "$ac_init_help"; then
2210 case $ac_init_help in
2211 short | recursive ) echo "Configuration of Wine 1.9.16:";;
2212 esac
2213 cat <<\_ACEOF
2215 Optional Features:
2216 --disable-option-checking ignore unrecognized --enable/--with options
2217 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2218 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2219 --disable-win16 do not include Win16 support
2220 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2221 binaries)
2222 --disable-tests do not build the regression tests
2223 --enable-maintainer-mode
2224 enable maintainer-specific build rules
2225 --disable-largefile omit support for large files
2227 Optional Packages:
2228 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2229 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2230 --without-alsa do not use the Alsa sound support
2231 --without-capi do not use CAPI (ISDN support)
2232 --without-cms do not use CMS (color management support)
2233 --without-coreaudio do not use the CoreAudio sound support
2234 --without-cups do not use CUPS
2235 --without-curses do not use (n)curses
2236 --without-dbus do not use DBus (dynamic device support)
2237 --without-fontconfig do not use fontconfig
2238 --without-freetype do not use the FreeType library
2239 --without-gettext do not use gettext
2240 --with-gettextpo use the GetTextPO library to rebuild po files
2241 --without-gphoto do not use gphoto (Digital Camera support)
2242 --without-glu do not use the GLU library
2243 --without-gnutls do not use GnuTLS (schannel support)
2244 --without-gsm do not use libgsm (GSM 06.10 codec support)
2245 --without-gstreamer do not use GStreamer (codecs support)
2246 --without-hal do not use HAL (dynamic device support)
2247 --without-jpeg do not use JPEG
2248 --without-ldap do not use LDAP
2249 --without-mpg123 do not use the mpg123 library
2250 --without-netapi do not use the Samba NetAPI library
2251 --without-openal do not use OpenAL
2252 --without-opencl do not use OpenCL
2253 --without-opengl do not use OpenGL
2254 --without-osmesa do not use the OSMesa library
2255 --without-oss do not use the OSS sound support
2256 --without-pcap do not use the Packet Capture library
2257 --without-png do not use PNG
2258 --without-pthread do not use the pthread library
2259 --without-pulse do not use PulseAudio sound support
2260 --without-sane do not use SANE (scanner support)
2261 --without-tiff do not use TIFF
2262 --without-v4l do not use v4l1 (v4l support)
2263 --without-xcomposite do not use the Xcomposite extension
2264 --without-xcursor do not use the Xcursor extension
2265 --without-xinerama do not use Xinerama (multi-monitor support)
2266 --without-xinput do not use the Xinput extension
2267 --without-xinput2 do not use the Xinput 2 extension
2268 --without-xml do not use XML
2269 --without-xrandr do not use Xrandr (resolution changes)
2270 --without-xrender do not use the Xrender extension
2271 --without-xshape do not use the Xshape extension
2272 --without-xshm do not use XShm (shared memory extension)
2273 --without-xslt do not use XSLT
2274 --without-xxf86vm do not use XFree video mode extension
2275 --without-zlib do not use Zlib (data compression)
2276 --with-wine-tools=DIR use Wine tools from directory DIR
2277 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2278 --with-x use the X Window System
2280 Some influential environment variables:
2281 CC C compiler command
2282 CFLAGS C compiler flags
2283 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2284 nonstandard directory <lib dir>
2285 LIBS libraries to pass to the linker, e.g. -l<library>
2286 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2287 you have headers in a nonstandard directory <include dir>
2288 CXX C++ compiler command
2289 CXXFLAGS C++ compiler flags
2290 CPP C preprocessor
2291 XMKMF Path to xmkmf, Makefile generator for X Window System
2292 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2293 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2294 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2295 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2296 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2297 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2298 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2299 HAL_LIBS Linker flags for hal, overriding pkg-config
2300 GNUTLS_CFLAGS
2301 C compiler flags for gnutls, overriding pkg-config
2302 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2303 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2304 SANE_LIBS Linker flags for libsane, overriding pkg-config
2305 GPHOTO2_CFLAGS
2306 C compiler flags for libgphoto2, overriding pkg-config
2307 GPHOTO2_LIBS
2308 Linker flags for libgphoto2, overriding pkg-config
2309 GPHOTO2_PORT_CFLAGS
2310 C compiler flags for libgphoto2_port, overriding pkg-config
2311 GPHOTO2_PORT_LIBS
2312 Linker flags for libgphoto2_port, overriding pkg-config
2313 LCMS2_CFLAGS
2314 C compiler flags for lcms2, overriding pkg-config
2315 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2316 FREETYPE_CFLAGS
2317 C compiler flags for freetype2, overriding pkg-config
2318 FREETYPE_LIBS
2319 Linker flags for freetype2, overriding pkg-config
2320 PULSE_CFLAGS
2321 C compiler flags for libpulse, overriding pkg-config
2322 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2323 GSTREAMER_CFLAGS
2324 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2325 gstreamer-audio-1.0, overriding pkg-config
2326 GSTREAMER_LIBS
2327 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2328 gstreamer-audio-1.0, overriding pkg-config
2329 CAPI20_CFLAGS
2330 C compiler flags for capi20, overriding pkg-config
2331 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2332 FONTCONFIG_CFLAGS
2333 C compiler flags for fontconfig, overriding pkg-config
2334 FONTCONFIG_LIBS
2335 Linker flags for fontconfig, overriding pkg-config
2336 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2337 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2338 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2339 PNG_LIBS Linker flags for libpng, overriding pkg-config
2340 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2341 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2342 MPG123_CFLAGS
2343 C compiler flags for libmpg123, overriding pkg-config
2344 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2345 NETAPI_CFLAGS
2346 C compiler flags for netapi, overriding pkg-config
2347 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2349 Use these variables to override the choices made by `configure' or to help
2350 it to find libraries and programs with nonstandard names/locations.
2352 Report bugs to <wine-devel@winehq.org>.
2353 Wine home page: <http://www.winehq.org>.
2354 _ACEOF
2355 ac_status=$?
2358 if test "$ac_init_help" = "recursive"; then
2359 # If there are subdirs, report their specific --help.
2360 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2361 test -d "$ac_dir" ||
2362 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2363 continue
2364 ac_builddir=.
2366 case "$ac_dir" in
2367 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2369 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2370 # A ".." for each directory in $ac_dir_suffix.
2371 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2372 case $ac_top_builddir_sub in
2373 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2374 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2375 esac ;;
2376 esac
2377 ac_abs_top_builddir=$ac_pwd
2378 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2379 # for backward compatibility:
2380 ac_top_builddir=$ac_top_build_prefix
2382 case $srcdir in
2383 .) # We are building in place.
2384 ac_srcdir=.
2385 ac_top_srcdir=$ac_top_builddir_sub
2386 ac_abs_top_srcdir=$ac_pwd ;;
2387 [\\/]* | ?:[\\/]* ) # Absolute name.
2388 ac_srcdir=$srcdir$ac_dir_suffix;
2389 ac_top_srcdir=$srcdir
2390 ac_abs_top_srcdir=$srcdir ;;
2391 *) # Relative name.
2392 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2393 ac_top_srcdir=$ac_top_build_prefix$srcdir
2394 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2395 esac
2396 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2398 cd "$ac_dir" || { ac_status=$?; continue; }
2399 # Check for guested configure.
2400 if test -f "$ac_srcdir/configure.gnu"; then
2401 echo &&
2402 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2403 elif test -f "$ac_srcdir/configure"; then
2404 echo &&
2405 $SHELL "$ac_srcdir/configure" --help=recursive
2406 else
2407 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2408 fi || ac_status=$?
2409 cd "$ac_pwd" || { ac_status=$?; break; }
2410 done
2413 test -n "$ac_init_help" && exit $ac_status
2414 if $ac_init_version; then
2415 cat <<\_ACEOF
2416 Wine configure 1.9.16
2417 generated by GNU Autoconf 2.69
2419 Copyright (C) 2012 Free Software Foundation, Inc.
2420 This configure script is free software; the Free Software Foundation
2421 gives unlimited permission to copy, distribute and modify it.
2422 _ACEOF
2423 exit
2426 ## ------------------------ ##
2427 ## Autoconf initialization. ##
2428 ## ------------------------ ##
2430 # ac_fn_c_try_compile LINENO
2431 # --------------------------
2432 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2433 ac_fn_c_try_compile ()
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 rm -f conftest.$ac_objext
2437 if { { ac_try="$ac_compile"
2438 case "(($ac_try" in
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2441 esac
2442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2443 $as_echo "$ac_try_echo"; } >&5
2444 (eval "$ac_compile") 2>conftest.err
2445 ac_status=$?
2446 if test -s conftest.err; then
2447 grep -v '^ *+' conftest.err >conftest.er1
2448 cat conftest.er1 >&5
2449 mv -f conftest.er1 conftest.err
2451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2452 test $ac_status = 0; } && {
2453 test -z "$ac_c_werror_flag" ||
2454 test ! -s conftest.err
2455 } && test -s conftest.$ac_objext; then :
2456 ac_retval=0
2457 else
2458 $as_echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.$ac_ext >&5
2461 ac_retval=1
2463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2464 as_fn_set_status $ac_retval
2466 } # ac_fn_c_try_compile
2468 # ac_fn_cxx_try_compile LINENO
2469 # ----------------------------
2470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2471 ac_fn_cxx_try_compile ()
2473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 rm -f conftest.$ac_objext
2475 if { { ac_try="$ac_compile"
2476 case "(($ac_try" in
2477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2478 *) ac_try_echo=$ac_try;;
2479 esac
2480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2481 $as_echo "$ac_try_echo"; } >&5
2482 (eval "$ac_compile") 2>conftest.err
2483 ac_status=$?
2484 if test -s conftest.err; then
2485 grep -v '^ *+' conftest.err >conftest.er1
2486 cat conftest.er1 >&5
2487 mv -f conftest.er1 conftest.err
2489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2490 test $ac_status = 0; } && {
2491 test -z "$ac_cxx_werror_flag" ||
2492 test ! -s conftest.err
2493 } && test -s conftest.$ac_objext; then :
2494 ac_retval=0
2495 else
2496 $as_echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2499 ac_retval=1
2501 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2502 as_fn_set_status $ac_retval
2504 } # ac_fn_cxx_try_compile
2506 # ac_fn_c_try_link LINENO
2507 # -----------------------
2508 # Try to link conftest.$ac_ext, and return whether this succeeded.
2509 ac_fn_c_try_link ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 rm -f conftest.$ac_objext conftest$ac_exeext
2513 if { { ac_try="$ac_link"
2514 case "(($ac_try" in
2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2516 *) ac_try_echo=$ac_try;;
2517 esac
2518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2519 $as_echo "$ac_try_echo"; } >&5
2520 (eval "$ac_link") 2>conftest.err
2521 ac_status=$?
2522 if test -s conftest.err; then
2523 grep -v '^ *+' conftest.err >conftest.er1
2524 cat conftest.er1 >&5
2525 mv -f conftest.er1 conftest.err
2527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2528 test $ac_status = 0; } && {
2529 test -z "$ac_c_werror_flag" ||
2530 test ! -s conftest.err
2531 } && test -s conftest$ac_exeext && {
2532 test "$cross_compiling" = yes ||
2533 test -x conftest$ac_exeext
2534 }; then :
2535 ac_retval=0
2536 else
2537 $as_echo "$as_me: failed program was:" >&5
2538 sed 's/^/| /' conftest.$ac_ext >&5
2540 ac_retval=1
2542 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2543 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2544 # interfere with the next link command; also delete a directory that is
2545 # left behind by Apple's compiler. We do this before executing the actions.
2546 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2547 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2548 as_fn_set_status $ac_retval
2550 } # ac_fn_c_try_link
2552 # ac_fn_c_try_cpp LINENO
2553 # ----------------------
2554 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2555 ac_fn_c_try_cpp ()
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 if { { ac_try="$ac_cpp conftest.$ac_ext"
2559 case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2566 ac_status=$?
2567 if test -s conftest.err; then
2568 grep -v '^ *+' conftest.err >conftest.er1
2569 cat conftest.er1 >&5
2570 mv -f conftest.er1 conftest.err
2572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2573 test $ac_status = 0; } > conftest.i && {
2574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2575 test ! -s conftest.err
2576 }; then :
2577 ac_retval=0
2578 else
2579 $as_echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.$ac_ext >&5
2582 ac_retval=1
2584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2585 as_fn_set_status $ac_retval
2587 } # ac_fn_c_try_cpp
2589 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2590 # -------------------------------------------------------
2591 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2592 # the include files in INCLUDES and setting the cache variable VAR
2593 # accordingly.
2594 ac_fn_c_check_header_mongrel ()
2596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597 if eval \${$3+:} false; then :
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2599 $as_echo_n "checking for $2... " >&6; }
2600 if eval \${$3+:} false; then :
2601 $as_echo_n "(cached) " >&6
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 else
2607 # Is the header compilable?
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2609 $as_echo_n "checking $2 usability... " >&6; }
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2613 #include <$2>
2614 _ACEOF
2615 if ac_fn_c_try_compile "$LINENO"; then :
2616 ac_header_compiler=yes
2617 else
2618 ac_header_compiler=no
2620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2622 $as_echo "$ac_header_compiler" >&6; }
2624 # Is the header present?
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2626 $as_echo_n "checking $2 presence... " >&6; }
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2629 #include <$2>
2630 _ACEOF
2631 if ac_fn_c_try_cpp "$LINENO"; then :
2632 ac_header_preproc=yes
2633 else
2634 ac_header_preproc=no
2636 rm -f conftest.err conftest.i conftest.$ac_ext
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2638 $as_echo "$ac_header_preproc" >&6; }
2640 # So? What about this header?
2641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2642 yes:no: )
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2644 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2648 no:yes:* )
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2650 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2652 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2654 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2656 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2658 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2659 ( $as_echo "## ------------------------------------ ##
2660 ## Report this to wine-devel@winehq.org ##
2661 ## ------------------------------------ ##"
2662 ) | sed "s/^/$as_me: WARNING: /" >&2
2664 esac
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \${$3+:} false; then :
2668 $as_echo_n "(cached) " >&6
2669 else
2670 eval "$3=\$ac_header_compiler"
2672 eval ac_res=\$$3
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2674 $as_echo "$ac_res" >&6; }
2676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 } # ac_fn_c_check_header_mongrel
2680 # ac_fn_c_try_run LINENO
2681 # ----------------------
2682 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2683 # that executables *can* be run.
2684 ac_fn_c_try_run ()
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 if { { ac_try="$ac_link"
2688 case "(($ac_try" in
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2691 esac
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_link") 2>&5
2695 ac_status=$?
2696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2697 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2698 { { case "(($ac_try" in
2699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2701 esac
2702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2703 $as_echo "$ac_try_echo"; } >&5
2704 (eval "$ac_try") 2>&5
2705 ac_status=$?
2706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2707 test $ac_status = 0; }; }; then :
2708 ac_retval=0
2709 else
2710 $as_echo "$as_me: program exited with status $ac_status" >&5
2711 $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2714 ac_retval=$ac_status
2716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2718 as_fn_set_status $ac_retval
2720 } # ac_fn_c_try_run
2722 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2723 # -------------------------------------------------------
2724 # Tests whether HEADER exists and can be compiled using the include files in
2725 # INCLUDES, setting the cache variable VAR accordingly.
2726 ac_fn_c_check_header_compile ()
2728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2730 $as_echo_n "checking for $2... " >&6; }
2731 if eval \${$3+:} false; then :
2732 $as_echo_n "(cached) " >&6
2733 else
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2737 #include <$2>
2738 _ACEOF
2739 if ac_fn_c_try_compile "$LINENO"; then :
2740 eval "$3=yes"
2741 else
2742 eval "$3=no"
2744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2746 eval ac_res=\$$3
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2748 $as_echo "$ac_res" >&6; }
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 } # ac_fn_c_check_header_compile
2753 # ac_fn_c_check_func LINENO FUNC VAR
2754 # ----------------------------------
2755 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2756 ac_fn_c_check_func ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2760 $as_echo_n "checking for $2... " >&6; }
2761 if eval \${$3+:} false; then :
2762 $as_echo_n "(cached) " >&6
2763 else
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2766 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2768 #define $2 innocuous_$2
2770 /* System header to define __stub macros and hopefully few prototypes,
2771 which can conflict with char $2 (); below.
2772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2773 <limits.h> exists even on freestanding compilers. */
2775 #ifdef __STDC__
2776 # include <limits.h>
2777 #else
2778 # include <assert.h>
2779 #endif
2781 #undef $2
2783 /* Override any GCC internal prototype to avoid an error.
2784 Use char because int might match the return type of a GCC
2785 builtin and then its argument prototype would still apply. */
2786 #ifdef __cplusplus
2787 extern "C"
2788 #endif
2789 char $2 ();
2790 /* The GNU C library defines this for functions which it implements
2791 to always fail with ENOSYS. Some functions are actually named
2792 something starting with __ and the normal name is an alias. */
2793 #if defined __stub_$2 || defined __stub___$2
2794 choke me
2795 #endif
2798 main ()
2800 return $2 ();
2802 return 0;
2804 _ACEOF
2805 if ac_fn_c_try_link "$LINENO"; then :
2806 eval "$3=yes"
2807 else
2808 eval "$3=no"
2810 rm -f core conftest.err conftest.$ac_objext \
2811 conftest$ac_exeext conftest.$ac_ext
2813 eval ac_res=\$$3
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2815 $as_echo "$ac_res" >&6; }
2816 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 } # ac_fn_c_check_func
2820 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2821 # ----------------------------------------------------
2822 # Tries to find if the field MEMBER exists in type AGGR, after including
2823 # INCLUDES, setting cache variable VAR accordingly.
2824 ac_fn_c_check_member ()
2826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2828 $as_echo_n "checking for $2.$3... " >&6; }
2829 if eval \${$4+:} false; then :
2830 $as_echo_n "(cached) " >&6
2831 else
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2836 main ()
2838 static $2 ac_aggr;
2839 if (ac_aggr.$3)
2840 return 0;
2842 return 0;
2844 _ACEOF
2845 if ac_fn_c_try_compile "$LINENO"; then :
2846 eval "$4=yes"
2847 else
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2852 main ()
2854 static $2 ac_aggr;
2855 if (sizeof ac_aggr.$3)
2856 return 0;
2858 return 0;
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"; then :
2862 eval "$4=yes"
2863 else
2864 eval "$4=no"
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 eval ac_res=\$$4
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2872 $as_echo "$ac_res" >&6; }
2873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2875 } # ac_fn_c_check_member
2877 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2878 # -------------------------------------------
2879 # Tests whether TYPE exists after having included INCLUDES, setting cache
2880 # variable VAR accordingly.
2881 ac_fn_c_check_type ()
2883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2885 $as_echo_n "checking for $2... " >&6; }
2886 if eval \${$3+:} false; then :
2887 $as_echo_n "(cached) " >&6
2888 else
2889 eval "$3=no"
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2894 main ()
2896 if (sizeof ($2))
2897 return 0;
2899 return 0;
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2907 main ()
2909 if (sizeof (($2)))
2910 return 0;
2912 return 0;
2914 _ACEOF
2915 if ac_fn_c_try_compile "$LINENO"; then :
2917 else
2918 eval "$3=yes"
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 $as_echo "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_type
2930 cat >config.log <<_ACEOF
2931 This file contains any messages produced by compilers while
2932 running configure, to aid debugging if configure makes a mistake.
2934 It was created by Wine $as_me 1.9.16, which was
2935 generated by GNU Autoconf 2.69. Invocation command line was
2937 $ $0 $@
2939 _ACEOF
2940 exec 5>>config.log
2942 cat <<_ASUNAME
2943 ## --------- ##
2944 ## Platform. ##
2945 ## --------- ##
2947 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2948 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2949 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2950 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2951 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2953 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2954 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2956 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2957 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2958 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2959 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2960 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2961 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2962 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2964 _ASUNAME
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH
2969 IFS=$as_save_IFS
2970 test -z "$as_dir" && as_dir=.
2971 $as_echo "PATH: $as_dir"
2972 done
2973 IFS=$as_save_IFS
2975 } >&5
2977 cat >&5 <<_ACEOF
2980 ## ----------- ##
2981 ## Core tests. ##
2982 ## ----------- ##
2984 _ACEOF
2987 # Keep a trace of the command line.
2988 # Strip out --no-create and --no-recursion so they do not pile up.
2989 # Strip out --silent because we don't want to record it for future runs.
2990 # Also quote any args containing shell meta-characters.
2991 # Make two passes to allow for proper duplicate-argument suppression.
2992 ac_configure_args=
2993 ac_configure_args0=
2994 ac_configure_args1=
2995 ac_must_keep_next=false
2996 for ac_pass in 1 2
2998 for ac_arg
3000 case $ac_arg in
3001 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3003 | -silent | --silent | --silen | --sile | --sil)
3004 continue ;;
3005 *\'*)
3006 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3007 esac
3008 case $ac_pass in
3009 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3011 as_fn_append ac_configure_args1 " '$ac_arg'"
3012 if test $ac_must_keep_next = true; then
3013 ac_must_keep_next=false # Got value, back to normal.
3014 else
3015 case $ac_arg in
3016 *=* | --config-cache | -C | -disable-* | --disable-* \
3017 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3018 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3019 | -with-* | --with-* | -without-* | --without-* | --x)
3020 case "$ac_configure_args0 " in
3021 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3022 esac
3024 -* ) ac_must_keep_next=true ;;
3025 esac
3027 as_fn_append ac_configure_args " '$ac_arg'"
3029 esac
3030 done
3031 done
3032 { ac_configure_args0=; unset ac_configure_args0;}
3033 { ac_configure_args1=; unset ac_configure_args1;}
3035 # When interrupted or exit'd, cleanup temporary files, and complete
3036 # config.log. We remove comments because anyway the quotes in there
3037 # would cause problems or look ugly.
3038 # WARNING: Use '\'' to represent an apostrophe within the trap.
3039 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3040 trap 'exit_status=$?
3041 # Save into config.log some information that might help in debugging.
3043 echo
3045 $as_echo "## ---------------- ##
3046 ## Cache variables. ##
3047 ## ---------------- ##"
3048 echo
3049 # The following way of writing the cache mishandles newlines in values,
3051 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3052 eval ac_val=\$$ac_var
3053 case $ac_val in #(
3054 *${as_nl}*)
3055 case $ac_var in #(
3056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3058 esac
3059 case $ac_var in #(
3060 _ | IFS | as_nl) ;; #(
3061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3062 *) { eval $ac_var=; unset $ac_var;} ;;
3063 esac ;;
3064 esac
3065 done
3066 (set) 2>&1 |
3067 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3068 *${as_nl}ac_space=\ *)
3069 sed -n \
3070 "s/'\''/'\''\\\\'\'''\''/g;
3071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3072 ;; #(
3074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3076 esac |
3077 sort
3079 echo
3081 $as_echo "## ----------------- ##
3082 ## Output variables. ##
3083 ## ----------------- ##"
3084 echo
3085 for ac_var in $ac_subst_vars
3087 eval ac_val=\$$ac_var
3088 case $ac_val in
3089 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3090 esac
3091 $as_echo "$ac_var='\''$ac_val'\''"
3092 done | sort
3093 echo
3095 if test -n "$ac_subst_files"; then
3096 $as_echo "## ------------------- ##
3097 ## File substitutions. ##
3098 ## ------------------- ##"
3099 echo
3100 for ac_var in $ac_subst_files
3102 eval ac_val=\$$ac_var
3103 case $ac_val in
3104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3105 esac
3106 $as_echo "$ac_var='\''$ac_val'\''"
3107 done | sort
3108 echo
3111 if test -s confdefs.h; then
3112 $as_echo "## ----------- ##
3113 ## confdefs.h. ##
3114 ## ----------- ##"
3115 echo
3116 cat confdefs.h
3117 echo
3119 test "$ac_signal" != 0 &&
3120 $as_echo "$as_me: caught signal $ac_signal"
3121 $as_echo "$as_me: exit $exit_status"
3122 } >&5
3123 rm -f core *.core core.conftest.* &&
3124 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3125 exit $exit_status
3127 for ac_signal in 1 2 13 15; do
3128 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3129 done
3130 ac_signal=0
3132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3133 rm -f -r conftest* confdefs.h
3135 $as_echo "/* confdefs.h */" > confdefs.h
3137 # Predefined preprocessor variables.
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE_NAME "$PACKAGE_NAME"
3141 _ACEOF
3143 cat >>confdefs.h <<_ACEOF
3144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3145 _ACEOF
3147 cat >>confdefs.h <<_ACEOF
3148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3149 _ACEOF
3151 cat >>confdefs.h <<_ACEOF
3152 #define PACKAGE_STRING "$PACKAGE_STRING"
3153 _ACEOF
3155 cat >>confdefs.h <<_ACEOF
3156 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3157 _ACEOF
3159 cat >>confdefs.h <<_ACEOF
3160 #define PACKAGE_URL "$PACKAGE_URL"
3161 _ACEOF
3164 # Let the site file select an alternate cache file if it wants to.
3165 # Prefer an explicitly selected file to automatically selected ones.
3166 ac_site_file1=NONE
3167 ac_site_file2=NONE
3168 if test -n "$CONFIG_SITE"; then
3169 # We do not want a PATH search for config.site.
3170 case $CONFIG_SITE in #((
3171 -*) ac_site_file1=./$CONFIG_SITE;;
3172 */*) ac_site_file1=$CONFIG_SITE;;
3173 *) ac_site_file1=./$CONFIG_SITE;;
3174 esac
3175 elif test "x$prefix" != xNONE; then
3176 ac_site_file1=$prefix/share/config.site
3177 ac_site_file2=$prefix/etc/config.site
3178 else
3179 ac_site_file1=$ac_default_prefix/share/config.site
3180 ac_site_file2=$ac_default_prefix/etc/config.site
3182 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3184 test "x$ac_site_file" = xNONE && continue
3185 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3187 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3188 sed 's/^/| /' "$ac_site_file" >&5
3189 . "$ac_site_file" \
3190 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3192 as_fn_error $? "failed to load site script $ac_site_file
3193 See \`config.log' for more details" "$LINENO" 5; }
3195 done
3197 if test -r "$cache_file"; then
3198 # Some versions of bash will fail to source /dev/null (special files
3199 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3200 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3202 $as_echo "$as_me: loading cache $cache_file" >&6;}
3203 case $cache_file in
3204 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3205 *) . "./$cache_file";;
3206 esac
3208 else
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3210 $as_echo "$as_me: creating cache $cache_file" >&6;}
3211 >$cache_file
3214 # Check that the precious variables saved in the cache have kept the same
3215 # value.
3216 ac_cache_corrupted=false
3217 for ac_var in $ac_precious_vars; do
3218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3219 eval ac_new_set=\$ac_env_${ac_var}_set
3220 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3221 eval ac_new_val=\$ac_env_${ac_var}_value
3222 case $ac_old_set,$ac_new_set in
3223 set,)
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3225 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3226 ac_cache_corrupted=: ;;
3227 ,set)
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3229 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3230 ac_cache_corrupted=: ;;
3231 ,);;
3233 if test "x$ac_old_val" != "x$ac_new_val"; then
3234 # differences in whitespace do not lead to failure.
3235 ac_old_val_w=`echo x $ac_old_val`
3236 ac_new_val_w=`echo x $ac_new_val`
3237 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3239 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3240 ac_cache_corrupted=:
3241 else
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3243 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3244 eval $ac_var=\$ac_old_val
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3247 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3249 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3250 fi;;
3251 esac
3252 # Pass precious variables to config.status.
3253 if test "$ac_new_set" = set; then
3254 case $ac_new_val in
3255 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3256 *) ac_arg=$ac_var=$ac_new_val ;;
3257 esac
3258 case " $ac_configure_args " in
3259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3260 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3261 esac
3263 done
3264 if $ac_cache_corrupted; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3268 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3269 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3271 ## -------------------- ##
3272 ## Main body of script. ##
3273 ## -------------------- ##
3275 ac_ext=c
3276 ac_cpp='$CPP $CPPFLAGS'
3277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283 ac_config_headers="$ac_config_headers include/config.h"
3285 ac_aux_dir=
3286 for ac_dir in tools "$srcdir"/tools; do
3287 if test -f "$ac_dir/install-sh"; then
3288 ac_aux_dir=$ac_dir
3289 ac_install_sh="$ac_aux_dir/install-sh -c"
3290 break
3291 elif test -f "$ac_dir/install.sh"; then
3292 ac_aux_dir=$ac_dir
3293 ac_install_sh="$ac_aux_dir/install.sh -c"
3294 break
3295 elif test -f "$ac_dir/shtool"; then
3296 ac_aux_dir=$ac_dir
3297 ac_install_sh="$ac_aux_dir/shtool install -c"
3298 break
3300 done
3301 if test -z "$ac_aux_dir"; then
3302 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3305 # These three variables are undocumented and unsupported,
3306 # and are intended to be withdrawn in a future Autoconf release.
3307 # They can cause serious problems if a builder's source tree is in a directory
3308 # whose full name contains unusual characters.
3309 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3310 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3311 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3315 libwine_version="1.0"
3319 # Check whether --enable-win16 was given.
3320 if test "${enable_win16+set}" = set; then :
3321 enableval=$enable_win16;
3324 # Check whether --enable-win64 was given.
3325 if test "${enable_win64+set}" = set; then :
3326 enableval=$enable_win64;
3329 # Check whether --enable-tests was given.
3330 if test "${enable_tests+set}" = set; then :
3331 enableval=$enable_tests;
3334 # Check whether --enable-maintainer-mode was given.
3335 if test "${enable_maintainer_mode+set}" = set; then :
3336 enableval=$enable_maintainer_mode;
3341 # Check whether --with-alsa was given.
3342 if test "${with_alsa+set}" = set; then :
3343 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3347 # Check whether --with-capi was given.
3348 if test "${with_capi+set}" = set; then :
3349 withval=$with_capi;
3353 # Check whether --with-cms was given.
3354 if test "${with_cms+set}" = set; then :
3355 withval=$with_cms;
3359 # Check whether --with-coreaudio was given.
3360 if test "${with_coreaudio+set}" = set; then :
3361 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3365 # Check whether --with-cups was given.
3366 if test "${with_cups+set}" = set; then :
3367 withval=$with_cups;
3371 # Check whether --with-curses was given.
3372 if test "${with_curses+set}" = set; then :
3373 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3377 # Check whether --with-dbus was given.
3378 if test "${with_dbus+set}" = set; then :
3379 withval=$with_dbus;
3383 # Check whether --with-fontconfig was given.
3384 if test "${with_fontconfig+set}" = set; then :
3385 withval=$with_fontconfig;
3389 # Check whether --with-freetype was given.
3390 if test "${with_freetype+set}" = set; then :
3391 withval=$with_freetype;
3395 # Check whether --with-gettext was given.
3396 if test "${with_gettext+set}" = set; then :
3397 withval=$with_gettext;
3401 # Check whether --with-gettextpo was given.
3402 if test "${with_gettextpo+set}" = set; then :
3403 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3407 # Check whether --with-gphoto was given.
3408 if test "${with_gphoto+set}" = set; then :
3409 withval=$with_gphoto;
3413 # Check whether --with-glu was given.
3414 if test "${with_glu+set}" = set; then :
3415 withval=$with_glu;
3419 # Check whether --with-gnutls was given.
3420 if test "${with_gnutls+set}" = set; then :
3421 withval=$with_gnutls;
3425 # Check whether --with-gsm was given.
3426 if test "${with_gsm+set}" = set; then :
3427 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3431 # Check whether --with-gstreamer was given.
3432 if test "${with_gstreamer+set}" = set; then :
3433 withval=$with_gstreamer;
3437 # Check whether --with-hal was given.
3438 if test "${with_hal+set}" = set; then :
3439 withval=$with_hal;
3443 # Check whether --with-jpeg was given.
3444 if test "${with_jpeg+set}" = set; then :
3445 withval=$with_jpeg;
3449 # Check whether --with-ldap was given.
3450 if test "${with_ldap+set}" = set; then :
3451 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3455 # Check whether --with-mpg123 was given.
3456 if test "${with_mpg123+set}" = set; then :
3457 withval=$with_mpg123;
3461 # Check whether --with-netapi was given.
3462 if test "${with_netapi+set}" = set; then :
3463 withval=$with_netapi;
3467 # Check whether --with-openal was given.
3468 if test "${with_openal+set}" = set; then :
3469 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3473 # Check whether --with-opencl was given.
3474 if test "${with_opencl+set}" = set; then :
3475 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3479 # Check whether --with-opengl was given.
3480 if test "${with_opengl+set}" = set; then :
3481 withval=$with_opengl;
3485 # Check whether --with-osmesa was given.
3486 if test "${with_osmesa+set}" = set; then :
3487 withval=$with_osmesa;
3491 # Check whether --with-oss was given.
3492 if test "${with_oss+set}" = set; then :
3493 withval=$with_oss;
3497 # Check whether --with-pcap was given.
3498 if test "${with_pcap+set}" = set; then :
3499 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3503 # Check whether --with-png was given.
3504 if test "${with_png+set}" = set; then :
3505 withval=$with_png;
3509 # Check whether --with-pthread was given.
3510 if test "${with_pthread+set}" = set; then :
3511 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3515 # Check whether --with-pulse was given.
3516 if test "${with_pulse+set}" = set; then :
3517 withval=$with_pulse;
3521 # Check whether --with-sane was given.
3522 if test "${with_sane+set}" = set; then :
3523 withval=$with_sane;
3527 # Check whether --with-tiff was given.
3528 if test "${with_tiff+set}" = set; then :
3529 withval=$with_tiff;
3533 # Check whether --with-v4l was given.
3534 if test "${with_v4l+set}" = set; then :
3535 withval=$with_v4l;
3539 # Check whether --with-xcomposite was given.
3540 if test "${with_xcomposite+set}" = set; then :
3541 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3545 # Check whether --with-xcursor was given.
3546 if test "${with_xcursor+set}" = set; then :
3547 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3551 # Check whether --with-xinerama was given.
3552 if test "${with_xinerama+set}" = set; then :
3553 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3557 # Check whether --with-xinput was given.
3558 if test "${with_xinput+set}" = set; then :
3559 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3563 # Check whether --with-xinput2 was given.
3564 if test "${with_xinput2+set}" = set; then :
3565 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3569 # Check whether --with-xml was given.
3570 if test "${with_xml+set}" = set; then :
3571 withval=$with_xml;
3575 # Check whether --with-xrandr was given.
3576 if test "${with_xrandr+set}" = set; then :
3577 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3581 # Check whether --with-xrender was given.
3582 if test "${with_xrender+set}" = set; then :
3583 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3587 # Check whether --with-xshape was given.
3588 if test "${with_xshape+set}" = set; then :
3589 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3593 # Check whether --with-xshm was given.
3594 if test "${with_xshm+set}" = set; then :
3595 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3599 # Check whether --with-xslt was given.
3600 if test "${with_xslt+set}" = set; then :
3601 withval=$with_xslt;
3605 # Check whether --with-xxf86vm was given.
3606 if test "${with_xxf86vm+set}" = set; then :
3607 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
3611 # Check whether --with-zlib was given.
3612 if test "${with_zlib+set}" = set; then :
3613 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3618 # Check whether --with-wine-tools was given.
3619 if test "${with_wine_tools+set}" = set; then :
3620 withval=$with_wine_tools;
3624 # Check whether --with-wine64 was given.
3625 if test "${with_wine64+set}" = set; then :
3626 withval=$with_wine64;
3630 # Make sure we can run config.sub.
3631 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3632 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3635 $as_echo_n "checking build system type... " >&6; }
3636 if ${ac_cv_build+:} false; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 ac_build_alias=$build_alias
3640 test "x$ac_build_alias" = x &&
3641 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3642 test "x$ac_build_alias" = x &&
3643 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3644 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3645 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3649 $as_echo "$ac_cv_build" >&6; }
3650 case $ac_cv_build in
3651 *-*-*) ;;
3652 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3653 esac
3654 build=$ac_cv_build
3655 ac_save_IFS=$IFS; IFS='-'
3656 set x $ac_cv_build
3657 shift
3658 build_cpu=$1
3659 build_vendor=$2
3660 shift; shift
3661 # Remember, the first character of IFS is used to create $*,
3662 # except with old shells:
3663 build_os=$*
3664 IFS=$ac_save_IFS
3665 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3669 $as_echo_n "checking host system type... " >&6; }
3670 if ${ac_cv_host+:} false; then :
3671 $as_echo_n "(cached) " >&6
3672 else
3673 if test "x$host_alias" = x; then
3674 ac_cv_host=$ac_cv_build
3675 else
3676 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3677 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3682 $as_echo "$ac_cv_host" >&6; }
3683 case $ac_cv_host in
3684 *-*-*) ;;
3685 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3686 esac
3687 host=$ac_cv_host
3688 ac_save_IFS=$IFS; IFS='-'
3689 set x $ac_cv_host
3690 shift
3691 host_cpu=$1
3692 host_vendor=$2
3693 shift; shift
3694 # Remember, the first character of IFS is used to create $*,
3695 # except with old shells:
3696 host_os=$*
3697 IFS=$ac_save_IFS
3698 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3702 case "$srcdir" in
3703 .) ;;
3704 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3705 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3706 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3707 fi ;;
3708 esac
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3712 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3713 set x ${MAKE-make}
3714 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3715 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 cat >conftest.make <<\_ACEOF
3719 SHELL = /bin/sh
3720 all:
3721 @echo '@@@%%%=$(MAKE)=@@@%%%'
3722 _ACEOF
3723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3725 *@@@%%%=?*=@@@%%%*)
3726 eval ac_cv_prog_make_${ac_make}_set=yes;;
3728 eval ac_cv_prog_make_${ac_make}_set=no;;
3729 esac
3730 rm -f conftest.make
3732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3734 $as_echo "yes" >&6; }
3735 SET_MAKE=
3736 else
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3739 SET_MAKE="MAKE=${MAKE-make}"
3742 ac_ext=c
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3747 if test -n "$ac_tool_prefix"; then
3748 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3749 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3751 $as_echo_n "checking for $ac_word... " >&6; }
3752 if ${ac_cv_prog_CC+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 if test -n "$CC"; then
3756 ac_cv_prog_CC="$CC" # Let the user override the test.
3757 else
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 for as_dir in $PATH
3761 IFS=$as_save_IFS
3762 test -z "$as_dir" && as_dir=.
3763 for ac_exec_ext in '' $ac_executable_extensions; do
3764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3765 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 break 2
3769 done
3770 done
3771 IFS=$as_save_IFS
3775 CC=$ac_cv_prog_CC
3776 if test -n "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3778 $as_echo "$CC" >&6; }
3779 else
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3786 if test -z "$ac_cv_prog_CC"; then
3787 ac_ct_CC=$CC
3788 # Extract the first word of "gcc", so it can be a program name with args.
3789 set dummy gcc; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3793 $as_echo_n "(cached) " >&6
3794 else
3795 if test -n "$ac_ct_CC"; then
3796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801 IFS=$as_save_IFS
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_ac_ct_CC="gcc"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 break 2
3809 done
3810 done
3811 IFS=$as_save_IFS
3815 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3819 else
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3824 if test "x$ac_ct_CC" = x; then
3825 CC=""
3826 else
3827 case $cross_compiling:$ac_tool_warned in
3828 yes:)
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3831 ac_tool_warned=yes ;;
3832 esac
3833 CC=$ac_ct_CC
3835 else
3836 CC="$ac_cv_prog_CC"
3839 if test -z "$CC"; then
3840 if test -n "$ac_tool_prefix"; then
3841 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3842 set dummy ${ac_tool_prefix}cc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$CC"; then
3849 ac_cv_prog_CC="$CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_CC="${ac_tool_prefix}cc"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3862 done
3863 done
3864 IFS=$as_save_IFS
3868 CC=$ac_cv_prog_CC
3869 if test -n "$CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3871 $as_echo "$CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3880 if test -z "$CC"; then
3881 # Extract the first word of "cc", so it can be a program name with args.
3882 set dummy cc; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_prog_CC+:} false; then :
3886 $as_echo_n "(cached) " >&6
3887 else
3888 if test -n "$CC"; then
3889 ac_cv_prog_CC="$CC" # Let the user override the test.
3890 else
3891 ac_prog_rejected=no
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3895 IFS=$as_save_IFS
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3900 ac_prog_rejected=yes
3901 continue
3903 ac_cv_prog_CC="cc"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3905 break 2
3907 done
3908 done
3909 IFS=$as_save_IFS
3911 if test $ac_prog_rejected = yes; then
3912 # We found a bogon in the path, so make sure we never use it.
3913 set dummy $ac_cv_prog_CC
3914 shift
3915 if test $# != 0; then
3916 # We chose a different compiler from the bogus one.
3917 # However, it has the same basename, so the bogon will be chosen
3918 # first if we set CC to just the basename; use the full file name.
3919 shift
3920 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3925 CC=$ac_cv_prog_CC
3926 if test -n "$CC"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3928 $as_echo "$CC" >&6; }
3929 else
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3936 if test -z "$CC"; then
3937 if test -n "$ac_tool_prefix"; then
3938 for ac_prog in cl.exe
3940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if ${ac_cv_prog_CC+:} false; then :
3945 $as_echo_n "(cached) " >&6
3946 else
3947 if test -n "$CC"; then
3948 ac_cv_prog_CC="$CC" # Let the user override the test.
3949 else
3950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 for as_dir in $PATH
3953 IFS=$as_save_IFS
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 break 2
3961 done
3962 done
3963 IFS=$as_save_IFS
3967 CC=$ac_cv_prog_CC
3968 if test -n "$CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3970 $as_echo "$CC" >&6; }
3971 else
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3977 test -n "$CC" && break
3978 done
3980 if test -z "$CC"; then
3981 ac_ct_CC=$CC
3982 for ac_prog in cl.exe
3984 # Extract the first word of "$ac_prog", so it can be a program name with args.
3985 set dummy $ac_prog; ac_word=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3989 $as_echo_n "(cached) " >&6
3990 else
3991 if test -n "$ac_ct_CC"; then
3992 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3993 else
3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3995 for as_dir in $PATH
3997 IFS=$as_save_IFS
3998 test -z "$as_dir" && as_dir=.
3999 for ac_exec_ext in '' $ac_executable_extensions; do
4000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4001 ac_cv_prog_ac_ct_CC="$ac_prog"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 break 2
4005 done
4006 done
4007 IFS=$as_save_IFS
4011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4012 if test -n "$ac_ct_CC"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4014 $as_echo "$ac_ct_CC" >&6; }
4015 else
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4021 test -n "$ac_ct_CC" && break
4022 done
4024 if test "x$ac_ct_CC" = x; then
4025 CC=""
4026 else
4027 case $cross_compiling:$ac_tool_warned in
4028 yes:)
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4031 ac_tool_warned=yes ;;
4032 esac
4033 CC=$ac_ct_CC
4040 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error $? "no acceptable C compiler found in \$PATH
4043 See \`config.log' for more details" "$LINENO" 5; }
4045 # Provide some information about the compiler.
4046 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4047 set X $ac_compile
4048 ac_compiler=$2
4049 for ac_option in --version -v -V -qversion; do
4050 { { ac_try="$ac_compiler $ac_option >&5"
4051 case "(($ac_try" in
4052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053 *) ac_try_echo=$ac_try;;
4054 esac
4055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4056 $as_echo "$ac_try_echo"; } >&5
4057 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4058 ac_status=$?
4059 if test -s conftest.err; then
4060 sed '10a\
4061 ... rest of stderr output deleted ...
4062 10q' conftest.err >conftest.er1
4063 cat conftest.er1 >&5
4065 rm -f conftest.er1 conftest.err
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }
4068 done
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4074 main ()
4078 return 0;
4080 _ACEOF
4081 ac_clean_files_save=$ac_clean_files
4082 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4083 # Try to create an executable without -o first, disregard a.out.
4084 # It will help us diagnose broken compilers, and finding out an intuition
4085 # of exeext.
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4087 $as_echo_n "checking whether the C compiler works... " >&6; }
4088 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4090 # The possible output files:
4091 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4093 ac_rmfiles=
4094 for ac_file in $ac_files
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4098 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4099 esac
4100 done
4101 rm -f $ac_rmfiles
4103 if { { ac_try="$ac_link_default"
4104 case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_link_default") 2>&5
4111 ac_status=$?
4112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113 test $ac_status = 0; }; then :
4114 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4115 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4116 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4117 # so that the user can short-circuit this test for compilers unknown to
4118 # Autoconf.
4119 for ac_file in $ac_files ''
4121 test -f "$ac_file" || continue
4122 case $ac_file in
4123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4125 [ab].out )
4126 # We found the default executable, but exeext='' is most
4127 # certainly right.
4128 break;;
4129 *.* )
4130 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4131 then :; else
4132 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4134 # We set ac_cv_exeext here because the later test for it is not
4135 # safe: cross compilers may not add the suffix if given an `-o'
4136 # argument, so we may need to know it at that point already.
4137 # Even if this section looks crufty: it has the advantage of
4138 # actually working.
4139 break;;
4141 break;;
4142 esac
4143 done
4144 test "$ac_cv_exeext" = no && ac_cv_exeext=
4146 else
4147 ac_file=''
4149 if test -z "$ac_file"; then :
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4152 $as_echo "$as_me: failed program was:" >&5
4153 sed 's/^/| /' conftest.$ac_ext >&5
4155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157 as_fn_error 77 "C compiler cannot create executables
4158 See \`config.log' for more details" "$LINENO" 5; }
4159 else
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4161 $as_echo "yes" >&6; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4164 $as_echo_n "checking for C compiler default output file name... " >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4166 $as_echo "$ac_file" >&6; }
4167 ac_exeext=$ac_cv_exeext
4169 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4170 ac_clean_files=$ac_clean_files_save
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4172 $as_echo_n "checking for suffix of executables... " >&6; }
4173 if { { ac_try="$ac_link"
4174 case "(($ac_try" in
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4177 esac
4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4179 $as_echo "$ac_try_echo"; } >&5
4180 (eval "$ac_link") 2>&5
4181 ac_status=$?
4182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4183 test $ac_status = 0; }; then :
4184 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4185 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4186 # work properly (i.e., refer to `conftest.exe'), while it won't with
4187 # `rm'.
4188 for ac_file in conftest.exe conftest conftest.*; do
4189 test -f "$ac_file" || continue
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4192 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4193 break;;
4194 * ) break;;
4195 esac
4196 done
4197 else
4198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4200 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4201 See \`config.log' for more details" "$LINENO" 5; }
4203 rm -f conftest conftest$ac_cv_exeext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4205 $as_echo "$ac_cv_exeext" >&6; }
4207 rm -f conftest.$ac_ext
4208 EXEEXT=$ac_cv_exeext
4209 ac_exeext=$EXEEXT
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212 #include <stdio.h>
4214 main ()
4216 FILE *f = fopen ("conftest.out", "w");
4217 return ferror (f) || fclose (f) != 0;
4220 return 0;
4222 _ACEOF
4223 ac_clean_files="$ac_clean_files conftest.out"
4224 # Check that the compiler produces executables we can run. If not, either
4225 # the compiler is broken, or we cross compile.
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4227 $as_echo_n "checking whether we are cross compiling... " >&6; }
4228 if test "$cross_compiling" != yes; then
4229 { { ac_try="$ac_link"
4230 case "(($ac_try" in
4231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232 *) ac_try_echo=$ac_try;;
4233 esac
4234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4235 $as_echo "$ac_try_echo"; } >&5
4236 (eval "$ac_link") 2>&5
4237 ac_status=$?
4238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4239 test $ac_status = 0; }
4240 if { ac_try='./conftest$ac_cv_exeext'
4241 { { case "(($ac_try" in
4242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243 *) ac_try_echo=$ac_try;;
4244 esac
4245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4246 $as_echo "$ac_try_echo"; } >&5
4247 (eval "$ac_try") 2>&5
4248 ac_status=$?
4249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250 test $ac_status = 0; }; }; then
4251 cross_compiling=no
4252 else
4253 if test "$cross_compiling" = maybe; then
4254 cross_compiling=yes
4255 else
4256 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4258 as_fn_error $? "cannot run C compiled programs.
4259 If you meant to cross compile, use \`--host'.
4260 See \`config.log' for more details" "$LINENO" 5; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4265 $as_echo "$cross_compiling" >&6; }
4267 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4268 ac_clean_files=$ac_clean_files_save
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4270 $as_echo_n "checking for suffix of object files... " >&6; }
4271 if ${ac_cv_objext+:} false; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4278 main ()
4282 return 0;
4284 _ACEOF
4285 rm -f conftest.o conftest.obj
4286 if { { ac_try="$ac_compile"
4287 case "(($ac_try" in
4288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289 *) ac_try_echo=$ac_try;;
4290 esac
4291 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4292 $as_echo "$ac_try_echo"; } >&5
4293 (eval "$ac_compile") 2>&5
4294 ac_status=$?
4295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4296 test $ac_status = 0; }; then :
4297 for ac_file in conftest.o conftest.obj conftest.*; do
4298 test -f "$ac_file" || continue;
4299 case $ac_file in
4300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4301 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4302 break;;
4303 esac
4304 done
4305 else
4306 $as_echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4311 as_fn_error $? "cannot compute suffix of object files: cannot compile
4312 See \`config.log' for more details" "$LINENO" 5; }
4314 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4317 $as_echo "$ac_cv_objext" >&6; }
4318 OBJEXT=$ac_cv_objext
4319 ac_objext=$OBJEXT
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4321 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4322 if ${ac_cv_c_compiler_gnu+:} false; then :
4323 $as_echo_n "(cached) " >&6
4324 else
4325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4326 /* end confdefs.h. */
4329 main ()
4331 #ifndef __GNUC__
4332 choke me
4333 #endif
4336 return 0;
4338 _ACEOF
4339 if ac_fn_c_try_compile "$LINENO"; then :
4340 ac_compiler_gnu=yes
4341 else
4342 ac_compiler_gnu=no
4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4345 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4349 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4350 if test $ac_compiler_gnu = yes; then
4351 GCC=yes
4352 else
4353 GCC=
4355 ac_test_CFLAGS=${CFLAGS+set}
4356 ac_save_CFLAGS=$CFLAGS
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4358 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4359 if ${ac_cv_prog_cc_g+:} false; then :
4360 $as_echo_n "(cached) " >&6
4361 else
4362 ac_save_c_werror_flag=$ac_c_werror_flag
4363 ac_c_werror_flag=yes
4364 ac_cv_prog_cc_g=no
4365 CFLAGS="-g"
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4370 main ()
4374 return 0;
4376 _ACEOF
4377 if ac_fn_c_try_compile "$LINENO"; then :
4378 ac_cv_prog_cc_g=yes
4379 else
4380 CFLAGS=""
4381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4385 main ()
4389 return 0;
4391 _ACEOF
4392 if ac_fn_c_try_compile "$LINENO"; then :
4394 else
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4396 CFLAGS="-g"
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4401 main ()
4405 return 0;
4407 _ACEOF
4408 if ac_fn_c_try_compile "$LINENO"; then :
4409 ac_cv_prog_cc_g=yes
4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4416 ac_c_werror_flag=$ac_save_c_werror_flag
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4419 $as_echo "$ac_cv_prog_cc_g" >&6; }
4420 if test "$ac_test_CFLAGS" = set; then
4421 CFLAGS=$ac_save_CFLAGS
4422 elif test $ac_cv_prog_cc_g = yes; then
4423 if test "$GCC" = yes; then
4424 CFLAGS="-g -O2"
4425 else
4426 CFLAGS="-g"
4428 else
4429 if test "$GCC" = yes; then
4430 CFLAGS="-O2"
4431 else
4432 CFLAGS=
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4436 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4437 if ${ac_cv_prog_cc_c89+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 ac_cv_prog_cc_c89=no
4441 ac_save_CC=$CC
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4444 #include <stdarg.h>
4445 #include <stdio.h>
4446 struct stat;
4447 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4448 struct buf { int x; };
4449 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4450 static char *e (p, i)
4451 char **p;
4452 int i;
4454 return p[i];
4456 static char *f (char * (*g) (char **, int), char **p, ...)
4458 char *s;
4459 va_list v;
4460 va_start (v,p);
4461 s = g (p, va_arg (v,int));
4462 va_end (v);
4463 return s;
4466 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4467 function prototypes and stuff, but not '\xHH' hex character constants.
4468 These don't provoke an error unfortunately, instead are silently treated
4469 as 'x'. The following induces an error, until -std is added to get
4470 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4471 array size at least. It's necessary to write '\x00'==0 to get something
4472 that's true only with -std. */
4473 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4475 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4476 inside strings and character constants. */
4477 #define FOO(x) 'x'
4478 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4480 int test (int i, double x);
4481 struct s1 {int (*f) (int a);};
4482 struct s2 {int (*f) (double a);};
4483 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4484 int argc;
4485 char **argv;
4487 main ()
4489 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4491 return 0;
4493 _ACEOF
4494 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4495 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4497 CC="$ac_save_CC $ac_arg"
4498 if ac_fn_c_try_compile "$LINENO"; then :
4499 ac_cv_prog_cc_c89=$ac_arg
4501 rm -f core conftest.err conftest.$ac_objext
4502 test "x$ac_cv_prog_cc_c89" != "xno" && break
4503 done
4504 rm -f conftest.$ac_ext
4505 CC=$ac_save_CC
4508 # AC_CACHE_VAL
4509 case "x$ac_cv_prog_cc_c89" in
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4512 $as_echo "none needed" >&6; } ;;
4513 xno)
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4515 $as_echo "unsupported" >&6; } ;;
4517 CC="$CC $ac_cv_prog_cc_c89"
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4519 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4520 esac
4521 if test "x$ac_cv_prog_cc_c89" != xno; then :
4525 ac_ext=c
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4531 ac_ext=cpp
4532 ac_cpp='$CXXCPP $CPPFLAGS'
4533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4536 if test -z "$CXX"; then
4537 if test -n "$CCC"; then
4538 CXX=$CCC
4539 else
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_CXX+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 if test -n "$CXX"; then
4551 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4566 IFS=$as_save_IFS
4570 CXX=$ac_cv_prog_CXX
4571 if test -n "$CXX"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4573 $as_echo "$CXX" >&6; }
4574 else
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4580 test -n "$CXX" && break
4581 done
4583 if test -z "$CXX"; then
4584 ac_ct_CXX=$CXX
4585 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4587 # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy $ac_prog; ac_word=$2
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 $as_echo_n "checking for $ac_word... " >&6; }
4591 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4592 $as_echo_n "(cached) " >&6
4593 else
4594 if test -n "$ac_ct_CXX"; then
4595 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_CXX="$ac_prog"
4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4610 IFS=$as_save_IFS
4614 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4615 if test -n "$ac_ct_CXX"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4617 $as_echo "$ac_ct_CXX" >&6; }
4618 else
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4624 test -n "$ac_ct_CXX" && break
4625 done
4627 if test "x$ac_ct_CXX" = x; then
4628 CXX="g++"
4629 else
4630 case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636 CXX=$ac_ct_CXX
4642 # Provide some information about the compiler.
4643 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4644 set X $ac_compile
4645 ac_compiler=$2
4646 for ac_option in --version -v -V -qversion; do
4647 { { ac_try="$ac_compiler $ac_option >&5"
4648 case "(($ac_try" in
4649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4650 *) ac_try_echo=$ac_try;;
4651 esac
4652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4653 $as_echo "$ac_try_echo"; } >&5
4654 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4655 ac_status=$?
4656 if test -s conftest.err; then
4657 sed '10a\
4658 ... rest of stderr output deleted ...
4659 10q' conftest.err >conftest.er1
4660 cat conftest.er1 >&5
4662 rm -f conftest.er1 conftest.err
4663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4664 test $ac_status = 0; }
4665 done
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4668 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4669 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4670 $as_echo_n "(cached) " >&6
4671 else
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4678 #ifndef __GNUC__
4679 choke me
4680 #endif
4683 return 0;
4685 _ACEOF
4686 if ac_fn_cxx_try_compile "$LINENO"; then :
4687 ac_compiler_gnu=yes
4688 else
4689 ac_compiler_gnu=no
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4692 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4696 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4697 if test $ac_compiler_gnu = yes; then
4698 GXX=yes
4699 else
4700 GXX=
4702 ac_test_CXXFLAGS=${CXXFLAGS+set}
4703 ac_save_CXXFLAGS=$CXXFLAGS
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4705 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4706 if ${ac_cv_prog_cxx_g+:} false; then :
4707 $as_echo_n "(cached) " >&6
4708 else
4709 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4710 ac_cxx_werror_flag=yes
4711 ac_cv_prog_cxx_g=no
4712 CXXFLAGS="-g"
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4717 main ()
4721 return 0;
4723 _ACEOF
4724 if ac_fn_cxx_try_compile "$LINENO"; then :
4725 ac_cv_prog_cxx_g=yes
4726 else
4727 CXXFLAGS=""
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4732 main ()
4736 return 0;
4738 _ACEOF
4739 if ac_fn_cxx_try_compile "$LINENO"; then :
4741 else
4742 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4743 CXXFLAGS="-g"
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4748 main ()
4752 return 0;
4754 _ACEOF
4755 if ac_fn_cxx_try_compile "$LINENO"; then :
4756 ac_cv_prog_cxx_g=yes
4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4766 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4767 if test "$ac_test_CXXFLAGS" = set; then
4768 CXXFLAGS=$ac_save_CXXFLAGS
4769 elif test $ac_cv_prog_cxx_g = yes; then
4770 if test "$GXX" = yes; then
4771 CXXFLAGS="-g -O2"
4772 else
4773 CXXFLAGS="-g"
4775 else
4776 if test "$GXX" = yes; then
4777 CXXFLAGS="-O2"
4778 else
4779 CXXFLAGS=
4782 ac_ext=c
4783 ac_cpp='$CPP $CPPFLAGS'
4784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4788 if test -n "$ac_tool_prefix"; then
4789 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4790 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_CPPBIN+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if test -n "$CPPBIN"; then
4797 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4802 IFS=$as_save_IFS
4803 test -z "$as_dir" && as_dir=.
4804 for ac_exec_ext in '' $ac_executable_extensions; do
4805 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4806 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 break 2
4810 done
4811 done
4812 IFS=$as_save_IFS
4816 CPPBIN=$ac_cv_prog_CPPBIN
4817 if test -n "$CPPBIN"; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4819 $as_echo "$CPPBIN" >&6; }
4820 else
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4827 if test -z "$ac_cv_prog_CPPBIN"; then
4828 ac_ct_CPPBIN=$CPPBIN
4829 # Extract the first word of "cpp", so it can be a program name with args.
4830 set dummy cpp; ac_word=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4834 $as_echo_n "(cached) " >&6
4835 else
4836 if test -n "$ac_ct_CPPBIN"; then
4837 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4838 else
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH
4842 IFS=$as_save_IFS
4843 test -z "$as_dir" && as_dir=.
4844 for ac_exec_ext in '' $ac_executable_extensions; do
4845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4846 ac_cv_prog_ac_ct_CPPBIN="cpp"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 break 2
4850 done
4851 done
4852 IFS=$as_save_IFS
4856 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4857 if test -n "$ac_ct_CPPBIN"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4859 $as_echo "$ac_ct_CPPBIN" >&6; }
4860 else
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4865 if test "x$ac_ct_CPPBIN" = x; then
4866 CPPBIN="cpp"
4867 else
4868 case $cross_compiling:$ac_tool_warned in
4869 yes:)
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4872 ac_tool_warned=yes ;;
4873 esac
4874 CPPBIN=$ac_ct_CPPBIN
4876 else
4877 CPPBIN="$ac_cv_prog_CPPBIN"
4881 cat >>confdefs.h <<_ACEOF
4882 #define EXEEXT "$ac_exeext"
4883 _ACEOF
4885 if test -n "$ac_tool_prefix"; then
4886 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}ld; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_LD+:} false; then :
4891 $as_echo_n "(cached) " >&6
4892 else
4893 if test -n "$LD"; then
4894 ac_cv_prog_LD="$LD" # Let the user override the test.
4895 else
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_LD="${ac_tool_prefix}ld"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 break 2
4907 done
4908 done
4909 IFS=$as_save_IFS
4913 LD=$ac_cv_prog_LD
4914 if test -n "$LD"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4916 $as_echo "$LD" >&6; }
4917 else
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_LD"; then
4925 ac_ct_LD=$LD
4926 # Extract the first word of "ld", so it can be a program name with args.
4927 set dummy ld; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4931 $as_echo_n "(cached) " >&6
4932 else
4933 if test -n "$ac_ct_LD"; then
4934 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939 IFS=$as_save_IFS
4940 test -z "$as_dir" && as_dir=.
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_ac_ct_LD="ld"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4954 if test -n "$ac_ct_LD"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4956 $as_echo "$ac_ct_LD" >&6; }
4957 else
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962 if test "x$ac_ct_LD" = x; then
4963 LD=""
4964 else
4965 case $cross_compiling:$ac_tool_warned in
4966 yes:)
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4970 esac
4971 LD=$ac_ct_LD
4973 else
4974 LD="$ac_cv_prog_LD"
4978 case $host in
4979 *-darwin*)
4980 with_fontconfig=${with_fontconfig:-no}
4982 *-mingw32*|*-cygwin*)
4983 enable_win16=${enable_win16:-no}
4984 CFLAGS="$CFLAGS -D_WIN32"
4986 esac
4988 case $host in
4989 x86_64*|amd64*)
4990 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4991 then
4992 CC="$CC -m32"
4993 CXX="$CXX -m32"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4995 $as_echo_n "checking whether $CC works... " >&6; }
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 main ()
5005 return 0;
5007 _ACEOF
5008 if ac_fn_c_try_link "$LINENO"; then :
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5010 $as_echo "yes" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5014 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5016 rm -f core conftest.err conftest.$ac_objext \
5017 conftest$ac_exeext conftest.$ac_ext
5018 host_cpu="i386"
5019 notice_platform="32-bit "
5020 TARGETFLAGS="-m32"
5022 enable_win16=${enable_win16:-yes}
5023 else
5024 if test "x${GCC}" = "xyes"
5025 then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5027 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5030 #include <stdarg.h>
5032 main ()
5034 void func(__builtin_ms_va_list *args);
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_compile "$LINENO"; then :
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5041 $as_echo "yes" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 CC="$CC -m64"
5050 CXX="$CXX -m64"
5051 host_cpu="x86_64"
5052 notice_platform="64-bit "
5053 TARGETFLAGS="-m64"
5057 arm*)
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5059 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5061 /* end confdefs.h. */
5062 int ac_test(int i) { return i; }
5064 main ()
5066 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5068 return 0;
5070 _ACEOF
5071 if ac_fn_c_try_link "$LINENO"; then :
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5073 $as_echo "yes" >&6; }
5074 else
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5077 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5079 rm -f core conftest.err conftest.$ac_objext \
5080 conftest$ac_exeext conftest.$ac_ext
5081 CFLAGS="$CFLAGS -marm"
5082 TARGETFLAGS="-marm"
5085 i[3456789]86*)
5086 enable_win16=${enable_win16:-yes}
5088 esac
5090 enable_win16=${enable_win16:-no}
5091 enable_win64=${enable_win64:-no}
5093 enable_winetest=${enable_winetest:-$enable_tests}
5095 if test -n "$with_wine64"
5096 then
5097 if test "x$enable_win64" = "xyes"
5098 then
5099 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5100 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5102 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5103 You should create a separate build directory and run configure from there." "$LINENO" 5
5104 enable_fonts=${enable_fonts:-no}
5105 enable_server=${enable_server:-no}
5106 elif test "x$enable_win64" = "xyes"
5107 then
5108 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5112 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5113 if ${wine_cv_toolsdir+:} false; then :
5114 $as_echo_n "(cached) " >&6
5115 else
5116 wine_cv_toolsdir="$with_wine_tools"
5117 if test -z "$with_wine_tools"; then
5118 if test "$cross_compiling" = "yes"; then
5119 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5120 elif test -n "$with_wine64"; then
5121 wine_cv_toolsdir="$with_wine64"
5124 if test -z "$wine_cv_toolsdir"; then
5125 wine_makedep=tools/makedep
5126 wine_cv_toolsdir="\$(top_builddir)"
5127 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5128 wine_makedep=$wine_cv_toolsdir/tools/makedep
5129 case "$wine_cv_toolsdir" in
5130 /*) ;;
5131 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5132 esac
5133 enable_tools=${enable_tools:-no}
5134 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5135 else
5136 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5140 $as_echo "$wine_cv_toolsdir" >&6; }
5141 TOOLSDIR=$wine_cv_toolsdir
5143 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5144 then
5145 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5149 for ac_prog in flex
5151 # Extract the first word of "$ac_prog", so it can be a program name with args.
5152 set dummy $ac_prog; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_prog_FLEX+:} false; then :
5156 $as_echo_n "(cached) " >&6
5157 else
5158 if test -n "$FLEX"; then
5159 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5160 else
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH
5164 IFS=$as_save_IFS
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 ac_cv_prog_FLEX="$ac_prog"
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 break 2
5172 done
5173 done
5174 IFS=$as_save_IFS
5178 FLEX=$ac_cv_prog_FLEX
5179 if test -n "$FLEX"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5181 $as_echo "$FLEX" >&6; }
5182 else
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 test -n "$FLEX" && break
5189 done
5190 test -n "$FLEX" || FLEX="none"
5192 if test "$FLEX" = "none"
5193 then
5194 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5197 $as_echo_n "checking whether flex is recent enough... " >&6; }
5198 cat >conftest.l <<EOF
5199 %top{
5200 #include "prediluvian.h"
5204 if $FLEX -t conftest.l >/dev/null 2>&5
5205 then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5207 $as_echo "yes" >&6; }
5208 else
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5211 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5214 for ac_prog in bison
5216 # Extract the first word of "$ac_prog", so it can be a program name with args.
5217 set dummy $ac_prog; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_BISON+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$BISON"; then
5224 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_BISON="$ac_prog"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 BISON=$ac_cv_prog_BISON
5244 if test -n "$BISON"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5246 $as_echo "$BISON" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5253 test -n "$BISON" && break
5254 done
5255 test -n "$BISON" || BISON="none"
5257 if test "$BISON" = "none"
5258 then
5259 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5262 if test -n "$ac_tool_prefix"; then
5263 for ac_prog in ar gar
5265 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if ${ac_cv_prog_AR+:} false; then :
5270 $as_echo_n "(cached) " >&6
5271 else
5272 if test -n "$AR"; then
5273 ac_cv_prog_AR="$AR" # Let the user override the test.
5274 else
5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5276 for as_dir in $PATH
5278 IFS=$as_save_IFS
5279 test -z "$as_dir" && as_dir=.
5280 for ac_exec_ext in '' $ac_executable_extensions; do
5281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5282 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 break 2
5286 done
5287 done
5288 IFS=$as_save_IFS
5292 AR=$ac_cv_prog_AR
5293 if test -n "$AR"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5295 $as_echo "$AR" >&6; }
5296 else
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 test -n "$AR" && break
5303 done
5305 if test -z "$AR"; then
5306 ac_ct_AR=$AR
5307 for ac_prog in ar gar
5309 # Extract the first word of "$ac_prog", so it can be a program name with args.
5310 set dummy $ac_prog; ac_word=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5314 $as_echo_n "(cached) " >&6
5315 else
5316 if test -n "$ac_ct_AR"; then
5317 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5318 else
5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5320 for as_dir in $PATH
5322 IFS=$as_save_IFS
5323 test -z "$as_dir" && as_dir=.
5324 for ac_exec_ext in '' $ac_executable_extensions; do
5325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5326 ac_cv_prog_ac_ct_AR="$ac_prog"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 break 2
5330 done
5331 done
5332 IFS=$as_save_IFS
5336 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5337 if test -n "$ac_ct_AR"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5339 $as_echo "$ac_ct_AR" >&6; }
5340 else
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5346 test -n "$ac_ct_AR" && break
5347 done
5349 if test "x$ac_ct_AR" = x; then
5350 AR="ar"
5351 else
5352 case $cross_compiling:$ac_tool_warned in
5353 yes:)
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5356 ac_tool_warned=yes ;;
5357 esac
5358 AR=$ac_ct_AR
5362 if test -n "$ac_tool_prefix"; then
5363 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5364 set dummy ${ac_tool_prefix}strip; ac_word=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if ${ac_cv_prog_STRIP+:} false; then :
5368 $as_echo_n "(cached) " >&6
5369 else
5370 if test -n "$STRIP"; then
5371 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5372 else
5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5374 for as_dir in $PATH
5376 IFS=$as_save_IFS
5377 test -z "$as_dir" && as_dir=.
5378 for ac_exec_ext in '' $ac_executable_extensions; do
5379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 break 2
5384 done
5385 done
5386 IFS=$as_save_IFS
5390 STRIP=$ac_cv_prog_STRIP
5391 if test -n "$STRIP"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5393 $as_echo "$STRIP" >&6; }
5394 else
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5401 if test -z "$ac_cv_prog_STRIP"; then
5402 ac_ct_STRIP=$STRIP
5403 # Extract the first word of "strip", so it can be a program name with args.
5404 set dummy strip; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5406 $as_echo_n "checking for $ac_word... " >&6; }
5407 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5408 $as_echo_n "(cached) " >&6
5409 else
5410 if test -n "$ac_ct_STRIP"; then
5411 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5412 else
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH
5416 IFS=$as_save_IFS
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_ac_ct_STRIP="strip"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 break 2
5424 done
5425 done
5426 IFS=$as_save_IFS
5430 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5431 if test -n "$ac_ct_STRIP"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5433 $as_echo "$ac_ct_STRIP" >&6; }
5434 else
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5436 $as_echo "no" >&6; }
5439 if test "x$ac_ct_STRIP" = x; then
5440 STRIP="strip"
5441 else
5442 case $cross_compiling:$ac_tool_warned in
5443 yes:)
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5446 ac_tool_warned=yes ;;
5447 esac
5448 STRIP=$ac_ct_STRIP
5450 else
5451 STRIP="$ac_cv_prog_STRIP"
5454 ARFLAGS=rc
5456 if test -n "$ac_tool_prefix"; then
5457 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5458 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_RANLIB+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$RANLIB"; then
5465 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 RANLIB=$ac_cv_prog_RANLIB
5485 if test -n "$RANLIB"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5487 $as_echo "$RANLIB" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5495 if test -z "$ac_cv_prog_RANLIB"; then
5496 ac_ct_RANLIB=$RANLIB
5497 # Extract the first word of "ranlib", so it can be a program name with args.
5498 set dummy ranlib; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$ac_ct_RANLIB"; then
5505 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_ac_ct_RANLIB="ranlib"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5525 if test -n "$ac_ct_RANLIB"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5527 $as_echo "$ac_ct_RANLIB" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5533 if test "x$ac_ct_RANLIB" = x; then
5534 RANLIB=":"
5535 else
5536 case $cross_compiling:$ac_tool_warned in
5537 yes:)
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5541 esac
5542 RANLIB=$ac_ct_RANLIB
5544 else
5545 RANLIB="$ac_cv_prog_RANLIB"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5549 $as_echo_n "checking whether ln -s works... " >&6; }
5550 LN_S=$as_ln_s
5551 if test "$LN_S" = "ln -s"; then
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5553 $as_echo "yes" >&6; }
5554 else
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5556 $as_echo "no, using $LN_S" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5560 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5561 if ${ac_cv_path_GREP+:} false; then :
5562 $as_echo_n "(cached) " >&6
5563 else
5564 if test -z "$GREP"; then
5565 ac_path_GREP_found=false
5566 # Loop through the user's path and test for each of PROGNAME-LIST
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_prog in grep ggrep; do
5573 for ac_exec_ext in '' $ac_executable_extensions; do
5574 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5575 as_fn_executable_p "$ac_path_GREP" || continue
5576 # Check for GNU ac_path_GREP and select it if it is found.
5577 # Check for GNU $ac_path_GREP
5578 case `"$ac_path_GREP" --version 2>&1` in
5579 *GNU*)
5580 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5582 ac_count=0
5583 $as_echo_n 0123456789 >"conftest.in"
5584 while :
5586 cat "conftest.in" "conftest.in" >"conftest.tmp"
5587 mv "conftest.tmp" "conftest.in"
5588 cp "conftest.in" "conftest.nl"
5589 $as_echo 'GREP' >> "conftest.nl"
5590 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5591 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5592 as_fn_arith $ac_count + 1 && ac_count=$as_val
5593 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5594 # Best one so far, save it but keep looking for a better one
5595 ac_cv_path_GREP="$ac_path_GREP"
5596 ac_path_GREP_max=$ac_count
5598 # 10*(2^10) chars as input seems more than enough
5599 test $ac_count -gt 10 && break
5600 done
5601 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5602 esac
5604 $ac_path_GREP_found && break 3
5605 done
5606 done
5607 done
5608 IFS=$as_save_IFS
5609 if test -z "$ac_cv_path_GREP"; then
5610 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5612 else
5613 ac_cv_path_GREP=$GREP
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5618 $as_echo "$ac_cv_path_GREP" >&6; }
5619 GREP="$ac_cv_path_GREP"
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5623 $as_echo_n "checking for egrep... " >&6; }
5624 if ${ac_cv_path_EGREP+:} false; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5628 then ac_cv_path_EGREP="$GREP -E"
5629 else
5630 if test -z "$EGREP"; then
5631 ac_path_EGREP_found=false
5632 # Loop through the user's path and test for each of PROGNAME-LIST
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_prog in egrep; do
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5641 as_fn_executable_p "$ac_path_EGREP" || continue
5642 # Check for GNU ac_path_EGREP and select it if it is found.
5643 # Check for GNU $ac_path_EGREP
5644 case `"$ac_path_EGREP" --version 2>&1` in
5645 *GNU*)
5646 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5648 ac_count=0
5649 $as_echo_n 0123456789 >"conftest.in"
5650 while :
5652 cat "conftest.in" "conftest.in" >"conftest.tmp"
5653 mv "conftest.tmp" "conftest.in"
5654 cp "conftest.in" "conftest.nl"
5655 $as_echo 'EGREP' >> "conftest.nl"
5656 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5657 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5658 as_fn_arith $ac_count + 1 && ac_count=$as_val
5659 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5660 # Best one so far, save it but keep looking for a better one
5661 ac_cv_path_EGREP="$ac_path_EGREP"
5662 ac_path_EGREP_max=$ac_count
5664 # 10*(2^10) chars as input seems more than enough
5665 test $ac_count -gt 10 && break
5666 done
5667 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5668 esac
5670 $ac_path_EGREP_found && break 3
5671 done
5672 done
5673 done
5674 IFS=$as_save_IFS
5675 if test -z "$ac_cv_path_EGREP"; then
5676 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5678 else
5679 ac_cv_path_EGREP=$EGREP
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5685 $as_echo "$ac_cv_path_EGREP" >&6; }
5686 EGREP="$ac_cv_path_EGREP"
5689 # Extract the first word of "ldconfig", so it can be a program name with args.
5690 set dummy ldconfig; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_path_LDCONFIG+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 case $LDCONFIG in
5697 [\\/]* | ?:[\\/]*)
5698 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 for as_dir in /sbin /usr/sbin $PATH
5704 IFS=$as_save_IFS
5705 test -z "$as_dir" && as_dir=.
5706 for ac_exec_ext in '' $ac_executable_extensions; do
5707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5708 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 break 2
5712 done
5713 done
5714 IFS=$as_save_IFS
5716 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5718 esac
5720 LDCONFIG=$ac_cv_path_LDCONFIG
5721 if test -n "$LDCONFIG"; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5723 $as_echo "$LDCONFIG" >&6; }
5724 else
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }
5730 for ac_prog in msgfmt
5732 # Extract the first word of "$ac_prog", so it can be a program name with args.
5733 set dummy $ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_MSGFMT+:} false; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$MSGFMT"; then
5740 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_MSGFMT="$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 MSGFMT=$ac_cv_prog_MSGFMT
5760 if test -n "$MSGFMT"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5762 $as_echo "$MSGFMT" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$MSGFMT" && break
5770 done
5771 test -n "$MSGFMT" || MSGFMT="false"
5773 if ${ac_tool_prefix+:} false; then :
5774 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5775 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5779 $as_echo_n "(cached) " >&6
5780 else
5781 if test -n "$PKG_CONFIG"; then
5782 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5783 else
5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5785 for as_dir in $PATH
5787 IFS=$as_save_IFS
5788 test -z "$as_dir" && as_dir=.
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793 break 2
5795 done
5796 done
5797 IFS=$as_save_IFS
5801 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5802 if test -n "$PKG_CONFIG"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5804 $as_echo "$PKG_CONFIG" >&6; }
5805 else
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5812 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5813 if test "x$cross_compiling" = xyes; then :
5815 else
5816 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5817 # Extract the first word of "pkg-config", so it can be a program name with args.
5818 set dummy pkg-config; ac_word=$2
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5820 $as_echo_n "checking for $ac_word... " >&6; }
5821 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 if test -n "$PKG_CONFIG"; then
5825 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5826 else
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_prog_PKG_CONFIG="pkg-config"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5844 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5845 if test -n "$PKG_CONFIG"; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5847 $as_echo "$PKG_CONFIG" >&6; }
5848 else
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5850 $as_echo "no" >&6; }
5855 else
5856 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5859 if test "x$enable_maintainer_mode" != "xyes"
5860 then
5861 FONTFORGE=""
5862 RSVG=""
5863 CONVERT=""
5864 ICOTOOL=""
5865 else
5866 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5867 for ac_prog in fontforge
5869 # Extract the first word of "$ac_prog", so it can be a program name with args.
5870 set dummy $ac_prog; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_FONTFORGE+:} false; then :
5874 $as_echo_n "(cached) " >&6
5875 else
5876 if test -n "$FONTFORGE"; then
5877 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886 ac_cv_prog_FONTFORGE="$ac_prog"
5887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5896 FONTFORGE=$ac_cv_prog_FONTFORGE
5897 if test -n "$FONTFORGE"; then
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5899 $as_echo "$FONTFORGE" >&6; }
5900 else
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5906 test -n "$FONTFORGE" && break
5907 done
5908 test -n "$FONTFORGE" || FONTFORGE="false"
5910 for ac_prog in rsvg-convert rsvg
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy $ac_prog; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if ${ac_cv_prog_RSVG+:} false; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$RSVG"; then
5920 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5929 ac_cv_prog_RSVG="$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5933 done
5934 done
5935 IFS=$as_save_IFS
5939 RSVG=$ac_cv_prog_RSVG
5940 if test -n "$RSVG"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5942 $as_echo "$RSVG" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5949 test -n "$RSVG" && break
5950 done
5951 test -n "$RSVG" || RSVG="false"
5953 for ac_prog in convert
5955 # Extract the first word of "$ac_prog", so it can be a program name with args.
5956 set dummy $ac_prog; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_CONVERT+:} false; then :
5960 $as_echo_n "(cached) " >&6
5961 else
5962 if test -n "$CONVERT"; then
5963 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_CONVERT="$ac_prog"
5973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5978 IFS=$as_save_IFS
5982 CONVERT=$ac_cv_prog_CONVERT
5983 if test -n "$CONVERT"; then
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5985 $as_echo "$CONVERT" >&6; }
5986 else
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5992 test -n "$CONVERT" && break
5993 done
5994 test -n "$CONVERT" || CONVERT="false"
5996 for ac_prog in icotool
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ICOTOOL+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$ICOTOOL"; then
6006 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ICOTOOL="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 ICOTOOL=$ac_cv_prog_ICOTOOL
6026 if test -n "$ICOTOOL"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6028 $as_echo "$ICOTOOL" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$ICOTOOL" && break
6036 done
6037 test -n "$ICOTOOL" || ICOTOOL="false"
6039 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6040 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6042 if test "$CONVERT" = false
6043 then
6044 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6047 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6048 convert_version=`convert --version | head -n1`
6049 if test "x$convert_version" != "x"
6050 then
6051 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6052 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6053 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6054 then
6055 CONVERT=false
6058 if test "$CONVERT" = false
6059 then
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6061 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6062 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6063 else
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6065 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6069 if test "$ICOTOOL" = false
6070 then
6071 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6072 else
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6074 $as_echo_n "checking for recent enough icotool... " >&6; }
6075 icotool_version=`icotool --version | head -n1`
6076 if test "x$icotool_version" != "x"
6077 then
6078 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6079 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6080 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6081 then
6082 ICOTOOL=false
6083 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6086 if test "$ICOTOOL" = false
6087 then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6089 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6090 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6091 else
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6093 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6097 with_gettext=yes
6098 with_gettextpo=yes
6099 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6102 test "x$with_gettext" != xno || MSGFMT=false
6103 if test "$MSGFMT" != "false"
6104 then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6106 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6107 cat >conftest.po <<EOF
6108 # comment
6109 msgctxt "ctxt"
6110 msgid "id"
6111 msgstr "str"
6113 if $MSGFMT -o /dev/null conftest.po 2>&5
6114 then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6116 $as_echo "yes" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6120 MSGFMT=false
6123 if test "$MSGFMT" = false; then :
6124 case "x$with_gettext" in
6125 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6126 xno) ;;
6127 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6128 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6129 esac
6130 enable_po=${enable_po:-no}
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6135 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6136 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6137 $as_echo_n "(cached) " >&6
6138 else
6139 ac_check_lib_save_LIBS=$LIBS
6140 LIBS="-li386 $LIBS"
6141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6142 /* end confdefs.h. */
6144 /* Override any GCC internal prototype to avoid an error.
6145 Use char because int might match the return type of a GCC
6146 builtin and then its argument prototype would still apply. */
6147 #ifdef __cplusplus
6148 extern "C"
6149 #endif
6150 char i386_set_ldt ();
6152 main ()
6154 return i386_set_ldt ();
6156 return 0;
6158 _ACEOF
6159 if ac_fn_c_try_link "$LINENO"; then :
6160 ac_cv_lib_i386_i386_set_ldt=yes
6161 else
6162 ac_cv_lib_i386_i386_set_ldt=no
6164 rm -f core conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LIBS=$ac_check_lib_save_LIBS
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6169 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6170 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6171 cat >>confdefs.h <<_ACEOF
6172 #define HAVE_LIBI386 1
6173 _ACEOF
6175 LIBS="-li386 $LIBS"
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6180 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6181 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 ac_check_lib_save_LIBS=$LIBS
6185 LIBS="-lossaudio $LIBS"
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6189 /* Override any GCC internal prototype to avoid an error.
6190 Use char because int might match the return type of a GCC
6191 builtin and then its argument prototype would still apply. */
6192 #ifdef __cplusplus
6193 extern "C"
6194 #endif
6195 char _oss_ioctl ();
6197 main ()
6199 return _oss_ioctl ();
6201 return 0;
6203 _ACEOF
6204 if ac_fn_c_try_link "$LINENO"; then :
6205 ac_cv_lib_ossaudio__oss_ioctl=yes
6206 else
6207 ac_cv_lib_ossaudio__oss_ioctl=no
6209 rm -f core conftest.err conftest.$ac_objext \
6210 conftest$ac_exeext conftest.$ac_ext
6211 LIBS=$ac_check_lib_save_LIBS
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6214 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6215 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6216 cat >>confdefs.h <<_ACEOF
6217 #define HAVE_LIBOSSAUDIO 1
6218 _ACEOF
6220 LIBS="-lossaudio $LIBS"
6225 OPENGL_LIBS=""
6229 # Check whether --enable-largefile was given.
6230 if test "${enable_largefile+set}" = set; then :
6231 enableval=$enable_largefile;
6234 if test "$enable_largefile" != no; then
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6237 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6238 if ${ac_cv_sys_largefile_CC+:} false; then :
6239 $as_echo_n "(cached) " >&6
6240 else
6241 ac_cv_sys_largefile_CC=no
6242 if test "$GCC" != yes; then
6243 ac_save_CC=$CC
6244 while :; do
6245 # IRIX 6.2 and later do not support large files by default,
6246 # so use the C compiler's -n32 option if that helps.
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #include <sys/types.h>
6250 /* Check that off_t can represent 2**63 - 1 correctly.
6251 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6252 since some C++ compilers masquerading as C compilers
6253 incorrectly reject 9223372036854775807. */
6254 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6255 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6256 && LARGE_OFF_T % 2147483647 == 1)
6257 ? 1 : -1];
6259 main ()
6263 return 0;
6265 _ACEOF
6266 if ac_fn_c_try_compile "$LINENO"; then :
6267 break
6269 rm -f core conftest.err conftest.$ac_objext
6270 CC="$CC -n32"
6271 if ac_fn_c_try_compile "$LINENO"; then :
6272 ac_cv_sys_largefile_CC=' -n32'; break
6274 rm -f core conftest.err conftest.$ac_objext
6275 break
6276 done
6277 CC=$ac_save_CC
6278 rm -f conftest.$ac_ext
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6282 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6283 if test "$ac_cv_sys_largefile_CC" != no; then
6284 CC=$CC$ac_cv_sys_largefile_CC
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6288 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6289 if ${ac_cv_sys_file_offset_bits+:} false; then :
6290 $as_echo_n "(cached) " >&6
6291 else
6292 while :; do
6293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h. */
6295 #include <sys/types.h>
6296 /* Check that off_t can represent 2**63 - 1 correctly.
6297 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6298 since some C++ compilers masquerading as C compilers
6299 incorrectly reject 9223372036854775807. */
6300 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6301 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6302 && LARGE_OFF_T % 2147483647 == 1)
6303 ? 1 : -1];
6305 main ()
6309 return 0;
6311 _ACEOF
6312 if ac_fn_c_try_compile "$LINENO"; then :
6313 ac_cv_sys_file_offset_bits=no; break
6315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6317 /* end confdefs.h. */
6318 #define _FILE_OFFSET_BITS 64
6319 #include <sys/types.h>
6320 /* Check that off_t can represent 2**63 - 1 correctly.
6321 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6322 since some C++ compilers masquerading as C compilers
6323 incorrectly reject 9223372036854775807. */
6324 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6325 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6326 && LARGE_OFF_T % 2147483647 == 1)
6327 ? 1 : -1];
6329 main ()
6333 return 0;
6335 _ACEOF
6336 if ac_fn_c_try_compile "$LINENO"; then :
6337 ac_cv_sys_file_offset_bits=64; break
6339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340 ac_cv_sys_file_offset_bits=unknown
6341 break
6342 done
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6345 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6346 case $ac_cv_sys_file_offset_bits in #(
6347 no | unknown) ;;
6349 cat >>confdefs.h <<_ACEOF
6350 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6351 _ACEOF
6353 esac
6354 rm -rf conftest*
6355 if test $ac_cv_sys_file_offset_bits = unknown; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6357 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6358 if ${ac_cv_sys_large_files+:} false; then :
6359 $as_echo_n "(cached) " >&6
6360 else
6361 while :; do
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #include <sys/types.h>
6365 /* Check that off_t can represent 2**63 - 1 correctly.
6366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6367 since some C++ compilers masquerading as C compilers
6368 incorrectly reject 9223372036854775807. */
6369 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6371 && LARGE_OFF_T % 2147483647 == 1)
6372 ? 1 : -1];
6374 main ()
6378 return 0;
6380 _ACEOF
6381 if ac_fn_c_try_compile "$LINENO"; then :
6382 ac_cv_sys_large_files=no; break
6384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #define _LARGE_FILES 1
6388 #include <sys/types.h>
6389 /* Check that off_t can represent 2**63 - 1 correctly.
6390 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6391 since some C++ compilers masquerading as C compilers
6392 incorrectly reject 9223372036854775807. */
6393 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6394 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6395 && LARGE_OFF_T % 2147483647 == 1)
6396 ? 1 : -1];
6398 main ()
6402 return 0;
6404 _ACEOF
6405 if ac_fn_c_try_compile "$LINENO"; then :
6406 ac_cv_sys_large_files=1; break
6408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6409 ac_cv_sys_large_files=unknown
6410 break
6411 done
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6414 $as_echo "$ac_cv_sys_large_files" >&6; }
6415 case $ac_cv_sys_large_files in #(
6416 no | unknown) ;;
6418 cat >>confdefs.h <<_ACEOF
6419 #define _LARGE_FILES $ac_cv_sys_large_files
6420 _ACEOF
6422 esac
6423 rm -rf conftest*
6430 ac_ext=c
6431 ac_cpp='$CPP $CPPFLAGS'
6432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6436 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6437 # On Suns, sometimes $CPP names a directory.
6438 if test -n "$CPP" && test -d "$CPP"; then
6439 CPP=
6441 if test -z "$CPP"; then
6442 if ${ac_cv_prog_CPP+:} false; then :
6443 $as_echo_n "(cached) " >&6
6444 else
6445 # Double quotes because CPP needs to be expanded
6446 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6448 ac_preproc_ok=false
6449 for ac_c_preproc_warn_flag in '' yes
6451 # Use a header file that comes with gcc, so configuring glibc
6452 # with a fresh cross-compiler works.
6453 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6454 # <limits.h> exists even on freestanding compilers.
6455 # On the NeXT, cc -E runs the code through the compiler's parser,
6456 # not just through cpp. "Syntax error" is here to catch this case.
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #ifdef __STDC__
6460 # include <limits.h>
6461 #else
6462 # include <assert.h>
6463 #endif
6464 Syntax error
6465 _ACEOF
6466 if ac_fn_c_try_cpp "$LINENO"; then :
6468 else
6469 # Broken: fails on valid input.
6470 continue
6472 rm -f conftest.err conftest.i conftest.$ac_ext
6474 # OK, works on sane cases. Now check whether nonexistent headers
6475 # can be detected and how.
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6478 #include <ac_nonexistent.h>
6479 _ACEOF
6480 if ac_fn_c_try_cpp "$LINENO"; then :
6481 # Broken: success on invalid input.
6482 continue
6483 else
6484 # Passes both tests.
6485 ac_preproc_ok=:
6486 break
6488 rm -f conftest.err conftest.i conftest.$ac_ext
6490 done
6491 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6492 rm -f conftest.i conftest.err conftest.$ac_ext
6493 if $ac_preproc_ok; then :
6494 break
6497 done
6498 ac_cv_prog_CPP=$CPP
6501 CPP=$ac_cv_prog_CPP
6502 else
6503 ac_cv_prog_CPP=$CPP
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6506 $as_echo "$CPP" >&6; }
6507 ac_preproc_ok=false
6508 for ac_c_preproc_warn_flag in '' yes
6510 # Use a header file that comes with gcc, so configuring glibc
6511 # with a fresh cross-compiler works.
6512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6513 # <limits.h> exists even on freestanding compilers.
6514 # On the NeXT, cc -E runs the code through the compiler's parser,
6515 # not just through cpp. "Syntax error" is here to catch this case.
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6518 #ifdef __STDC__
6519 # include <limits.h>
6520 #else
6521 # include <assert.h>
6522 #endif
6523 Syntax error
6524 _ACEOF
6525 if ac_fn_c_try_cpp "$LINENO"; then :
6527 else
6528 # Broken: fails on valid input.
6529 continue
6531 rm -f conftest.err conftest.i conftest.$ac_ext
6533 # OK, works on sane cases. Now check whether nonexistent headers
6534 # can be detected and how.
6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537 #include <ac_nonexistent.h>
6538 _ACEOF
6539 if ac_fn_c_try_cpp "$LINENO"; then :
6540 # Broken: success on invalid input.
6541 continue
6542 else
6543 # Passes both tests.
6544 ac_preproc_ok=:
6545 break
6547 rm -f conftest.err conftest.i conftest.$ac_ext
6549 done
6550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6551 rm -f conftest.i conftest.err conftest.$ac_ext
6552 if $ac_preproc_ok; then :
6554 else
6555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6557 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6558 See \`config.log' for more details" "$LINENO" 5; }
6561 ac_ext=c
6562 ac_cpp='$CPP $CPPFLAGS'
6563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6569 $as_echo_n "checking for ANSI C header files... " >&6; }
6570 if ${ac_cv_header_stdc+:} false; then :
6571 $as_echo_n "(cached) " >&6
6572 else
6573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 /* end confdefs.h. */
6575 #include <stdlib.h>
6576 #include <stdarg.h>
6577 #include <string.h>
6578 #include <float.h>
6581 main ()
6585 return 0;
6587 _ACEOF
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589 ac_cv_header_stdc=yes
6590 else
6591 ac_cv_header_stdc=no
6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6595 if test $ac_cv_header_stdc = yes; then
6596 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6599 #include <string.h>
6601 _ACEOF
6602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6603 $EGREP "memchr" >/dev/null 2>&1; then :
6605 else
6606 ac_cv_header_stdc=no
6608 rm -f conftest*
6612 if test $ac_cv_header_stdc = yes; then
6613 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6615 /* end confdefs.h. */
6616 #include <stdlib.h>
6618 _ACEOF
6619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6620 $EGREP "free" >/dev/null 2>&1; then :
6622 else
6623 ac_cv_header_stdc=no
6625 rm -f conftest*
6629 if test $ac_cv_header_stdc = yes; then
6630 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6631 if test "$cross_compiling" = yes; then :
6633 else
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #include <ctype.h>
6637 #include <stdlib.h>
6638 #if ((' ' & 0x0FF) == 0x020)
6639 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6640 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6641 #else
6642 # define ISLOWER(c) \
6643 (('a' <= (c) && (c) <= 'i') \
6644 || ('j' <= (c) && (c) <= 'r') \
6645 || ('s' <= (c) && (c) <= 'z'))
6646 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6647 #endif
6649 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6651 main ()
6653 int i;
6654 for (i = 0; i < 256; i++)
6655 if (XOR (islower (i), ISLOWER (i))
6656 || toupper (i) != TOUPPER (i))
6657 return 2;
6658 return 0;
6660 _ACEOF
6661 if ac_fn_c_try_run "$LINENO"; then :
6663 else
6664 ac_cv_header_stdc=no
6666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6667 conftest.$ac_objext conftest.beam conftest.$ac_ext
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6673 $as_echo "$ac_cv_header_stdc" >&6; }
6674 if test $ac_cv_header_stdc = yes; then
6676 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6680 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6681 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6682 inttypes.h stdint.h unistd.h
6683 do :
6684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6687 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6688 cat >>confdefs.h <<_ACEOF
6689 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6690 _ACEOF
6694 done
6697 for ac_header in \
6698 AL/al.h \
6699 ApplicationServices/ApplicationServices.h \
6700 AudioToolbox/AudioConverter.h \
6701 AudioUnit/AudioUnit.h \
6702 AudioUnit/AudioComponent.h \
6703 CL/cl.h \
6704 Carbon/Carbon.h \
6705 CommonCrypto/CommonDigest.h \
6706 CoreAudio/CoreAudio.h \
6707 CoreServices/CoreServices.h \
6708 DiskArbitration/DiskArbitration.h \
6709 IOKit/IOKitLib.h \
6710 IOKit/hid/IOHIDLib.h \
6711 OpenAL/al.h \
6712 OpenCL/opencl.h \
6713 QuickTime/ImageCompression.h \
6714 Security/Security.h \
6715 alias.h \
6716 alsa/asoundlib.h \
6717 arpa/inet.h \
6718 arpa/nameser.h \
6719 asm/types.h \
6720 asm/user.h \
6721 curses.h \
6722 direct.h \
6723 dirent.h \
6724 dlfcn.h \
6725 elf.h \
6726 float.h \
6727 fnmatch.h \
6728 getopt.h \
6729 gettext-po.h \
6730 grp.h \
6731 gsm.h \
6732 gsm/gsm.h \
6733 ieeefp.h \
6734 inet/mib2.h \
6735 io.h \
6736 kstat.h \
6737 lber.h \
6738 ldap.h \
6739 libproc.h \
6740 link.h \
6741 linux/cdrom.h \
6742 linux/compiler.h \
6743 linux/filter.h \
6744 linux/hdreg.h \
6745 linux/input.h \
6746 linux/ioctl.h \
6747 linux/joystick.h \
6748 linux/major.h \
6749 linux/param.h \
6750 linux/serial.h \
6751 linux/types.h \
6752 linux/ucdrom.h \
6753 lwp.h \
6754 mach-o/nlist.h \
6755 mach-o/loader.h \
6756 mach/mach.h \
6757 mach/machine.h \
6758 machine/cpu.h \
6759 machine/limits.h \
6760 machine/sysarch.h \
6761 mntent.h \
6762 ncurses.h \
6763 netdb.h \
6764 netinet/in.h \
6765 netinet/in_systm.h \
6766 netinet/tcp.h \
6767 netinet/tcp_fsm.h \
6768 pcap/pcap.h \
6769 poll.h \
6770 port.h \
6771 process.h \
6772 pthread.h \
6773 pwd.h \
6774 sched.h \
6775 scsi/scsi.h \
6776 scsi/scsi_ioctl.h \
6777 scsi/sg.h \
6778 stdbool.h \
6779 stdint.h \
6780 stropts.h \
6781 sys/asoundlib.h \
6782 sys/attr.h \
6783 sys/cdio.h \
6784 sys/elf32.h \
6785 sys/epoll.h \
6786 sys/event.h \
6787 sys/exec_elf.h \
6788 sys/filio.h \
6789 sys/inotify.h \
6790 sys/ioctl.h \
6791 sys/ipc.h \
6792 sys/limits.h \
6793 sys/link.h \
6794 sys/mman.h \
6795 sys/modem.h \
6796 sys/msg.h \
6797 sys/mtio.h \
6798 sys/param.h \
6799 sys/poll.h \
6800 sys/prctl.h \
6801 sys/protosw.h \
6802 sys/ptrace.h \
6803 sys/queue.h \
6804 sys/resource.h \
6805 sys/scsiio.h \
6806 sys/shm.h \
6807 sys/signal.h \
6808 sys/socket.h \
6809 sys/socketvar.h \
6810 sys/sockio.h \
6811 sys/statvfs.h \
6812 sys/strtio.h \
6813 sys/syscall.h \
6814 sys/sysinfo.h \
6815 sys/tihdr.h \
6816 sys/time.h \
6817 sys/timeout.h \
6818 sys/times.h \
6819 sys/uio.h \
6820 sys/user.h \
6821 sys/utsname.h \
6822 sys/vm86.h \
6823 sys/vnode.h \
6824 sys/wait.h \
6825 syscall.h \
6826 termios.h \
6827 unistd.h \
6828 utime.h \
6829 valgrind/memcheck.h \
6830 valgrind/valgrind.h \
6831 zlib.h
6833 do :
6834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6836 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6837 cat >>confdefs.h <<_ACEOF
6838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6839 _ACEOF
6843 done
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6846 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6847 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6848 $as_echo_n "(cached) " >&6
6849 else
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 #include <sys/types.h>
6854 main ()
6856 return makedev(0, 0);
6858 return 0;
6860 _ACEOF
6861 if ac_fn_c_try_link "$LINENO"; then :
6862 ac_cv_header_sys_types_h_makedev=yes
6863 else
6864 ac_cv_header_sys_types_h_makedev=no
6866 rm -f core conftest.err conftest.$ac_objext \
6867 conftest$ac_exeext conftest.$ac_ext
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6871 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6873 if test $ac_cv_header_sys_types_h_makedev = no; then
6874 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6875 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6877 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6883 if test $ac_cv_header_sys_mkdev_h = no; then
6884 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6885 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6887 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6896 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6897 if ${ac_cv_header_stat_broken+:} false; then :
6898 $as_echo_n "(cached) " >&6
6899 else
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6901 /* end confdefs.h. */
6902 #include <sys/types.h>
6903 #include <sys/stat.h>
6905 #if defined S_ISBLK && defined S_IFDIR
6906 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6907 #endif
6909 #if defined S_ISBLK && defined S_IFCHR
6910 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6911 #endif
6913 #if defined S_ISLNK && defined S_IFREG
6914 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6915 #endif
6917 #if defined S_ISSOCK && defined S_IFREG
6918 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6919 #endif
6921 _ACEOF
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 ac_cv_header_stat_broken=no
6924 else
6925 ac_cv_header_stat_broken=yes
6927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6930 $as_echo "$ac_cv_header_stat_broken" >&6; }
6931 if test $ac_cv_header_stat_broken = yes; then
6933 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6939 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6940 do :
6941 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6942 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6943 #ifdef HAVE_SYS_PARAM_H
6944 # include <sys/param.h>
6945 #endif
6947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6948 cat >>confdefs.h <<_ACEOF
6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950 _ACEOF
6954 done
6957 for ac_header in \
6958 netinet/ip.h \
6959 net/if.h \
6960 net/if_arp.h \
6961 net/if_dl.h \
6962 net/if_types.h \
6963 net/route.h \
6964 netinet/if_ether.h \
6965 netinet/if_inarp.h \
6966 netinet/in_pcb.h \
6967 netinet/ip_icmp.h \
6968 netinet/ip_var.h \
6969 netinet/udp.h \
6970 netipx/ipx.h \
6971 sys/un.h \
6973 do :
6974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6975 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6976 #ifdef HAVE_SYS_SOCKET_H
6977 # include <sys/socket.h>
6978 #endif
6979 #ifdef HAVE_SYS_SOCKETVAR_H
6980 # include <sys/socketvar.h>
6981 #endif
6982 #ifdef HAVE_NET_ROUTE_H
6983 # include <net/route.h>
6984 #endif
6985 #ifdef HAVE_NETINET_IN_H
6986 # include <netinet/in.h>
6987 #endif
6988 #ifdef HAVE_NETINET_IN_SYSTM_H
6989 # include <netinet/in_systm.h>
6990 #endif
6991 #ifdef HAVE_NET_IF_H
6992 # include <net/if.h>
6993 #endif
6994 #ifdef HAVE_NETINET_IP_H
6995 # include <netinet/ip.h>
6996 #endif
6998 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6999 cat >>confdefs.h <<_ACEOF
7000 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7001 _ACEOF
7005 done
7008 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7009 do :
7010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7012 #ifdef HAVE_ALIAS_H
7013 # include <alias.h>
7014 #endif
7015 #ifdef HAVE_SYS_SOCKET_H
7016 # include <sys/socket.h>
7017 #endif
7018 #ifdef HAVE_SYS_SOCKETVAR_H
7019 # include <sys/socketvar.h>
7020 #endif
7021 #ifdef HAVE_SYS_TIMEOUT_H
7022 # include <sys/timeout.h>
7023 #endif
7024 #ifdef HAVE_NETINET_IN_H
7025 # include <netinet/in.h>
7026 #endif
7027 #ifdef HAVE_NETINET_IN_SYSTM_H
7028 # include <netinet/in_systm.h>
7029 #endif
7030 #ifdef HAVE_NETINET_IP_H
7031 # include <netinet/ip.h>
7032 #endif
7033 #ifdef HAVE_NETINET_IP_VAR_H
7034 # include <netinet/ip_var.h>
7035 #endif
7036 #ifdef HAVE_NETINET_IP_ICMP_H
7037 # include <netinet/ip_icmp.h>
7038 #endif
7039 #ifdef HAVE_NETINET_UDP_H
7040 # include <netinet/udp.h>
7041 #endif
7042 #ifdef HAVE_NETINET_TCP_H
7043 # include <netinet/tcp.h>
7044 #endif
7045 #ifdef HAVE_NETINET_TCP_TIMER_H
7046 #include <netinet/tcp_timer.h>
7047 #endif
7049 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7050 cat >>confdefs.h <<_ACEOF
7051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7052 _ACEOF
7056 done
7059 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7060 do :
7061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7063 #ifdef HAVE_ASM_TYPES_H
7064 # include <asm/types.h>
7065 #endif
7066 #ifdef HAVE_SYS_SOCKET_H
7067 # include <sys/socket.h>
7068 #endif
7069 #ifdef HAVE_LINUX_TYPES_H
7070 # include <linux/types.h>
7071 #endif
7073 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7076 _ACEOF
7080 done
7083 for ac_header in mach-o/dyld_images.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7086 # include <stdbool.h>
7087 #endif
7088 #ifdef HAVE_STDINT_H
7089 # include <stdint.h>
7090 #endif
7092 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7093 cat >>confdefs.h <<_ACEOF
7094 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7095 _ACEOF
7099 done
7102 for ac_header in resolv.h
7103 do :
7104 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7105 #ifdef HAVE_SYS_SOCKET_H
7106 # include <sys/socket.h>
7107 #endif
7108 #ifdef HAVE_NETINET_IN_H
7109 # include <netinet/in.h>
7110 #endif
7111 #ifdef HAVE_ARPA_NAMESER_H
7112 # include <arpa/nameser.h>
7113 #endif
7115 if test "x$ac_cv_header_resolv_h" = xyes; then :
7116 cat >>confdefs.h <<_ACEOF
7117 #define HAVE_RESOLV_H 1
7118 _ACEOF
7122 done
7125 for ac_header in ifaddrs.h
7126 do :
7127 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7129 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7130 cat >>confdefs.h <<_ACEOF
7131 #define HAVE_IFADDRS_H 1
7132 _ACEOF
7136 done
7139 for ac_header in sys/ucontext.h
7140 do :
7141 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7143 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7144 cat >>confdefs.h <<_ACEOF
7145 #define HAVE_SYS_UCONTEXT_H 1
7146 _ACEOF
7150 done
7153 for ac_header in sys/thr.h
7154 do :
7155 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7156 #ifdef HAVE_SYS_UCONTEXT_H
7157 #include <sys/ucontext.h>
7158 #endif
7160 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define HAVE_SYS_THR_H 1
7163 _ACEOF
7167 done
7170 for ac_header in pthread_np.h
7171 do :
7172 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7173 #include <pthread.h>
7174 #endif
7176 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7177 cat >>confdefs.h <<_ACEOF
7178 #define HAVE_PTHREAD_NP_H 1
7179 _ACEOF
7183 done
7186 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7187 do :
7188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7189 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7190 #include <sys/time.h>
7191 #endif
7192 #include <sys/types.h>
7193 #ifdef HAVE_ASM_TYPES_H
7194 #include <asm/types.h>
7195 #endif
7197 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7198 cat >>confdefs.h <<_ACEOF
7199 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7200 _ACEOF
7204 done
7207 for ac_header in libprocstat.h
7208 do :
7209 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7210 #include <sys/param.h>
7211 #endif
7212 #ifdef HAVE_SYS_QUEUE_H
7213 #include <sys/queue.h>
7214 #endif
7215 #ifdef HAVE_SYS_SOCKET_H
7216 #include <sys/socket.h>
7217 #endif
7219 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7220 cat >>confdefs.h <<_ACEOF
7221 #define HAVE_LIBPROCSTAT_H 1
7222 _ACEOF
7226 done
7230 dlldir="\${libdir}/wine"
7232 DLLFLAGS="-D_REENTRANT"
7234 LDRPATH_INSTALL=""
7236 LDRPATH_LOCAL=""
7238 LDEXECFLAGS=""
7240 LIBEXT="so"
7241 DLLEXT=".so"
7242 IMPLIBEXT="def"
7243 # Extract the first word of "ldd", so it can be a program name with args.
7244 set dummy ldd; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_path_LDD+:} false; then :
7248 $as_echo_n "(cached) " >&6
7249 else
7250 case $LDD in
7251 [\\/]* | ?:[\\/]*)
7252 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7256 as_dummy="/sbin:/usr/sbin:$PATH"
7257 for as_dir in $as_dummy
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7271 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7273 esac
7275 LDD=$ac_cv_path_LDD
7276 if test -n "$LDD"; then
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7278 $as_echo "$LDD" >&6; }
7279 else
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281 $as_echo "no" >&6; }
7285 if test -n "$ac_tool_prefix"; then
7286 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7287 set dummy ${ac_tool_prefix}otool; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if ${ac_cv_prog_OTOOL+:} false; then :
7291 $as_echo_n "(cached) " >&6
7292 else
7293 if test -n "$OTOOL"; then
7294 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7299 IFS=$as_save_IFS
7300 test -z "$as_dir" && as_dir=.
7301 for ac_exec_ext in '' $ac_executable_extensions; do
7302 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7303 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 break 2
7307 done
7308 done
7309 IFS=$as_save_IFS
7313 OTOOL=$ac_cv_prog_OTOOL
7314 if test -n "$OTOOL"; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7316 $as_echo "$OTOOL" >&6; }
7317 else
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7324 if test -z "$ac_cv_prog_OTOOL"; then
7325 ac_ct_OTOOL=$OTOOL
7326 # Extract the first word of "otool", so it can be a program name with args.
7327 set dummy otool; ac_word=$2
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7329 $as_echo_n "checking for $ac_word... " >&6; }
7330 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7331 $as_echo_n "(cached) " >&6
7332 else
7333 if test -n "$ac_ct_OTOOL"; then
7334 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7335 else
7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 for as_dir in $PATH
7339 IFS=$as_save_IFS
7340 test -z "$as_dir" && as_dir=.
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_ac_ct_OTOOL="otool"
7344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 break 2
7347 done
7348 done
7349 IFS=$as_save_IFS
7353 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7354 if test -n "$ac_ct_OTOOL"; then
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7356 $as_echo "$ac_ct_OTOOL" >&6; }
7357 else
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 $as_echo "no" >&6; }
7362 if test "x$ac_ct_OTOOL" = x; then
7363 OTOOL="otool"
7364 else
7365 case $cross_compiling:$ac_tool_warned in
7366 yes:)
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7369 ac_tool_warned=yes ;;
7370 esac
7371 OTOOL=$ac_ct_OTOOL
7373 else
7374 OTOOL="$ac_cv_prog_OTOOL"
7377 if test -n "$ac_tool_prefix"; then
7378 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7379 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if ${ac_cv_prog_READELF+:} false; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$READELF"; then
7386 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7395 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 READELF=$ac_cv_prog_READELF
7406 if test -n "$READELF"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7408 $as_echo "$READELF" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7416 if test -z "$ac_cv_prog_READELF"; then
7417 ac_ct_READELF=$READELF
7418 # Extract the first word of "readelf", so it can be a program name with args.
7419 set dummy readelf; ac_word=$2
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7421 $as_echo_n "checking for $ac_word... " >&6; }
7422 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7423 $as_echo_n "(cached) " >&6
7424 else
7425 if test -n "$ac_ct_READELF"; then
7426 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7427 else
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 for as_dir in $PATH
7431 IFS=$as_save_IFS
7432 test -z "$as_dir" && as_dir=.
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_ac_ct_READELF="readelf"
7436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7446 if test -n "$ac_ct_READELF"; then
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7448 $as_echo "$ac_ct_READELF" >&6; }
7449 else
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 $as_echo "no" >&6; }
7454 if test "x$ac_ct_READELF" = x; then
7455 READELF="true"
7456 else
7457 case $cross_compiling:$ac_tool_warned in
7458 yes:)
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7461 ac_tool_warned=yes ;;
7462 esac
7463 READELF=$ac_ct_READELF
7465 else
7466 READELF="$ac_cv_prog_READELF"
7469 wine_rules_file=conf$$rules.make
7470 rm -f $wine_rules_file
7471 SUBDIRS=""
7473 DISABLED_SUBDIRS=""
7475 CONFIGURE_TARGETS=""
7477 ALL_TEST_RESOURCES=""
7480 wine_fn_append_file ()
7482 as_fn_append $1 " \\$as_nl $2"
7485 wine_fn_append_rule ()
7487 $as_echo "$1" >>$wine_rules_file
7490 wine_fn_has_flag ()
7492 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7495 wine_fn_all_rules ()
7497 wine_fn_append_file SUBDIRS $ac_dir
7498 wine_fn_append_rule \
7499 "all: $ac_dir
7500 .PHONY: $ac_dir
7501 $ac_dir: dummy
7502 @cd $ac_dir && \$(MAKE)"
7505 wine_fn_install_rules ()
7507 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7509 wine_fn_append_rule \
7510 ".PHONY: $ac_dir/install $ac_dir/uninstall
7511 $ac_dir/install:: $ac_dir
7512 @cd $ac_dir && \$(MAKE) install
7513 $ac_dir/uninstall::
7514 @cd $ac_dir && \$(MAKE) uninstall
7515 install:: $ac_dir/install
7516 __uninstall__: $ac_dir/uninstall"
7518 if wine_fn_has_flag install-lib
7519 then
7520 wine_fn_append_rule \
7521 ".PHONY: $ac_dir/install-lib
7522 $ac_dir/install-lib:: $ac_dir
7523 @cd $ac_dir && \$(MAKE) install-lib
7524 install-lib:: $ac_dir/install-lib"
7527 if wine_fn_has_flag install-dev
7528 then
7529 wine_fn_append_rule \
7530 ".PHONY: $ac_dir/install-dev
7531 $ac_dir/install-dev:: $ac_dir
7532 @cd $ac_dir && \$(MAKE) install-dev
7533 install-dev:: $ac_dir/install-dev"
7537 wine_fn_clean_rules ()
7539 ac_clean=$@
7541 if wine_fn_has_flag clean
7542 then
7543 wine_fn_append_rule \
7544 "$ac_dir/clean: dummy
7545 @cd $ac_dir && \$(MAKE) clean"
7546 else
7547 wine_fn_append_rule \
7548 "$ac_dir/clean: dummy
7549 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7551 wine_fn_append_rule \
7552 "__clean__: $ac_dir/clean
7553 .PHONY: $ac_dir/clean"
7556 wine_fn_disabled_rules ()
7558 ac_clean=$@
7560 wine_fn_append_file SUBDIRS $ac_dir
7561 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7562 wine_fn_append_rule \
7563 "__clean__: $ac_dir/clean
7564 .PHONY: $ac_dir/clean
7565 $ac_dir/clean: dummy
7566 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7569 wine_fn_config_makefile ()
7571 ac_dir=$1
7572 ac_enable=$2
7573 ac_flags=$3
7575 case $ac_dir in
7576 fonts|server) test -z "$with_wine64" || return ;;
7577 esac
7578 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7579 wine_fn_disabled_rules; return
7581 wine_fn_all_rules
7582 wine_fn_install_rules
7583 wine_fn_clean_rules
7586 wine_fn_config_lib ()
7588 ac_name=$1
7589 ac_flags=$2
7590 ac_dir=dlls/$ac_name
7591 ac_deps="include"
7593 if test "x$enable_tools" = xno; then :
7595 else
7596 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7598 wine_fn_all_rules
7599 wine_fn_clean_rules
7601 wine_fn_append_rule \
7602 ".PHONY: $ac_dir/install $ac_dir/uninstall
7603 $ac_dir/install:: $ac_dir
7604 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7605 $ac_dir/uninstall::
7606 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7607 install install-dev:: $ac_dir/install
7608 __uninstall__: $ac_dir/uninstall
7609 __builddeps__: $ac_dir
7610 $ac_dir: $ac_deps"
7613 wine_fn_config_dll ()
7615 ac_name=$1
7616 ac_dir=dlls/$ac_name
7617 ac_enable=$2
7618 ac_flags=$3
7619 ac_implib=${4:-$ac_name}
7620 ac_file=$ac_dir/lib$ac_implib
7621 ac_dll=$ac_name
7622 ac_deps="include"
7623 ac_implibflags=""
7625 if test "x$enable_tools" = xno; then :
7627 else
7628 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7630 case $ac_name in
7631 *16) ac_implibflags=" -m16" ;;
7632 *.*) ;;
7633 *) ac_dll=$ac_dll.dll ;;
7634 esac
7636 ac_clean=
7637 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7638 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7640 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7641 if test "$ac_enable" != enable_win16
7642 then
7643 wine_fn_clean_rules $ac_clean
7644 wine_fn_append_file SUBDIRS $ac_dir
7645 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7646 else
7647 wine_fn_disabled_rules $ac_clean
7648 return
7650 else
7651 wine_fn_all_rules
7652 wine_fn_clean_rules $ac_clean
7653 wine_fn_append_rule \
7654 "$ac_dir: __builddeps__
7655 manpages htmlpages sgmlpages xmlpages::
7656 @cd $ac_dir && \$(MAKE) \$@
7657 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7658 install install-lib:: $ac_dir/install-lib
7659 __uninstall__: $ac_dir/uninstall"
7660 if test -n "$DLLEXT"
7661 then
7662 wine_fn_append_rule \
7663 "$ac_dir/install-lib:: $ac_dir
7664 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7665 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7666 $ac_dir/uninstall::
7667 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7668 else
7669 wine_fn_append_rule \
7670 "$ac_dir/install-lib:: $ac_dir
7671 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7672 $ac_dir/uninstall::
7673 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7677 if wine_fn_has_flag staticimplib
7678 then
7679 wine_fn_append_rule \
7680 "__builddeps__: $ac_file.a
7681 $ac_file.a $ac_file.cross.a: $ac_deps
7682 $ac_file.a: dummy
7683 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7684 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7685 $ac_dir/install-dev:: $ac_file.a
7686 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7687 $ac_dir/uninstall::
7688 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7689 install install-dev:: $ac_dir/install-dev
7690 __uninstall__: $ac_dir/uninstall"
7692 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7693 then
7694 wine_fn_append_rule \
7695 "__builddeps__: $ac_file.cross.a
7696 $ac_file.cross.a: dummy
7697 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7700 elif wine_fn_has_flag implib
7701 then
7702 wine_fn_append_rule \
7703 "__builddeps__: $ac_file.$IMPLIBEXT
7704 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7705 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7706 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7707 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7708 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7709 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7710 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7711 $ac_dir/uninstall::
7712 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7713 install install-dev:: $ac_dir/install-dev
7714 __uninstall__: $ac_dir/uninstall"
7715 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7716 then
7717 wine_fn_append_rule \
7718 "__builddeps__: $ac_file.cross.a
7719 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7720 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7725 wine_fn_config_program ()
7727 ac_name=$1
7728 ac_dir=programs/$ac_name
7729 ac_enable=$2
7730 ac_flags=$3
7731 ac_program=$ac_name
7733 case $ac_name in
7734 *.*) ;;
7735 *) ac_program=$ac_program.exe ;;
7736 esac
7738 ac_clean=
7739 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7740 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7742 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7743 wine_fn_disabled_rules $ac_clean; return
7746 wine_fn_all_rules
7747 wine_fn_clean_rules $ac_clean
7748 wine_fn_append_rule "$ac_dir: __builddeps__"
7750 wine_fn_has_flag install || return
7751 wine_fn_append_rule \
7752 ".PHONY: $ac_dir/install $ac_dir/uninstall
7753 install install-lib:: $ac_dir/install
7754 __uninstall__: $ac_dir/uninstall"
7756 if test -n "$DLLEXT"
7757 then
7758 wine_fn_append_rule \
7759 "$ac_dir/install:: $ac_dir
7760 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7761 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7762 $ac_dir/uninstall::
7763 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7765 if test -z "$with_wine64" && wine_fn_has_flag installbin
7766 then
7767 wine_fn_append_rule \
7768 "$ac_dir/install:: __tooldeps__
7769 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7770 $ac_dir/uninstall::
7771 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7773 else
7774 wine_fn_append_rule \
7775 "$ac_dir/install:: $ac_dir
7776 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7777 $ac_dir/uninstall::
7778 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7781 if test -z "$with_wine64" && wine_fn_has_flag manpage
7782 then
7783 wine_fn_append_rule \
7784 "$ac_dir/install:: $ac_dir
7785 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7786 $ac_dir/uninstall::
7787 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7791 wine_fn_config_test ()
7793 ac_dir=$1
7794 ac_name=$2
7795 ac_flags=$3
7797 ac_clean=
7798 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7799 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7801 if test "x$enable_tests" = xno; then :
7802 wine_fn_disabled_rules $ac_clean; return
7805 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7806 wine_fn_all_rules
7807 wine_fn_clean_rules $ac_clean
7809 wine_fn_append_rule \
7810 "$ac_dir: __builddeps__
7811 programs/winetest: $ac_dir
7812 check test: $ac_dir/test
7813 .PHONY: $ac_dir/test
7814 $ac_dir/test: dummy
7815 @cd $ac_dir && \$(MAKE) test
7816 testclean::
7817 \$(RM) $ac_dir/*.ok"
7819 if test -n "$CROSSTARGET"
7820 then
7821 wine_fn_append_rule \
7822 "crosstest: $ac_dir/crosstest
7823 .PHONY: $ac_dir/crosstest
7824 $ac_dir/crosstest: __builddeps__ dummy
7825 @cd $ac_dir && \$(MAKE) crosstest"
7829 wine_fn_config_tool ()
7831 ac_dir=$1
7832 ac_flags=$2
7833 if test "x$enable_tools" = xno; then :
7834 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7837 wine_fn_all_rules
7838 wine_fn_install_rules
7839 wine_fn_clean_rules
7841 wine_fn_append_rule "__tooldeps__: $ac_dir"
7842 wine_fn_append_rule "$ac_dir: libs/port"
7843 case $ac_dir in
7844 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7845 esac
7848 wine_fn_config_symlink ()
7850 ac_linkdir=
7851 if test "x$1" = "x-d"
7852 then
7853 ac_linkdir=$2
7854 shift; shift
7856 ac_links=$@
7857 wine_fn_append_rule \
7858 "$ac_links:
7859 @./config.status \$@"
7860 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7861 test -n "$ac_linkdir" || return
7862 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7865 wine_binary="wine"
7866 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7867 WINELOADER_PROGRAMS="$wine_binary"
7869 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7871 case $host_os in
7872 cygwin*|mingw32*)
7873 if test -n "$ac_tool_prefix"; then
7874 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7875 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if ${ac_cv_prog_DLLTOOL+:} false; then :
7879 $as_echo_n "(cached) " >&6
7880 else
7881 if test -n "$DLLTOOL"; then
7882 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7883 else
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 for as_dir in $PATH
7887 IFS=$as_save_IFS
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7891 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7893 break 2
7895 done
7896 done
7897 IFS=$as_save_IFS
7901 DLLTOOL=$ac_cv_prog_DLLTOOL
7902 if test -n "$DLLTOOL"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7904 $as_echo "$DLLTOOL" >&6; }
7905 else
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7912 if test -z "$ac_cv_prog_DLLTOOL"; then
7913 ac_ct_DLLTOOL=$DLLTOOL
7914 # Extract the first word of "dlltool", so it can be a program name with args.
7915 set dummy dlltool; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$ac_ct_DLLTOOL"; then
7922 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7942 if test -n "$ac_ct_DLLTOOL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7944 $as_echo "$ac_ct_DLLTOOL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7950 if test "x$ac_ct_DLLTOOL" = x; then
7951 DLLTOOL="false"
7952 else
7953 case $cross_compiling:$ac_tool_warned in
7954 yes:)
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7957 ac_tool_warned=yes ;;
7958 esac
7959 DLLTOOL=$ac_ct_DLLTOOL
7961 else
7962 DLLTOOL="$ac_cv_prog_DLLTOOL"
7965 LIBEXT="dll"
7966 DLLEXT=""
7967 IMPLIBEXT="a"
7968 enable_iphlpapi=${enable_iphlpapi:-no}
7969 enable_kernel32=${enable_kernel32:-no}
7970 enable_msvcrt=${enable_msvcrt:-no}
7971 enable_ntdll=${enable_ntdll:-no}
7972 enable_ws2_32=${enable_ws2_32:-no}
7973 enable_loader=${enable_loader:-no}
7974 enable_server=${enable_server:-no}
7975 with_x=${with_x:-no}
7976 with_pthread=${with_pthread:-no}
7978 crtlibs=""
7979 case $host_os in
7980 mingw32*)
7981 crtlibs="-lmsvcrt"
7982 SOCKET_LIBS="-lws2_32"
7984 esac
7986 LIBWINE_SHAREDLIB="libwine.dll"
7988 LIBWINE_IMPORTLIB="libwine.a"
7990 LIBWINE_INSTALL_LIB="libwine.dll"
7992 LIBWINE_INSTALL_DEV="libwine.a"
7994 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7996 LIBWINE_DEPENDS="wine.def"
8000 darwin*|macosx*)
8001 for ac_header in libunwind.h
8002 do :
8003 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_LIBUNWIND_H 1
8007 _ACEOF
8011 done
8013 LIBEXT="dylib"
8014 DLLFLAGS="$DLLFLAGS -fPIC"
8015 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8016 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8017 COREFOUNDATION_LIBS="-framework CoreFoundation"
8019 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8021 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8023 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8025 CORESERVICES_LIBS="-framework CoreServices"
8027 APPKIT_LIBS="-framework AppKit"
8029 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8031 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8032 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 ac_wine_try_cflags_saved=$CFLAGS
8036 CFLAGS="$CFLAGS -Wl,-no_pie"
8037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8039 int main(int argc, char **argv) { return 0; }
8040 _ACEOF
8041 if ac_fn_c_try_link "$LINENO"; then :
8042 ac_cv_cflags__Wl__no_pie=yes
8043 else
8044 ac_cv_cflags__Wl__no_pie=no
8046 rm -f core conftest.err conftest.$ac_objext \
8047 conftest$ac_exeext conftest.$ac_ext
8048 CFLAGS=$ac_wine_try_cflags_saved
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8051 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8052 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8053 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8055 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8056 then
8057 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8060 if test "$ac_cv_header_Security_Security_h" = "yes"
8061 then
8062 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8064 ac_save_LIBS="$LIBS"
8065 LIBS="$LIBS $SECURITY_LIBS"
8066 for ac_func in SSLCopyPeerCertificates
8067 do :
8068 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8069 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8072 _ACEOF
8075 done
8077 LIBS="$ac_save_LIBS"
8078 with_gnutls=${with_gnutls:-no}
8080 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8081 then
8082 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8083 then
8084 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8086 else
8087 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8090 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8091 ac_save_LIBS="$LIBS"
8092 LIBS="$LIBS $COREAUDIO_LIBS"
8093 for ac_func in AUGraphAddNode
8094 do :
8095 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8096 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8097 cat >>confdefs.h <<_ACEOF
8098 #define HAVE_AUGRAPHADDNODE 1
8099 _ACEOF
8102 done
8104 LIBS="$ac_save_LIBS"
8106 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8107 then
8108 OPENAL_LIBS="-framework OpenAL"
8111 cat >>confdefs.h <<_ACEOF
8112 #define HAVE_OPENAL 1
8113 _ACEOF
8115 ac_cv_lib_openal=yes
8117 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8118 then
8119 OPENCL_LIBS="-framework OpenCL"
8121 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8123 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8124 then
8125 ac_save_LIBS="$LIBS"
8126 LIBS="$LIBS $IOKIT_LIBS"
8127 for ac_func in IOHIDManagerCreate
8128 do :
8129 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8130 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8131 cat >>confdefs.h <<_ACEOF
8132 #define HAVE_IOHIDMANAGERCREATE 1
8133 _ACEOF
8136 done
8138 LIBS="$ac_save_LIBS"
8140 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8141 then
8142 ac_save_LIBS="$LIBS"
8143 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8145 $as_echo_n "checking for the QuickTime framework... " >&6; }
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 #include <QuickTime/ImageCompression.h>
8150 main ()
8152 CodecManagerVersion(NULL);
8154 return 0;
8156 _ACEOF
8157 if ac_fn_c_try_link "$LINENO"; then :
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8159 $as_echo "yes" >&6; }
8160 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8162 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8163 else
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8165 $as_echo "no" >&6; }
8166 ac_cv_header_QuickTime_ImageCompression_h=no
8168 rm -f core conftest.err conftest.$ac_objext \
8169 conftest$ac_exeext conftest.$ac_ext
8170 LIBS="$ac_save_LIBS"
8172 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8173 then
8174 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8176 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8177 then
8178 CARBON_LIBS="-framework Carbon"
8182 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8183 then
8184 ac_save_LIBS="$LIBS"
8185 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8186 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8187 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8188 enable_winemac_drv=${enable_winemac_drv:-yes}
8191 LIBS="$ac_save_LIBS"
8194 if test "x$enable_win16" = "xyes"
8195 then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8197 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8198 if test "$cross_compiling" = yes; then :
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8200 $as_echo "cross-compiling, assuming yes" >&6; }
8201 else
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8204 asm(".text\n"
8205 "bad:\tnop;nop\n"
8206 "good:\tnop;nop\n\t"
8207 ".globl _testfunc\n"
8208 "_testfunc:\tcallw good");
8209 extern void testfunc();
8211 main ()
8213 unsigned short *p = (unsigned short *)testfunc;
8214 return p[0] != 0xe866 || p[1] != 0xfffa
8216 return 0;
8218 _ACEOF
8219 if ac_fn_c_try_run "$LINENO"; then :
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8221 $as_echo "yes" >&6; }
8222 else
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8225 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
8227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8228 conftest.$ac_objext conftest.beam conftest.$ac_ext
8233 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8235 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8237 LIBWINE_INSTALL_DEV="libwine.dylib"
8239 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8241 WINELOADER_DEPENDS="wine_info.plist"
8245 linux-android*)
8246 DLLFLAGS="$DLLFLAGS -fPIC"
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8248 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8249 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 ac_wine_try_cflags_saved=$CFLAGS
8253 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8255 /* end confdefs.h. */
8256 int main(int argc, char **argv) { return 0; }
8257 _ACEOF
8258 if ac_fn_c_try_link "$LINENO"; then :
8259 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8260 else
8261 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8263 rm -f core conftest.err conftest.$ac_objext \
8264 conftest$ac_exeext conftest.$ac_ext
8265 CFLAGS=$ac_wine_try_cflags_saved
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8268 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8269 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8270 LDEXECFLAGS="-Wl,--export-dynamic"
8272 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8274 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8275 if eval \${$as_ac_var+:} false; then :
8276 $as_echo_n "(cached) " >&6
8277 else
8278 ac_wine_try_cflags_saved=$CFLAGS
8279 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8281 /* end confdefs.h. */
8282 int main(int argc, char **argv) { return 0; }
8283 _ACEOF
8284 if ac_fn_c_try_link "$LINENO"; then :
8285 eval "$as_ac_var=yes"
8286 else
8287 eval "$as_ac_var=no"
8289 rm -f core conftest.err conftest.$ac_objext \
8290 conftest$ac_exeext conftest.$ac_ext
8291 CFLAGS=$ac_wine_try_cflags_saved
8293 eval ac_res=\$$as_ac_var
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8295 $as_echo "$ac_res" >&6; }
8296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8297 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8298 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8299 else
8300 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8302 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8303 if eval \${$as_ac_var+:} false; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 ac_wine_try_cflags_saved=$CFLAGS
8307 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 int main(int argc, char **argv) { return 0; }
8311 _ACEOF
8312 if ac_fn_c_try_link "$LINENO"; then :
8313 eval "$as_ac_var=yes"
8314 else
8315 eval "$as_ac_var=no"
8317 rm -f core conftest.err conftest.$ac_objext \
8318 conftest$ac_exeext conftest.$ac_ext
8319 CFLAGS=$ac_wine_try_cflags_saved
8321 eval ac_res=\$$as_ac_var
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8323 $as_echo "$ac_res" >&6; }
8324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8325 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8326 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8331 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8332 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8333 $as_echo_n "(cached) " >&6
8334 else
8335 ac_wine_try_cflags_saved=$CFLAGS
8336 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h. */
8339 int main(int argc, char **argv) { return 0; }
8340 _ACEOF
8341 if ac_fn_c_try_link "$LINENO"; then :
8342 ac_cv_cflags__Wl___enable_new_dtags=yes
8343 else
8344 ac_cv_cflags__Wl___enable_new_dtags=no
8346 rm -f core conftest.err conftest.$ac_objext \
8347 conftest$ac_exeext conftest.$ac_ext
8348 CFLAGS=$ac_wine_try_cflags_saved
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8351 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8352 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8353 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8356 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8357 if ${ac_cv_cflags__Wl__pie+:} false; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 ac_wine_try_cflags_saved=$CFLAGS
8361 CFLAGS="$CFLAGS -Wl,-pie"
8362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363 /* end confdefs.h. */
8364 int main(int argc, char **argv) { return 0; }
8365 _ACEOF
8366 if ac_fn_c_try_link "$LINENO"; then :
8367 ac_cv_cflags__Wl__pie=yes
8368 else
8369 ac_cv_cflags__Wl__pie=no
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 CFLAGS=$ac_wine_try_cflags_saved
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8376 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8377 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8378 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8381 LIBWINE_SHAREDLIB="libwine.so"
8383 LIBWINE_INSTALL_LIB="libwine.so"
8385 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8390 DLLFLAGS="$DLLFLAGS -fPIC"
8391 LDEXECFLAGS=""
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8393 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8394 if ${ac_cv_c_dll_gnuelf+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 ac_wine_try_cflags_saved=$CFLAGS
8398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8400 /* end confdefs.h. */
8401 void myfunc() {}
8402 _ACEOF
8403 if ac_fn_c_try_link "$LINENO"; then :
8404 ac_cv_c_dll_gnuelf="yes"
8405 else
8406 ac_cv_c_dll_gnuelf="no"
8408 rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
8410 CFLAGS=$ac_wine_try_cflags_saved
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8413 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8414 if test "$ac_cv_c_dll_gnuelf" = "yes"
8415 then
8416 LIBWINE_LDFLAGS="-shared"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8419 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8430 else
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8438 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8439 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8440 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8441 else
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8443 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8444 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8455 else
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8463 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8464 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8465 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8469 echo '{ global: *; };' >conftest.map
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8471 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8472 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8473 $as_echo_n "(cached) " >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8478 /* end confdefs.h. */
8479 int main(int argc, char **argv) { return 0; }
8480 _ACEOF
8481 if ac_fn_c_try_link "$LINENO"; then :
8482 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8483 else
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8486 rm -f core conftest.err conftest.$ac_objext \
8487 conftest$ac_exeext conftest.$ac_ext
8488 CFLAGS=$ac_wine_try_cflags_saved
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8491 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8492 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8493 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8495 rm -f conftest.map
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8498 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8499 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 ac_wine_try_cflags_saved=$CFLAGS
8503 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 int main(int argc, char **argv) { return 0; }
8507 _ACEOF
8508 if ac_fn_c_try_link "$LINENO"; then :
8509 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8510 else
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8513 rm -f core conftest.err conftest.$ac_objext \
8514 conftest$ac_exeext conftest.$ac_ext
8515 CFLAGS=$ac_wine_try_cflags_saved
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8518 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8519 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8520 LDEXECFLAGS="-Wl,--export-dynamic"
8523 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8525 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8526 if eval \${$as_ac_var+:} false; then :
8527 $as_echo_n "(cached) " >&6
8528 else
8529 ac_wine_try_cflags_saved=$CFLAGS
8530 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 int main(int argc, char **argv) { return 0; }
8534 _ACEOF
8535 if ac_fn_c_try_link "$LINENO"; then :
8536 eval "$as_ac_var=yes"
8537 else
8538 eval "$as_ac_var=no"
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 CFLAGS=$ac_wine_try_cflags_saved
8544 eval ac_res=\$$as_ac_var
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8546 $as_echo "$ac_res" >&6; }
8547 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8548 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8549 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8550 else
8551 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8553 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8554 if eval \${$as_ac_var+:} false; then :
8555 $as_echo_n "(cached) " >&6
8556 else
8557 ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 int main(int argc, char **argv) { return 0; }
8562 _ACEOF
8563 if ac_fn_c_try_link "$LINENO"; then :
8564 eval "$as_ac_var=yes"
8565 else
8566 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 eval ac_res=\$$as_ac_var
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8574 $as_echo "$ac_res" >&6; }
8575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8582 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8583 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 ac_cv_cflags__Wl___enable_new_dtags=yes
8594 else
8595 ac_cv_cflags__Wl___enable_new_dtags=no
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8602 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8603 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8604 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8607 case $host_cpu in
8608 *i[3456789]86* | x86_64)
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8610 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8611 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8622 else
8623 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8630 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8631 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8632 case $host_os in
8633 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8634 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8635 esac
8636 else
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8638 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8639 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 int main(int argc, char **argv) { return 0; }
8647 _ACEOF
8648 if ac_fn_c_try_link "$LINENO"; then :
8649 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8650 else
8651 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8653 rm -f core conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8655 CFLAGS=$ac_wine_try_cflags_saved
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8658 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8659 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8660 case $host_os in
8661 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8662 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8663 esac
8665 # Extract the first word of "prelink", so it can be a program name with args.
8666 set dummy prelink; ac_word=$2
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8668 $as_echo_n "checking for $ac_word... " >&6; }
8669 if ${ac_cv_path_PRELINK+:} false; then :
8670 $as_echo_n "(cached) " >&6
8671 else
8672 case $PRELINK in
8673 [\\/]* | ?:[\\/]*)
8674 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8678 for as_dir in /sbin /usr/sbin $PATH
8680 IFS=$as_save_IFS
8681 test -z "$as_dir" && as_dir=.
8682 for ac_exec_ext in '' $ac_executable_extensions; do
8683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8684 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8686 break 2
8688 done
8689 done
8690 IFS=$as_save_IFS
8692 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8694 esac
8696 PRELINK=$ac_cv_path_PRELINK
8697 if test -n "$PRELINK"; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8699 $as_echo "$PRELINK" >&6; }
8700 else
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8702 $as_echo "no" >&6; }
8706 if test "x$PRELINK" = xfalse
8707 then
8708 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8712 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8713 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8714 $as_echo_n "(cached) " >&6
8715 else
8716 ac_wine_try_cflags_saved=$CFLAGS
8717 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8720 int main(int argc, char **argv) { return 0; }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8724 else
8725 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8727 rm -f core conftest.err conftest.$ac_objext \
8728 conftest$ac_exeext conftest.$ac_ext
8729 CFLAGS=$ac_wine_try_cflags_saved
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8732 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8733 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8734 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8737 esac
8739 else
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8741 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8742 if ${ac_cv_c_dll_unixware+:} false; then :
8743 $as_echo_n "(cached) " >&6
8744 else
8745 ac_wine_try_cflags_saved=$CFLAGS
8746 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8749 void myfunc() {}
8750 _ACEOF
8751 if ac_fn_c_try_link "$LINENO"; then :
8752 ac_cv_c_dll_unixware="yes"
8753 else
8754 ac_cv_c_dll_unixware="no"
8756 rm -f core conftest.err conftest.$ac_objext \
8757 conftest$ac_exeext conftest.$ac_ext
8758 CFLAGS=$ac_wine_try_cflags_saved
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8761 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8762 if test "$ac_cv_c_dll_unixware" = "yes"
8763 then
8764 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8767 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8769 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8771 LIBWINE_INSTALL_DEV="libwine.so"
8773 LIBWINE_DEPENDS="wine.map"
8776 esac
8778 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8779 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8780 enable_winemac_drv=${enable_winemac_drv:-no}
8781 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8783 CROSSTARGET=""
8785 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8786 then
8787 case "$host_cpu" in
8788 arm*)
8789 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8790 i[3456789]86*)
8791 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
8792 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8793 mingw32-gcc" ;;
8794 x86_64)
8795 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
8796 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8798 ac_prefix_list="" ;;
8799 esac
8800 for ac_prog in $ac_prefix_list
8802 # Extract the first word of "$ac_prog", so it can be a program name with args.
8803 set dummy $ac_prog; ac_word=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if ${ac_cv_prog_CROSSCC+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 if test -n "$CROSSCC"; then
8810 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8811 else
8812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8813 for as_dir in $PATH
8815 IFS=$as_save_IFS
8816 test -z "$as_dir" && as_dir=.
8817 for ac_exec_ext in '' $ac_executable_extensions; do
8818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8819 ac_cv_prog_CROSSCC="$ac_prog"
8820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8821 break 2
8823 done
8824 done
8825 IFS=$as_save_IFS
8829 CROSSCC=$ac_cv_prog_CROSSCC
8830 if test -n "$CROSSCC"; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8832 $as_echo "$CROSSCC" >&6; }
8833 else
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8835 $as_echo "no" >&6; }
8839 test -n "$CROSSCC" && break
8840 done
8841 test -n "$CROSSCC" || CROSSCC="false"
8843 if test "$CROSSCC" != "false"
8844 then
8845 ac_save_CC="$CC"
8846 CC="$CROSSCC"
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8848 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8853 main ()
8857 return 0;
8859 _ACEOF
8860 if ac_fn_c_try_compile "$LINENO"; then :
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8862 $as_echo "yes" >&6; }
8863 set x $CROSSCC
8864 shift
8865 while test $# -ge 1
8867 case "$1" in
8868 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8869 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8870 esac
8871 shift
8872 done
8873 else
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8875 $as_echo "no" >&6; }
8877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8878 CC="$ac_save_CC"
8883 if test "$ac_cv_header_pthread_h" = "yes"
8884 then
8885 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8886 if test "x$ac_cv_func_pthread_create" = xyes; then :
8888 else
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8890 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8891 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 ac_check_lib_save_LIBS=$LIBS
8895 LIBS="-lpthread $LIBS"
8896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8902 #ifdef __cplusplus
8903 extern "C"
8904 #endif
8905 char pthread_create ();
8907 main ()
8909 return pthread_create ();
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 ac_cv_lib_pthread_pthread_create=yes
8916 else
8917 ac_cv_lib_pthread_pthread_create=no
8919 rm -f core conftest.err conftest.$ac_objext \
8920 conftest$ac_exeext conftest.$ac_ext
8921 LIBS=$ac_check_lib_save_LIBS
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8924 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8925 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8926 PTHREAD_LIBS="-lpthread"
8933 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8934 case "x$with_pthread" in
8935 xno) ;;
8936 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8937 Wine cannot support threads without libpthread.
8938 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8939 esac
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8945 $as_echo_n "checking for X... " >&6; }
8948 # Check whether --with-x was given.
8949 if test "${with_x+set}" = set; then :
8950 withval=$with_x;
8953 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8954 if test "x$with_x" = xno; then
8955 # The user explicitly disabled X.
8956 have_x=disabled
8957 else
8958 case $x_includes,$x_libraries in #(
8959 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8960 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 # One or both of the vars are not set, and there is no cached value.
8964 ac_x_includes=no ac_x_libraries=no
8965 rm -f -r conftest.dir
8966 if mkdir conftest.dir; then
8967 cd conftest.dir
8968 cat >Imakefile <<'_ACEOF'
8969 incroot:
8970 @echo incroot='${INCROOT}'
8971 usrlibdir:
8972 @echo usrlibdir='${USRLIBDIR}'
8973 libdir:
8974 @echo libdir='${LIBDIR}'
8975 _ACEOF
8976 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8977 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8978 for ac_var in incroot usrlibdir libdir; do
8979 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8980 done
8981 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8982 for ac_extension in a so sl dylib la dll; do
8983 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8984 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8985 ac_im_usrlibdir=$ac_im_libdir; break
8987 done
8988 # Screen out bogus values from the imake configuration. They are
8989 # bogus both because they are the default anyway, and because
8990 # using them would break gcc on systems where it needs fixed includes.
8991 case $ac_im_incroot in
8992 /usr/include) ac_x_includes= ;;
8993 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8994 esac
8995 case $ac_im_usrlibdir in
8996 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8997 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8998 esac
9000 cd ..
9001 rm -f -r conftest.dir
9004 # Standard set of common directories for X headers.
9005 # Check X11 before X11Rn because it is often a symlink to the current release.
9006 ac_x_header_dirs='
9007 /usr/X11/include
9008 /usr/X11R7/include
9009 /usr/X11R6/include
9010 /usr/X11R5/include
9011 /usr/X11R4/include
9013 /usr/include/X11
9014 /usr/include/X11R7
9015 /usr/include/X11R6
9016 /usr/include/X11R5
9017 /usr/include/X11R4
9019 /usr/local/X11/include
9020 /usr/local/X11R7/include
9021 /usr/local/X11R6/include
9022 /usr/local/X11R5/include
9023 /usr/local/X11R4/include
9025 /usr/local/include/X11
9026 /usr/local/include/X11R7
9027 /usr/local/include/X11R6
9028 /usr/local/include/X11R5
9029 /usr/local/include/X11R4
9031 /usr/X386/include
9032 /usr/x386/include
9033 /usr/XFree86/include/X11
9035 /usr/include
9036 /usr/local/include
9037 /usr/unsupported/include
9038 /usr/athena/include
9039 /usr/local/x11r5/include
9040 /usr/lpp/Xamples/include
9042 /usr/openwin/include
9043 /usr/openwin/share/include'
9045 if test "$ac_x_includes" = no; then
9046 # Guess where to find include files, by looking for Xlib.h.
9047 # First, try using that file with no special directory specified.
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9050 #include <X11/Xlib.h>
9051 _ACEOF
9052 if ac_fn_c_try_cpp "$LINENO"; then :
9053 # We can compile using X headers with no special include directory.
9054 ac_x_includes=
9055 else
9056 for ac_dir in $ac_x_header_dirs; do
9057 if test -r "$ac_dir/X11/Xlib.h"; then
9058 ac_x_includes=$ac_dir
9059 break
9061 done
9063 rm -f conftest.err conftest.i conftest.$ac_ext
9064 fi # $ac_x_includes = no
9066 if test "$ac_x_libraries" = no; then
9067 # Check for the libraries.
9068 # See if we find them without any special options.
9069 # Don't add to $LIBS permanently.
9070 ac_save_LIBS=$LIBS
9071 LIBS="-lX11 $LIBS"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 #include <X11/Xlib.h>
9076 main ()
9078 XrmInitialize ()
9080 return 0;
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084 LIBS=$ac_save_LIBS
9085 # We can link X programs with no special library path.
9086 ac_x_libraries=
9087 else
9088 LIBS=$ac_save_LIBS
9089 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9091 # Don't even attempt the hair of trying to link an X program!
9092 for ac_extension in a so sl dylib la dll; do
9093 if test -r "$ac_dir/libX11.$ac_extension"; then
9094 ac_x_libraries=$ac_dir
9095 break 2
9097 done
9098 done
9100 rm -f core conftest.err conftest.$ac_objext \
9101 conftest$ac_exeext conftest.$ac_ext
9102 fi # $ac_x_libraries = no
9104 case $ac_x_includes,$ac_x_libraries in #(
9105 no,* | *,no | *\'*)
9106 # Didn't find X, or a directory has "'" in its name.
9107 ac_cv_have_x="have_x=no";; #(
9109 # Record where we found X for the cache.
9110 ac_cv_have_x="have_x=yes\
9111 ac_x_includes='$ac_x_includes'\
9112 ac_x_libraries='$ac_x_libraries'"
9113 esac
9115 ;; #(
9116 *) have_x=yes;;
9117 esac
9118 eval "$ac_cv_have_x"
9119 fi # $with_x != no
9121 if test "$have_x" != yes; then
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9123 $as_echo "$have_x" >&6; }
9124 no_x=yes
9125 else
9126 # If each of the values was on the command line, it overrides each guess.
9127 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9128 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9129 # Update the cache value to reflect the command line values.
9130 ac_cv_have_x="have_x=yes\
9131 ac_x_includes='$x_includes'\
9132 ac_x_libraries='$x_libraries'"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9134 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9137 if test "$no_x" = yes; then
9138 # Not all programs may use this symbol, but it does not hurt to define it.
9140 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9142 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9143 else
9144 if test -n "$x_includes"; then
9145 X_CFLAGS="$X_CFLAGS -I$x_includes"
9148 # It would also be nice to do this for all -L options, not just this one.
9149 if test -n "$x_libraries"; then
9150 X_LIBS="$X_LIBS -L$x_libraries"
9151 # For Solaris; some versions of Sun CC require a space after -R and
9152 # others require no space. Words are not sufficient . . . .
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9154 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9155 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9156 ac_xsave_c_werror_flag=$ac_c_werror_flag
9157 ac_c_werror_flag=yes
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9162 main ()
9166 return 0;
9168 _ACEOF
9169 if ac_fn_c_try_link "$LINENO"; then :
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 $as_echo "no" >&6; }
9172 X_LIBS="$X_LIBS -R$x_libraries"
9173 else
9174 LIBS="$ac_xsave_LIBS -R $x_libraries"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9179 main ()
9183 return 0;
9185 _ACEOF
9186 if ac_fn_c_try_link "$LINENO"; then :
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9188 $as_echo "yes" >&6; }
9189 X_LIBS="$X_LIBS -R $x_libraries"
9190 else
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9192 $as_echo "neither works" >&6; }
9194 rm -f core conftest.err conftest.$ac_objext \
9195 conftest$ac_exeext conftest.$ac_ext
9197 rm -f core conftest.err conftest.$ac_objext \
9198 conftest$ac_exeext conftest.$ac_ext
9199 ac_c_werror_flag=$ac_xsave_c_werror_flag
9200 LIBS=$ac_xsave_LIBS
9203 # Check for system-dependent libraries X programs must link with.
9204 # Do this before checking for the system-independent R6 libraries
9205 # (-lICE), since we may need -lsocket or whatever for X linking.
9207 if test "$ISC" = yes; then
9208 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9209 else
9210 # Martyn Johnson says this is needed for Ultrix, if the X
9211 # libraries were built with DECnet support. And Karl Berry says
9212 # the Alpha needs dnet_stub (dnet does not exist).
9213 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9215 /* end confdefs.h. */
9217 /* Override any GCC internal prototype to avoid an error.
9218 Use char because int might match the return type of a GCC
9219 builtin and then its argument prototype would still apply. */
9220 #ifdef __cplusplus
9221 extern "C"
9222 #endif
9223 char XOpenDisplay ();
9225 main ()
9227 return XOpenDisplay ();
9229 return 0;
9231 _ACEOF
9232 if ac_fn_c_try_link "$LINENO"; then :
9234 else
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9236 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9237 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_lib_save_LIBS=$LIBS
9241 LIBS="-ldnet $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char dnet_ntoa ();
9253 main ()
9255 return dnet_ntoa ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 ac_cv_lib_dnet_dnet_ntoa=yes
9262 else
9263 ac_cv_lib_dnet_dnet_ntoa=no
9265 rm -f core conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9270 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9271 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9277 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9278 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9279 $as_echo_n "(cached) " >&6
9280 else
9281 ac_check_lib_save_LIBS=$LIBS
9282 LIBS="-ldnet_stub $LIBS"
9283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 /* end confdefs.h. */
9286 /* Override any GCC internal prototype to avoid an error.
9287 Use char because int might match the return type of a GCC
9288 builtin and then its argument prototype would still apply. */
9289 #ifdef __cplusplus
9290 extern "C"
9291 #endif
9292 char dnet_ntoa ();
9294 main ()
9296 return dnet_ntoa ();
9298 return 0;
9300 _ACEOF
9301 if ac_fn_c_try_link "$LINENO"; then :
9302 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9303 else
9304 ac_cv_lib_dnet_stub_dnet_ntoa=no
9306 rm -f core conftest.err conftest.$ac_objext \
9307 conftest$ac_exeext conftest.$ac_ext
9308 LIBS=$ac_check_lib_save_LIBS
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9311 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9312 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS="$ac_xsave_LIBS"
9322 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9323 # to get the SysV transport functions.
9324 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9325 # needs -lnsl.
9326 # The nsl library prevents programs from opening the X display
9327 # on Irix 5.2, according to T.E. Dickey.
9328 # The functions gethostbyname, getservbyname, and inet_addr are
9329 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9330 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9331 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9335 if test $ac_cv_func_gethostbyname = no; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9337 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9338 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9339 $as_echo_n "(cached) " >&6
9340 else
9341 ac_check_lib_save_LIBS=$LIBS
9342 LIBS="-lnsl $LIBS"
9343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9349 #ifdef __cplusplus
9350 extern "C"
9351 #endif
9352 char gethostbyname ();
9354 main ()
9356 return gethostbyname ();
9358 return 0;
9360 _ACEOF
9361 if ac_fn_c_try_link "$LINENO"; then :
9362 ac_cv_lib_nsl_gethostbyname=yes
9363 else
9364 ac_cv_lib_nsl_gethostbyname=no
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 LIBS=$ac_check_lib_save_LIBS
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9371 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9372 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9373 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9376 if test $ac_cv_lib_nsl_gethostbyname = no; then
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9378 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9379 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_check_lib_save_LIBS=$LIBS
9383 LIBS="-lbsd $LIBS"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9390 #ifdef __cplusplus
9391 extern "C"
9392 #endif
9393 char gethostbyname ();
9395 main ()
9397 return gethostbyname ();
9399 return 0;
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"; then :
9403 ac_cv_lib_bsd_gethostbyname=yes
9404 else
9405 ac_cv_lib_bsd_gethostbyname=no
9407 rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS=$ac_check_lib_save_LIBS
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9412 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9413 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9414 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9420 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9421 # socket/setsockopt and other routines are undefined under SCO ODT
9422 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9423 # on later versions), says Simon Leinen: it contains gethostby*
9424 # variants that don't use the name server (or something). -lsocket
9425 # must be given before -lnsl if both are needed. We assume that
9426 # if connect needs -lnsl, so does gethostbyname.
9427 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9428 if test "x$ac_cv_func_connect" = xyes; then :
9432 if test $ac_cv_func_connect = no; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9434 $as_echo_n "checking for connect in -lsocket... " >&6; }
9435 if ${ac_cv_lib_socket_connect+:} false; then :
9436 $as_echo_n "(cached) " >&6
9437 else
9438 ac_check_lib_save_LIBS=$LIBS
9439 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char connect ();
9451 main ()
9453 return connect ();
9455 return 0;
9457 _ACEOF
9458 if ac_fn_c_try_link "$LINENO"; then :
9459 ac_cv_lib_socket_connect=yes
9460 else
9461 ac_cv_lib_socket_connect=no
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 LIBS=$ac_check_lib_save_LIBS
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9468 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9469 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9470 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9475 # Guillermo Gomez says -lposix is necessary on A/UX.
9476 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9477 if test "x$ac_cv_func_remove" = xyes; then :
9481 if test $ac_cv_func_remove = no; then
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9483 $as_echo_n "checking for remove in -lposix... " >&6; }
9484 if ${ac_cv_lib_posix_remove+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_check_lib_save_LIBS=$LIBS
9488 LIBS="-lposix $LIBS"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char remove ();
9500 main ()
9502 return remove ();
9504 return 0;
9506 _ACEOF
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 ac_cv_lib_posix_remove=yes
9509 else
9510 ac_cv_lib_posix_remove=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LIBS=$ac_check_lib_save_LIBS
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9517 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9518 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9519 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9524 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9525 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9526 if test "x$ac_cv_func_shmat" = xyes; then :
9530 if test $ac_cv_func_shmat = no; then
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9532 $as_echo_n "checking for shmat in -lipc... " >&6; }
9533 if ${ac_cv_lib_ipc_shmat+:} false; then :
9534 $as_echo_n "(cached) " >&6
9535 else
9536 ac_check_lib_save_LIBS=$LIBS
9537 LIBS="-lipc $LIBS"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9541 /* Override any GCC internal prototype to avoid an error.
9542 Use char because int might match the return type of a GCC
9543 builtin and then its argument prototype would still apply. */
9544 #ifdef __cplusplus
9545 extern "C"
9546 #endif
9547 char shmat ();
9549 main ()
9551 return shmat ();
9553 return 0;
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_lib_ipc_shmat=yes
9558 else
9559 ac_cv_lib_ipc_shmat=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_lib_save_LIBS
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9566 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9567 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9568 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9574 # Check for libraries that X11R6 Xt/Xaw programs need.
9575 ac_save_LDFLAGS=$LDFLAGS
9576 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9577 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9578 # check for ICE first), but we must link in the order -lSM -lICE or
9579 # we get undefined symbols. So assume we have SM if we have ICE.
9580 # These have to be linked with before -lX11, unlike the other
9581 # libraries we check for below, so use a different variable.
9582 # John Interrante, Karl Berry
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9584 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9585 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9586 $as_echo_n "(cached) " >&6
9587 else
9588 ac_check_lib_save_LIBS=$LIBS
9589 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 /* Override any GCC internal prototype to avoid an error.
9594 Use char because int might match the return type of a GCC
9595 builtin and then its argument prototype would still apply. */
9596 #ifdef __cplusplus
9597 extern "C"
9598 #endif
9599 char IceConnectionNumber ();
9601 main ()
9603 return IceConnectionNumber ();
9605 return 0;
9607 _ACEOF
9608 if ac_fn_c_try_link "$LINENO"; then :
9609 ac_cv_lib_ICE_IceConnectionNumber=yes
9610 else
9611 ac_cv_lib_ICE_IceConnectionNumber=no
9613 rm -f core conftest.err conftest.$ac_objext \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9618 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9619 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9620 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9623 LDFLAGS=$ac_save_LDFLAGS
9628 if test "$have_x" = "yes"
9629 then
9630 ac_save_CPPFLAGS="$CPPFLAGS"
9631 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9634 $as_echo_n "checking for -lX11... " >&6; }
9635 if ${ac_cv_lib_soname_X11+:} false; then :
9636 $as_echo_n "(cached) " >&6
9637 else
9638 ac_check_soname_save_LIBS=$LIBS
9639 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 /* end confdefs.h. */
9643 /* Override any GCC internal prototype to avoid an error.
9644 Use char because int might match the return type of a GCC
9645 builtin and then its argument prototype would still apply. */
9646 #ifdef __cplusplus
9647 extern "C"
9648 #endif
9649 char XCreateWindow ();
9651 main ()
9653 return XCreateWindow ();
9655 return 0;
9657 _ACEOF
9658 if ac_fn_c_try_link "$LINENO"; then :
9659 case "$LIBEXT" in
9660 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9661 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'` ;;
9662 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9663 if ${ac_cv_lib_soname_X11:+false} :; then :
9664 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9665 fi ;;
9666 esac
9668 rm -f core conftest.err conftest.$ac_objext \
9669 conftest$ac_exeext conftest.$ac_ext
9670 LIBS=$ac_check_soname_save_LIBS
9672 if ${ac_cv_lib_soname_X11:+false} :; then :
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9674 $as_echo "not found" >&6; }
9676 else
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9678 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9680 cat >>confdefs.h <<_ACEOF
9681 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9682 _ACEOF
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9687 $as_echo_n "checking for -lXext... " >&6; }
9688 if ${ac_cv_lib_soname_Xext+:} false; then :
9689 $as_echo_n "(cached) " >&6
9690 else
9691 ac_check_soname_save_LIBS=$LIBS
9692 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9694 /* end confdefs.h. */
9696 /* Override any GCC internal prototype to avoid an error.
9697 Use char because int might match the return type of a GCC
9698 builtin and then its argument prototype would still apply. */
9699 #ifdef __cplusplus
9700 extern "C"
9701 #endif
9702 char XextCreateExtension ();
9704 main ()
9706 return XextCreateExtension ();
9708 return 0;
9710 _ACEOF
9711 if ac_fn_c_try_link "$LINENO"; then :
9712 case "$LIBEXT" in
9713 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9714 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'` ;;
9715 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9716 if ${ac_cv_lib_soname_Xext:+false} :; then :
9717 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9718 fi ;;
9719 esac
9721 rm -f core conftest.err conftest.$ac_objext \
9722 conftest$ac_exeext conftest.$ac_ext
9723 LIBS=$ac_check_soname_save_LIBS
9725 if ${ac_cv_lib_soname_Xext:+false} :; then :
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9727 $as_echo "not found" >&6; }
9729 else
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9731 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9733 cat >>confdefs.h <<_ACEOF
9734 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9735 _ACEOF
9737 X_LIBS="$X_LIBS -lXext"
9739 X_LIBS="$X_LIBS -lX11"
9741 for ac_header in X11/Xlib.h \
9742 X11/XKBlib.h \
9743 X11/Xutil.h \
9744 X11/Xcursor/Xcursor.h \
9745 X11/extensions/shape.h \
9746 X11/extensions/XInput.h \
9747 X11/extensions/XInput2.h \
9748 X11/extensions/XShm.h \
9749 X11/extensions/Xcomposite.h \
9750 X11/extensions/Xinerama.h \
9751 X11/extensions/Xrandr.h \
9752 X11/extensions/Xrender.h \
9753 X11/extensions/xf86vmode.h \
9754 X11/extensions/xf86vmproto.h
9755 do :
9756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9757 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9758 # include <X11/Xlib.h>
9759 #endif
9760 #ifdef HAVE_X11_XUTIL_H
9761 # include <X11/Xutil.h>
9762 #endif
9764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9765 cat >>confdefs.h <<_ACEOF
9766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9767 _ACEOF
9771 done
9774 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9775 then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9777 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9778 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9779 $as_echo_n "(cached) " >&6
9780 else
9781 ac_check_lib_save_LIBS=$LIBS
9782 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9786 /* Override any GCC internal prototype to avoid an error.
9787 Use char because int might match the return type of a GCC
9788 builtin and then its argument prototype would still apply. */
9789 #ifdef __cplusplus
9790 extern "C"
9791 #endif
9792 char XkbQueryExtension ();
9794 main ()
9796 return XkbQueryExtension ();
9798 return 0;
9800 _ACEOF
9801 if ac_fn_c_try_link "$LINENO"; then :
9802 ac_cv_lib_X11_XkbQueryExtension=yes
9803 else
9804 ac_cv_lib_X11_XkbQueryExtension=no
9806 rm -f core conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_lib_save_LIBS
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9811 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9812 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9814 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9820 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9821 then
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9823 $as_echo_n "checking for -lXcursor... " >&6; }
9824 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9825 $as_echo_n "(cached) " >&6
9826 else
9827 ac_check_soname_save_LIBS=$LIBS
9828 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h. */
9832 /* Override any GCC internal prototype to avoid an error.
9833 Use char because int might match the return type of a GCC
9834 builtin and then its argument prototype would still apply. */
9835 #ifdef __cplusplus
9836 extern "C"
9837 #endif
9838 char XcursorImageLoadCursor ();
9840 main ()
9842 return XcursorImageLoadCursor ();
9844 return 0;
9846 _ACEOF
9847 if ac_fn_c_try_link "$LINENO"; then :
9848 case "$LIBEXT" in
9849 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9850 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'` ;;
9851 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9852 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9853 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9854 fi ;;
9855 esac
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 LIBS=$ac_check_soname_save_LIBS
9861 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9863 $as_echo "not found" >&6; }
9865 else
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9867 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9869 cat >>confdefs.h <<_ACEOF
9870 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9871 _ACEOF
9876 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9877 case "x$with_xcursor" in
9878 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9879 xno) ;;
9880 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9881 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9882 esac
9886 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9887 then
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9889 $as_echo_n "checking for -lXi... " >&6; }
9890 if ${ac_cv_lib_soname_Xi+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_soname_save_LIBS=$LIBS
9894 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char XOpenDevice ();
9906 main ()
9908 return XOpenDevice ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 case "$LIBEXT" in
9915 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9916 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'` ;;
9917 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9918 if ${ac_cv_lib_soname_Xi:+false} :; then :
9919 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9920 fi ;;
9921 esac
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 LIBS=$ac_check_soname_save_LIBS
9927 if ${ac_cv_lib_soname_Xi:+false} :; then :
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9929 $as_echo "not found" >&6; }
9931 else
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9933 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9935 cat >>confdefs.h <<_ACEOF
9936 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9937 _ACEOF
9942 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9943 case "x$with_xinput" in
9944 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9945 xno) ;;
9946 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9947 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9948 esac
9952 if test "x$ac_cv_lib_soname_Xi" != x
9953 then
9954 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9955 case "x$with_xinput2" in
9956 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9957 xno) ;;
9958 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9959 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9960 esac
9965 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9966 then
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9968 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9969 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_check_lib_save_LIBS=$LIBS
9973 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9980 #ifdef __cplusplus
9981 extern "C"
9982 #endif
9983 char XShmQueryExtension ();
9985 main ()
9987 return XShmQueryExtension ();
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 ac_cv_lib_Xext_XShmQueryExtension=yes
9994 else
9995 ac_cv_lib_Xext_XShmQueryExtension=no
9997 rm -f core conftest.err conftest.$ac_objext \
9998 conftest$ac_exeext conftest.$ac_ext
9999 LIBS=$ac_check_lib_save_LIBS
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10002 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10003 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10005 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10010 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10011 case "x$with_xshm" in
10012 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10013 xno) ;;
10014 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10015 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10016 esac
10020 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10021 then
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10023 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10024 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_check_lib_save_LIBS=$LIBS
10028 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10030 /* end confdefs.h. */
10032 /* Override any GCC internal prototype to avoid an error.
10033 Use char because int might match the return type of a GCC
10034 builtin and then its argument prototype would still apply. */
10035 #ifdef __cplusplus
10036 extern "C"
10037 #endif
10038 char XShapeQueryExtension ();
10040 main ()
10042 return XShapeQueryExtension ();
10044 return 0;
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048 ac_cv_lib_Xext_XShapeQueryExtension=yes
10049 else
10050 ac_cv_lib_Xext_XShapeQueryExtension=no
10052 rm -f core conftest.err conftest.$ac_objext \
10053 conftest$ac_exeext conftest.$ac_ext
10054 LIBS=$ac_check_lib_save_LIBS
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10057 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10058 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10060 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10065 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10066 case "x$with_xshape" in
10067 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10068 xno) ;;
10069 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10070 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10071 esac
10075 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10076 then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10078 $as_echo_n "checking for -lXxf86vm... " >&6; }
10079 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10080 $as_echo_n "(cached) " >&6
10081 else
10082 ac_check_soname_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10087 /* Override any GCC internal prototype to avoid an error.
10088 Use char because int might match the return type of a GCC
10089 builtin and then its argument prototype would still apply. */
10090 #ifdef __cplusplus
10091 extern "C"
10092 #endif
10093 char XF86VidModeQueryExtension ();
10095 main ()
10097 return XF86VidModeQueryExtension ();
10099 return 0;
10101 _ACEOF
10102 if ac_fn_c_try_link "$LINENO"; then :
10103 case "$LIBEXT" in
10104 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10105 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'` ;;
10106 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10107 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10108 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10109 fi ;;
10110 esac
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_soname_save_LIBS
10116 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10118 $as_echo "not found" >&6; }
10120 else
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10122 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10124 cat >>confdefs.h <<_ACEOF
10125 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10126 _ACEOF
10131 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10132 case "x$with_xxf86vm" in
10133 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10134 xno) ;;
10135 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10136 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10137 esac
10141 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10142 then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10144 $as_echo_n "checking for -lXrender... " >&6; }
10145 if ${ac_cv_lib_soname_Xrender+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_check_soname_save_LIBS=$LIBS
10149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10153 /* Override any GCC internal prototype to avoid an error.
10154 Use char because int might match the return type of a GCC
10155 builtin and then its argument prototype would still apply. */
10156 #ifdef __cplusplus
10157 extern "C"
10158 #endif
10159 char XRenderQueryExtension ();
10161 main ()
10163 return XRenderQueryExtension ();
10165 return 0;
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 case "$LIBEXT" in
10170 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10171 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'` ;;
10172 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10173 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10174 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10175 fi ;;
10176 esac
10178 rm -f core conftest.err conftest.$ac_objext \
10179 conftest$ac_exeext conftest.$ac_ext
10180 LIBS=$ac_check_soname_save_LIBS
10182 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10184 $as_echo "not found" >&6; }
10186 else
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10188 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10190 cat >>confdefs.h <<_ACEOF
10191 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10192 _ACEOF
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10195 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10196 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_lib_save_LIBS=$LIBS
10200 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char XRenderSetPictureTransform ();
10212 main ()
10214 return XRenderSetPictureTransform ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10221 else
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10224 rm -f core conftest.err conftest.$ac_objext \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10229 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10230 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10232 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10237 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10238 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_check_lib_save_LIBS=$LIBS
10242 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XRenderCreateLinearGradient ();
10254 main ()
10256 return XRenderCreateLinearGradient ();
10258 return 0;
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10263 else
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 LIBS=$ac_check_lib_save_LIBS
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10271 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10272 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10274 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10281 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10282 case "x$with_xrender" in
10283 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10284 xno) ;;
10285 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10286 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10287 esac
10291 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10292 then
10293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 #include <X11/Xlib.h>
10296 #include <X11/extensions/Xrandr.h>
10298 main ()
10300 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10302 return 0;
10304 _ACEOF
10305 if ac_fn_c_try_compile "$LINENO"; then :
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10307 $as_echo_n "checking for -lXrandr... " >&6; }
10308 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10309 $as_echo_n "(cached) " >&6
10310 else
10311 ac_check_soname_save_LIBS=$LIBS
10312 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10316 /* Override any GCC internal prototype to avoid an error.
10317 Use char because int might match the return type of a GCC
10318 builtin and then its argument prototype would still apply. */
10319 #ifdef __cplusplus
10320 extern "C"
10321 #endif
10322 char XRRQueryExtension ();
10324 main ()
10326 return XRRQueryExtension ();
10328 return 0;
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 case "$LIBEXT" in
10333 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10334 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'` ;;
10335 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10336 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10337 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10338 fi ;;
10339 esac
10341 rm -f core conftest.err conftest.$ac_objext \
10342 conftest$ac_exeext conftest.$ac_ext
10343 LIBS=$ac_check_soname_save_LIBS
10345 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10347 $as_echo "not found" >&6; }
10349 else
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10351 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10353 cat >>confdefs.h <<_ACEOF
10354 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10355 _ACEOF
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xrandr.h>
10362 main ()
10364 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_compile "$LINENO"; then :
10371 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10380 case "x$with_xrandr" in
10381 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10382 xno) ;;
10383 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10384 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10385 esac
10389 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10390 then
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <X11/Xlib.h>
10394 #include <X11/extensions/Xinerama.h>
10396 main ()
10398 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10400 return 0;
10402 _ACEOF
10403 if ac_fn_c_try_compile "$LINENO"; then :
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10405 $as_echo_n "checking for -lXinerama... " >&6; }
10406 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10407 $as_echo_n "(cached) " >&6
10408 else
10409 ac_check_soname_save_LIBS=$LIBS
10410 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10412 /* end confdefs.h. */
10414 /* Override any GCC internal prototype to avoid an error.
10415 Use char because int might match the return type of a GCC
10416 builtin and then its argument prototype would still apply. */
10417 #ifdef __cplusplus
10418 extern "C"
10419 #endif
10420 char XineramaQueryScreens ();
10422 main ()
10424 return XineramaQueryScreens ();
10426 return 0;
10428 _ACEOF
10429 if ac_fn_c_try_link "$LINENO"; then :
10430 case "$LIBEXT" in
10431 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10432 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'` ;;
10433 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10435 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10436 fi ;;
10437 esac
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_soname_save_LIBS
10443 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10445 $as_echo "not found" >&6; }
10447 else
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10449 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10451 cat >>confdefs.h <<_ACEOF
10452 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10453 _ACEOF
10458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10460 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10461 case "x$with_xinerama" in
10462 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10463 xno) ;;
10464 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10465 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10466 esac
10470 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10471 then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10473 $as_echo_n "checking for -lXcomposite... " >&6; }
10474 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10475 $as_echo_n "(cached) " >&6
10476 else
10477 ac_check_soname_save_LIBS=$LIBS
10478 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10485 #ifdef __cplusplus
10486 extern "C"
10487 #endif
10488 char XCompositeRedirectWindow ();
10490 main ()
10492 return XCompositeRedirectWindow ();
10494 return 0;
10496 _ACEOF
10497 if ac_fn_c_try_link "$LINENO"; then :
10498 case "$LIBEXT" in
10499 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10500 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'` ;;
10501 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10502 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10503 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10504 fi ;;
10505 esac
10507 rm -f core conftest.err conftest.$ac_objext \
10508 conftest$ac_exeext conftest.$ac_ext
10509 LIBS=$ac_check_soname_save_LIBS
10511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10513 $as_echo "not found" >&6; }
10515 else
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10517 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10519 cat >>confdefs.h <<_ACEOF
10520 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10521 _ACEOF
10526 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10527 case "x$with_xcomposite" in
10528 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10529 xno) ;;
10530 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10531 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10532 esac
10536 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10537 #include <X11/Xlib.h>
10538 #endif
10540 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10542 cat >>confdefs.h <<_ACEOF
10543 #define HAVE_XICCALLBACK_CALLBACK 1
10544 _ACEOF
10548 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10549 #include <X11/Xlib.h>
10550 #endif
10552 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10554 cat >>confdefs.h <<_ACEOF
10555 #define HAVE_XEVENT_XCOOKIE 1
10556 _ACEOF
10563 opengl_msg=""
10564 if test "x$with_opengl" != "xno"
10565 then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10567 $as_echo_n "checking for -lGL... " >&6; }
10568 if ${ac_cv_lib_soname_GL+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_check_soname_save_LIBS=$LIBS
10572 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10576 /* Override any GCC internal prototype to avoid an error.
10577 Use char because int might match the return type of a GCC
10578 builtin and then its argument prototype would still apply. */
10579 #ifdef __cplusplus
10580 extern "C"
10581 #endif
10582 char glXCreateContext ();
10584 main ()
10586 return glXCreateContext ();
10588 return 0;
10590 _ACEOF
10591 if ac_fn_c_try_link "$LINENO"; then :
10592 case "$LIBEXT" in
10593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10594 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'` ;;
10595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10596 if ${ac_cv_lib_soname_GL:+false} :; then :
10597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10598 fi ;;
10599 esac
10601 rm -f core conftest.err conftest.$ac_objext \
10602 conftest$ac_exeext conftest.$ac_ext
10603 LIBS=$ac_check_soname_save_LIBS
10605 if ${ac_cv_lib_soname_GL:+false} :; then :
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10607 $as_echo "not found" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10609 $as_echo_n "checking for -lGL... " >&6; }
10610 if ${ac_cv_lib_soname_GL+:} false; then :
10611 $as_echo_n "(cached) " >&6
10612 else
10613 ac_check_soname_save_LIBS=$LIBS
10614 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"
10615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10616 /* end confdefs.h. */
10618 /* Override any GCC internal prototype to avoid an error.
10619 Use char because int might match the return type of a GCC
10620 builtin and then its argument prototype would still apply. */
10621 #ifdef __cplusplus
10622 extern "C"
10623 #endif
10624 char glXCreateContext ();
10626 main ()
10628 return glXCreateContext ();
10630 return 0;
10632 _ACEOF
10633 if ac_fn_c_try_link "$LINENO"; then :
10634 case "$LIBEXT" in
10635 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10636 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'` ;;
10637 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10638 if ${ac_cv_lib_soname_GL:+false} :; then :
10639 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10640 fi ;;
10641 esac
10643 rm -f core conftest.err conftest.$ac_objext \
10644 conftest$ac_exeext conftest.$ac_ext
10645 LIBS=$ac_check_soname_save_LIBS
10647 if ${ac_cv_lib_soname_GL:+false} :; then :
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10649 $as_echo "not found" >&6; }
10650 if test -f /usr/X11R6/lib/libGL.a
10651 then
10652 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10654 else
10655 opengl_msg="No OpenGL library found on this system."
10657 else
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10659 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10661 cat >>confdefs.h <<_ACEOF
10662 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10663 _ACEOF
10665 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"
10667 else
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10669 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10671 cat >>confdefs.h <<_ACEOF
10672 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10673 _ACEOF
10675 OPENGL_LIBS="-lGL"
10677 if test "x$with_glu" != "xno"
10678 then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10680 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10681 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10682 $as_echo_n "(cached) " >&6
10683 else
10684 ac_check_lib_save_LIBS=$LIBS
10685 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10689 /* Override any GCC internal prototype to avoid an error.
10690 Use char because int might match the return type of a GCC
10691 builtin and then its argument prototype would still apply. */
10692 #ifdef __cplusplus
10693 extern "C"
10694 #endif
10695 char gluLookAt ();
10697 main ()
10699 return gluLookAt ();
10701 return 0;
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_lib_GLU_gluLookAt=yes
10706 else
10707 ac_cv_lib_GLU_gluLookAt=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 LIBS=$ac_check_lib_save_LIBS
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10714 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10715 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10719 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10720 case "x$with_glu" in
10721 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10722 xno) ;;
10723 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10724 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10725 esac
10730 if test "x$with_osmesa" != "xno"
10731 then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10733 $as_echo_n "checking for -lOSMesa... " >&6; }
10734 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10735 $as_echo_n "(cached) " >&6
10736 else
10737 ac_check_soname_save_LIBS=$LIBS
10738 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10742 /* Override any GCC internal prototype to avoid an error.
10743 Use char because int might match the return type of a GCC
10744 builtin and then its argument prototype would still apply. */
10745 #ifdef __cplusplus
10746 extern "C"
10747 #endif
10748 char glAccum ();
10750 main ()
10752 return glAccum ();
10754 return 0;
10756 _ACEOF
10757 if ac_fn_c_try_link "$LINENO"; then :
10758 case "$LIBEXT" in
10759 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10760 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'` ;;
10761 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10762 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10763 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10764 fi ;;
10765 esac
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10769 LIBS=$ac_check_soname_save_LIBS
10771 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10773 $as_echo "not found" >&6; }
10775 else
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10777 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10779 cat >>confdefs.h <<_ACEOF
10780 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10781 _ACEOF
10785 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10786 case "x$with_osmesa" in
10787 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10788 xno) ;;
10789 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10790 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10791 esac
10796 if test -n "$opengl_msg"; then :
10797 case "x$with_opengl" in
10798 x) as_fn_append wine_warnings "|$opengl_msg
10799 OpenGL and Direct3D won't be supported." ;;
10800 xno) ;;
10801 *) as_fn_error $? "$opengl_msg
10802 OpenGL and Direct3D won't be supported.
10803 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10804 esac
10808 CPPFLAGS="$ac_save_CPPFLAGS"
10809 else
10810 X_CFLAGS=""
10811 X_LIBS=""
10813 if test "x$X_LIBS" = "x"; then :
10814 case "x$with_x" in
10815 xno) ;;
10816 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10817 without X support, which probably isn't what you want. You will need
10818 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10819 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10820 esac
10821 enable_winex11_drv=${enable_winex11_drv:-no}
10824 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10826 if test "$ac_cv_header_CL_cl_h" = "yes"
10827 then
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10829 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10830 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10831 $as_echo_n "(cached) " >&6
10832 else
10833 ac_check_lib_save_LIBS=$LIBS
10834 LIBS="-lOpenCL $LIBS"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10838 /* Override any GCC internal prototype to avoid an error.
10839 Use char because int might match the return type of a GCC
10840 builtin and then its argument prototype would still apply. */
10841 #ifdef __cplusplus
10842 extern "C"
10843 #endif
10844 char clGetPlatformInfo ();
10846 main ()
10848 return clGetPlatformInfo ();
10850 return 0;
10852 _ACEOF
10853 if ac_fn_c_try_link "$LINENO"; then :
10854 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10855 else
10856 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10863 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10864 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10865 OPENCL_LIBS="-lOpenCL"
10870 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10871 case "x$with_opencl" in
10872 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10873 xno) ;;
10874 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10875 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10876 esac
10877 enable_opencl=${enable_opencl:-no}
10880 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10881 then
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10883 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10884 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10885 $as_echo_n "(cached) " >&6
10886 else
10887 ac_check_lib_save_LIBS=$LIBS
10888 LIBS="-lpcap $LIBS"
10889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10890 /* end confdefs.h. */
10892 /* Override any GCC internal prototype to avoid an error.
10893 Use char because int might match the return type of a GCC
10894 builtin and then its argument prototype would still apply. */
10895 #ifdef __cplusplus
10896 extern "C"
10897 #endif
10898 char pcap_create ();
10900 main ()
10902 return pcap_create ();
10904 return 0;
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"; then :
10908 ac_cv_lib_pcap_pcap_create=yes
10909 else
10910 ac_cv_lib_pcap_pcap_create=no
10912 rm -f core conftest.err conftest.$ac_objext \
10913 conftest$ac_exeext conftest.$ac_ext
10914 LIBS=$ac_check_lib_save_LIBS
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10917 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10918 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10919 PCAP_LIBS="-lpcap"
10924 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10925 case "x$with_pcap" in
10926 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10927 xno) ;;
10928 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10929 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10930 esac
10931 enable_wpcap=${enable_wpcap:-no}
10935 if test "x$with_xml" != "xno"
10936 then
10937 if ${XML2_CFLAGS:+false} :; then :
10938 if ${PKG_CONFIG+:} false; then :
10939 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10942 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10943 if ${XML2_LIBS:+false} :; then :
10944 if ${PKG_CONFIG+:} false; then :
10945 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10948 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10949 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10950 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10951 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10952 ac_save_CPPFLAGS=$CPPFLAGS
10953 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10954 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10955 do :
10956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10957 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10958 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10959 cat >>confdefs.h <<_ACEOF
10960 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10961 _ACEOF
10965 done
10967 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"
10968 then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10970 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10971 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lxml2 $XML2_LIBS $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char xmlParseMemory ();
10987 main ()
10989 return xmlParseMemory ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_xml2_xmlParseMemory=yes
10996 else
10997 ac_cv_lib_xml2_xmlParseMemory=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11004 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11005 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11007 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11009 else
11010 XML2_LIBS=""
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11014 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11015 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11016 $as_echo_n "(cached) " >&6
11017 else
11018 ac_check_lib_save_LIBS=$LIBS
11019 LIBS="-lxml2 $XML2_LIBS $LIBS"
11020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11021 /* end confdefs.h. */
11023 /* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026 #ifdef __cplusplus
11027 extern "C"
11028 #endif
11029 char xmlReadMemory ();
11031 main ()
11033 return xmlReadMemory ();
11035 return 0;
11037 _ACEOF
11038 if ac_fn_c_try_link "$LINENO"; then :
11039 ac_cv_lib_xml2_xmlReadMemory=yes
11040 else
11041 ac_cv_lib_xml2_xmlReadMemory=no
11043 rm -f core conftest.err conftest.$ac_objext \
11044 conftest$ac_exeext conftest.$ac_ext
11045 LIBS=$ac_check_lib_save_LIBS
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11048 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11049 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11051 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11056 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11057 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11058 $as_echo_n "(cached) " >&6
11059 else
11060 ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lxml2 $XML2_LIBS $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11063 /* end confdefs.h. */
11065 /* Override any GCC internal prototype to avoid an error.
11066 Use char because int might match the return type of a GCC
11067 builtin and then its argument prototype would still apply. */
11068 #ifdef __cplusplus
11069 extern "C"
11070 #endif
11071 char xmlNewDocPI ();
11073 main ()
11075 return xmlNewDocPI ();
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 ac_cv_lib_xml2_xmlNewDocPI=yes
11082 else
11083 ac_cv_lib_xml2_xmlNewDocPI=no
11085 rm -f core conftest.err conftest.$ac_objext \
11086 conftest$ac_exeext conftest.$ac_ext
11087 LIBS=$ac_check_lib_save_LIBS
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11090 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11091 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11093 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11098 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlSchemaSetParserStructuredErrors ();
11115 main ()
11117 return xmlSchemaSetParserStructuredErrors ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11124 else
11125 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11135 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11140 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11141 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11142 $as_echo_n "(cached) " >&6
11143 else
11144 ac_check_lib_save_LIBS=$LIBS
11145 LIBS="-lxml2 $XML2_LIBS $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char xmlSchemaSetValidStructuredErrors ();
11157 main ()
11159 return xmlSchemaSetValidStructuredErrors ();
11161 return 0;
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11166 else
11167 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11169 rm -f core conftest.err conftest.$ac_objext \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11174 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11175 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11177 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11182 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11183 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11184 $as_echo_n "(cached) " >&6
11185 else
11186 ac_check_lib_save_LIBS=$LIBS
11187 LIBS="-lxml2 $XML2_LIBS $LIBS"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char xmlFirstElementChild ();
11199 main ()
11201 return xmlFirstElementChild ();
11203 return 0;
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207 ac_cv_lib_xml2_xmlFirstElementChild=yes
11208 else
11209 ac_cv_lib_xml2_xmlFirstElementChild=no
11211 rm -f core conftest.err conftest.$ac_objext \
11212 conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11216 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11217 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11219 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11223 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11225 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11227 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11231 else
11232 XML2_CFLAGS=""
11233 XML2_LIBS=""
11235 CPPFLAGS=$ac_save_CPPFLAGS
11236 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11237 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11240 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11241 case "x$with_xml" in
11242 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11243 xno) ;;
11244 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11245 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11246 esac
11250 if test "x$with_xslt" != "xno"
11251 then
11252 if ${XSLT_CFLAGS:+false} :; then :
11253 if ${PKG_CONFIG+:} false; then :
11254 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11257 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11258 if ${XSLT_LIBS:+false} :; then :
11259 if ${PKG_CONFIG+:} false; then :
11260 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11263 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11264 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11265 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11266 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11267 ac_save_CPPFLAGS=$CPPFLAGS
11268 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11269 for ac_header in libxslt/pattern.h libxslt/transform.h
11270 do :
11271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11272 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11273 # include <libxslt/pattern.h>
11274 #endif
11276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11277 cat >>confdefs.h <<_ACEOF
11278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11279 _ACEOF
11283 done
11285 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11286 then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11288 $as_echo_n "checking for -lxslt... " >&6; }
11289 if ${ac_cv_lib_soname_xslt+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_soname_save_LIBS=$LIBS
11293 LIBS="-lxslt $XSLT_LIBS $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char xsltCompilePattern ();
11305 main ()
11307 return xsltCompilePattern ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 case "$LIBEXT" in
11314 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11315 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'` ;;
11316 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11317 if ${ac_cv_lib_soname_xslt:+false} :; then :
11318 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11319 fi ;;
11320 esac
11322 rm -f core conftest.err conftest.$ac_objext \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_soname_save_LIBS
11326 if ${ac_cv_lib_soname_xslt:+false} :; then :
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11328 $as_echo "not found" >&6; }
11330 else
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11332 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11334 cat >>confdefs.h <<_ACEOF
11335 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11336 _ACEOF
11340 else
11341 XSLT_CFLAGS=""
11343 CPPFLAGS=$ac_save_CPPFLAGS
11344 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11345 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11348 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11349 case "x$with_xslt" in
11350 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11351 xno) ;;
11352 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11353 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11354 esac
11358 if test "x$with_dbus" != "xno"
11359 then
11360 if ${DBUS_CFLAGS:+false} :; then :
11361 if ${PKG_CONFIG+:} false; then :
11362 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11366 if ${DBUS_LIBS:+false} :; then :
11367 if ${PKG_CONFIG+:} false; then :
11368 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11373 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11374 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11375 ac_save_CPPFLAGS=$CPPFLAGS
11376 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11377 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11378 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11380 $as_echo_n "checking for -ldbus-1... " >&6; }
11381 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11382 $as_echo_n "(cached) " >&6
11383 else
11384 ac_check_soname_save_LIBS=$LIBS
11385 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char dbus_connection_close ();
11397 main ()
11399 return dbus_connection_close ();
11401 return 0;
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 case "$LIBEXT" in
11406 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11407 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'` ;;
11408 *) 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'`
11409 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11410 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11411 fi ;;
11412 esac
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_soname_save_LIBS
11418 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11420 $as_echo "not found" >&6; }
11421 DBUS_CFLAGS=""
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11424 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11426 cat >>confdefs.h <<_ACEOF
11427 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11428 _ACEOF
11432 else
11433 DBUS_CFLAGS=""
11437 CPPFLAGS=$ac_save_CPPFLAGS
11438 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11439 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11442 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11443 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11444 case "x$with_dbus" in
11445 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11446 xno) ;;
11447 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11448 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11449 esac
11453 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11454 then
11455 if ${HAL_CFLAGS:+false} :; then :
11456 if ${PKG_CONFIG+:} false; then :
11457 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11461 if ${HAL_LIBS:+false} :; then :
11462 if ${PKG_CONFIG+:} false; then :
11463 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11467 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11468 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11469 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11470 ac_save_CPPFLAGS=$CPPFLAGS
11471 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11472 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11473 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11475 $as_echo_n "checking for -lhal... " >&6; }
11476 if ${ac_cv_lib_soname_hal+:} false; then :
11477 $as_echo_n "(cached) " >&6
11478 else
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lhal $HAL_LIBS $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11487 #ifdef __cplusplus
11488 extern "C"
11489 #endif
11490 char libhal_ctx_new ();
11492 main ()
11494 return libhal_ctx_new ();
11496 return 0;
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"; then :
11500 case "$LIBEXT" in
11501 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11504 if ${ac_cv_lib_soname_hal:+false} :; then :
11505 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11506 fi ;;
11507 esac
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_soname_save_LIBS
11513 if ${ac_cv_lib_soname_hal:+false} :; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11515 $as_echo "not found" >&6; }
11516 HAL_CFLAGS=""
11517 else
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11519 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11521 cat >>confdefs.h <<_ACEOF
11522 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11523 _ACEOF
11527 else
11528 HAL_CFLAGS=""
11532 CPPFLAGS=$ac_save_CPPFLAGS
11533 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11534 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11536 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11537 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11538 case "x$with_hal" in
11539 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11540 xno) ;;
11541 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11542 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11543 esac
11548 if test "x$with_gnutls" != "xno"
11549 then
11550 if ${GNUTLS_CFLAGS:+false} :; then :
11551 if ${PKG_CONFIG+:} false; then :
11552 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11556 if ${GNUTLS_LIBS:+false} :; then :
11557 if ${PKG_CONFIG+:} false; then :
11558 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11563 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11564 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11565 ac_save_CPPFLAGS=$CPPFLAGS
11566 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11567 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11568 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11571 #include <gnutls/gnutls.h>
11572 #include <gnutls/crypto.h>
11574 main ()
11576 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11578 return 0;
11580 _ACEOF
11581 if ac_fn_c_try_compile "$LINENO"; then :
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11583 $as_echo_n "checking for -lgnutls... " >&6; }
11584 if ${ac_cv_lib_soname_gnutls+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char gnutls_global_init ();
11600 main ()
11602 return gnutls_global_init ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) 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'`
11612 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11613 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'`
11614 fi ;;
11615 esac
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11624 GNUTLS_CFLAGS=""
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11627 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11631 _ACEOF
11635 ac_wine_check_funcs_save_LIBS="$LIBS"
11636 LIBS="$LIBS $GNUTLS_LIBS"
11637 for ac_func in gnutls_hash
11638 do :
11639 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11640 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11641 cat >>confdefs.h <<_ACEOF
11642 #define HAVE_GNUTLS_HASH 1
11643 _ACEOF
11645 else
11646 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11648 done
11650 LIBS="$ac_wine_check_funcs_save_LIBS"
11652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11653 else
11654 GNUTLS_CFLAGS=""
11658 CPPFLAGS=$ac_save_CPPFLAGS
11659 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11660 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11663 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11664 case "x$with_gnutls" in
11665 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11666 xno) ;;
11667 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11668 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11669 esac
11673 CURSES_LIBS=""
11674 if test "$ac_cv_header_ncurses_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11677 $as_echo_n "checking for -lncurses... " >&6; }
11678 if ${ac_cv_lib_soname_ncurses+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_soname_save_LIBS=$LIBS
11682 LIBS="-lncurses $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char waddch ();
11694 main ()
11696 return waddch ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 case "$LIBEXT" in
11703 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11704 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'` ;;
11705 *) 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'`
11706 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11707 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11708 fi ;;
11709 esac
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_soname_save_LIBS
11715 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11717 $as_echo "not found" >&6; }
11719 else
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11721 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11723 cat >>confdefs.h <<_ACEOF
11724 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11725 _ACEOF
11727 CURSES_LIBS="-lncurses"
11729 elif test "$ac_cv_header_curses_h" = "yes"
11730 then
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11732 $as_echo_n "checking for -lcurses... " >&6; }
11733 if ${ac_cv_lib_soname_curses+:} false; then :
11734 $as_echo_n "(cached) " >&6
11735 else
11736 ac_check_soname_save_LIBS=$LIBS
11737 LIBS="-lcurses $LIBS"
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h. */
11741 /* Override any GCC internal prototype to avoid an error.
11742 Use char because int might match the return type of a GCC
11743 builtin and then its argument prototype would still apply. */
11744 #ifdef __cplusplus
11745 extern "C"
11746 #endif
11747 char waddch ();
11749 main ()
11751 return waddch ();
11753 return 0;
11755 _ACEOF
11756 if ac_fn_c_try_link "$LINENO"; then :
11757 case "$LIBEXT" in
11758 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11759 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'` ;;
11760 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11761 if ${ac_cv_lib_soname_curses:+false} :; then :
11762 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11763 fi ;;
11764 esac
11766 rm -f core conftest.err conftest.$ac_objext \
11767 conftest$ac_exeext conftest.$ac_ext
11768 LIBS=$ac_check_soname_save_LIBS
11770 if ${ac_cv_lib_soname_curses:+false} :; then :
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11772 $as_echo "not found" >&6; }
11774 else
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11776 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11778 cat >>confdefs.h <<_ACEOF
11779 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11780 _ACEOF
11782 CURSES_LIBS="-lcurses"
11785 ac_save_LIBS="$LIBS"
11786 LIBS="$LIBS $CURSES_LIBS"
11787 for ac_func in mousemask
11788 do :
11789 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11790 if test "x$ac_cv_func_mousemask" = xyes; then :
11791 cat >>confdefs.h <<_ACEOF
11792 #define HAVE_MOUSEMASK 1
11793 _ACEOF
11796 done
11798 LIBS="$ac_save_LIBS"
11799 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11800 case "x$with_curses" in
11801 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11802 xno) ;;
11803 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11804 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11805 esac
11809 if test "x$with_sane" != "xno"
11810 then
11811 if ${SANE_CFLAGS:+false} :; then :
11812 if ${PKG_CONFIG+:} false; then :
11813 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11816 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11817 if ${SANE_LIBS:+false} :; then :
11818 if ${PKG_CONFIG+:} false; then :
11819 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11822 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11824 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11825 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11826 ac_save_CPPFLAGS=$CPPFLAGS
11827 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11828 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11829 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11831 $as_echo_n "checking for -lsane... " >&6; }
11832 if ${ac_cv_lib_soname_sane+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_soname_save_LIBS=$LIBS
11836 LIBS="-lsane $SANE_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char sane_init ();
11848 main ()
11850 return sane_init ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 case "$LIBEXT" in
11857 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11858 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'` ;;
11859 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11860 if ${ac_cv_lib_soname_sane:+false} :; then :
11861 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11862 fi ;;
11863 esac
11865 rm -f core conftest.err conftest.$ac_objext \
11866 conftest$ac_exeext conftest.$ac_ext
11867 LIBS=$ac_check_soname_save_LIBS
11869 if ${ac_cv_lib_soname_sane:+false} :; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11871 $as_echo "not found" >&6; }
11872 SANE_CFLAGS=""
11873 else
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11875 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11877 cat >>confdefs.h <<_ACEOF
11878 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11879 _ACEOF
11883 else
11884 SANE_CFLAGS=""
11888 CPPFLAGS=$ac_save_CPPFLAGS
11889 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11890 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11893 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11894 case "x$with_sane" in
11895 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11896 xno) ;;
11897 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11898 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11899 esac
11903 if test "x$with_v4l" != "xno"
11904 then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11906 $as_echo_n "checking for -lv4l1... " >&6; }
11907 if ${ac_cv_lib_soname_v4l1+:} false; then :
11908 $as_echo_n "(cached) " >&6
11909 else
11910 ac_check_soname_save_LIBS=$LIBS
11911 LIBS="-lv4l1 $LIBS"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11915 /* Override any GCC internal prototype to avoid an error.
11916 Use char because int might match the return type of a GCC
11917 builtin and then its argument prototype would still apply. */
11918 #ifdef __cplusplus
11919 extern "C"
11920 #endif
11921 char v4l1_open ();
11923 main ()
11925 return v4l1_open ();
11927 return 0;
11929 _ACEOF
11930 if ac_fn_c_try_link "$LINENO"; then :
11931 case "$LIBEXT" in
11932 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11933 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'` ;;
11934 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11935 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11936 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11937 fi ;;
11938 esac
11940 rm -f core conftest.err conftest.$ac_objext \
11941 conftest$ac_exeext conftest.$ac_ext
11942 LIBS=$ac_check_soname_save_LIBS
11944 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11946 $as_echo "not found" >&6; }
11948 else
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11950 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11952 cat >>confdefs.h <<_ACEOF
11953 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11954 _ACEOF
11959 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11960 case "x$with_v4l" in
11961 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11962 xno) ;;
11963 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11964 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11965 esac
11969 if test "x$with_gphoto" != "xno"
11970 then
11971 if ${GPHOTO2_CFLAGS:+false} :; then :
11972 if ${PKG_CONFIG+:} false; then :
11973 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11976 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11977 if ${GPHOTO2_LIBS:+false} :; then :
11978 if ${PKG_CONFIG+:} false; then :
11979 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11982 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11983 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11984 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11985 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11986 ac_save_CPPFLAGS=$CPPFLAGS
11987 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11988 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11989 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11991 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11992 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 ac_check_lib_save_LIBS=$LIBS
11996 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 char gp_camera_new ();
12008 main ()
12010 return gp_camera_new ();
12012 return 0;
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_cv_lib_gphoto2_gp_camera_new=yes
12017 else
12018 ac_cv_lib_gphoto2_gp_camera_new=no
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12025 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12026 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12028 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12030 else
12031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12034 else
12035 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12039 CPPFLAGS=$ac_save_CPPFLAGS
12040 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12041 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12043 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12044 if ${PKG_CONFIG+:} false; then :
12045 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12048 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12049 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12050 if ${PKG_CONFIG+:} false; then :
12051 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12054 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12055 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12056 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12057 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12058 ac_save_CPPFLAGS=$CPPFLAGS
12059 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12060 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12061 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12063 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12064 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_lib_save_LIBS=$LIBS
12068 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char gp_port_info_list_new ();
12080 main ()
12082 return gp_port_info_list_new ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12089 else
12090 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12097 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12098 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12100 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12102 else
12103 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12106 else
12107 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12111 CPPFLAGS=$ac_save_CPPFLAGS
12112 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12113 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12116 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12117 case "x$with_gphoto" in
12118 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12119 xno) ;;
12120 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12121 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12122 esac
12125 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12126 case "x$with_gphoto" in
12127 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12128 xno) ;;
12129 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12130 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12131 esac
12136 if test "$ac_cv_header_resolv_h" = "yes"
12137 then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12139 $as_echo_n "checking for resolver library... " >&6; }
12140 if ${ac_cv_have_resolv+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_save_LIBS="$LIBS"
12144 for lib in '' -lresolv
12146 LIBS="$lib $ac_save_LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12149 #ifdef HAVE_NETINET_IN_H
12150 #include <netinet/in.h>
12151 #endif
12152 #include <resolv.h>
12154 main ()
12156 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 ac_cv_have_resolv=${lib:-"none required"}
12163 else
12164 ac_cv_have_resolv="not found"
12166 rm -f core conftest.err conftest.$ac_objext \
12167 conftest$ac_exeext conftest.$ac_ext
12168 test "x$ac_cv_have_resolv" = "xnot found" || break
12169 done
12170 LIBS="$ac_save_LIBS"
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12173 $as_echo "$ac_cv_have_resolv" >&6; }
12175 case "$ac_cv_have_resolv" in
12176 "not found") ;;
12177 "none required")
12179 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12182 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12184 RESOLV_LIBS=$ac_cv_have_resolv
12186 esac
12189 if test "x$with_cms" != "xno"
12190 then
12191 if ${LCMS2_CFLAGS:+false} :; then :
12192 if ${PKG_CONFIG+:} false; then :
12193 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12197 if ${LCMS2_LIBS:+false} :; then :
12198 if ${PKG_CONFIG+:} false; then :
12199 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12203 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12204 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12205 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12206 ac_save_CPPFLAGS=$CPPFLAGS
12207 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12208 for ac_header in lcms2.h
12209 do :
12210 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12211 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12212 cat >>confdefs.h <<_ACEOF
12213 #define HAVE_LCMS2_H 1
12214 _ACEOF
12218 done
12220 if test "$ac_cv_header_lcms2_h" = "yes"
12221 then
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12223 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12224 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12225 $as_echo_n "(cached) " >&6
12226 else
12227 ac_check_lib_save_LIBS=$LIBS
12228 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12230 /* end confdefs.h. */
12232 /* Override any GCC internal prototype to avoid an error.
12233 Use char because int might match the return type of a GCC
12234 builtin and then its argument prototype would still apply. */
12235 #ifdef __cplusplus
12236 extern "C"
12237 #endif
12238 char cmsOpenProfileFromFile ();
12240 main ()
12242 return cmsOpenProfileFromFile ();
12244 return 0;
12246 _ACEOF
12247 if ac_fn_c_try_link "$LINENO"; then :
12248 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12249 else
12250 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12252 rm -f core conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12254 LIBS=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12257 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12258 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12260 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12262 else
12263 LCMS2_LIBS=""
12266 else
12267 LCMS2_CFLAGS=""
12268 LCMS2_LIBS=""
12270 CPPFLAGS=$ac_save_CPPFLAGS
12271 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12272 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12275 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12276 case "x$with_cms" in
12277 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12278 xno) ;;
12279 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12280 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12281 esac
12285 if test "x$with_freetype" != "xno"
12286 then
12287 if ${FREETYPE_CFLAGS:+false} :; then :
12288 if ${PKG_CONFIG+:} false; then :
12289 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12292 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12293 if ${FREETYPE_LIBS:+false} :; then :
12294 if ${PKG_CONFIG+:} false; then :
12295 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12298 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12299 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12300 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12301 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12302 ac_save_CPPFLAGS=$CPPFLAGS
12303 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12304 for ac_header in ft2build.h
12305 do :
12306 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12307 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12308 cat >>confdefs.h <<_ACEOF
12309 #define HAVE_FT2BUILD_H 1
12310 _ACEOF
12314 done
12316 if test "$ac_cv_header_ft2build_h" = "yes"
12317 then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12319 $as_echo_n "checking for -lfreetype... " >&6; }
12320 if ${ac_cv_lib_soname_freetype+:} false; then :
12321 $as_echo_n "(cached) " >&6
12322 else
12323 ac_check_soname_save_LIBS=$LIBS
12324 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12331 #ifdef __cplusplus
12332 extern "C"
12333 #endif
12334 char FT_Init_FreeType ();
12336 main ()
12338 return FT_Init_FreeType ();
12340 return 0;
12342 _ACEOF
12343 if ac_fn_c_try_link "$LINENO"; then :
12344 case "$LIBEXT" in
12345 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12346 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'` ;;
12347 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12348 if ${ac_cv_lib_soname_freetype:+false} :; then :
12349 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12350 fi ;;
12351 esac
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_freetype:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12360 FREETYPE_LIBS=""
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12363 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12367 _ACEOF
12370 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12372 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12373 #include FT_MODULE_H
12375 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12377 cat >>confdefs.h <<_ACEOF
12378 #define HAVE_FT_TRUETYPEENGINETYPE 1
12379 _ACEOF
12385 else
12386 FREETYPE_CFLAGS=""
12387 FREETYPE_LIBS=""
12389 CPPFLAGS=$ac_save_CPPFLAGS
12390 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12391 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12394 if test "x$ac_cv_lib_soname_freetype" = x; then :
12395 case "x$with_freetype" in
12396 xno) ;;
12397 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12398 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12399 esac
12400 enable_fonts=${enable_fonts:-no}
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12404 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12405 if ${ac_cv_c_ppdev+:} false; then :
12406 $as_echo_n "(cached) " >&6
12407 else
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12410 #ifdef HAVE_SYS_IOCTL_H
12411 # include <sys/ioctl.h>
12412 #endif
12413 #include <linux/ppdev.h>
12415 main ()
12417 ioctl (1,PPCLAIM,0)
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_compile "$LINENO"; then :
12423 ac_cv_c_ppdev="yes"
12424 else
12425 ac_cv_c_ppdev="no"
12427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12430 $as_echo "$ac_cv_c_ppdev" >&6; }
12431 if test "$ac_cv_c_ppdev" = "yes"
12432 then
12434 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12438 ac_wine_check_funcs_save_LIBS="$LIBS"
12439 LIBS="$LIBS $PTHREAD_LIBS"
12440 for ac_func in \
12441 pthread_attr_get_np \
12442 pthread_getattr_np \
12443 pthread_getthreadid_np \
12444 pthread_get_stackaddr_np \
12445 pthread_get_stacksize_np
12446 do :
12447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12450 cat >>confdefs.h <<_ACEOF
12451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12452 _ACEOF
12455 done
12457 LIBS="$ac_wine_check_funcs_save_LIBS"
12459 if test "$ac_cv_header_zlib_h" = "yes"
12460 then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12462 $as_echo_n "checking for inflate in -lz... " >&6; }
12463 if ${ac_cv_lib_z_inflate+:} false; then :
12464 $as_echo_n "(cached) " >&6
12465 else
12466 ac_check_lib_save_LIBS=$LIBS
12467 LIBS="-lz $LIBS"
12468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469 /* end confdefs.h. */
12471 /* Override any GCC internal prototype to avoid an error.
12472 Use char because int might match the return type of a GCC
12473 builtin and then its argument prototype would still apply. */
12474 #ifdef __cplusplus
12475 extern "C"
12476 #endif
12477 char inflate ();
12479 main ()
12481 return inflate ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"; then :
12487 ac_cv_lib_z_inflate=yes
12488 else
12489 ac_cv_lib_z_inflate=no
12491 rm -f core conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_lib_save_LIBS
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12496 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12497 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12499 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12501 Z_LIBS="-lz"
12506 if test "x$Z_LIBS" = "x"; then :
12507 case "x$with_zlib" in
12508 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12509 xno) ;;
12510 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12511 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12512 esac
12516 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12517 then
12518 if test "$ac_cv_header_gettext_po_h" = "yes"
12519 then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12521 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12522 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12523 $as_echo_n "(cached) " >&6
12524 else
12525 ac_check_lib_save_LIBS=$LIBS
12526 LIBS="-lgettextpo $LIBS"
12527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12533 #ifdef __cplusplus
12534 extern "C"
12535 #endif
12536 char po_message_msgctxt ();
12538 main ()
12540 return po_message_msgctxt ();
12542 return 0;
12544 _ACEOF
12545 if ac_fn_c_try_link "$LINENO"; then :
12546 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12547 else
12548 ac_cv_lib_gettextpo_po_message_msgctxt=no
12550 rm -f core conftest.err conftest.$ac_objext \
12551 conftest$ac_exeext conftest.$ac_ext
12552 LIBS=$ac_check_lib_save_LIBS
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12555 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12556 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12558 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12560 GETTEXTPO_LIBS="-lgettextpo"
12565 if test "x$GETTEXTPO_LIBS" = "x"; then :
12566 case "x$with_gettextpo" in
12567 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12568 xno) ;;
12569 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12570 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12571 esac
12574 if test "$srcdir" != .; then :
12575 case "x$with_gettextpo" in
12576 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12577 xno) ;;
12578 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12579 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12580 esac
12585 if test "x$with_pulse" != "xno";
12586 then
12587 if ${PULSE_CFLAGS:+false} :; then :
12588 if ${PKG_CONFIG+:} false; then :
12589 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12593 if ${PULSE_LIBS:+false} :; then :
12594 if ${PKG_CONFIG+:} false; then :
12595 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12600 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12601 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12602 ac_save_CPPFLAGS=$CPPFLAGS
12603 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12604 for ac_header in pulse/pulseaudio.h
12605 do :
12606 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12607 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12608 cat >>confdefs.h <<_ACEOF
12609 #define HAVE_PULSE_PULSEAUDIO_H 1
12610 _ACEOF
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12612 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12613 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12614 $as_echo_n "(cached) " >&6
12615 else
12616 ac_check_lib_save_LIBS=$LIBS
12617 LIBS="-lpulse $PULSE_LIBS $LIBS"
12618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12619 /* end confdefs.h. */
12621 /* Override any GCC internal prototype to avoid an error.
12622 Use char because int might match the return type of a GCC
12623 builtin and then its argument prototype would still apply. */
12624 #ifdef __cplusplus
12625 extern "C"
12626 #endif
12627 char pa_stream_is_corked ();
12629 main ()
12631 return pa_stream_is_corked ();
12633 return 0;
12635 _ACEOF
12636 if ac_fn_c_try_link "$LINENO"; then :
12637 ac_cv_lib_pulse_pa_stream_is_corked=yes
12638 else
12639 ac_cv_lib_pulse_pa_stream_is_corked=no
12641 rm -f core conftest.err conftest.$ac_objext \
12642 conftest$ac_exeext conftest.$ac_ext
12643 LIBS=$ac_check_lib_save_LIBS
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12646 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12647 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12649 else
12650 PULSE_LIBS=""
12653 else
12654 PULSE_LIBS=""
12657 done
12659 CPPFLAGS=$ac_save_CPPFLAGS
12660 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12661 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12664 if test -z "$PULSE_LIBS"; then :
12665 case "x$with_pulse" in
12666 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12667 xno) ;;
12668 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12669 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12670 esac
12671 enable_winepulse_drv=${enable_winepulse_drv:-no}
12674 if test "x$with_gstreamer" != "xno"
12675 then
12676 if ${GSTREAMER_CFLAGS:+false} :; then :
12677 if ${PKG_CONFIG+:} false; then :
12678 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12682 if ${GSTREAMER_LIBS:+false} :; then :
12683 if ${PKG_CONFIG+:} false; then :
12684 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12689 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12690 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12691 ac_save_CPPFLAGS=$CPPFLAGS
12692 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12693 ac_gst_incl=""
12694 for i in $GSTREAMER_CFLAGS
12696 case "$i" in
12697 -I*) ac_gst_incl="$ac_gst_incl $i";;
12698 esac
12699 done
12700 GSTREAMER_CFLAGS=$ac_gst_incl
12701 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12702 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12703 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12705 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12708 #include <gst/gst.h>
12710 main ()
12712 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12714 return 0;
12716 _ACEOF
12717 if ac_fn_c_try_compile "$LINENO"; then :
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12719 $as_echo "yes" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12721 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12722 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12723 $as_echo_n "(cached) " >&6
12724 else
12725 ac_check_lib_save_LIBS=$LIBS
12726 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 /* end confdefs.h. */
12730 /* Override any GCC internal prototype to avoid an error.
12731 Use char because int might match the return type of a GCC
12732 builtin and then its argument prototype would still apply. */
12733 #ifdef __cplusplus
12734 extern "C"
12735 #endif
12736 char gst_pad_new ();
12738 main ()
12740 return gst_pad_new ();
12742 return 0;
12744 _ACEOF
12745 if ac_fn_c_try_link "$LINENO"; then :
12746 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12747 else
12748 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12750 rm -f core conftest.err conftest.$ac_objext \
12751 conftest$ac_exeext conftest.$ac_ext
12752 LIBS=$ac_check_lib_save_LIBS
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12755 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12756 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12760 else
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762 $as_echo "no" >&6; }
12763 ac_glib2_broken=yes
12764 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12770 CPPFLAGS=$ac_save_CPPFLAGS
12771 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12772 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12775 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 :
12776 case "x$with_gstreamer" in
12777 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12778 xno) ;;
12779 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12780 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12781 esac
12784 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12786 ALSA_LIBS=""
12788 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12789 then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12791 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12792 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12793 $as_echo_n "(cached) " >&6
12794 else
12795 ac_check_lib_save_LIBS=$LIBS
12796 LIBS="-lasound $LIBS"
12797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char snd_pcm_hw_params_get_access_mask ();
12808 main ()
12810 return snd_pcm_hw_params_get_access_mask ();
12812 return 0;
12814 _ACEOF
12815 if ac_fn_c_try_link "$LINENO"; then :
12816 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12817 else
12818 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12820 rm -f core conftest.err conftest.$ac_objext \
12821 conftest$ac_exeext conftest.$ac_ext
12822 LIBS=$ac_check_lib_save_LIBS
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12825 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12826 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12829 #ifdef HAVE_ALSA_ASOUNDLIB_H
12830 #include <alsa/asoundlib.h>
12831 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12832 #include <sys/asoundlib.h>
12833 #endif
12835 main ()
12837 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_compile "$LINENO"; then :
12843 ALSA_LIBS="-lasound"
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12849 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12851 if test "x$with_oss" != xno
12852 then
12853 ac_save_CPPFLAGS="$CPPFLAGS"
12854 if test -f /etc/oss.conf
12855 then
12856 . /etc/oss.conf
12858 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12859 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12860 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12861 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12862 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12864 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12868 _ACEOF
12870 OSS4_CFLAGS="$ac_oss_incl"
12877 CPPFLAGS="$ac_save_CPPFLAGS"
12879 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12880 case "x$with_oss" in
12881 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12884 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12885 esac
12886 enable_wineoss_drv=${enable_wineoss_drv:-no}
12889 if test "x$with_capi" != "xno"
12890 then
12891 if ${CAPI20_CFLAGS:+false} :; then :
12892 if ${PKG_CONFIG+:} false; then :
12893 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12897 if ${CAPI20_LIBS:+false} :; then :
12898 if ${PKG_CONFIG+:} false; then :
12899 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12904 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12905 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12906 ac_save_CPPFLAGS=$CPPFLAGS
12907 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12908 for ac_header in capi20.h linux/capi.h
12909 do :
12910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12911 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12913 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12914 cat >>confdefs.h <<_ACEOF
12915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916 _ACEOF
12920 done
12922 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12923 then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12925 $as_echo_n "checking for -lcapi20... " >&6; }
12926 if ${ac_cv_lib_soname_capi20+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_soname_save_LIBS=$LIBS
12930 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char capi20_register ();
12942 main ()
12944 return capi20_register ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 case "$LIBEXT" in
12951 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12952 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'` ;;
12953 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12954 if ${ac_cv_lib_soname_capi20:+false} :; then :
12955 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12956 fi ;;
12957 esac
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_soname_save_LIBS
12963 if ${ac_cv_lib_soname_capi20:+false} :; then :
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12965 $as_echo "not found" >&6; }
12967 else
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12969 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12971 cat >>confdefs.h <<_ACEOF
12972 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12973 _ACEOF
12978 CPPFLAGS=$ac_save_CPPFLAGS
12979 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12980 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12983 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12984 case "x$with_capi" in
12985 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12986 xno) ;;
12987 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12988 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12989 esac
12993 CUPS_CFLAGS=""
12995 if test "x$with_cups" != "xno"
12996 then
12997 ac_save_CPPFLAGS="$CPPFLAGS"
12998 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12999 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13000 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13001 for ac_header in cups/cups.h
13002 do :
13003 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13004 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13005 cat >>confdefs.h <<_ACEOF
13006 #define HAVE_CUPS_CUPS_H 1
13007 _ACEOF
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13009 $as_echo_n "checking for -lcups... " >&6; }
13010 if ${ac_cv_lib_soname_cups+:} false; then :
13011 $as_echo_n "(cached) " >&6
13012 else
13013 ac_check_soname_save_LIBS=$LIBS
13014 LIBS="-lcups $ac_cups_libs $LIBS"
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13021 #ifdef __cplusplus
13022 extern "C"
13023 #endif
13024 char cupsGetDefault ();
13026 main ()
13028 return cupsGetDefault ();
13030 return 0;
13032 _ACEOF
13033 if ac_fn_c_try_link "$LINENO"; then :
13034 case "$LIBEXT" in
13035 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13036 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'` ;;
13037 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13038 if ${ac_cv_lib_soname_cups:+false} :; then :
13039 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13040 fi ;;
13041 esac
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_soname_save_LIBS
13047 if ${ac_cv_lib_soname_cups:+false} :; then :
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13049 $as_echo "not found" >&6; }
13051 else
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13053 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13055 cat >>confdefs.h <<_ACEOF
13056 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13057 _ACEOF
13059 CUPS_CFLAGS="$ac_cups_cflags"
13061 for ac_header in cups/ppd.h
13062 do :
13063 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13064 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13065 cat >>confdefs.h <<_ACEOF
13066 #define HAVE_CUPS_PPD_H 1
13067 _ACEOF
13071 done
13075 done
13077 CPPFLAGS="$ac_save_CPPFLAGS"
13079 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13080 case "x$with_cups" in
13081 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13082 xno) ;;
13083 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13084 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13085 esac
13089 if test "x$with_fontconfig" != "xno"
13090 then
13091 if ${FONTCONFIG_CFLAGS:+false} :; then :
13092 if ${PKG_CONFIG+:} false; then :
13093 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13096 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13097 if ${FONTCONFIG_LIBS:+false} :; then :
13098 if ${PKG_CONFIG+:} false; then :
13099 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13102 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13104 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13105 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13106 ac_save_CPPFLAGS=$CPPFLAGS
13107 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13108 for ac_header in fontconfig/fontconfig.h
13109 do :
13110 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13111 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13112 cat >>confdefs.h <<_ACEOF
13113 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13114 _ACEOF
13118 done
13120 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13121 then
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13123 $as_echo_n "checking for -lfontconfig... " >&6; }
13124 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13125 $as_echo_n "(cached) " >&6
13126 else
13127 ac_check_soname_save_LIBS=$LIBS
13128 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 /* Override any GCC internal prototype to avoid an error.
13133 Use char because int might match the return type of a GCC
13134 builtin and then its argument prototype would still apply. */
13135 #ifdef __cplusplus
13136 extern "C"
13137 #endif
13138 char FcInit ();
13140 main ()
13142 return FcInit ();
13144 return 0;
13146 _ACEOF
13147 if ac_fn_c_try_link "$LINENO"; then :
13148 case "$LIBEXT" in
13149 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13150 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'` ;;
13151 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13152 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13153 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13154 fi ;;
13155 esac
13157 rm -f core conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13159 LIBS=$ac_check_soname_save_LIBS
13161 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13163 $as_echo "not found" >&6; }
13164 FONTCONFIG_CFLAGS=""
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13167 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13169 cat >>confdefs.h <<_ACEOF
13170 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13171 _ACEOF
13175 else
13176 FONTCONFIG_CFLAGS=""
13178 CPPFLAGS=$ac_save_CPPFLAGS
13179 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13180 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13183 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13184 case "x$with_fontconfig" in
13185 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13186 xno) ;;
13187 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13188 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13189 esac
13193 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13194 then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13196 $as_echo_n "checking for -lgsm... " >&6; }
13197 if ${ac_cv_lib_soname_gsm+:} false; then :
13198 $as_echo_n "(cached) " >&6
13199 else
13200 ac_check_soname_save_LIBS=$LIBS
13201 LIBS="-lgsm $LIBS"
13202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13205 /* Override any GCC internal prototype to avoid an error.
13206 Use char because int might match the return type of a GCC
13207 builtin and then its argument prototype would still apply. */
13208 #ifdef __cplusplus
13209 extern "C"
13210 #endif
13211 char gsm_create ();
13213 main ()
13215 return gsm_create ();
13217 return 0;
13219 _ACEOF
13220 if ac_fn_c_try_link "$LINENO"; then :
13221 case "$LIBEXT" in
13222 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13223 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'` ;;
13224 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13225 if ${ac_cv_lib_soname_gsm:+false} :; then :
13226 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13227 fi ;;
13228 esac
13230 rm -f core conftest.err conftest.$ac_objext \
13231 conftest$ac_exeext conftest.$ac_ext
13232 LIBS=$ac_check_soname_save_LIBS
13234 if ${ac_cv_lib_soname_gsm:+false} :; then :
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13236 $as_echo "not found" >&6; }
13238 else
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13240 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13242 cat >>confdefs.h <<_ACEOF
13243 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13244 _ACEOF
13249 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13250 case "x$with_gsm" in
13251 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13252 xno) ;;
13253 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13254 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13255 esac
13259 if test "x$with_jpeg" != "xno"
13260 then
13261 if ${JPEG_CFLAGS:+false} :; then :
13262 if ${PKG_CONFIG+:} false; then :
13263 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13267 if ${JPEG_LIBS:+false} :; then :
13268 if ${PKG_CONFIG+:} false; then :
13269 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13274 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13275 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13276 ac_save_CPPFLAGS=$CPPFLAGS
13277 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13278 for ac_header in jpeglib.h
13279 do :
13280 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13281 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13282 cat >>confdefs.h <<_ACEOF
13283 #define HAVE_JPEGLIB_H 1
13284 _ACEOF
13288 done
13290 if test "$ac_cv_header_jpeglib_h" = "yes"
13291 then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13293 $as_echo_n "checking for -ljpeg... " >&6; }
13294 if ${ac_cv_lib_soname_jpeg+:} false; then :
13295 $as_echo_n "(cached) " >&6
13296 else
13297 ac_check_soname_save_LIBS=$LIBS
13298 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 /* end confdefs.h. */
13302 /* Override any GCC internal prototype to avoid an error.
13303 Use char because int might match the return type of a GCC
13304 builtin and then its argument prototype would still apply. */
13305 #ifdef __cplusplus
13306 extern "C"
13307 #endif
13308 char jpeg_start_decompress ();
13310 main ()
13312 return jpeg_start_decompress ();
13314 return 0;
13316 _ACEOF
13317 if ac_fn_c_try_link "$LINENO"; then :
13318 case "$LIBEXT" in
13319 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13320 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'` ;;
13321 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13322 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13323 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13324 fi ;;
13325 esac
13327 rm -f core conftest.err conftest.$ac_objext \
13328 conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_soname_save_LIBS
13331 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13333 $as_echo "not found" >&6; }
13334 JPEG_CFLAGS=""
13335 else
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13337 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13339 cat >>confdefs.h <<_ACEOF
13340 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13341 _ACEOF
13345 else
13346 JPEG_CFLAGS=""
13348 CPPFLAGS=$ac_save_CPPFLAGS
13349 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13350 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13353 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13354 case "x$with_jpeg" in
13355 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13356 xno) ;;
13357 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13358 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13359 esac
13363 if test "x$with_png" != "xno"
13364 then
13365 if ${PNG_CFLAGS:+false} :; then :
13366 if ${PKG_CONFIG+:} false; then :
13367 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13370 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13371 if ${PNG_LIBS:+false} :; then :
13372 if ${PKG_CONFIG+:} false; then :
13373 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13376 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13378 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13379 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13380 ac_save_CPPFLAGS=$CPPFLAGS
13381 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13382 for ac_header in png.h
13383 do :
13384 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13385 if test "x$ac_cv_header_png_h" = xyes; then :
13386 cat >>confdefs.h <<_ACEOF
13387 #define HAVE_PNG_H 1
13388 _ACEOF
13392 done
13394 if test "$ac_cv_header_png_h" = "yes"
13395 then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13397 $as_echo_n "checking for -lpng... " >&6; }
13398 if ${ac_cv_lib_soname_png+:} false; then :
13399 $as_echo_n "(cached) " >&6
13400 else
13401 ac_check_soname_save_LIBS=$LIBS
13402 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13404 /* end confdefs.h. */
13406 /* Override any GCC internal prototype to avoid an error.
13407 Use char because int might match the return type of a GCC
13408 builtin and then its argument prototype would still apply. */
13409 #ifdef __cplusplus
13410 extern "C"
13411 #endif
13412 char png_create_read_struct ();
13414 main ()
13416 return png_create_read_struct ();
13418 return 0;
13420 _ACEOF
13421 if ac_fn_c_try_link "$LINENO"; then :
13422 case "$LIBEXT" in
13423 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13424 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'` ;;
13425 *) 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'`
13426 if ${ac_cv_lib_soname_png:+false} :; then :
13427 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13428 fi ;;
13429 esac
13431 rm -f core conftest.err conftest.$ac_objext \
13432 conftest$ac_exeext conftest.$ac_ext
13433 LIBS=$ac_check_soname_save_LIBS
13435 if ${ac_cv_lib_soname_png:+false} :; then :
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13437 $as_echo "not found" >&6; }
13438 PNG_CFLAGS=""
13439 else
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13441 $as_echo "$ac_cv_lib_soname_png" >&6; }
13443 cat >>confdefs.h <<_ACEOF
13444 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13445 _ACEOF
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13448 /* end confdefs.h. */
13449 #include <png.h>
13451 main ()
13453 typeof(png_set_expand_gray_1_2_4_to_8) *p
13455 return 0;
13457 _ACEOF
13458 if ac_fn_c_try_compile "$LINENO"; then :
13460 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13465 else
13466 PNG_CFLAGS=""
13468 CPPFLAGS=$ac_save_CPPFLAGS
13469 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13470 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13473 if test "x$ac_cv_lib_soname_png" = "x"; then :
13474 case "x$with_png" in
13475 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13476 xno) ;;
13477 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13478 This is an error since --with-png was requested." "$LINENO" 5 ;;
13479 esac
13483 if test "x$with_tiff" != "xno"
13484 then
13485 if ${TIFF_CFLAGS:+false} :; then :
13486 if ${PKG_CONFIG+:} false; then :
13487 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13491 if ${TIFF_LIBS:+false} :; then :
13492 if ${PKG_CONFIG+:} false; then :
13493 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13498 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13499 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13500 ac_save_CPPFLAGS=$CPPFLAGS
13501 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13502 for ac_header in tiffio.h
13503 do :
13504 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13505 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13506 cat >>confdefs.h <<_ACEOF
13507 #define HAVE_TIFFIO_H 1
13508 _ACEOF
13512 done
13514 if test "$ac_cv_header_tiffio_h" = "yes"
13515 then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13517 $as_echo_n "checking for -ltiff... " >&6; }
13518 if ${ac_cv_lib_soname_tiff+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_soname_save_LIBS=$LIBS
13522 LIBS="-ltiff $TIFF_LIBS $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char TIFFClientOpen ();
13534 main ()
13536 return TIFFClientOpen ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 case "$LIBEXT" in
13543 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13544 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'` ;;
13545 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13546 if ${ac_cv_lib_soname_tiff:+false} :; then :
13547 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13548 fi ;;
13549 esac
13551 rm -f core conftest.err conftest.$ac_objext \
13552 conftest$ac_exeext conftest.$ac_ext
13553 LIBS=$ac_check_soname_save_LIBS
13555 if ${ac_cv_lib_soname_tiff:+false} :; then :
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13557 $as_echo "not found" >&6; }
13559 else
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13561 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13563 cat >>confdefs.h <<_ACEOF
13564 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13565 _ACEOF
13570 CPPFLAGS=$ac_save_CPPFLAGS
13571 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13572 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13575 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13576 case "x$with_tiff" in
13577 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13578 xno) ;;
13579 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13580 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13581 esac
13585 if test "x$with_mpg123" != "xno"
13586 then
13587 if ${MPG123_CFLAGS:+false} :; then :
13588 if ${PKG_CONFIG+:} false; then :
13589 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13593 if ${MPG123_LIBS:+false} :; then :
13594 if ${PKG_CONFIG+:} false; then :
13595 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13599 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13600 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13601 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13602 ac_save_CPPFLAGS=$CPPFLAGS
13603 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13604 for ac_header in mpg123.h
13605 do :
13606 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13607 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13608 cat >>confdefs.h <<_ACEOF
13609 #define HAVE_MPG123_H 1
13610 _ACEOF
13614 done
13616 if test "$ac_cv_header_mpg123_h" = "yes"
13617 then
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13619 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13620 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13621 $as_echo_n "(cached) " >&6
13622 else
13623 ac_check_lib_save_LIBS=$LIBS
13624 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13626 /* end confdefs.h. */
13628 /* Override any GCC internal prototype to avoid an error.
13629 Use char because int might match the return type of a GCC
13630 builtin and then its argument prototype would still apply. */
13631 #ifdef __cplusplus
13632 extern "C"
13633 #endif
13634 char mpg123_feed ();
13636 main ()
13638 return mpg123_feed ();
13640 return 0;
13642 _ACEOF
13643 if ac_fn_c_try_link "$LINENO"; then :
13644 ac_cv_lib_mpg123_mpg123_feed=yes
13645 else
13646 ac_cv_lib_mpg123_mpg123_feed=no
13648 rm -f core conftest.err conftest.$ac_objext \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13653 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13654 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13656 else
13657 MPG123_LIBS=""
13660 else
13661 MPG123_CFLAGS=""
13662 MPG123_LIBS=""
13664 CPPFLAGS=$ac_save_CPPFLAGS
13665 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13666 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13669 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13670 case "x$with_mpg123" in
13671 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13672 xno) ;;
13673 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13674 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13675 esac
13676 enable_winemp3_acm=${enable_winemp3_acm:-no}
13679 if test "$ac_cv_header_AL_al_h" = "yes"
13680 then
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13682 $as_echo_n "checking for -lopenal... " >&6; }
13683 if ${ac_cv_lib_soname_openal+:} false; then :
13684 $as_echo_n "(cached) " >&6
13685 else
13686 ac_check_soname_save_LIBS=$LIBS
13687 LIBS="-lopenal $LIBS"
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13691 /* Override any GCC internal prototype to avoid an error.
13692 Use char because int might match the return type of a GCC
13693 builtin and then its argument prototype would still apply. */
13694 #ifdef __cplusplus
13695 extern "C"
13696 #endif
13697 char alGetSource3i ();
13699 main ()
13701 return alGetSource3i ();
13703 return 0;
13705 _ACEOF
13706 if ac_fn_c_try_link "$LINENO"; then :
13707 case "$LIBEXT" in
13708 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13709 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'` ;;
13710 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13711 if ${ac_cv_lib_soname_openal:+false} :; then :
13712 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13713 fi ;;
13714 esac
13716 rm -f core conftest.err conftest.$ac_objext \
13717 conftest$ac_exeext conftest.$ac_ext
13718 LIBS=$ac_check_soname_save_LIBS
13720 if ${ac_cv_lib_soname_openal:+false} :; then :
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13722 $as_echo "not found" >&6; }
13724 else
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13726 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13728 cat >>confdefs.h <<_ACEOF
13729 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13730 _ACEOF
13732 OPENAL_LIBS="-lopenal"
13734 ac_cv_lib_openal=yes
13736 cat >>confdefs.h <<_ACEOF
13737 #define HAVE_OPENAL 1
13738 _ACEOF
13742 if test "x$ac_cv_lib_openal" != xyes; then :
13743 case "x$with_openal" in
13744 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13745 xno) ;;
13746 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13747 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13748 esac
13749 enable_openal32=${enable_openal32:-no}
13752 if test "x$ac_cv_lib_openal" = xyes
13753 then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13755 $as_echo_n "checking for openal-soft... " >&6; }
13756 if ${ac_cv_have_openalsoft+:} false; then :
13757 $as_echo_n "(cached) " >&6
13758 else
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #include <AL/al.h>
13762 #include <AL/alc.h>
13763 #include <AL/alext.h>
13764 LPALCRENDERSAMPLESSOFT x;
13766 main ()
13770 return 0;
13772 _ACEOF
13773 if ac_fn_c_try_compile "$LINENO"; then :
13774 ac_cv_have_openalsoft=yes
13775 else
13776 ac_cv_have_openalsoft=no
13778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13781 $as_echo "$ac_cv_have_openalsoft" >&6; }
13783 if test "x$ac_cv_have_openalsoft" != xyes
13784 then
13785 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13786 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13787 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13788 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13789 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13790 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13791 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13792 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13793 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13794 enable_xapofx1_1=${enable_xapofx1_1:-no}
13795 enable_xapofx1_2=${enable_xapofx1_2:-no}
13796 enable_xapofx1_3=${enable_xapofx1_3:-no}
13797 enable_xapofx1_4=${enable_xapofx1_4:-no}
13798 enable_xapofx1_5=${enable_xapofx1_5:-no}
13799 enable_xaudio2_0=${enable_xaudio2_0:-no}
13800 enable_xaudio2_1=${enable_xaudio2_1:-no}
13801 enable_xaudio2_2=${enable_xaudio2_2:-no}
13802 enable_xaudio2_3=${enable_xaudio2_3:-no}
13803 enable_xaudio2_4=${enable_xaudio2_4:-no}
13804 enable_xaudio2_5=${enable_xaudio2_5:-no}
13805 enable_xaudio2_6=${enable_xaudio2_6:-no}
13806 enable_xaudio2_7=${enable_xaudio2_7:-no}
13807 enable_xaudio2_8=${enable_xaudio2_8:-no}
13808 enable_xaudio2_9=${enable_xaudio2_9:-no}
13811 if test "$ac_cv_header_kstat_h" = "yes"
13812 then
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13814 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13815 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13816 $as_echo_n "(cached) " >&6
13817 else
13818 ac_check_lib_save_LIBS=$LIBS
13819 LIBS="-lkstat $LIBS"
13820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13821 /* end confdefs.h. */
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13826 #ifdef __cplusplus
13827 extern "C"
13828 #endif
13829 char kstat_open ();
13831 main ()
13833 return kstat_open ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"; then :
13839 ac_cv_lib_kstat_kstat_open=yes
13840 else
13841 ac_cv_lib_kstat_kstat_open=no
13843 rm -f core conftest.err conftest.$ac_objext \
13844 conftest$ac_exeext conftest.$ac_ext
13845 LIBS=$ac_check_lib_save_LIBS
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13848 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13849 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13851 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13853 KSTAT_LIBS="-lkstat"
13859 if test "$ac_cv_header_libprocstat_h" = "yes"
13860 then
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13862 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13863 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 ac_check_lib_save_LIBS=$LIBS
13867 LIBS="-lprocstat $LIBS"
13868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 /* end confdefs.h. */
13871 /* Override any GCC internal prototype to avoid an error.
13872 Use char because int might match the return type of a GCC
13873 builtin and then its argument prototype would still apply. */
13874 #ifdef __cplusplus
13875 extern "C"
13876 #endif
13877 char procstat_open_sysctl ();
13879 main ()
13881 return procstat_open_sysctl ();
13883 return 0;
13885 _ACEOF
13886 if ac_fn_c_try_link "$LINENO"; then :
13887 ac_cv_lib_procstat_procstat_open_sysctl=yes
13888 else
13889 ac_cv_lib_procstat_procstat_open_sysctl=no
13891 rm -f core conftest.err conftest.$ac_objext \
13892 conftest$ac_exeext conftest.$ac_ext
13893 LIBS=$ac_check_lib_save_LIBS
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13896 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13897 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13899 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13901 PROCSTAT_LIBS="-lprocstat"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13908 $as_echo_n "checking for -lodbc... " >&6; }
13909 if ${ac_cv_lib_soname_odbc+:} false; then :
13910 $as_echo_n "(cached) " >&6
13911 else
13912 ac_check_soname_save_LIBS=$LIBS
13913 LIBS="-lodbc $LIBS"
13914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char SQLConnect ();
13925 main ()
13927 return SQLConnect ();
13929 return 0;
13931 _ACEOF
13932 if ac_fn_c_try_link "$LINENO"; then :
13933 case "$LIBEXT" in
13934 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13935 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'` ;;
13936 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13937 if ${ac_cv_lib_soname_odbc:+false} :; then :
13938 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13939 fi ;;
13940 esac
13942 rm -f core conftest.err conftest.$ac_objext \
13943 conftest$ac_exeext conftest.$ac_ext
13944 LIBS=$ac_check_soname_save_LIBS
13946 if ${ac_cv_lib_soname_odbc:+false} :; then :
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13948 $as_echo "not found" >&6; }
13949 cat >>confdefs.h <<_ACEOF
13950 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13951 _ACEOF
13953 else
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13955 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13957 cat >>confdefs.h <<_ACEOF
13958 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13959 _ACEOF
13964 if test "x$with_netapi" != "xno"
13965 then
13966 if ${NETAPI_CFLAGS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13972 if ${NETAPI_LIBS:+false} :; then :
13973 if ${PKG_CONFIG+:} false; then :
13974 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13979 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13980 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13981 ac_save_CPPFLAGS=$CPPFLAGS
13982 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13984 $as_echo_n "checking for -lnetapi... " >&6; }
13985 if ${ac_cv_lib_soname_netapi+:} false; then :
13986 $as_echo_n "(cached) " >&6
13987 else
13988 ac_check_soname_save_LIBS=$LIBS
13989 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13991 /* end confdefs.h. */
13993 /* Override any GCC internal prototype to avoid an error.
13994 Use char because int might match the return type of a GCC
13995 builtin and then its argument prototype would still apply. */
13996 #ifdef __cplusplus
13997 extern "C"
13998 #endif
13999 char libnetapi_init ();
14001 main ()
14003 return libnetapi_init ();
14005 return 0;
14007 _ACEOF
14008 if ac_fn_c_try_link "$LINENO"; then :
14009 case "$LIBEXT" in
14010 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14011 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'` ;;
14012 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14013 if ${ac_cv_lib_soname_netapi:+false} :; then :
14014 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14015 fi ;;
14016 esac
14018 rm -f core conftest.err conftest.$ac_objext \
14019 conftest$ac_exeext conftest.$ac_ext
14020 LIBS=$ac_check_soname_save_LIBS
14022 if ${ac_cv_lib_soname_netapi:+false} :; then :
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14024 $as_echo "not found" >&6; }
14025 cat >>confdefs.h <<_ACEOF
14026 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14027 _ACEOF
14029 else
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14031 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14033 cat >>confdefs.h <<_ACEOF
14034 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14035 _ACEOF
14039 CPPFLAGS=$ac_save_CPPFLAGS
14040 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14041 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14045 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14046 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14047 then
14048 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14052 EXTRACFLAGS=""
14054 if test "x${GCC}" = "xyes"
14055 then
14056 EXTRACFLAGS="-Wall -pipe"
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14059 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14060 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14061 $as_echo_n "(cached) " >&6
14062 else
14063 if test "$cross_compiling" = yes; then :
14064 ac_cv_c_gcc_strength_bug="no"
14065 else
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 int L[4] = {0,1,2,3};
14070 main ()
14072 static int Array[3];
14073 unsigned int B = 3;
14074 int i;
14075 for(i=0; i<B; i++) Array[i] = i - 3;
14076 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14077 L[i] = 4;
14078 return (Array[1] != -2 || L[2] != 3)
14080 return 0;
14082 _ACEOF
14083 if ac_fn_c_try_run "$LINENO"; then :
14084 ac_cv_c_gcc_strength_bug="no"
14085 else
14086 ac_cv_c_gcc_strength_bug="yes"
14088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14089 conftest.$ac_objext conftest.beam conftest.$ac_ext
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14094 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14095 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14096 then
14097 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14101 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14102 if ${ac_cv_cflags__fno_builtin+:} false; then :
14103 $as_echo_n "(cached) " >&6
14104 else
14105 ac_wine_try_cflags_saved=$CFLAGS
14106 CFLAGS="$CFLAGS -fno-builtin"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14109 int main(int argc, char **argv) { return 0; }
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 ac_cv_cflags__fno_builtin=yes
14113 else
14114 ac_cv_cflags__fno_builtin=no
14116 rm -f core conftest.err conftest.$ac_objext \
14117 conftest$ac_exeext conftest.$ac_ext
14118 CFLAGS=$ac_wine_try_cflags_saved
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14121 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14122 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14123 BUILTINFLAG="-fno-builtin"
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14127 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14128 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_wine_try_cflags_saved=$CFLAGS
14132 CFLAGS="$CFLAGS -fno-strict-aliasing"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14135 int main(int argc, char **argv) { return 0; }
14136 _ACEOF
14137 if ac_fn_c_try_link "$LINENO"; then :
14138 ac_cv_cflags__fno_strict_aliasing=yes
14139 else
14140 ac_cv_cflags__fno_strict_aliasing=no
14142 rm -f core conftest.err conftest.$ac_objext \
14143 conftest$ac_exeext conftest.$ac_ext
14144 CFLAGS=$ac_wine_try_cflags_saved
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14147 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14148 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14149 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14152 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14153 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14154 $as_echo_n "(cached) " >&6
14155 else
14156 ac_wine_try_cflags_saved=$CFLAGS
14157 CFLAGS="$CFLAGS -fexcess-precision=standard"
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14160 int main(int argc, char **argv) { return 0; }
14161 _ACEOF
14162 if ac_fn_c_try_link "$LINENO"; then :
14163 ac_cv_cflags__fexcess_precision_standard=yes
14164 else
14165 ac_cv_cflags__fexcess_precision_standard=no
14167 rm -f core conftest.err conftest.$ac_objext \
14168 conftest$ac_exeext conftest.$ac_ext
14169 CFLAGS=$ac_wine_try_cflags_saved
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14172 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14173 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14174 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14177 saved_CFLAGS=$CFLAGS
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14179 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14180 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_wine_try_cflags_saved=$CFLAGS
14184 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 int main(int argc, char **argv) { return 0; }
14188 _ACEOF
14189 if ac_fn_c_try_link "$LINENO"; then :
14190 ac_cv_cflags__Werror_unknown_warning_option=yes
14191 else
14192 ac_cv_cflags__Werror_unknown_warning_option=no
14194 rm -f core conftest.err conftest.$ac_objext \
14195 conftest$ac_exeext conftest.$ac_ext
14196 CFLAGS=$ac_wine_try_cflags_saved
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14199 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14200 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14201 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14204 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14205 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14206 $as_echo_n "(cached) " >&6
14207 else
14208 ac_wine_try_cflags_saved=$CFLAGS
14209 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14212 int main(int argc, char **argv) { return 0; }
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_cflags__Wdeclaration_after_statement=yes
14216 else
14217 ac_cv_cflags__Wdeclaration_after_statement=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 CFLAGS=$ac_wine_try_cflags_saved
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14224 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14225 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14226 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14229 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14230 if ${ac_cv_cflags__Wempty_body+:} false; then :
14231 $as_echo_n "(cached) " >&6
14232 else
14233 ac_wine_try_cflags_saved=$CFLAGS
14234 CFLAGS="$CFLAGS -Wempty-body"
14235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14236 /* end confdefs.h. */
14237 int main(int argc, char **argv) { return 0; }
14238 _ACEOF
14239 if ac_fn_c_try_link "$LINENO"; then :
14240 ac_cv_cflags__Wempty_body=yes
14241 else
14242 ac_cv_cflags__Wempty_body=no
14244 rm -f core conftest.err conftest.$ac_objext \
14245 conftest$ac_exeext conftest.$ac_ext
14246 CFLAGS=$ac_wine_try_cflags_saved
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14249 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14250 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14251 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14254 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14255 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -Wignored-qualifiers"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14262 int main(int argc, char **argv) { return 0; }
14263 _ACEOF
14264 if ac_fn_c_try_link "$LINENO"; then :
14265 ac_cv_cflags__Wignored_qualifiers=yes
14266 else
14267 ac_cv_cflags__Wignored_qualifiers=no
14269 rm -f core conftest.err conftest.$ac_objext \
14270 conftest$ac_exeext conftest.$ac_ext
14271 CFLAGS=$ac_wine_try_cflags_saved
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14274 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14275 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14276 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14279 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14280 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -Wshift-overflow=2"
14285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14287 int main(int argc, char **argv) { return 0; }
14288 _ACEOF
14289 if ac_fn_c_try_link "$LINENO"; then :
14290 ac_cv_cflags__Wshift_overflow_2=yes
14291 else
14292 ac_cv_cflags__Wshift_overflow_2=no
14294 rm -f core conftest.err conftest.$ac_objext \
14295 conftest$ac_exeext conftest.$ac_ext
14296 CFLAGS=$ac_wine_try_cflags_saved
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14299 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14300 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14301 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14304 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14305 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -Wstrict-prototypes"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14312 int main(int argc, char **argv) { return 0; }
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"; then :
14315 ac_cv_cflags__Wstrict_prototypes=yes
14316 else
14317 ac_cv_cflags__Wstrict_prototypes=no
14319 rm -f core conftest.err conftest.$ac_objext \
14320 conftest$ac_exeext conftest.$ac_ext
14321 CFLAGS=$ac_wine_try_cflags_saved
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14324 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14325 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14326 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14329 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14330 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14331 $as_echo_n "(cached) " >&6
14332 else
14333 ac_wine_try_cflags_saved=$CFLAGS
14334 CFLAGS="$CFLAGS -Wtype-limits"
14335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14336 /* end confdefs.h. */
14337 int main(int argc, char **argv) { return 0; }
14338 _ACEOF
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 ac_cv_cflags__Wtype_limits=yes
14341 else
14342 ac_cv_cflags__Wtype_limits=no
14344 rm -f core conftest.err conftest.$ac_objext \
14345 conftest$ac_exeext conftest.$ac_ext
14346 CFLAGS=$ac_wine_try_cflags_saved
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14349 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14350 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14351 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14354 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14355 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14356 $as_echo_n "(cached) " >&6
14357 else
14358 ac_wine_try_cflags_saved=$CFLAGS
14359 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 int main(int argc, char **argv) { return 0; }
14363 _ACEOF
14364 if ac_fn_c_try_link "$LINENO"; then :
14365 ac_cv_cflags__Wunused_but_set_parameter=yes
14366 else
14367 ac_cv_cflags__Wunused_but_set_parameter=no
14369 rm -f core conftest.err conftest.$ac_objext \
14370 conftest$ac_exeext conftest.$ac_ext
14371 CFLAGS=$ac_wine_try_cflags_saved
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14374 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14375 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14376 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14379 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14380 if ${ac_cv_cflags__Wvla+:} false; then :
14381 $as_echo_n "(cached) " >&6
14382 else
14383 ac_wine_try_cflags_saved=$CFLAGS
14384 CFLAGS="$CFLAGS -Wvla"
14385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14387 int main(int argc, char **argv) { return 0; }
14388 _ACEOF
14389 if ac_fn_c_try_link "$LINENO"; then :
14390 ac_cv_cflags__Wvla=yes
14391 else
14392 ac_cv_cflags__Wvla=no
14394 rm -f core conftest.err conftest.$ac_objext \
14395 conftest$ac_exeext conftest.$ac_ext
14396 CFLAGS=$ac_wine_try_cflags_saved
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14399 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14400 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14401 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14404 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14405 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14406 $as_echo_n "(cached) " >&6
14407 else
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -Wwrite-strings"
14410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14411 /* end confdefs.h. */
14412 int main(int argc, char **argv) { return 0; }
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_cflags__Wwrite_strings=yes
14416 else
14417 ac_cv_cflags__Wwrite_strings=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 CFLAGS=$ac_wine_try_cflags_saved
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14424 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14425 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14426 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14430 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14431 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14432 $as_echo_n "(cached) " >&6
14433 else
14434 ac_wine_try_cflags_saved=$CFLAGS
14435 CFLAGS="$CFLAGS -Wpointer-arith"
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14438 int main(int argc, char **argv) { return 0; }
14439 _ACEOF
14440 if ac_fn_c_try_link "$LINENO"; then :
14441 ac_cv_cflags__Wpointer_arith=yes
14442 else
14443 ac_cv_cflags__Wpointer_arith=no
14445 rm -f core conftest.err conftest.$ac_objext \
14446 conftest$ac_exeext conftest.$ac_ext
14447 CFLAGS=$ac_wine_try_cflags_saved
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14450 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14451 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14452 saved_string_h_CFLAGS=$CFLAGS
14453 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14455 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14456 if ${ac_cv_c_string_h_warnings+:} false; then :
14457 $as_echo_n "(cached) " >&6
14458 else
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14461 #include <string.h>
14463 main ()
14467 return 0;
14469 _ACEOF
14470 if ac_fn_c_try_compile "$LINENO"; then :
14471 ac_cv_c_string_h_warnings=no
14472 else
14473 ac_cv_c_string_h_warnings=yes
14475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14478 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14479 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14480 CFLAGS=$saved_string_h_CFLAGS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14484 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14485 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14486 $as_echo_n "(cached) " >&6
14487 else
14488 ac_wine_try_cflags_saved=$CFLAGS
14489 CFLAGS="$CFLAGS -Wlogical-op"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14492 int main(int argc, char **argv) { return 0; }
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"; then :
14495 ac_cv_cflags__Wlogical_op=yes
14496 else
14497 ac_cv_cflags__Wlogical_op=no
14499 rm -f core conftest.err conftest.$ac_objext \
14500 conftest$ac_exeext conftest.$ac_ext
14501 CFLAGS=$ac_wine_try_cflags_saved
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14504 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14505 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14506 saved_string_h_CFLAGS=$CFLAGS
14507 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14509 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14510 if ${ac_cv_c_logicalop_noisy+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14514 /* end confdefs.h. */
14515 #include <string.h>
14516 char*f(const char *h,char n) {return strchr(h,n);}
14518 main ()
14522 return 0;
14524 _ACEOF
14525 if ac_fn_c_try_compile "$LINENO"; then :
14526 ac_cv_c_logicalop_noisy=no
14527 else
14528 ac_cv_c_logicalop_noisy=yes
14530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14533 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14534 CFLAGS=$saved_string_h_CFLAGS
14535 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14538 CFLAGS=$saved_CFLAGS
14540 for ac_flag in $CFLAGS; do
14541 case $ac_flag in
14542 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14543 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14544 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_wine_try_cflags_saved=$CFLAGS
14548 CFLAGS="$CFLAGS -gdwarf-2"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14551 int main(int argc, char **argv) { return 0; }
14552 _ACEOF
14553 if ac_fn_c_try_link "$LINENO"; then :
14554 ac_cv_cflags__gdwarf_2=yes
14555 else
14556 ac_cv_cflags__gdwarf_2=no
14558 rm -f core conftest.err conftest.$ac_objext \
14559 conftest$ac_exeext conftest.$ac_ext
14560 CFLAGS=$ac_wine_try_cflags_saved
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14563 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14564 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14565 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14568 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14569 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14570 $as_echo_n "(cached) " >&6
14571 else
14572 ac_wine_try_cflags_saved=$CFLAGS
14573 CFLAGS="$CFLAGS -gstrict-dwarf"
14574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 /* end confdefs.h. */
14576 int main(int argc, char **argv) { return 0; }
14577 _ACEOF
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 ac_cv_cflags__gstrict_dwarf=yes
14580 else
14581 ac_cv_cflags__gstrict_dwarf=no
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 CFLAGS=$ac_wine_try_cflags_saved
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14588 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14589 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14590 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14591 fi ;;
14592 esac
14593 done
14595 case $host_cpu in
14596 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14597 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14598 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14599 $as_echo_n "(cached) " >&6
14600 else
14601 ac_wine_try_cflags_saved=$CFLAGS
14602 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14605 int main(int argc, char **argv) { return 0; }
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 ac_cv_cflags__fno_omit_frame_pointer=yes
14609 else
14610 ac_cv_cflags__fno_omit_frame_pointer=no
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 CFLAGS=$ac_wine_try_cflags_saved
14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14617 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14618 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14619 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14620 fi ;;
14621 esac
14623 case $host in
14624 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14625 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14626 if ${ac_cv_cflags__Wno_format+:} false; then :
14627 $as_echo_n "(cached) " >&6
14628 else
14629 ac_wine_try_cflags_saved=$CFLAGS
14630 CFLAGS="$CFLAGS -Wno-format"
14631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14632 /* end confdefs.h. */
14633 int main(int argc, char **argv) { return 0; }
14634 _ACEOF
14635 if ac_fn_c_try_link "$LINENO"; then :
14636 ac_cv_cflags__Wno_format=yes
14637 else
14638 ac_cv_cflags__Wno_format=no
14640 rm -f core conftest.err conftest.$ac_objext \
14641 conftest$ac_exeext conftest.$ac_ext
14642 CFLAGS=$ac_wine_try_cflags_saved
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14645 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14646 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14647 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14648 fi ;;
14649 esac
14651 if test "x$enable_maintainer_mode" = "xyes"
14652 then
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14654 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14655 if ${ac_cv_cflags__Werror+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 ac_wine_try_cflags_saved=$CFLAGS
14659 CFLAGS="$CFLAGS -Werror"
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14662 int main(int argc, char **argv) { return 0; }
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 ac_cv_cflags__Werror=yes
14666 else
14667 ac_cv_cflags__Werror=no
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14671 CFLAGS=$ac_wine_try_cflags_saved
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14674 $as_echo "$ac_cv_cflags__Werror" >&6; }
14675 if test "x$ac_cv_cflags__Werror" = xyes; then :
14676 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14680 saved_CFLAGS="$CFLAGS"
14681 CFLAGS="$CFLAGS -Werror"
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14683 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14684 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14685 $as_echo_n "(cached) " >&6
14686 else
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14691 main ()
14695 return 0;
14697 _ACEOF
14698 if ac_fn_c_try_compile "$LINENO"; then :
14699 ac_cv_have_ms_hook_prologue="yes"
14700 else
14701 ac_cv_have_ms_hook_prologue="no"
14703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14706 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14707 CFLAGS="$saved_CFLAGS"
14708 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14709 then
14711 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14713 else
14714 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14721 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14722 if ${ac_cv_c_fortify_enabled+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14726 /* end confdefs.h. */
14727 #include <string.h>
14729 main ()
14731 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14732 #error Fortify enabled
14733 #endif
14735 return 0;
14737 _ACEOF
14738 if ac_fn_c_try_compile "$LINENO"; then :
14739 ac_cv_c_fortify_enabled=no
14740 else
14741 ac_cv_c_fortify_enabled=yes
14743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14746 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14747 if test "$ac_cv_c_fortify_enabled" = yes
14748 then
14749 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14754 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14755 if ${ac_cv_c_extern_prefix+:} false; then :
14756 $as_echo_n "(cached) " >&6
14757 else
14758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14759 /* end confdefs.h. */
14760 extern int ac_test;
14762 main ()
14764 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14766 return 0;
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_c_extern_prefix="yes"
14771 else
14772 ac_cv_c_extern_prefix="no"
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14778 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14780 case $host_cpu in
14781 *i[3456789]86*)
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14783 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14784 if ${ac_cv_c_stdcall_suffix+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 #ifndef _MSC_VER
14790 #define __stdcall __attribute__((__stdcall__))
14791 #endif
14792 int __stdcall ac_test(int i) { return i; }
14794 main ()
14796 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14798 return 0;
14800 _ACEOF
14801 if ac_fn_c_try_link "$LINENO"; then :
14802 ac_cv_c_stdcall_suffix="yes"
14803 else
14804 ac_cv_c_stdcall_suffix="no"
14806 rm -f core conftest.err conftest.$ac_objext \
14807 conftest$ac_exeext conftest.$ac_ext
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14810 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14811 *) ac_cv_c_stdcall_suffix="no" ;;
14812 esac
14815 if test "$ac_cv_c_extern_prefix" = "yes"
14816 then
14817 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14819 asm_name_prefix="_"
14820 else
14821 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14823 asm_name_prefix=""
14827 if test "$ac_cv_c_stdcall_suffix" = "yes"
14828 then
14829 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14831 else
14832 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14838 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14839 if ${ac_cv_asm_func_def+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 /* end confdefs.h. */
14846 main ()
14848 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14850 return 0;
14852 _ACEOF
14853 if ac_fn_c_try_link "$LINENO"; then :
14854 ac_cv_asm_func_def=".def"
14855 else
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14860 main ()
14862 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"; then :
14868 ac_cv_asm_func_def=".type @function"
14869 else
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14874 main ()
14876 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_link "$LINENO"; then :
14882 ac_cv_asm_func_def=".type 2"
14883 else
14884 ac_cv_asm_func_def="unknown"
14886 rm -f core conftest.err conftest.$ac_objext \
14887 conftest$ac_exeext conftest.$ac_ext
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14892 rm -f core conftest.err conftest.$ac_objext \
14893 conftest$ac_exeext conftest.$ac_ext
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14896 $as_echo "$ac_cv_asm_func_def" >&6; }
14899 case "$ac_cv_asm_func_def" in
14900 ".def")
14901 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14903 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14904 ".type @function")
14905 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14907 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14908 ".type 2")
14909 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14911 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14913 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14915 asm_func_header="" ;;
14916 esac
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14919 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14920 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14921 $as_echo_n "(cached) " >&6
14922 else
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 asm(".text\n\t.long 0");
14927 main ()
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_compile "$LINENO"; then :
14935 ac_cv_c_asm_outside_funcs="yes"
14936 else
14937 ac_cv_c_asm_outside_funcs="no"
14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14942 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14945 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14946 if ${ac_cv_c_dot_previous+:} false; then :
14947 $as_echo_n "(cached) " >&6
14948 else
14949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14950 /* end confdefs.h. */
14953 main ()
14955 asm(".text\nac_test:\t.long 0\n\t.previous");
14957 return 0;
14959 _ACEOF
14960 if ac_fn_c_try_link "$LINENO"; then :
14961 ac_cv_c_dot_previous="yes"
14962 else
14963 ac_cv_c_dot_previous="no"
14965 rm -f core conftest.err conftest.$ac_objext \
14966 conftest$ac_exeext conftest.$ac_ext
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14969 $as_echo "$ac_cv_c_dot_previous" >&6; }
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14972 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14973 if ${ac_cv_c_cfi_support+:} false; then :
14974 $as_echo_n "(cached) " >&6
14975 else
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14980 main ()
14984 return 0;
14986 _ACEOF
14987 if ac_fn_c_try_compile "$LINENO"; then :
14988 ac_cv_c_cfi_support="yes"
14989 else
14990 ac_cv_c_cfi_support="no"
14992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14995 $as_echo "$ac_cv_c_cfi_support" >&6; }
14997 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14998 asm_func_trailer=""
14999 if test "$ac_cv_c_dot_previous" = "yes"
15000 then
15001 asm_func_trailer="\\n\\t.previous"
15003 if test "$ac_cv_c_cfi_support" = "yes"
15004 then
15005 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15006 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15008 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15010 UNWINDFLAGS=-fasynchronous-unwind-tables
15012 else
15013 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15015 if test "x$enable_win64" = "xyes"
15016 then
15017 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15021 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15024 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15025 then
15026 cat >>confdefs.h <<_ACEOF
15027 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15028 _ACEOF
15030 else
15031 cat >>confdefs.h <<_ACEOF
15032 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15033 _ACEOF
15037 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15040 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15044 case $build_os in
15045 cygwin*|mingw32*) TOOLSEXT=".exe"
15047 esac
15049 case $host_os in
15050 linux-android*) ;;
15051 linux*)
15052 case $host_cpu in
15053 *i[3456789]86*|x86_64*)
15054 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15055 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15057 esac
15059 esac
15062 ac_save_CFLAGS="$CFLAGS"
15063 CFLAGS="$CFLAGS $BUILTINFLAG"
15064 for ac_func in \
15065 __res_get_state \
15066 __res_getservers \
15067 _finite \
15068 _isnan \
15069 _pclose \
15070 _popen \
15071 _snprintf \
15072 _spawnvp \
15073 _strdup \
15074 _stricmp \
15075 _strnicmp \
15076 _strtoi64 \
15077 _strtoui64 \
15078 _vsnprintf \
15079 asctime_r \
15080 chsize \
15081 dlopen \
15082 epoll_create \
15083 ffs \
15084 finitef \
15085 fnmatch \
15086 fork \
15087 fpclass \
15088 fstatfs \
15089 fstatvfs \
15090 ftruncate \
15091 futimens \
15092 futimes \
15093 futimesat \
15094 getattrlist \
15095 getopt_long_only \
15096 getpwuid \
15097 gettimeofday \
15098 getuid \
15099 if_nameindex \
15100 isnanf \
15101 kqueue \
15102 lstat \
15103 memmove \
15104 mmap \
15105 pclose \
15106 pipe2 \
15107 poll \
15108 popen \
15109 port_create \
15110 prctl \
15111 pread \
15112 proc_pidinfo \
15113 pwrite \
15114 readdir \
15115 readlink \
15116 sched_yield \
15117 select \
15118 setproctitle \
15119 setprogname \
15120 setrlimit \
15121 settimeofday \
15122 sigaltstack \
15123 sigprocmask \
15124 snprintf \
15125 statfs \
15126 statvfs \
15127 strcasecmp \
15128 strdup \
15129 strerror \
15130 strncasecmp \
15131 strtold \
15132 strtoll \
15133 strtoull \
15134 symlink \
15135 tcdrain \
15136 thr_kill2 \
15137 timegm \
15138 usleep \
15139 vsnprintf
15141 do :
15142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15144 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15145 cat >>confdefs.h <<_ACEOF
15146 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15147 _ACEOF
15150 done
15152 CFLAGS="$ac_save_CFLAGS"
15154 if test "$ac_cv_func_dlopen" = no
15155 then
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15157 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15158 if ${ac_cv_lib_dl_dlopen+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_check_lib_save_LIBS=$LIBS
15162 LIBS="-ldl $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 #ifdef __cplusplus
15170 extern "C"
15171 #endif
15172 char dlopen ();
15174 main ()
15176 return dlopen ();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 ac_cv_lib_dl_dlopen=yes
15183 else
15184 ac_cv_lib_dl_dlopen=no
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15188 LIBS=$ac_check_lib_save_LIBS
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15191 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15192 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15193 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15194 DL_LIBS="-ldl"
15199 ac_wine_check_funcs_save_LIBS="$LIBS"
15200 LIBS="$LIBS $DL_LIBS"
15201 for ac_func in dladdr
15202 do :
15203 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15204 if test "x$ac_cv_func_dladdr" = xyes; then :
15205 cat >>confdefs.h <<_ACEOF
15206 #define HAVE_DLADDR 1
15207 _ACEOF
15210 done
15212 LIBS="$ac_wine_check_funcs_save_LIBS"
15214 if test "$ac_cv_func_poll" = no
15215 then
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15217 $as_echo_n "checking for poll in -lpoll... " >&6; }
15218 if ${ac_cv_lib_poll_poll+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 ac_check_lib_save_LIBS=$LIBS
15222 LIBS="-lpoll $LIBS"
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15226 /* Override any GCC internal prototype to avoid an error.
15227 Use char because int might match the return type of a GCC
15228 builtin and then its argument prototype would still apply. */
15229 #ifdef __cplusplus
15230 extern "C"
15231 #endif
15232 char poll ();
15234 main ()
15236 return poll ();
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_lib_poll_poll=yes
15243 else
15244 ac_cv_lib_poll_poll=no
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15248 LIBS=$ac_check_lib_save_LIBS
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15251 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15252 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15253 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15254 POLL_LIBS="-lpoll"
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15261 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15262 if ${ac_cv_search_gethostbyname+:} false; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15265 ac_func_search_save_LIBS=$LIBS
15266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15267 /* end confdefs.h. */
15269 /* Override any GCC internal prototype to avoid an error.
15270 Use char because int might match the return type of a GCC
15271 builtin and then its argument prototype would still apply. */
15272 #ifdef __cplusplus
15273 extern "C"
15274 #endif
15275 char gethostbyname ();
15277 main ()
15279 return gethostbyname ();
15281 return 0;
15283 _ACEOF
15284 for ac_lib in '' nsl; do
15285 if test -z "$ac_lib"; then
15286 ac_res="none required"
15287 else
15288 ac_res=-l$ac_lib
15289 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15291 if ac_fn_c_try_link "$LINENO"; then :
15292 ac_cv_search_gethostbyname=$ac_res
15294 rm -f core conftest.err conftest.$ac_objext \
15295 conftest$ac_exeext
15296 if ${ac_cv_search_gethostbyname+:} false; then :
15297 break
15299 done
15300 if ${ac_cv_search_gethostbyname+:} false; then :
15302 else
15303 ac_cv_search_gethostbyname=no
15305 rm conftest.$ac_ext
15306 LIBS=$ac_func_search_save_LIBS
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15309 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15310 ac_res=$ac_cv_search_gethostbyname
15311 if test "$ac_res" != no; then :
15312 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15318 $as_echo_n "checking for library containing connect... " >&6; }
15319 if ${ac_cv_search_connect+:} false; then :
15320 $as_echo_n "(cached) " >&6
15321 else
15322 ac_func_search_save_LIBS=$LIBS
15323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15324 /* end confdefs.h. */
15326 /* Override any GCC internal prototype to avoid an error.
15327 Use char because int might match the return type of a GCC
15328 builtin and then its argument prototype would still apply. */
15329 #ifdef __cplusplus
15330 extern "C"
15331 #endif
15332 char connect ();
15334 main ()
15336 return connect ();
15338 return 0;
15340 _ACEOF
15341 for ac_lib in '' socket; do
15342 if test -z "$ac_lib"; then
15343 ac_res="none required"
15344 else
15345 ac_res=-l$ac_lib
15346 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15348 if ac_fn_c_try_link "$LINENO"; then :
15349 ac_cv_search_connect=$ac_res
15351 rm -f core conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext
15353 if ${ac_cv_search_connect+:} false; then :
15354 break
15356 done
15357 if ${ac_cv_search_connect+:} false; then :
15359 else
15360 ac_cv_search_connect=no
15362 rm conftest.$ac_ext
15363 LIBS=$ac_func_search_save_LIBS
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15366 $as_echo "$ac_cv_search_connect" >&6; }
15367 ac_res=$ac_cv_search_connect
15368 if test "$ac_res" != no; then :
15369 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15375 $as_echo_n "checking for library containing inet_aton... " >&6; }
15376 if ${ac_cv_search_inet_aton+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 ac_func_search_save_LIBS=$LIBS
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15386 #ifdef __cplusplus
15387 extern "C"
15388 #endif
15389 char inet_aton ();
15391 main ()
15393 return inet_aton ();
15395 return 0;
15397 _ACEOF
15398 for ac_lib in '' resolv; do
15399 if test -z "$ac_lib"; then
15400 ac_res="none required"
15401 else
15402 ac_res=-l$ac_lib
15403 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 ac_cv_search_inet_aton=$ac_res
15408 rm -f core conftest.err conftest.$ac_objext \
15409 conftest$ac_exeext
15410 if ${ac_cv_search_inet_aton+:} false; then :
15411 break
15413 done
15414 if ${ac_cv_search_inet_aton+:} false; then :
15416 else
15417 ac_cv_search_inet_aton=no
15419 rm conftest.$ac_ext
15420 LIBS=$ac_func_search_save_LIBS
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15423 $as_echo "$ac_cv_search_inet_aton" >&6; }
15424 ac_res=$ac_cv_search_inet_aton
15425 if test "$ac_res" != no; then :
15426 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15431 for ac_func in \
15432 getaddrinfo \
15433 getnameinfo \
15434 getnetbyname \
15435 getprotobyname \
15436 getprotobynumber \
15437 getservbyport \
15438 inet_addr \
15439 inet_network \
15440 inet_ntop \
15441 inet_pton \
15442 sendmsg \
15443 socketpair \
15445 do :
15446 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15447 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15448 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15449 cat >>confdefs.h <<_ACEOF
15450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15451 _ACEOF
15454 done
15457 ac_save_LIBS=$LIBS
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15459 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15460 if ${ac_cv_search_clock_gettime+:} false; then :
15461 $as_echo_n "(cached) " >&6
15462 else
15463 ac_func_search_save_LIBS=$LIBS
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15467 /* Override any GCC internal prototype to avoid an error.
15468 Use char because int might match the return type of a GCC
15469 builtin and then its argument prototype would still apply. */
15470 #ifdef __cplusplus
15471 extern "C"
15472 #endif
15473 char clock_gettime ();
15475 main ()
15477 return clock_gettime ();
15479 return 0;
15481 _ACEOF
15482 for ac_lib in '' rt; do
15483 if test -z "$ac_lib"; then
15484 ac_res="none required"
15485 else
15486 ac_res=-l$ac_lib
15487 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15489 if ac_fn_c_try_link "$LINENO"; then :
15490 ac_cv_search_clock_gettime=$ac_res
15492 rm -f core conftest.err conftest.$ac_objext \
15493 conftest$ac_exeext
15494 if ${ac_cv_search_clock_gettime+:} false; then :
15495 break
15497 done
15498 if ${ac_cv_search_clock_gettime+:} false; then :
15500 else
15501 ac_cv_search_clock_gettime=no
15503 rm conftest.$ac_ext
15504 LIBS=$ac_func_search_save_LIBS
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15507 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15508 ac_res=$ac_cv_search_clock_gettime
15509 if test "$ac_res" != no; then :
15510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15512 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15514 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15518 LIBS=$ac_save_LIBS
15520 LDAP_LIBS=""
15522 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15523 then
15524 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15526 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15528 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15529 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15530 $as_echo_n "(cached) " >&6
15531 else
15532 ac_check_lib_save_LIBS=$LIBS
15533 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 #ifdef __cplusplus
15541 extern "C"
15542 #endif
15543 char ldap_initialize ();
15545 main ()
15547 return ldap_initialize ();
15549 return 0;
15551 _ACEOF
15552 if ac_fn_c_try_link "$LINENO"; then :
15553 ac_cv_lib_ldap_r_ldap_initialize=yes
15554 else
15555 ac_cv_lib_ldap_r_ldap_initialize=no
15557 rm -f core conftest.err conftest.$ac_objext \
15558 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_check_lib_save_LIBS
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15562 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15563 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15565 $as_echo_n "checking for ber_init in -llber... " >&6; }
15566 if ${ac_cv_lib_lber_ber_init+:} false; then :
15567 $as_echo_n "(cached) " >&6
15568 else
15569 ac_check_lib_save_LIBS=$LIBS
15570 LIBS="-llber $PTHREAD_LIBS $LIBS"
15571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15572 /* end confdefs.h. */
15574 /* Override any GCC internal prototype to avoid an error.
15575 Use char because int might match the return type of a GCC
15576 builtin and then its argument prototype would still apply. */
15577 #ifdef __cplusplus
15578 extern "C"
15579 #endif
15580 char ber_init ();
15582 main ()
15584 return ber_init ();
15586 return 0;
15588 _ACEOF
15589 if ac_fn_c_try_link "$LINENO"; then :
15590 ac_cv_lib_lber_ber_init=yes
15591 else
15592 ac_cv_lib_lber_ber_init=no
15594 rm -f core conftest.err conftest.$ac_objext \
15595 conftest$ac_exeext conftest.$ac_ext
15596 LIBS=$ac_check_lib_save_LIBS
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15599 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15600 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15602 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15604 LDAP_LIBS="-lldap_r -llber"
15611 ac_wine_check_funcs_save_LIBS="$LIBS"
15612 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15613 for ac_func in \
15614 ldap_count_references \
15615 ldap_first_reference \
15616 ldap_next_reference \
15617 ldap_parse_reference \
15618 ldap_parse_sort_control \
15619 ldap_parse_sortresponse_control \
15620 ldap_parse_vlv_control \
15621 ldap_parse_vlvresponse_control
15622 do :
15623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15626 cat >>confdefs.h <<_ACEOF
15627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15628 _ACEOF
15631 done
15633 LIBS="$ac_wine_check_funcs_save_LIBS"
15635 if test "x$LDAP_LIBS" = "x"; then :
15636 case "x$with_ldap" in
15637 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15638 xno) ;;
15639 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15640 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15641 esac
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15646 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15647 if ${wine_cv_one_arg_mkdir+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15652 #include <sys/stat.h>
15654 main ()
15656 mkdir("foo");
15658 return 0;
15660 _ACEOF
15661 if ac_fn_c_try_compile "$LINENO"; then :
15662 wine_cv_one_arg_mkdir=yes
15663 else
15664 wine_cv_one_arg_mkdir=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15669 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15670 if test "$wine_cv_one_arg_mkdir" = "yes"
15671 then
15673 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15678 $as_echo_n "checking for sched_setaffinity... " >&6; }
15679 if ${wine_cv_have_sched_setaffinity+:} false; then :
15680 $as_echo_n "(cached) " >&6
15681 else
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15684 #define _GNU_SOURCE
15685 #include <sched.h>
15687 main ()
15689 sched_setaffinity(0, 0, 0);
15691 return 0;
15693 _ACEOF
15694 if ac_fn_c_try_link "$LINENO"; then :
15695 wine_cv_have_sched_setaffinity=yes
15696 else
15697 wine_cv_have_sched_setaffinity=no
15699 rm -f core conftest.err conftest.$ac_objext \
15700 conftest$ac_exeext conftest.$ac_ext
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15703 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15704 if test "$wine_cv_have_sched_setaffinity" = "yes"
15705 then
15707 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15712 $as_echo_n "checking for fallocate... " >&6; }
15713 if ${wine_cv_have_fallocate+:} false; then :
15714 $as_echo_n "(cached) " >&6
15715 else
15716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15717 /* end confdefs.h. */
15718 #define _GNU_SOURCE
15719 #include <fcntl.h>
15721 main ()
15723 fallocate(-1, 0, 0, 0);
15725 return 0;
15727 _ACEOF
15728 if ac_fn_c_try_link "$LINENO"; then :
15729 wine_cv_have_fallocate=yes
15730 else
15731 wine_cv_have_fallocate=no
15733 rm -f core conftest.err conftest.$ac_objext \
15734 conftest$ac_exeext conftest.$ac_ext
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15737 $as_echo "$wine_cv_have_fallocate" >&6; }
15738 if test "$wine_cv_have_fallocate" = "yes"
15739 then
15741 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15747 $as_echo_n "checking for inline... " >&6; }
15748 if ${ac_cv_c_inline+:} false; then :
15749 $as_echo_n "(cached) " >&6
15750 else
15751 ac_cv_c_inline=no
15752 for ac_kw in inline __inline__ __inline; do
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15755 #ifndef __cplusplus
15756 typedef int foo_t;
15757 static $ac_kw foo_t static_foo () {return 0; }
15758 $ac_kw foo_t foo () {return 0; }
15759 #endif
15761 _ACEOF
15762 if ac_fn_c_try_compile "$LINENO"; then :
15763 ac_cv_c_inline=$ac_kw
15765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 test "$ac_cv_c_inline" != no && break
15767 done
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15771 $as_echo "$ac_cv_c_inline" >&6; }
15773 case $ac_cv_c_inline in
15774 inline | yes) ;;
15776 case $ac_cv_c_inline in
15777 no) ac_val=;;
15778 *) ac_val=$ac_cv_c_inline;;
15779 esac
15780 cat >>confdefs.h <<_ACEOF
15781 #ifndef __cplusplus
15782 #define inline $ac_val
15783 #endif
15784 _ACEOF
15786 esac
15788 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15789 if test "x$ac_cv_type_mode_t" = xyes; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define HAVE_MODE_T 1
15793 _ACEOF
15797 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15798 if test "x$ac_cv_type_off_t" = xyes; then :
15800 cat >>confdefs.h <<_ACEOF
15801 #define HAVE_OFF_T 1
15802 _ACEOF
15806 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15807 if test "x$ac_cv_type_pid_t" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_PID_T 1
15811 _ACEOF
15815 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15816 if test "x$ac_cv_type_size_t" = xyes; then :
15818 cat >>confdefs.h <<_ACEOF
15819 #define HAVE_SIZE_T 1
15820 _ACEOF
15824 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15825 if test "x$ac_cv_type_ssize_t" = xyes; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define HAVE_SSIZE_T 1
15829 _ACEOF
15833 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15834 if test "x$ac_cv_type_long_long" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_LONG_LONG 1
15838 _ACEOF
15842 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15843 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_FSBLKCNT_T 1
15847 _ACEOF
15851 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15852 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15854 cat >>confdefs.h <<_ACEOF
15855 #define HAVE_FSFILCNT_T 1
15856 _ACEOF
15861 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15862 #include <signal.h>
15864 if test "x$ac_cv_type_sigset_t" = xyes; then :
15866 cat >>confdefs.h <<_ACEOF
15867 #define HAVE_SIGSET_T 1
15868 _ACEOF
15873 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15875 if test "x$ac_cv_type_request_sense" = xyes; then :
15877 cat >>confdefs.h <<_ACEOF
15878 #define HAVE_REQUEST_SENSE 1
15879 _ACEOF
15885 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15886 #ifdef HAVE_SYS_SOCKET_H
15887 #include <sys/socket.h>
15888 #endif
15889 #ifdef HAVE_SYS_SOCKETVAR_H
15890 #include <sys/socketvar.h>
15891 #endif
15892 #ifdef HAVE_NET_ROUTE_H
15893 #include <net/route.h>
15894 #endif
15895 #ifdef HAVE_NETINET_IN_H
15896 #include <netinet/in.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IN_SYSTM_H
15899 #include <netinet/in_systm.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IP_H
15902 #include <netinet/ip.h>
15903 #endif
15904 #ifdef HAVE_NETINET_IN_PCB_H
15905 #include <netinet/in_pcb.h>
15906 #endif
15908 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15910 cat >>confdefs.h <<_ACEOF
15911 #define HAVE_STRUCT_XINPGEN 1
15912 _ACEOF
15918 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15919 #include <link.h>
15920 #endif
15921 #ifdef HAVE_SYS_LINK_H
15922 #include <sys/link.h>
15923 #endif
15925 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15927 cat >>confdefs.h <<_ACEOF
15928 #define HAVE_STRUCT_R_DEBUG 1
15929 _ACEOF
15933 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15934 #include <link.h>
15935 #endif
15936 #ifdef HAVE_SYS_LINK_H
15937 #include <sys/link.h>
15938 #endif
15940 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15942 cat >>confdefs.h <<_ACEOF
15943 #define HAVE_STRUCT_LINK_MAP 1
15944 _ACEOF
15950 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15951 #include <linux/input.h>
15952 #endif
15954 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15956 cat >>confdefs.h <<_ACEOF
15957 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15958 _ACEOF
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15965 $as_echo_n "checking for sigaddset... " >&6; }
15966 if ${wine_cv_have_sigaddset+:} false; then :
15967 $as_echo_n "(cached) " >&6
15968 else
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15971 #include <signal.h>
15973 main ()
15975 sigset_t set; sigaddset(&set,SIGTERM);
15977 return 0;
15979 _ACEOF
15980 if ac_fn_c_try_link "$LINENO"; then :
15981 wine_cv_have_sigaddset=yes
15982 else
15983 wine_cv_have_sigaddset=no
15985 rm -f core conftest.err conftest.$ac_objext \
15986 conftest$ac_exeext conftest.$ac_ext
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15989 $as_echo "$wine_cv_have_sigaddset" >&6; }
15990 if test "$wine_cv_have_sigaddset" = "yes"
15991 then
15993 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15999 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16000 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16001 $as_echo_n "(cached) " >&6
16002 else
16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16005 #include <netdb.h>
16007 main ()
16010 char *name=0;
16011 struct hostent he;
16012 struct hostent *result;
16013 char *buf=0;
16014 int bufsize=0;
16015 int errnr;
16016 char *addr=0;
16017 int addrlen=0;
16018 int addrtype=0;
16019 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16020 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16023 return 0;
16025 _ACEOF
16026 if ac_fn_c_try_link "$LINENO"; then :
16027 wine_cv_linux_gethostbyname_r_6=yes
16028 else
16029 wine_cv_linux_gethostbyname_r_6=no
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext conftest.$ac_ext
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16037 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16038 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16039 then
16041 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16045 if test "$ac_cv_header_linux_joystick_h" = "yes"
16046 then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16048 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16049 if ${wine_cv_linux_joystick_22_api+:} false; then :
16050 $as_echo_n "(cached) " >&6
16051 else
16052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16053 /* end confdefs.h. */
16055 #include <sys/ioctl.h>
16056 #include <sys/types.h>
16057 #include <linux/joystick.h>
16059 struct js_event blub;
16060 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16061 #error "no 2.2 header"
16062 #endif
16065 main ()
16067 /*empty*/
16069 return 0;
16071 _ACEOF
16072 if ac_fn_c_try_compile "$LINENO"; then :
16073 wine_cv_linux_joystick_22_api=yes
16074 else
16075 wine_cv_linux_joystick_22_api=no
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16081 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16082 if test "$wine_cv_linux_joystick_22_api" = "yes"
16083 then
16085 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16091 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16092 #ifdef HAVE_SYS_PARAM_H
16093 # include <sys/param.h>
16094 #endif
16095 #ifdef HAVE_SYS_MOUNT_H
16096 # include <sys/mount.h>
16097 #endif
16098 #ifdef HAVE_SYS_VFS_H
16099 # include <sys/vfs.h>
16100 #endif
16101 #ifdef HAVE_SYS_STATFS_H
16102 # include <sys/statfs.h>
16103 #endif
16105 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16107 cat >>confdefs.h <<_ACEOF
16108 #define HAVE_STRUCT_STATFS_F_BFREE 1
16109 _ACEOF
16113 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16114 #ifdef HAVE_SYS_PARAM_H
16115 # include <sys/param.h>
16116 #endif
16117 #ifdef HAVE_SYS_MOUNT_H
16118 # include <sys/mount.h>
16119 #endif
16120 #ifdef HAVE_SYS_VFS_H
16121 # include <sys/vfs.h>
16122 #endif
16123 #ifdef HAVE_SYS_STATFS_H
16124 # include <sys/statfs.h>
16125 #endif
16127 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16129 cat >>confdefs.h <<_ACEOF
16130 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16131 _ACEOF
16135 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16136 #ifdef HAVE_SYS_PARAM_H
16137 # include <sys/param.h>
16138 #endif
16139 #ifdef HAVE_SYS_MOUNT_H
16140 # include <sys/mount.h>
16141 #endif
16142 #ifdef HAVE_SYS_VFS_H
16143 # include <sys/vfs.h>
16144 #endif
16145 #ifdef HAVE_SYS_STATFS_H
16146 # include <sys/statfs.h>
16147 #endif
16149 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16153 _ACEOF
16157 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16158 #ifdef HAVE_SYS_PARAM_H
16159 # include <sys/param.h>
16160 #endif
16161 #ifdef HAVE_SYS_MOUNT_H
16162 # include <sys/mount.h>
16163 #endif
16164 #ifdef HAVE_SYS_VFS_H
16165 # include <sys/vfs.h>
16166 #endif
16167 #ifdef HAVE_SYS_STATFS_H
16168 # include <sys/statfs.h>
16169 #endif
16171 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16173 cat >>confdefs.h <<_ACEOF
16174 #define HAVE_STRUCT_STATFS_F_FFREE 1
16175 _ACEOF
16179 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16180 #ifdef HAVE_SYS_PARAM_H
16181 # include <sys/param.h>
16182 #endif
16183 #ifdef HAVE_SYS_MOUNT_H
16184 # include <sys/mount.h>
16185 #endif
16186 #ifdef HAVE_SYS_VFS_H
16187 # include <sys/vfs.h>
16188 #endif
16189 #ifdef HAVE_SYS_STATFS_H
16190 # include <sys/statfs.h>
16191 #endif
16193 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16197 _ACEOF
16201 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16202 #ifdef HAVE_SYS_PARAM_H
16203 # include <sys/param.h>
16204 #endif
16205 #ifdef HAVE_SYS_MOUNT_H
16206 # include <sys/mount.h>
16207 #endif
16208 #ifdef HAVE_SYS_VFS_H
16209 # include <sys/vfs.h>
16210 #endif
16211 #ifdef HAVE_SYS_STATFS_H
16212 # include <sys/statfs.h>
16213 #endif
16215 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16217 cat >>confdefs.h <<_ACEOF
16218 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16219 _ACEOF
16225 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16226 #include <sys/statvfs.h>
16227 #endif
16229 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16231 cat >>confdefs.h <<_ACEOF
16232 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16233 _ACEOF
16239 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16240 #include <dirent.h>
16241 #endif
16243 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16245 cat >>confdefs.h <<_ACEOF
16246 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16247 _ACEOF
16253 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16254 #ifdef HAVE_SYS_SOCKET_H
16255 # include <sys/socket.h>
16256 #endif
16257 #ifdef HAVE_SYS_UN_H
16258 # include <sys/un.h>
16259 #endif
16261 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16263 cat >>confdefs.h <<_ACEOF
16264 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16265 _ACEOF
16269 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16270 #ifdef HAVE_SYS_SOCKET_H
16271 # include <sys/socket.h>
16272 #endif
16273 #ifdef HAVE_SYS_UN_H
16274 # include <sys/un.h>
16275 #endif
16277 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16279 cat >>confdefs.h <<_ACEOF
16280 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16281 _ACEOF
16285 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16286 #ifdef HAVE_SYS_SOCKET_H
16287 # include <sys/socket.h>
16288 #endif
16289 #ifdef HAVE_SYS_UN_H
16290 # include <sys/un.h>
16291 #endif
16293 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16297 _ACEOF
16303 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16304 #ifdef HAVE_SCSI_SG_H
16305 #include <scsi/sg.h>
16306 #endif
16308 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_SCSIREQ_T_CMD 1
16312 _ACEOF
16316 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>
16317 #ifdef HAVE_SCSI_SG_H
16318 #include <scsi/sg.h>
16319 #endif
16321 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16325 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16333 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16335 cat >>confdefs.h <<_ACEOF
16336 #define HAVE_SIGINFO_T_SI_FD 1
16337 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16344 #ifdef HAVE_SYS_MTIO_H
16345 #include <sys/mtio.h>
16346 #endif
16348 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16352 _ACEOF
16356 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16357 #ifdef HAVE_SYS_MTIO_H
16358 #include <sys/mtio.h>
16359 #endif
16361 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16370 #ifdef HAVE_SYS_MTIO_H
16371 #include <sys/mtio.h>
16372 #endif
16374 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16378 _ACEOF
16384 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16385 #include <getopt.h>
16386 #endif
16388 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_OPTION_NAME 1
16392 _ACEOF
16398 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16399 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16403 _ACEOF
16407 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16408 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_STAT_ST_MTIM 1
16412 _ACEOF
16416 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16417 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16421 _ACEOF
16425 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16426 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_STRUCT_STAT_ST_CTIM 1
16430 _ACEOF
16434 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16435 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16439 _ACEOF
16443 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16444 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16446 cat >>confdefs.h <<_ACEOF
16447 #define HAVE_STRUCT_STAT_ST_ATIM 1
16448 _ACEOF
16452 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16453 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16455 cat >>confdefs.h <<_ACEOF
16456 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16457 _ACEOF
16461 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16462 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16466 _ACEOF
16470 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16471 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16475 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16480 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16484 _ACEOF
16488 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16489 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16493 _ACEOF
16497 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16498 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16502 _ACEOF
16508 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
16509 #include <sys/types.h>
16510 #endif
16511 #ifdef HAVE_NETINET_IN_H
16512 #include <netinet/in.h>
16513 #endif
16515 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16519 _ACEOF
16525 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16526 #include <resolv.h>
16527 #endif
16529 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT___RES_STATE 1
16533 _ACEOF
16539 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
16540 #include <resolv.h>
16541 #endif
16543 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16545 cat >>confdefs.h <<_ACEOF
16546 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16547 _ACEOF
16553 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16554 #include <sys/types.h>
16555 #endif
16556 #ifdef HAVE_NETINET_IN_H
16557 # include <netinet/in.h>
16558 #endif
16559 #ifdef HAVE_ARPA_NAMESER_H
16560 # include <arpa/nameser.h>
16561 #endif
16563 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_NS_MSG__MSG_PTR 1
16567 _ACEOF
16573 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16574 #include <sys/types.h>
16575 #endif
16576 #ifdef HAVE_NETINET_IP_H
16577 #include <netinet/ip.h>
16578 #endif
16579 #ifdef HAVE_NETINET_IP_ICMP_H
16580 #include <netinet/ip_icmp.h>
16581 #endif
16582 #ifdef HAVE_NETINET_ICMP_VAR_H
16583 #include <netinet/icmp_var.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16590 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16597 #include <sys/types.h>
16598 #endif
16599 #ifdef HAVE_ALIAS_H
16600 #include <alias.h>
16601 #endif
16602 #ifdef HAVE_SYS_SOCKET_H
16603 #include <sys/socket.h>
16604 #endif
16605 #ifdef HAVE_SYS_SOCKETVAR_H
16606 #include <sys/socketvar.h>
16607 #endif
16608 #ifdef HAVE_SYS_TIMEOUT_H
16609 #include <sys/timeout.h>
16610 #endif
16611 #ifdef HAVE_NETINET_IN_H
16612 #include <netinet/in.h>
16613 #endif
16614 #ifdef HAVE_NETINET_IN_SYSTM_H
16615 #include <netinet/in_systm.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IP_H
16618 #include <netinet/ip.h>
16619 #endif
16620 #ifdef HAVE_NETINET_IP_VAR_H
16621 #include <netinet/ip_var.h>
16622 #endif
16623 #ifdef HAVE_NETINET_IP_ICMP_H
16624 #include <netinet/ip_icmp.h>
16625 #endif
16626 #ifdef HAVE_NETINET_ICMP_VAR_H
16627 #include <netinet/icmp_var.h>
16628 #endif
16630 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16632 cat >>confdefs.h <<_ACEOF
16633 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16634 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16641 #include <sys/types.h>
16642 #endif
16643 #ifdef HAVE_SYS_SOCKETVAR_H
16644 #include <sys/socketvar.h>
16645 #endif
16646 #ifdef HAVE_NETINET_IN_H
16647 #include <netinet/in.h>
16648 #endif
16649 #ifdef HAVE_NETINET_IP_VAR_H
16650 #include <netinet/ip_var.h>
16651 #endif
16653 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16655 cat >>confdefs.h <<_ACEOF
16656 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16657 _ACEOF
16663 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
16664 #include <netinet/ip_var.h>
16665 #endif
16667 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16669 cat >>confdefs.h <<_ACEOF
16670 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16671 _ACEOF
16677 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16678 #include <sys/types.h>
16679 #endif
16680 #ifdef HAVE_SYS_SOCKETVAR_H
16681 #include <sys/socketvar.h>
16682 #endif
16683 #ifdef HAVE_NETINET_IN_H
16684 #include <netinet/in.h>
16685 #endif
16686 #ifdef HAVE_NETINET_TCP_H
16687 #include <netinet/tcp.h>
16688 #endif
16689 #ifdef HAVE_NETINET_TCP_VAR_H
16690 #include <netinet/tcp_var.h>
16691 #endif
16693 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16695 cat >>confdefs.h <<_ACEOF
16696 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16697 _ACEOF
16703 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
16704 #include <netinet/tcp_var.h>
16705 #endif
16707 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16709 cat >>confdefs.h <<_ACEOF
16710 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16711 _ACEOF
16717 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16718 #include <sys/types.h>
16719 #endif
16720 #ifdef HAVE_NETINET_IN_H
16721 #include <netinet/in.h>
16722 #endif
16723 #ifdef HAVE_NETINET_IP_VAR_H
16724 #include <netinet/ip_var.h>
16725 #endif
16726 #ifdef HAVE_NETINET_UDP_H
16727 #include <netinet/udp.h>
16728 #endif
16729 #ifdef HAVE_NETINET_UDP_VAR_H
16730 #include <netinet/udp_var.h>
16731 #endif
16733 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16737 _ACEOF
16743 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16744 #include <sys/types.h>
16745 #endif
16746 #ifdef HAVE_NET_IF_H
16747 # include <net/if.h>
16748 #endif
16750 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16754 _ACEOF
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16761 $as_echo_n "checking for timezone variable... " >&6; }
16762 if ${ac_cv_have_timezone+:} false; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <time.h>
16769 main ()
16771 timezone = 1
16773 return 0;
16775 _ACEOF
16776 if ac_fn_c_try_link "$LINENO"; then :
16777 ac_cv_have_timezone="yes"
16778 else
16779 ac_cv_have_timezone="no"
16781 rm -f core conftest.err conftest.$ac_objext \
16782 conftest$ac_exeext conftest.$ac_ext
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16785 $as_echo "$ac_cv_have_timezone" >&6; }
16786 if test "$ac_cv_have_timezone" = "yes"
16787 then
16789 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16793 $as_echo_n "checking for daylight variable... " >&6; }
16794 if ${ac_cv_have_daylight+:} false; then :
16795 $as_echo_n "(cached) " >&6
16796 else
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16799 #include <time.h>
16801 main ()
16803 daylight = 1
16805 return 0;
16807 _ACEOF
16808 if ac_fn_c_try_link "$LINENO"; then :
16809 ac_cv_have_daylight="yes"
16810 else
16811 ac_cv_have_daylight="no"
16813 rm -f core conftest.err conftest.$ac_objext \
16814 conftest$ac_exeext conftest.$ac_ext
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16817 $as_echo "$ac_cv_have_daylight" >&6; }
16818 if test "$ac_cv_have_daylight" = "yes"
16819 then
16821 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16825 ac_save_LIBS="$LIBS"
16826 LIBS="$LIBS -lm"
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16828 $as_echo_n "checking for isfinite... " >&6; }
16829 if ${ac_cv_have_isfinite+:} false; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16834 #define _GNU_SOURCE
16835 #include <math.h>
16837 main ()
16839 float f = 0.0; return isfinite(f)
16841 return 0;
16843 _ACEOF
16844 if ac_fn_c_try_link "$LINENO"; then :
16845 ac_cv_have_isfinite="yes"
16846 else
16847 ac_cv_have_isfinite="no"
16849 rm -f core conftest.err conftest.$ac_objext \
16850 conftest$ac_exeext conftest.$ac_ext
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16853 $as_echo "$ac_cv_have_isfinite" >&6; }
16854 if test "$ac_cv_have_isfinite" = "yes"
16855 then
16857 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16862 $as_echo_n "checking for isinf... " >&6; }
16863 if ${ac_cv_have_isinf+:} false; then :
16864 $as_echo_n "(cached) " >&6
16865 else
16866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16867 /* end confdefs.h. */
16868 #include <math.h>
16870 main ()
16872 float f = 0.0; return isinf(f)
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 ac_cv_have_isinf="yes"
16879 else
16880 ac_cv_have_isinf="no"
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16886 $as_echo "$ac_cv_have_isinf" >&6; }
16887 if test "$ac_cv_have_isinf" = "yes"
16888 then
16890 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16895 $as_echo_n "checking for isnan... " >&6; }
16896 if ${ac_cv_have_isnan+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h. */
16901 #include <math.h>
16903 main ()
16905 float f = 0.0; return isnan(f)
16907 return 0;
16909 _ACEOF
16910 if ac_fn_c_try_link "$LINENO"; then :
16911 ac_cv_have_isnan="yes"
16912 else
16913 ac_cv_have_isnan="no"
16915 rm -f core conftest.err conftest.$ac_objext \
16916 conftest$ac_exeext conftest.$ac_ext
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16919 $as_echo "$ac_cv_have_isnan" >&6; }
16920 if test "$ac_cv_have_isnan" = "yes"
16921 then
16923 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16927 for ac_func in \
16928 asinh \
16929 asinhf \
16930 cbrt \
16931 cbrtf \
16932 erf \
16933 erff \
16934 exp2 \
16935 exp2f \
16936 llrint \
16937 llrintf \
16938 llround \
16939 llroundf \
16940 log2 \
16941 log2f \
16942 lrint \
16943 lrintf \
16944 lround \
16945 lroundf \
16946 powl \
16947 remainder \
16948 remainderf \
16949 rint \
16950 rintf \
16951 round \
16952 roundf \
16953 trunc \
16954 truncf
16956 do :
16957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16959 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16962 _ACEOF
16965 done
16967 LIBS="$ac_save_LIBS"
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16970 $as_echo_n "checking for __builtin_clz... " >&6; }
16971 if ${ac_cv_have___builtin_clz+:} false; then :
16972 $as_echo_n "(cached) " >&6
16973 else
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16978 main ()
16980 return __builtin_clz(1)
16982 return 0;
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"; then :
16986 ac_cv_have___builtin_clz="yes"
16987 else
16988 ac_cv_have___builtin_clz="no"
16990 rm -f core conftest.err conftest.$ac_objext \
16991 conftest$ac_exeext conftest.$ac_ext
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16994 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16995 if test "$ac_cv_have___builtin_clz" = "yes"
16996 then
16998 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17003 $as_echo_n "checking for __builtin_popcount... " >&6; }
17004 if ${ac_cv_have___builtin_popcount+:} false; then :
17005 $as_echo_n "(cached) " >&6
17006 else
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17011 main ()
17013 return __builtin_popcount(1)
17015 return 0;
17017 _ACEOF
17018 if ac_fn_c_try_link "$LINENO"; then :
17019 ac_cv_have___builtin_popcount="yes"
17020 else
17021 ac_cv_have___builtin_popcount="no"
17023 rm -f core conftest.err conftest.$ac_objext \
17024 conftest$ac_exeext conftest.$ac_ext
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17027 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17028 if test "$ac_cv_have___builtin_popcount" = "yes"
17029 then
17031 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17036 case $host_cpu in
17037 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17038 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17039 if ${ac_cv_cpp_def___i386__+:} false; then :
17040 $as_echo_n "(cached) " >&6
17041 else
17042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17043 /* end confdefs.h. */
17044 #ifndef __i386__
17046 #endif
17047 _ACEOF
17048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17049 $EGREP "yes" >/dev/null 2>&1; then :
17050 ac_cv_cpp_def___i386__=yes
17051 else
17052 ac_cv_cpp_def___i386__=no
17054 rm -f conftest*
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17058 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17059 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17060 CFLAGS="$CFLAGS -D__i386__"
17061 LINTFLAGS="$LINTFLAGS -D__i386__"
17062 fi ;;
17063 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17064 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17065 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17066 $as_echo_n "(cached) " >&6
17067 else
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #ifndef __x86_64__
17072 #endif
17073 _ACEOF
17074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17075 $EGREP "yes" >/dev/null 2>&1; then :
17076 ac_cv_cpp_def___x86_64__=yes
17077 else
17078 ac_cv_cpp_def___x86_64__=no
17080 rm -f conftest*
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17084 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17085 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17086 CFLAGS="$CFLAGS -D__x86_64__"
17087 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17088 fi ;;
17089 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17090 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17091 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #ifndef __sparc64__
17098 #endif
17099 _ACEOF
17100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17101 $EGREP "yes" >/dev/null 2>&1; then :
17102 ac_cv_cpp_def___sparc64__=yes
17103 else
17104 ac_cv_cpp_def___sparc64__=no
17106 rm -f conftest*
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17110 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17111 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17112 CFLAGS="$CFLAGS -D__sparc64__"
17113 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17114 fi ;;
17115 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17116 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17117 if ${ac_cv_cpp_def___sparc__+:} false; then :
17118 $as_echo_n "(cached) " >&6
17119 else
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17122 #ifndef __sparc__
17124 #endif
17125 _ACEOF
17126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17127 $EGREP "yes" >/dev/null 2>&1; then :
17128 ac_cv_cpp_def___sparc__=yes
17129 else
17130 ac_cv_cpp_def___sparc__=no
17132 rm -f conftest*
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17136 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17137 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17138 CFLAGS="$CFLAGS -D__sparc__"
17139 LINTFLAGS="$LINTFLAGS -D__sparc__"
17140 fi ;;
17141 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17142 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17143 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17144 $as_echo_n "(cached) " >&6
17145 else
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 #ifndef __powerpc64__
17150 #endif
17151 _ACEOF
17152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17153 $EGREP "yes" >/dev/null 2>&1; then :
17154 ac_cv_cpp_def___powerpc64__=yes
17155 else
17156 ac_cv_cpp_def___powerpc64__=no
17158 rm -f conftest*
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17162 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17163 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17164 CFLAGS="$CFLAGS -D__powerpc64__"
17165 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17166 fi ;;
17167 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17168 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17169 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17170 $as_echo_n "(cached) " >&6
17171 else
17172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17174 #ifndef __powerpc__
17176 #endif
17177 _ACEOF
17178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17179 $EGREP "yes" >/dev/null 2>&1; then :
17180 ac_cv_cpp_def___powerpc__=yes
17181 else
17182 ac_cv_cpp_def___powerpc__=no
17184 rm -f conftest*
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17188 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17189 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17190 CFLAGS="$CFLAGS -D__powerpc__"
17191 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17192 fi ;;
17193 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17194 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17195 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17196 $as_echo_n "(cached) " >&6
17197 else
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17200 #ifndef __aarch64__
17202 #endif
17203 _ACEOF
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "yes" >/dev/null 2>&1; then :
17206 ac_cv_cpp_def___aarch64__=yes
17207 else
17208 ac_cv_cpp_def___aarch64__=no
17210 rm -f conftest*
17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17214 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17215 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17216 CFLAGS="$CFLAGS -D__aarch64__"
17217 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17218 fi ;;
17219 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17220 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17221 if ${ac_cv_cpp_def___arm__+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #ifndef __arm__
17228 #endif
17229 _ACEOF
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "yes" >/dev/null 2>&1; then :
17232 ac_cv_cpp_def___arm__=yes
17233 else
17234 ac_cv_cpp_def___arm__=no
17236 rm -f conftest*
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17240 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17241 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17242 CFLAGS="$CFLAGS -D__arm__"
17243 LINTFLAGS="$LINTFLAGS -D__arm__"
17244 fi ;;
17245 esac
17247 case $host_vendor in
17248 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17249 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17250 if ${ac_cv_cpp_def___sun__+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #ifndef __sun__
17257 #endif
17258 _ACEOF
17259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17260 $EGREP "yes" >/dev/null 2>&1; then :
17261 ac_cv_cpp_def___sun__=yes
17262 else
17263 ac_cv_cpp_def___sun__=no
17265 rm -f conftest*
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17269 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17270 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17271 CFLAGS="$CFLAGS -D__sun__"
17272 LINTFLAGS="$LINTFLAGS -D__sun__"
17273 fi ;;
17274 esac
17280 ac_config_commands="$ac_config_commands include/stamp-h"
17282 $as_echo_n "creating Makefile rules..." >&6
17284 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17285 SOCKET_LIBS = $SOCKET_LIBS
17286 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17287 IOKIT_LIBS = $IOKIT_LIBS
17288 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17289 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17290 CORESERVICES_LIBS = $CORESERVICES_LIBS
17291 APPKIT_LIBS = $APPKIT_LIBS
17292 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17293 SECURITY_LIBS = $SECURITY_LIBS
17294 COREAUDIO_LIBS = $COREAUDIO_LIBS
17295 OPENAL_LIBS = $OPENAL_LIBS
17296 OPENCL_LIBS = $OPENCL_LIBS
17297 QUICKTIME_LIBS = $QUICKTIME_LIBS
17298 CARBON_LIBS = $CARBON_LIBS
17299 PTHREAD_LIBS = $PTHREAD_LIBS
17300 X_CFLAGS = $X_CFLAGS
17301 X_PRE_LIBS = $X_PRE_LIBS
17302 X_LIBS = $X_LIBS
17303 X_EXTRA_LIBS = $X_EXTRA_LIBS
17304 PCAP_LIBS = $PCAP_LIBS
17305 XML2_CFLAGS = $XML2_CFLAGS
17306 XML2_LIBS = $XML2_LIBS
17307 XSLT_CFLAGS = $XSLT_CFLAGS
17308 XSLT_LIBS = $XSLT_LIBS
17309 DBUS_CFLAGS = $DBUS_CFLAGS
17310 DBUS_LIBS = $DBUS_LIBS
17311 HAL_CFLAGS = $HAL_CFLAGS
17312 HAL_LIBS = $HAL_LIBS
17313 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17314 GNUTLS_LIBS = $GNUTLS_LIBS
17315 SANE_CFLAGS = $SANE_CFLAGS
17316 SANE_LIBS = $SANE_LIBS
17317 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17318 GPHOTO2_LIBS = $GPHOTO2_LIBS
17319 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17320 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17321 RESOLV_LIBS = $RESOLV_LIBS
17322 LCMS2_CFLAGS = $LCMS2_CFLAGS
17323 LCMS2_LIBS = $LCMS2_LIBS
17324 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17325 FREETYPE_LIBS = $FREETYPE_LIBS
17326 Z_LIBS = $Z_LIBS
17327 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17328 PULSE_CFLAGS = $PULSE_CFLAGS
17329 PULSE_LIBS = $PULSE_LIBS
17330 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17331 GSTREAMER_LIBS = $GSTREAMER_LIBS
17332 ALSA_LIBS = $ALSA_LIBS
17333 OSS4_CFLAGS = $OSS4_CFLAGS
17334 CAPI20_CFLAGS = $CAPI20_CFLAGS
17335 CAPI20_LIBS = $CAPI20_LIBS
17336 CUPS_CFLAGS = $CUPS_CFLAGS
17337 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17338 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17339 JPEG_CFLAGS = $JPEG_CFLAGS
17340 JPEG_LIBS = $JPEG_LIBS
17341 PNG_CFLAGS = $PNG_CFLAGS
17342 PNG_LIBS = $PNG_LIBS
17343 TIFF_CFLAGS = $TIFF_CFLAGS
17344 TIFF_LIBS = $TIFF_LIBS
17345 MPG123_CFLAGS = $MPG123_CFLAGS
17346 MPG123_LIBS = $MPG123_LIBS
17347 KSTAT_LIBS = $KSTAT_LIBS
17348 PROCSTAT_LIBS = $PROCSTAT_LIBS
17349 NETAPI_CFLAGS = $NETAPI_CFLAGS
17350 NETAPI_LIBS = $NETAPI_LIBS
17351 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17352 DL_LIBS = $DL_LIBS
17353 POLL_LIBS = $POLL_LIBS
17354 RT_LIBS = $RT_LIBS
17355 LDAP_LIBS = $LDAP_LIBS
17360 wine_fn_append_rule "
17361 # Rules automatically generated by configure
17363 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17365 .INIT: Makefile
17366 .MAKEFILEDEPS:
17367 all: Makefile
17368 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17369 @./config.status Make.tmp Makefile
17370 depend: \$(MAKEDEP) dummy
17371 \$(MAKEDEP)"
17373 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17374 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17376 if test "x$enable_fonts" != xno; then
17377 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17378 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17379 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17380 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17381 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17382 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17384 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17385 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17386 ac_config_links="$ac_config_links wine:tools/winewrapper"
17387 wine_fn_config_symlink wine
17388 if test "x$enable_win64" != xno; then
17389 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17390 wine_fn_config_symlink wine64
17393 wine_fn_config_dll acledit enable_acledit
17394 wine_fn_config_dll aclui enable_aclui implib
17395 wine_fn_config_dll activeds enable_activeds implib
17396 wine_fn_config_dll actxprxy enable_actxprxy clean
17397 wine_fn_config_lib adsiid
17398 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17399 wine_fn_config_test dlls/advapi32/tests advapi32_test
17400 wine_fn_config_dll advpack enable_advpack implib
17401 wine_fn_config_test dlls/advpack/tests advpack_test
17402 wine_fn_config_dll amstream enable_amstream clean
17403 wine_fn_config_test dlls/amstream/tests amstream_test
17404 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17405 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17406 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17407 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17408 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17409 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17412 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17413 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17414 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17415 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17416 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17417 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17418 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17419 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17420 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17421 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17422 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17423 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17425 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17426 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17427 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17428 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17429 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17431 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17433 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17434 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17435 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17436 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17437 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17439 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17440 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17441 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17442 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17443 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17445 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17447 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17448 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17450 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17451 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17454 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17456 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17457 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17459 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17461 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17462 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17463 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17464 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17465 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17467 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17469 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17470 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17471 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17472 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17477 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17478 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17479 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17480 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17481 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17482 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17483 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17491 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17492 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17493 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17494 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17495 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17496 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17497 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17500 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17501 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17502 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17503 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17504 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17505 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17506 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17507 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17508 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17509 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17510 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17511 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17512 wine_fn_config_dll apphelp enable_apphelp
17513 wine_fn_config_test dlls/apphelp/tests apphelp_test
17514 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17515 wine_fn_config_dll atl enable_atl clean,implib
17516 wine_fn_config_test dlls/atl/tests atl_test
17517 wine_fn_config_dll atl100 enable_atl100 clean,implib
17518 wine_fn_config_test dlls/atl100/tests atl100_test
17519 wine_fn_config_dll atl110 enable_atl110 clean
17520 wine_fn_config_dll atl80 enable_atl80 clean,implib
17521 wine_fn_config_test dlls/atl80/tests atl80_test
17522 wine_fn_config_dll atl90 enable_atl90 clean
17523 wine_fn_config_dll authz enable_authz
17524 wine_fn_config_dll avicap32 enable_avicap32 implib
17525 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17526 wine_fn_config_test dlls/avifil32/tests avifil32_test
17527 wine_fn_config_dll avifile.dll16 enable_win16
17528 wine_fn_config_dll avrt enable_avrt implib
17529 wine_fn_config_dll bcrypt enable_bcrypt implib
17530 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17531 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17532 wine_fn_config_dll browseui enable_browseui clean
17533 wine_fn_config_test dlls/browseui/tests browseui_test
17534 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17535 wine_fn_config_dll cabinet enable_cabinet implib
17536 wine_fn_config_test dlls/cabinet/tests cabinet_test
17537 wine_fn_config_dll capi2032 enable_capi2032 implib
17538 wine_fn_config_dll cards enable_cards implib
17539 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17540 wine_fn_config_dll clusapi enable_clusapi implib
17541 wine_fn_config_dll combase enable_combase
17542 wine_fn_config_test dlls/combase/tests combase_test
17543 wine_fn_config_dll comcat enable_comcat
17544 wine_fn_config_test dlls/comcat/tests comcat_test
17545 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17546 wine_fn_config_test dlls/comctl32/tests comctl32_test
17547 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17548 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17549 wine_fn_config_dll comm.drv16 enable_win16
17550 wine_fn_config_dll commdlg.dll16 enable_win16
17551 wine_fn_config_dll compobj.dll16 enable_win16
17552 wine_fn_config_dll compstui enable_compstui implib
17553 wine_fn_config_dll comsvcs enable_comsvcs implib
17554 wine_fn_config_dll concrt140 enable_concrt140
17555 wine_fn_config_dll connect enable_connect
17556 wine_fn_config_dll credui enable_credui clean,implib
17557 wine_fn_config_test dlls/credui/tests credui_test
17558 wine_fn_config_dll crtdll enable_crtdll
17559 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17560 wine_fn_config_test dlls/crypt32/tests crypt32_test
17561 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17562 wine_fn_config_dll cryptdll enable_cryptdll implib
17563 wine_fn_config_dll cryptext enable_cryptext
17564 wine_fn_config_dll cryptnet enable_cryptnet implib
17565 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17566 wine_fn_config_dll cryptui enable_cryptui clean,implib
17567 wine_fn_config_test dlls/cryptui/tests cryptui_test
17568 wine_fn_config_dll ctapi32 enable_ctapi32
17569 wine_fn_config_dll ctl3d.dll16 enable_win16
17570 wine_fn_config_dll ctl3d32 enable_ctl3d32
17571 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17572 wine_fn_config_dll d2d1 enable_d2d1 implib
17573 wine_fn_config_test dlls/d2d1/tests d2d1_test
17574 wine_fn_config_dll d3d10 enable_d3d10 implib
17575 wine_fn_config_test dlls/d3d10/tests d3d10_test
17576 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17577 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17578 wine_fn_config_dll d3d10core enable_d3d10core implib
17579 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17580 wine_fn_config_dll d3d11 enable_d3d11 implib
17581 wine_fn_config_test dlls/d3d11/tests d3d11_test
17582 wine_fn_config_dll d3d8 enable_d3d8 implib
17583 wine_fn_config_test dlls/d3d8/tests d3d8_test
17584 wine_fn_config_dll d3d9 enable_d3d9 implib
17585 wine_fn_config_test dlls/d3d9/tests d3d9_test
17586 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17587 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17588 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17589 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17590 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17591 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17592 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17593 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17594 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17595 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17596 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17597 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17598 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17599 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17600 wine_fn_config_dll d3dim enable_d3dim
17601 wine_fn_config_dll d3drm enable_d3drm implib
17602 wine_fn_config_test dlls/d3drm/tests d3drm_test
17603 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17604 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17605 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17606 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17607 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17608 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17609 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17610 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17611 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17612 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17613 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17614 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17615 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17616 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17617 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17618 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17619 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17620 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17621 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17622 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17623 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17624 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17625 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17626 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17627 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17628 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17629 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17630 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17631 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17632 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17633 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17634 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17635 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17636 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17637 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17638 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17639 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17640 wine_fn_config_dll davclnt enable_davclnt
17641 wine_fn_config_dll dbgeng enable_dbgeng implib
17642 wine_fn_config_dll dbghelp enable_dbghelp implib
17643 wine_fn_config_dll dciman32 enable_dciman32 implib
17644 wine_fn_config_dll ddeml.dll16 enable_win16
17645 wine_fn_config_dll ddraw enable_ddraw clean,implib
17646 wine_fn_config_test dlls/ddraw/tests ddraw_test
17647 wine_fn_config_dll ddrawex enable_ddrawex clean
17648 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17649 wine_fn_config_dll devenum enable_devenum clean
17650 wine_fn_config_test dlls/devenum/tests devenum_test
17651 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17652 wine_fn_config_dll difxapi enable_difxapi
17653 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17654 wine_fn_config_test dlls/dinput/tests dinput_test
17655 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17656 wine_fn_config_test dlls/dinput8/tests dinput8_test
17657 wine_fn_config_dll dispdib.dll16 enable_win16
17658 wine_fn_config_dll dispex enable_dispex clean
17659 wine_fn_config_test dlls/dispex/tests dispex_test
17660 wine_fn_config_dll display.drv16 enable_win16
17661 wine_fn_config_dll dmband enable_dmband clean
17662 wine_fn_config_test dlls/dmband/tests dmband_test
17663 wine_fn_config_dll dmcompos enable_dmcompos clean
17664 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17665 wine_fn_config_dll dmime enable_dmime clean
17666 wine_fn_config_test dlls/dmime/tests dmime_test
17667 wine_fn_config_dll dmloader enable_dmloader clean
17668 wine_fn_config_test dlls/dmloader/tests dmloader_test
17669 wine_fn_config_dll dmscript enable_dmscript clean
17670 wine_fn_config_test dlls/dmscript/tests dmscript_test
17671 wine_fn_config_dll dmstyle enable_dmstyle clean
17672 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17673 wine_fn_config_dll dmsynth enable_dmsynth clean
17674 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17675 wine_fn_config_dll dmusic enable_dmusic clean
17676 wine_fn_config_test dlls/dmusic/tests dmusic_test
17677 wine_fn_config_dll dmusic32 enable_dmusic32
17678 wine_fn_config_dll dnsapi enable_dnsapi implib
17679 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17680 wine_fn_config_dll dplay enable_dplay
17681 wine_fn_config_dll dplayx enable_dplayx clean,implib
17682 wine_fn_config_test dlls/dplayx/tests dplayx_test
17683 wine_fn_config_dll dpnaddr enable_dpnaddr
17684 wine_fn_config_dll dpnet enable_dpnet clean,implib
17685 wine_fn_config_test dlls/dpnet/tests dpnet_test
17686 wine_fn_config_dll dpnhpast enable_dpnhpast
17687 wine_fn_config_dll dpnlobby enable_dpnlobby
17688 wine_fn_config_dll dpvoice enable_dpvoice clean
17689 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17690 wine_fn_config_dll dpwsockx enable_dpwsockx
17691 wine_fn_config_dll drmclien enable_drmclien
17692 wine_fn_config_dll dsound enable_dsound clean,implib
17693 wine_fn_config_test dlls/dsound/tests dsound_test
17694 wine_fn_config_dll dssenh enable_dssenh
17695 wine_fn_config_test dlls/dssenh/tests dssenh_test
17696 wine_fn_config_dll dswave enable_dswave clean
17697 wine_fn_config_test dlls/dswave/tests dswave_test
17698 wine_fn_config_dll dwmapi enable_dwmapi implib
17699 wine_fn_config_dll dwrite enable_dwrite implib
17700 wine_fn_config_test dlls/dwrite/tests dwrite_test
17701 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17702 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17703 wine_fn_config_lib dxerr8
17704 wine_fn_config_lib dxerr9
17705 wine_fn_config_dll dxgi enable_dxgi implib
17706 wine_fn_config_test dlls/dxgi/tests dxgi_test
17707 wine_fn_config_lib dxguid
17708 wine_fn_config_dll dxva2 enable_dxva2
17709 wine_fn_config_dll esent enable_esent
17710 wine_fn_config_dll evr enable_evr
17711 wine_fn_config_dll explorerframe enable_explorerframe clean
17712 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17713 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17714 wine_fn_config_dll faultrep enable_faultrep implib
17715 wine_fn_config_test dlls/faultrep/tests faultrep_test
17716 wine_fn_config_dll fltlib enable_fltlib
17717 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17718 wine_fn_config_dll fntcache enable_fntcache
17719 wine_fn_config_dll fontsub enable_fontsub
17720 wine_fn_config_dll fusion enable_fusion
17721 wine_fn_config_test dlls/fusion/tests fusion_test
17722 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17723 wine_fn_config_dll gameux enable_gameux clean
17724 wine_fn_config_test dlls/gameux/tests gameux_test
17725 wine_fn_config_dll gdi.exe16 enable_win16
17726 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17727 wine_fn_config_test dlls/gdi32/tests gdi32_test
17728 wine_fn_config_dll gdiplus enable_gdiplus implib
17729 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17730 wine_fn_config_dll glu32 enable_glu32 implib
17731 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17732 wine_fn_config_dll gpkcsp enable_gpkcsp
17733 wine_fn_config_dll hal enable_hal
17734 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17735 wine_fn_config_dll hid enable_hid implib
17736 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17737 wine_fn_config_dll hlink enable_hlink clean,implib
17738 wine_fn_config_test dlls/hlink/tests hlink_test
17739 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17740 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17741 wine_fn_config_dll httpapi enable_httpapi
17742 wine_fn_config_dll iccvid enable_iccvid clean
17743 wine_fn_config_dll icmp enable_icmp
17744 wine_fn_config_dll ieframe enable_ieframe clean,implib
17745 wine_fn_config_test dlls/ieframe/tests ieframe_test
17746 wine_fn_config_dll ifsmgr.vxd enable_win16
17747 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17748 wine_fn_config_dll imagehlp enable_imagehlp implib
17749 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17750 wine_fn_config_dll imm.dll16 enable_win16
17751 wine_fn_config_dll imm32 enable_imm32 implib
17752 wine_fn_config_test dlls/imm32/tests imm32_test
17753 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17754 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17755 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17756 wine_fn_config_dll inetmib1 enable_inetmib1
17757 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17758 wine_fn_config_dll infosoft enable_infosoft clean
17759 wine_fn_config_test dlls/infosoft/tests infosoft_test
17760 wine_fn_config_dll initpki enable_initpki
17761 wine_fn_config_dll inkobj enable_inkobj
17762 wine_fn_config_dll inseng enable_inseng clean
17763 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17764 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17765 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17766 wine_fn_config_dll itircl enable_itircl
17767 wine_fn_config_dll itss enable_itss clean
17768 wine_fn_config_test dlls/itss/tests itss_test
17769 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17770 wine_fn_config_dll jscript enable_jscript clean
17771 wine_fn_config_test dlls/jscript/tests jscript_test
17772 wine_fn_config_dll jsproxy enable_jsproxy implib
17773 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17774 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17775 wine_fn_config_test dlls/kernel32/tests kernel32_test
17776 wine_fn_config_dll kernelbase enable_kernelbase
17777 wine_fn_config_dll keyboard.drv16 enable_win16
17778 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17779 wine_fn_config_dll ksuser enable_ksuser
17780 wine_fn_config_dll ktmw32 enable_ktmw32
17781 wine_fn_config_dll loadperf enable_loadperf implib
17782 wine_fn_config_dll localspl enable_localspl clean
17783 wine_fn_config_test dlls/localspl/tests localspl_test
17784 wine_fn_config_dll localui enable_localui clean
17785 wine_fn_config_test dlls/localui/tests localui_test
17786 wine_fn_config_dll lz32 enable_lz32 implib
17787 wine_fn_config_test dlls/lz32/tests lz32_test
17788 wine_fn_config_dll lzexpand.dll16 enable_win16
17789 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17790 wine_fn_config_test dlls/mapi32/tests mapi32_test
17791 wine_fn_config_dll mapistub enable_mapistub
17792 wine_fn_config_dll mciavi32 enable_mciavi32
17793 wine_fn_config_dll mcicda enable_mcicda
17794 wine_fn_config_dll mciqtz32 enable_mciqtz32
17795 wine_fn_config_dll mciseq enable_mciseq
17796 wine_fn_config_dll mciwave enable_mciwave
17797 wine_fn_config_dll mf enable_mf
17798 wine_fn_config_dll mfplat enable_mfplat
17799 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17800 wine_fn_config_dll mgmtapi enable_mgmtapi
17801 wine_fn_config_dll midimap enable_midimap
17802 wine_fn_config_dll mlang enable_mlang clean,implib
17803 wine_fn_config_test dlls/mlang/tests mlang_test
17804 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17805 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17806 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17807 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17808 wine_fn_config_dll mmdevldr.vxd enable_win16
17809 wine_fn_config_dll mmsystem.dll16 enable_win16
17810 wine_fn_config_dll monodebg.vxd enable_win16
17811 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17812 wine_fn_config_dll mouse.drv16 enable_win16
17813 wine_fn_config_dll mpr enable_mpr clean,implib
17814 wine_fn_config_test dlls/mpr/tests mpr_test
17815 wine_fn_config_dll mprapi enable_mprapi implib
17816 wine_fn_config_dll msacm.dll16 enable_win16
17817 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17818 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17819 wine_fn_config_test dlls/msacm32/tests msacm32_test
17820 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17821 wine_fn_config_dll msasn1 enable_msasn1 implib
17822 wine_fn_config_dll mscat32 enable_mscat32
17823 wine_fn_config_dll mscms enable_mscms implib
17824 wine_fn_config_test dlls/mscms/tests mscms_test
17825 wine_fn_config_dll mscoree enable_mscoree clean
17826 wine_fn_config_test dlls/mscoree/tests mscoree_test
17827 wine_fn_config_dll msctf enable_msctf clean
17828 wine_fn_config_test dlls/msctf/tests msctf_test
17829 wine_fn_config_dll msctfp enable_msctfp clean
17830 wine_fn_config_dll msdaps enable_msdaps clean
17831 wine_fn_config_dll msdelta enable_msdelta
17832 wine_fn_config_dll msdmo enable_msdmo implib
17833 wine_fn_config_test dlls/msdmo/tests msdmo_test
17834 wine_fn_config_dll msdrm enable_msdrm
17835 wine_fn_config_dll msftedit enable_msftedit
17836 wine_fn_config_dll msg711.acm enable_msg711_acm
17837 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17838 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17839 wine_fn_config_dll mshtml enable_mshtml clean,implib
17840 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17841 wine_fn_config_dll msi enable_msi clean,implib
17842 wine_fn_config_test dlls/msi/tests msi_test
17843 wine_fn_config_dll msident enable_msident clean
17844 wine_fn_config_dll msimg32 enable_msimg32 implib
17845 wine_fn_config_dll msimsg enable_msimsg
17846 wine_fn_config_dll msimtf enable_msimtf clean
17847 wine_fn_config_dll msisip enable_msisip
17848 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17849 wine_fn_config_dll msls31 enable_msls31
17850 wine_fn_config_dll msnet32 enable_msnet32
17851 wine_fn_config_dll mspatcha enable_mspatcha implib
17852 wine_fn_config_dll msrle32 enable_msrle32 clean
17853 wine_fn_config_test dlls/msrle32/tests msrle32_test
17854 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17855 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17856 wine_fn_config_dll mssign32 enable_mssign32
17857 wine_fn_config_dll mssip32 enable_mssip32
17858 wine_fn_config_dll mstask enable_mstask clean
17859 wine_fn_config_test dlls/mstask/tests mstask_test
17860 wine_fn_config_dll msvcirt enable_msvcirt
17861 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17862 wine_fn_config_dll msvcm80 enable_msvcm80
17863 wine_fn_config_dll msvcm90 enable_msvcm90
17864 wine_fn_config_dll msvcp100 enable_msvcp100
17865 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17866 wine_fn_config_dll msvcp110 enable_msvcp110
17867 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17868 wine_fn_config_dll msvcp120 enable_msvcp120
17869 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17870 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17871 wine_fn_config_dll msvcp140 enable_msvcp140
17872 wine_fn_config_dll msvcp60 enable_msvcp60
17873 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17874 wine_fn_config_dll msvcp70 enable_msvcp70
17875 wine_fn_config_dll msvcp71 enable_msvcp71
17876 wine_fn_config_dll msvcp80 enable_msvcp80
17877 wine_fn_config_dll msvcp90 enable_msvcp90
17878 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17879 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17880 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17881 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17882 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17883 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17884 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17885 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17886 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17887 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17888 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17889 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17890 wine_fn_config_dll msvcrt enable_msvcrt implib
17891 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17892 wine_fn_config_dll msvcrt20 enable_msvcrt20
17893 wine_fn_config_dll msvcrt40 enable_msvcrt40
17894 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17895 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17896 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17897 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17898 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17899 wine_fn_config_dll msvideo.dll16 enable_win16
17900 wine_fn_config_dll mswsock enable_mswsock implib
17901 wine_fn_config_dll msxml enable_msxml clean
17902 wine_fn_config_dll msxml2 enable_msxml2 clean
17903 wine_fn_config_dll msxml3 enable_msxml3 clean
17904 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17905 wine_fn_config_dll msxml4 enable_msxml4 clean
17906 wine_fn_config_dll msxml6 enable_msxml6 clean
17907 wine_fn_config_dll ncrypt enable_ncrypt
17908 wine_fn_config_dll nddeapi enable_nddeapi implib
17909 wine_fn_config_dll ndis.sys enable_ndis_sys
17910 wine_fn_config_dll netapi32 enable_netapi32 implib
17911 wine_fn_config_test dlls/netapi32/tests netapi32_test
17912 wine_fn_config_dll netcfgx enable_netcfgx clean
17913 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17914 wine_fn_config_dll netprofm enable_netprofm clean
17915 wine_fn_config_test dlls/netprofm/tests netprofm_test
17916 wine_fn_config_dll newdev enable_newdev implib
17917 wine_fn_config_dll normaliz enable_normaliz implib
17918 wine_fn_config_dll npmshtml enable_npmshtml
17919 wine_fn_config_dll npptools enable_npptools
17920 wine_fn_config_dll ntdll enable_ntdll implib
17921 wine_fn_config_test dlls/ntdll/tests ntdll_test
17922 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17923 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17924 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17925 wine_fn_config_dll ntprint enable_ntprint
17926 wine_fn_config_test dlls/ntprint/tests ntprint_test
17927 wine_fn_config_dll objsel enable_objsel clean
17928 wine_fn_config_dll odbc32 enable_odbc32 implib
17929 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17930 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17931 wine_fn_config_dll odbccu32 enable_odbccu32
17932 wine_fn_config_dll ole2.dll16 enable_win16
17933 wine_fn_config_dll ole2conv.dll16 enable_win16
17934 wine_fn_config_dll ole2disp.dll16 enable_win16
17935 wine_fn_config_dll ole2nls.dll16 enable_win16
17936 wine_fn_config_dll ole2prox.dll16 enable_win16
17937 wine_fn_config_dll ole2thk.dll16 enable_win16
17938 wine_fn_config_dll ole32 enable_ole32 clean,implib
17939 wine_fn_config_test dlls/ole32/tests ole32_test
17940 wine_fn_config_dll oleacc enable_oleacc clean,implib
17941 wine_fn_config_test dlls/oleacc/tests oleacc_test
17942 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17943 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17944 wine_fn_config_dll olecli.dll16 enable_win16
17945 wine_fn_config_dll olecli32 enable_olecli32 implib
17946 wine_fn_config_dll oledb32 enable_oledb32 clean
17947 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17948 wine_fn_config_dll oledlg enable_oledlg clean,implib
17949 wine_fn_config_test dlls/oledlg/tests oledlg_test
17950 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17951 wine_fn_config_dll olesvr.dll16 enable_win16
17952 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17953 wine_fn_config_dll olethk32 enable_olethk32
17954 wine_fn_config_dll openal32 enable_openal32
17955 wine_fn_config_dll opencl enable_opencl
17956 wine_fn_config_dll opengl32 enable_opengl32 implib
17957 wine_fn_config_test dlls/opengl32/tests opengl32_test
17958 wine_fn_config_dll packager enable_packager clean
17959 wine_fn_config_test dlls/packager/tests packager_test
17960 wine_fn_config_dll pdh enable_pdh implib
17961 wine_fn_config_test dlls/pdh/tests pdh_test
17962 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17963 wine_fn_config_dll pidgen enable_pidgen
17964 wine_fn_config_dll powrprof enable_powrprof implib
17965 wine_fn_config_dll printui enable_printui
17966 wine_fn_config_dll prntvpt enable_prntvpt
17967 wine_fn_config_dll propsys enable_propsys clean,implib
17968 wine_fn_config_test dlls/propsys/tests propsys_test
17969 wine_fn_config_dll psapi enable_psapi implib
17970 wine_fn_config_test dlls/psapi/tests psapi_test
17971 wine_fn_config_dll pstorec enable_pstorec clean
17972 wine_fn_config_dll qcap enable_qcap
17973 wine_fn_config_test dlls/qcap/tests qcap_test
17974 wine_fn_config_dll qedit enable_qedit clean
17975 wine_fn_config_test dlls/qedit/tests qedit_test
17976 wine_fn_config_dll qmgr enable_qmgr clean
17977 wine_fn_config_test dlls/qmgr/tests qmgr_test
17978 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17979 wine_fn_config_dll quartz enable_quartz clean,implib
17980 wine_fn_config_test dlls/quartz/tests quartz_test clean
17981 wine_fn_config_dll query enable_query
17982 wine_fn_config_dll rasapi16.dll16 enable_win16
17983 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17984 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17985 wine_fn_config_dll rasdlg enable_rasdlg implib
17986 wine_fn_config_dll regapi enable_regapi
17987 wine_fn_config_dll resutils enable_resutils implib
17988 wine_fn_config_dll riched20 enable_riched20 clean,implib
17989 wine_fn_config_test dlls/riched20/tests riched20_test
17990 wine_fn_config_dll riched32 enable_riched32
17991 wine_fn_config_test dlls/riched32/tests riched32_test
17992 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17993 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17994 wine_fn_config_dll rsabase enable_rsabase
17995 wine_fn_config_dll rsaenh enable_rsaenh implib
17996 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17997 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17998 wine_fn_config_dll rtutils enable_rtutils implib
17999 wine_fn_config_dll samlib enable_samlib
18000 wine_fn_config_dll sane.ds enable_sane_ds clean
18001 wine_fn_config_dll scarddlg enable_scarddlg
18002 wine_fn_config_dll sccbase enable_sccbase
18003 wine_fn_config_dll schannel enable_schannel
18004 wine_fn_config_test dlls/schannel/tests schannel_test
18005 wine_fn_config_dll schedsvc enable_schedsvc clean
18006 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18007 wine_fn_config_dll scrrun enable_scrrun clean
18008 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18009 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18010 wine_fn_config_dll secur32 enable_secur32 implib
18011 wine_fn_config_test dlls/secur32/tests secur32_test
18012 wine_fn_config_dll security enable_security
18013 wine_fn_config_dll sensapi enable_sensapi implib
18014 wine_fn_config_dll serialui enable_serialui clean
18015 wine_fn_config_test dlls/serialui/tests serialui_test
18016 wine_fn_config_dll setupapi enable_setupapi clean,implib
18017 wine_fn_config_test dlls/setupapi/tests setupapi_test
18018 wine_fn_config_dll setupx.dll16 enable_win16
18019 wine_fn_config_dll sfc enable_sfc implib
18020 wine_fn_config_dll sfc_os enable_sfc_os implib
18021 wine_fn_config_dll shdoclc enable_shdoclc clean
18022 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18023 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18024 wine_fn_config_dll shell.dll16 enable_win16
18025 wine_fn_config_dll shell32 enable_shell32 clean,implib
18026 wine_fn_config_test dlls/shell32/tests shell32_test
18027 wine_fn_config_dll shfolder enable_shfolder implib
18028 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18029 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18030 wine_fn_config_dll slbcsp enable_slbcsp
18031 wine_fn_config_dll slc enable_slc implib
18032 wine_fn_config_test dlls/slc/tests slc_test
18033 wine_fn_config_dll snmpapi enable_snmpapi implib
18034 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18035 wine_fn_config_dll softpub enable_softpub
18036 wine_fn_config_dll sound.drv16 enable_win16
18037 wine_fn_config_dll spoolss enable_spoolss implib
18038 wine_fn_config_test dlls/spoolss/tests spoolss_test
18039 wine_fn_config_dll sspicli enable_sspicli
18040 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18041 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18042 wine_fn_config_dll sti enable_sti clean,implib
18043 wine_fn_config_test dlls/sti/tests sti_test
18044 wine_fn_config_dll storage.dll16 enable_win16
18045 wine_fn_config_dll stress.dll16 enable_win16
18046 wine_fn_config_lib strmbase
18047 wine_fn_config_lib strmiids
18048 wine_fn_config_dll svrapi enable_svrapi
18049 wine_fn_config_dll sxs enable_sxs implib
18050 wine_fn_config_test dlls/sxs/tests sxs_test
18051 wine_fn_config_dll system.drv16 enable_win16
18052 wine_fn_config_dll t2embed enable_t2embed implib
18053 wine_fn_config_test dlls/t2embed/tests t2embed_test
18054 wine_fn_config_dll tapi32 enable_tapi32 implib
18055 wine_fn_config_dll taskschd enable_taskschd clean
18056 wine_fn_config_test dlls/taskschd/tests taskschd_test
18057 wine_fn_config_dll tdi.sys enable_tdi_sys
18058 wine_fn_config_dll toolhelp.dll16 enable_win16
18059 wine_fn_config_dll traffic enable_traffic
18060 wine_fn_config_dll twain.dll16 enable_win16
18061 wine_fn_config_dll twain_32 enable_twain_32
18062 wine_fn_config_test dlls/twain_32/tests twain_32_test
18063 wine_fn_config_dll typelib.dll16 enable_win16
18064 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18065 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18066 wine_fn_config_dll unicows enable_unicows implib
18067 wine_fn_config_dll updspapi enable_updspapi
18068 wine_fn_config_dll url enable_url implib
18069 wine_fn_config_dll urlmon enable_urlmon clean,implib
18070 wine_fn_config_test dlls/urlmon/tests urlmon_test
18071 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18072 wine_fn_config_dll user.exe16 enable_win16
18073 wine_fn_config_dll user32 enable_user32 clean,implib
18074 wine_fn_config_test dlls/user32/tests user32_test
18075 wine_fn_config_dll userenv enable_userenv implib
18076 wine_fn_config_test dlls/userenv/tests userenv_test
18077 wine_fn_config_dll usp10 enable_usp10 implib
18078 wine_fn_config_test dlls/usp10/tests usp10_test
18079 wine_fn_config_lib uuid
18080 wine_fn_config_dll uxtheme enable_uxtheme implib
18081 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18082 wine_fn_config_dll vbscript enable_vbscript clean
18083 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18084 wine_fn_config_dll vcomp enable_vcomp
18085 wine_fn_config_test dlls/vcomp/tests vcomp_test
18086 wine_fn_config_dll vcomp100 enable_vcomp100
18087 wine_fn_config_dll vcomp110 enable_vcomp110
18088 wine_fn_config_dll vcomp120 enable_vcomp120
18089 wine_fn_config_dll vcomp90 enable_vcomp90
18090 wine_fn_config_dll vcruntime140 enable_vcruntime140
18091 wine_fn_config_dll vdhcp.vxd enable_win16
18092 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18093 wine_fn_config_dll ver.dll16 enable_win16
18094 wine_fn_config_dll version enable_version implib
18095 wine_fn_config_test dlls/version/tests version_test
18096 wine_fn_config_dll vmm.vxd enable_win16
18097 wine_fn_config_dll vnbt.vxd enable_win16
18098 wine_fn_config_dll vnetbios.vxd enable_win16
18099 wine_fn_config_dll vssapi enable_vssapi
18100 wine_fn_config_dll vtdapi.vxd enable_win16
18101 wine_fn_config_dll vwin32.vxd enable_win16
18102 wine_fn_config_dll w32skrnl enable_win16
18103 wine_fn_config_dll w32sys.dll16 enable_win16
18104 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18105 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18106 wine_fn_config_dll wbemprox enable_wbemprox clean
18107 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18108 wine_fn_config_dll webservices enable_webservices implib
18109 wine_fn_config_test dlls/webservices/tests webservices_test
18110 wine_fn_config_dll wer enable_wer implib
18111 wine_fn_config_test dlls/wer/tests wer_test
18112 wine_fn_config_dll wevtapi enable_wevtapi
18113 wine_fn_config_dll wiaservc enable_wiaservc clean
18114 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18115 wine_fn_config_dll wimgapi enable_wimgapi
18116 wine_fn_config_dll win32s16.dll16 enable_win16
18117 wine_fn_config_dll win87em.dll16 enable_win16
18118 wine_fn_config_dll winaspi.dll16 enable_win16
18119 wine_fn_config_dll windebug.dll16 enable_win16
18120 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18121 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18122 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18123 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18124 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18125 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18126 wine_fn_config_lib winecrt0
18127 wine_fn_config_dll wined3d enable_wined3d implib
18128 wine_fn_config_dll winegstreamer enable_winegstreamer
18129 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18130 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18131 wine_fn_config_dll winemapi enable_winemapi
18132 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18133 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18134 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18135 wine_fn_config_dll wineps16.drv16 enable_win16
18136 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18137 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18138 wine_fn_config_dll winex11.drv enable_winex11_drv
18139 wine_fn_config_dll wing.dll16 enable_win16
18140 wine_fn_config_dll wing32 enable_wing32
18141 wine_fn_config_dll winhttp enable_winhttp clean,implib
18142 wine_fn_config_test dlls/winhttp/tests winhttp_test
18143 wine_fn_config_dll wininet enable_wininet clean,implib
18144 wine_fn_config_test dlls/wininet/tests wininet_test
18145 wine_fn_config_dll winmm enable_winmm clean,implib
18146 wine_fn_config_test dlls/winmm/tests winmm_test
18147 wine_fn_config_dll winnls.dll16 enable_win16
18148 wine_fn_config_dll winnls32 enable_winnls32 implib
18149 wine_fn_config_dll winscard enable_winscard implib
18150 wine_fn_config_dll winsock.dll16 enable_win16
18151 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18152 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18153 wine_fn_config_dll winsta enable_winsta
18154 wine_fn_config_dll wintab.dll16 enable_win16
18155 wine_fn_config_dll wintab32 enable_wintab32 implib
18156 wine_fn_config_test dlls/wintab32/tests wintab32_test
18157 wine_fn_config_dll wintrust enable_wintrust implib
18158 wine_fn_config_test dlls/wintrust/tests wintrust_test
18159 wine_fn_config_dll wlanapi enable_wlanapi
18160 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18161 wine_fn_config_test dlls/wldap32/tests wldap32_test
18162 wine_fn_config_dll wmasf enable_wmasf
18163 wine_fn_config_dll wmi enable_wmi
18164 wine_fn_config_dll wmiutils enable_wmiutils clean
18165 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18166 wine_fn_config_dll wmp enable_wmp clean
18167 wine_fn_config_test dlls/wmp/tests wmp_test
18168 wine_fn_config_dll wmvcore enable_wmvcore
18169 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18170 wine_fn_config_dll wow32 enable_win16 implib
18171 wine_fn_config_dll wpcap enable_wpcap
18172 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18173 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18174 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18175 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18176 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18177 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18178 wine_fn_config_dll wsock32 enable_wsock32 implib
18179 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18180 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18181 wine_fn_config_dll wuapi enable_wuapi clean
18182 wine_fn_config_dll wuaueng enable_wuaueng
18183 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18184 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18185 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18186 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18187 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18188 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18189 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18190 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18191 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18192 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18193 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18194 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18195 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18196 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18197 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18198 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18199 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18200 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18201 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18202 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18203 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18204 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18205 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18206 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18207 wine_fn_config_dll xinput1_1 enable_xinput1_1
18208 wine_fn_config_dll xinput1_2 enable_xinput1_2
18209 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18210 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18211 wine_fn_config_dll xinput1_4 enable_xinput1_4
18212 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18213 wine_fn_config_dll xmllite enable_xmllite implib
18214 wine_fn_config_test dlls/xmllite/tests xmllite_test
18215 wine_fn_config_dll xolehlp enable_xolehlp
18216 wine_fn_config_dll xpsprint enable_xpsprint
18217 wine_fn_config_dll xpssvcs enable_xpssvcs
18218 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18219 wine_fn_config_makefile include enable_include clean,install-dev
18220 wine_fn_config_makefile libs/port enable_libs_port
18221 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18222 wine_fn_config_makefile libs/wpp enable_libs_wpp
18223 wine_fn_config_makefile loader enable_loader clean,install-lib
18224 wine_fn_config_makefile po enable_po clean
18225 wine_fn_config_program arp enable_arp install
18226 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18227 wine_fn_config_program attrib enable_attrib clean,install
18228 wine_fn_config_program cabarc enable_cabarc install
18229 wine_fn_config_program cacls enable_cacls install
18230 wine_fn_config_program clock enable_clock clean,install
18231 wine_fn_config_program cmd enable_cmd clean,install
18232 wine_fn_config_test programs/cmd/tests cmd.exe_test
18233 wine_fn_config_program conhost enable_conhost install
18234 wine_fn_config_program control enable_control install
18235 wine_fn_config_program cscript enable_cscript clean,install
18236 wine_fn_config_program dpnsvr enable_dpnsvr install
18237 wine_fn_config_program dxdiag enable_dxdiag clean,install
18238 wine_fn_config_program eject enable_eject install
18239 wine_fn_config_program expand enable_expand install
18240 wine_fn_config_program explorer enable_explorer clean,install
18241 wine_fn_config_program extrac32 enable_extrac32 install
18242 wine_fn_config_program findstr enable_findstr install
18243 wine_fn_config_program fsutil enable_fsutil install
18244 wine_fn_config_program hh enable_hh install
18245 wine_fn_config_program hostname enable_hostname clean,install
18246 wine_fn_config_program icacls enable_icacls install
18247 wine_fn_config_program icinfo enable_icinfo install
18248 wine_fn_config_program iexplore enable_iexplore install
18249 wine_fn_config_program ipconfig enable_ipconfig clean,install
18250 wine_fn_config_program lodctr enable_lodctr install
18251 wine_fn_config_program mofcomp enable_mofcomp install
18252 wine_fn_config_program mshta enable_mshta install
18253 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18254 wine_fn_config_program net enable_net clean,install
18255 wine_fn_config_program netsh enable_netsh install
18256 wine_fn_config_program netstat enable_netstat clean,install
18257 wine_fn_config_program ngen enable_ngen install
18258 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18259 wine_fn_config_program oleview enable_oleview clean,install
18260 wine_fn_config_program ping enable_ping install
18261 wine_fn_config_program plugplay enable_plugplay install
18262 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18263 wine_fn_config_program progman enable_progman clean,install
18264 wine_fn_config_program reg enable_reg clean,install
18265 wine_fn_config_test programs/reg/tests reg.exe_test
18266 wine_fn_config_program regasm enable_regasm install
18267 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18268 wine_fn_config_test programs/regedit/tests regedit.exe_test
18269 wine_fn_config_program regsvcs enable_regsvcs install
18270 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18271 wine_fn_config_program rpcss enable_rpcss clean,install
18272 wine_fn_config_program rundll.exe16 enable_win16 install
18273 wine_fn_config_program rundll32 enable_rundll32 install
18274 wine_fn_config_program sc enable_sc install
18275 wine_fn_config_program schtasks enable_schtasks install
18276 wine_fn_config_program sdbinst enable_sdbinst install
18277 wine_fn_config_program secedit enable_secedit install
18278 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18279 wine_fn_config_program services enable_services clean,install
18280 wine_fn_config_test programs/services/tests services.exe_test
18281 wine_fn_config_program shutdown enable_shutdown install
18282 wine_fn_config_program spoolsv enable_spoolsv install
18283 wine_fn_config_program start enable_start clean,install
18284 wine_fn_config_program svchost enable_svchost install
18285 wine_fn_config_program systeminfo enable_systeminfo install
18286 wine_fn_config_program taskkill enable_taskkill clean,install
18287 wine_fn_config_program tasklist enable_tasklist install
18288 wine_fn_config_program taskmgr enable_taskmgr clean,install
18289 wine_fn_config_program termsv enable_termsv install
18290 wine_fn_config_program uninstaller enable_uninstaller clean,install
18291 wine_fn_config_program unlodctr enable_unlodctr install
18292 wine_fn_config_program view enable_view clean,install
18293 wine_fn_config_program wevtutil enable_wevtutil install
18294 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18295 wine_fn_config_program winebrowser enable_winebrowser install
18296 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18297 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18298 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18299 wine_fn_config_program winedevice enable_winedevice install
18300 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18301 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18302 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18303 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18304 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18305 wine_fn_config_program winetest enable_winetest clean
18306 wine_fn_config_program winevdm enable_win16 install
18307 wine_fn_config_program winhelp.exe16 enable_win16 install
18308 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18309 wine_fn_config_program winoldap.mod16 enable_win16 install
18310 wine_fn_config_program winver enable_winver install
18311 wine_fn_config_program wmic enable_wmic clean,install
18312 wine_fn_config_program wmplayer enable_wmplayer install
18313 wine_fn_config_program wordpad enable_wordpad clean,install
18314 wine_fn_config_program write enable_write clean,install
18315 wine_fn_config_program wscript enable_wscript clean,install
18316 wine_fn_config_test programs/wscript/tests wscript.exe_test
18317 wine_fn_config_program wusa enable_wusa install
18318 wine_fn_config_program xcopy enable_xcopy clean,install
18319 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18320 wine_fn_config_makefile server enable_server clean,install-lib
18321 wine_fn_config_tool tools clean
18322 wine_fn_config_tool tools/sfnt2fon clean
18323 wine_fn_config_tool tools/widl clean,install-dev
18324 wine_fn_config_tool tools/winebuild clean,install-dev
18325 wine_fn_config_tool tools/winedump clean,install-dev
18326 wine_fn_config_tool tools/winegcc clean,install-dev
18327 wine_fn_config_tool tools/winemaker clean,install-dev
18328 wine_fn_config_tool tools/wmc clean,install-dev
18329 wine_fn_config_tool tools/wrc clean,install-dev
18332 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18333 wine_fn_append_file CONFIGURE_TARGETS "tags"
18334 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18335 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18336 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18337 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18338 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18339 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18341 if test "x$enable_tools" != xno
18342 then
18343 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18344 ac_config_commands="$ac_config_commands tools/makedep"
18348 ac_config_commands="$ac_config_commands Makefile"
18351 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18355 if test "x$enable_maintainer_mode" = xyes
18356 then
18357 wine_fn_append_rule "configure: configure.ac aclocal.m4
18358 autoconf --warnings=all
18359 include/config.h.in: include/stamp-h.in
18360 include/stamp-h.in: configure.ac aclocal.m4
18361 autoheader --warnings=all
18362 @echo timestamp > \$@"
18365 if test "x$enable_tools" != xno
18366 then
18367 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18368 @./config.status tools/makedep
18369 Makefile: tools/makedep$ac_exeext"
18370 else
18371 wine_fn_append_rule "\$(MAKEDEP):
18372 @echo \"You need to run make in $TOOLSDIR first\" && false"
18375 if test -n "$with_wine64"
18376 then
18377 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18378 fonts server:
18379 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18380 $with_wine64/loader/wine:
18381 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18382 $with_wine64/loader/wine-preloader:
18383 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18384 clean::
18385 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18386 else
18387 WINELOADER_INSTALL="wine.inf"
18389 wine_fn_append_rule "install install-lib::
18390 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18391 uninstall::
18392 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18393 case $host_os in
18394 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18395 *) wine_fn_append_rule "install install-lib::
18396 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18397 uninstall::
18398 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18399 esac
18402 $as_echo " done" >&6
18403 cat >confcache <<\_ACEOF
18404 # This file is a shell script that caches the results of configure
18405 # tests run on this system so they can be shared between configure
18406 # scripts and configure runs, see configure's option --config-cache.
18407 # It is not useful on other systems. If it contains results you don't
18408 # want to keep, you may remove or edit it.
18410 # config.status only pays attention to the cache file if you give it
18411 # the --recheck option to rerun configure.
18413 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18414 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18415 # following values.
18417 _ACEOF
18419 # The following way of writing the cache mishandles newlines in values,
18420 # but we know of no workaround that is simple, portable, and efficient.
18421 # So, we kill variables containing newlines.
18422 # Ultrix sh set writes to stderr and can't be redirected directly,
18423 # and sets the high bit in the cache file unless we assign to the vars.
18425 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18426 eval ac_val=\$$ac_var
18427 case $ac_val in #(
18428 *${as_nl}*)
18429 case $ac_var in #(
18430 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18431 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18432 esac
18433 case $ac_var in #(
18434 _ | IFS | as_nl) ;; #(
18435 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18436 *) { eval $ac_var=; unset $ac_var;} ;;
18437 esac ;;
18438 esac
18439 done
18441 (set) 2>&1 |
18442 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18443 *${as_nl}ac_space=\ *)
18444 # `set' does not quote correctly, so add quotes: double-quote
18445 # substitution turns \\\\ into \\, and sed turns \\ into \.
18446 sed -n \
18447 "s/'/'\\\\''/g;
18448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18449 ;; #(
18451 # `set' quotes correctly as required by POSIX, so do not add quotes.
18452 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18454 esac |
18455 sort
18457 sed '
18458 /^ac_cv_env_/b end
18459 t clear
18460 :clear
18461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18462 t end
18463 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18464 :end' >>confcache
18465 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18466 if test -w "$cache_file"; then
18467 if test "x$cache_file" != "x/dev/null"; then
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18469 $as_echo "$as_me: updating cache $cache_file" >&6;}
18470 if test ! -f "$cache_file" || test -h "$cache_file"; then
18471 cat confcache >"$cache_file"
18472 else
18473 case $cache_file in #(
18474 */* | ?:*)
18475 mv -f confcache "$cache_file"$$ &&
18476 mv -f "$cache_file"$$ "$cache_file" ;; #(
18478 mv -f confcache "$cache_file" ;;
18479 esac
18482 else
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18484 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18487 rm -f confcache
18489 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18490 # Let make expand exec_prefix.
18491 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18493 DEFS=-DHAVE_CONFIG_H
18495 ac_libobjs=
18496 ac_ltlibobjs=
18498 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18499 # 1. Remove the extension, and $U if already installed.
18500 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18501 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18502 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18503 # will be set to the directory where LIBOBJS objects are built.
18504 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18505 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18506 done
18507 LIBOBJS=$ac_libobjs
18509 LTLIBOBJS=$ac_ltlibobjs
18513 : "${CONFIG_STATUS=./config.status}"
18514 ac_write_fail=0
18515 ac_clean_files_save=$ac_clean_files
18516 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18518 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18519 as_write_fail=0
18520 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18521 #! $SHELL
18522 # Generated by $as_me.
18523 # Run this file to recreate the current configuration.
18524 # Compiler output produced by configure, useful for debugging
18525 # configure, is in config.log if it exists.
18527 debug=false
18528 ac_cs_recheck=false
18529 ac_cs_silent=false
18531 SHELL=\${CONFIG_SHELL-$SHELL}
18532 export SHELL
18533 _ASEOF
18534 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18535 ## -------------------- ##
18536 ## M4sh Initialization. ##
18537 ## -------------------- ##
18539 # Be more Bourne compatible
18540 DUALCASE=1; export DUALCASE # for MKS sh
18541 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18542 emulate sh
18543 NULLCMD=:
18544 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18545 # is contrary to our usage. Disable this feature.
18546 alias -g '${1+"$@"}'='"$@"'
18547 setopt NO_GLOB_SUBST
18548 else
18549 case `(set -o) 2>/dev/null` in #(
18550 *posix*) :
18551 set -o posix ;; #(
18552 *) :
18554 esac
18558 as_nl='
18560 export as_nl
18561 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18562 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18563 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18564 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18565 # Prefer a ksh shell builtin over an external printf program on Solaris,
18566 # but without wasting forks for bash or zsh.
18567 if test -z "$BASH_VERSION$ZSH_VERSION" \
18568 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18569 as_echo='print -r --'
18570 as_echo_n='print -rn --'
18571 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18572 as_echo='printf %s\n'
18573 as_echo_n='printf %s'
18574 else
18575 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18576 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18577 as_echo_n='/usr/ucb/echo -n'
18578 else
18579 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18580 as_echo_n_body='eval
18581 arg=$1;
18582 case $arg in #(
18583 *"$as_nl"*)
18584 expr "X$arg" : "X\\(.*\\)$as_nl";
18585 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18586 esac;
18587 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18589 export as_echo_n_body
18590 as_echo_n='sh -c $as_echo_n_body as_echo'
18592 export as_echo_body
18593 as_echo='sh -c $as_echo_body as_echo'
18596 # The user is always right.
18597 if test "${PATH_SEPARATOR+set}" != set; then
18598 PATH_SEPARATOR=:
18599 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18600 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18601 PATH_SEPARATOR=';'
18606 # IFS
18607 # We need space, tab and new line, in precisely that order. Quoting is
18608 # there to prevent editors from complaining about space-tab.
18609 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18610 # splitting by setting IFS to empty value.)
18611 IFS=" "" $as_nl"
18613 # Find who we are. Look in the path if we contain no directory separator.
18614 as_myself=
18615 case $0 in #((
18616 *[\\/]* ) as_myself=$0 ;;
18617 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18620 IFS=$as_save_IFS
18621 test -z "$as_dir" && as_dir=.
18622 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18623 done
18624 IFS=$as_save_IFS
18627 esac
18628 # We did not find ourselves, most probably we were run as `sh COMMAND'
18629 # in which case we are not to be found in the path.
18630 if test "x$as_myself" = x; then
18631 as_myself=$0
18633 if test ! -f "$as_myself"; then
18634 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18635 exit 1
18638 # Unset variables that we do not need and which cause bugs (e.g. in
18639 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18640 # suppresses any "Segmentation fault" message there. '((' could
18641 # trigger a bug in pdksh 5.2.14.
18642 for as_var in BASH_ENV ENV MAIL MAILPATH
18643 do eval test x\${$as_var+set} = xset \
18644 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18645 done
18646 PS1='$ '
18647 PS2='> '
18648 PS4='+ '
18650 # NLS nuisances.
18651 LC_ALL=C
18652 export LC_ALL
18653 LANGUAGE=C
18654 export LANGUAGE
18656 # CDPATH.
18657 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18660 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18661 # ----------------------------------------
18662 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18663 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18664 # script with STATUS, using 1 if that was 0.
18665 as_fn_error ()
18667 as_status=$1; test $as_status -eq 0 && as_status=1
18668 if test "$4"; then
18669 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18670 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18672 $as_echo "$as_me: error: $2" >&2
18673 as_fn_exit $as_status
18674 } # as_fn_error
18677 # as_fn_set_status STATUS
18678 # -----------------------
18679 # Set $? to STATUS, without forking.
18680 as_fn_set_status ()
18682 return $1
18683 } # as_fn_set_status
18685 # as_fn_exit STATUS
18686 # -----------------
18687 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18688 as_fn_exit ()
18690 set +e
18691 as_fn_set_status $1
18692 exit $1
18693 } # as_fn_exit
18695 # as_fn_unset VAR
18696 # ---------------
18697 # Portably unset VAR.
18698 as_fn_unset ()
18700 { eval $1=; unset $1;}
18702 as_unset=as_fn_unset
18703 # as_fn_append VAR VALUE
18704 # ----------------------
18705 # Append the text in VALUE to the end of the definition contained in VAR. Take
18706 # advantage of any shell optimizations that allow amortized linear growth over
18707 # repeated appends, instead of the typical quadratic growth present in naive
18708 # implementations.
18709 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18710 eval 'as_fn_append ()
18712 eval $1+=\$2
18714 else
18715 as_fn_append ()
18717 eval $1=\$$1\$2
18719 fi # as_fn_append
18721 # as_fn_arith ARG...
18722 # ------------------
18723 # Perform arithmetic evaluation on the ARGs, and store the result in the
18724 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18725 # must be portable across $(()) and expr.
18726 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18727 eval 'as_fn_arith ()
18729 as_val=$(( $* ))
18731 else
18732 as_fn_arith ()
18734 as_val=`expr "$@" || test $? -eq 1`
18736 fi # as_fn_arith
18739 if expr a : '\(a\)' >/dev/null 2>&1 &&
18740 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18741 as_expr=expr
18742 else
18743 as_expr=false
18746 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18747 as_basename=basename
18748 else
18749 as_basename=false
18752 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18753 as_dirname=dirname
18754 else
18755 as_dirname=false
18758 as_me=`$as_basename -- "$0" ||
18759 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18760 X"$0" : 'X\(//\)$' \| \
18761 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18762 $as_echo X/"$0" |
18763 sed '/^.*\/\([^/][^/]*\)\/*$/{
18764 s//\1/
18767 /^X\/\(\/\/\)$/{
18768 s//\1/
18771 /^X\/\(\/\).*/{
18772 s//\1/
18775 s/.*/./; q'`
18777 # Avoid depending upon Character Ranges.
18778 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18779 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18780 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18781 as_cr_digits='0123456789'
18782 as_cr_alnum=$as_cr_Letters$as_cr_digits
18784 ECHO_C= ECHO_N= ECHO_T=
18785 case `echo -n x` in #(((((
18786 -n*)
18787 case `echo 'xy\c'` in
18788 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18789 xy) ECHO_C='\c';;
18790 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18791 ECHO_T=' ';;
18792 esac;;
18794 ECHO_N='-n';;
18795 esac
18797 rm -f conf$$ conf$$.exe conf$$.file
18798 if test -d conf$$.dir; then
18799 rm -f conf$$.dir/conf$$.file
18800 else
18801 rm -f conf$$.dir
18802 mkdir conf$$.dir 2>/dev/null
18804 if (echo >conf$$.file) 2>/dev/null; then
18805 if ln -s conf$$.file conf$$ 2>/dev/null; then
18806 as_ln_s='ln -s'
18807 # ... but there are two gotchas:
18808 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18809 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18810 # In both cases, we have to default to `cp -pR'.
18811 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18812 as_ln_s='cp -pR'
18813 elif ln conf$$.file conf$$ 2>/dev/null; then
18814 as_ln_s=ln
18815 else
18816 as_ln_s='cp -pR'
18818 else
18819 as_ln_s='cp -pR'
18821 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18822 rmdir conf$$.dir 2>/dev/null
18825 # as_fn_mkdir_p
18826 # -------------
18827 # Create "$as_dir" as a directory, including parents if necessary.
18828 as_fn_mkdir_p ()
18831 case $as_dir in #(
18832 -*) as_dir=./$as_dir;;
18833 esac
18834 test -d "$as_dir" || eval $as_mkdir_p || {
18835 as_dirs=
18836 while :; do
18837 case $as_dir in #(
18838 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18839 *) as_qdir=$as_dir;;
18840 esac
18841 as_dirs="'$as_qdir' $as_dirs"
18842 as_dir=`$as_dirname -- "$as_dir" ||
18843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18844 X"$as_dir" : 'X\(//\)[^/]' \| \
18845 X"$as_dir" : 'X\(//\)$' \| \
18846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18847 $as_echo X"$as_dir" |
18848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18849 s//\1/
18852 /^X\(\/\/\)[^/].*/{
18853 s//\1/
18856 /^X\(\/\/\)$/{
18857 s//\1/
18860 /^X\(\/\).*/{
18861 s//\1/
18864 s/.*/./; q'`
18865 test -d "$as_dir" && break
18866 done
18867 test -z "$as_dirs" || eval "mkdir $as_dirs"
18868 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18871 } # as_fn_mkdir_p
18872 if mkdir -p . 2>/dev/null; then
18873 as_mkdir_p='mkdir -p "$as_dir"'
18874 else
18875 test -d ./-p && rmdir ./-p
18876 as_mkdir_p=false
18880 # as_fn_executable_p FILE
18881 # -----------------------
18882 # Test if FILE is an executable regular file.
18883 as_fn_executable_p ()
18885 test -f "$1" && test -x "$1"
18886 } # as_fn_executable_p
18887 as_test_x='test -x'
18888 as_executable_p=as_fn_executable_p
18890 # Sed expression to map a string onto a valid CPP name.
18891 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18893 # Sed expression to map a string onto a valid variable name.
18894 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18897 exec 6>&1
18898 ## ----------------------------------- ##
18899 ## Main body of $CONFIG_STATUS script. ##
18900 ## ----------------------------------- ##
18901 _ASEOF
18902 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18905 # Save the log message, to keep $0 and so on meaningful, and to
18906 # report actual input values of CONFIG_FILES etc. instead of their
18907 # values after options handling.
18908 ac_log="
18909 This file was extended by Wine $as_me 1.9.16, which was
18910 generated by GNU Autoconf 2.69. Invocation command line was
18912 CONFIG_FILES = $CONFIG_FILES
18913 CONFIG_HEADERS = $CONFIG_HEADERS
18914 CONFIG_LINKS = $CONFIG_LINKS
18915 CONFIG_COMMANDS = $CONFIG_COMMANDS
18916 $ $0 $@
18918 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18921 _ACEOF
18923 case $ac_config_files in *"
18924 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18925 esac
18927 case $ac_config_headers in *"
18928 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18929 esac
18932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18933 # Files that config.status was made for.
18934 config_files="$ac_config_files"
18935 config_headers="$ac_config_headers"
18936 config_links="$ac_config_links"
18937 config_commands="$ac_config_commands"
18939 _ACEOF
18941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18942 ac_cs_usage="\
18943 \`$as_me' instantiates files and other configuration actions
18944 from templates according to the current configuration. Unless the files
18945 and actions are specified as TAGs, all are instantiated by default.
18947 Usage: $0 [OPTION]... [TAG]...
18949 -h, --help print this help, then exit
18950 -V, --version print version number and configuration settings, then exit
18951 --config print configuration, then exit
18952 -q, --quiet, --silent
18953 do not print progress messages
18954 -d, --debug don't remove temporary files
18955 --recheck update $as_me by reconfiguring in the same conditions
18956 --file=FILE[:TEMPLATE]
18957 instantiate the configuration file FILE
18958 --header=FILE[:TEMPLATE]
18959 instantiate the configuration header FILE
18961 Configuration files:
18962 $config_files
18964 Configuration headers:
18965 $config_headers
18967 Configuration links:
18968 $config_links
18970 Configuration commands:
18971 $config_commands
18973 Report bugs to <wine-devel@winehq.org>.
18974 Wine home page: <http://www.winehq.org>."
18976 _ACEOF
18977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18978 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18979 ac_cs_version="\\
18980 Wine config.status 1.9.16
18981 configured by $0, generated by GNU Autoconf 2.69,
18982 with options \\"\$ac_cs_config\\"
18984 Copyright (C) 2012 Free Software Foundation, Inc.
18985 This config.status script is free software; the Free Software Foundation
18986 gives unlimited permission to copy, distribute and modify it."
18988 ac_pwd='$ac_pwd'
18989 srcdir='$srcdir'
18990 test -n "\$AWK" || AWK=awk
18991 _ACEOF
18993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18994 # The default lists apply if the user does not specify any file.
18995 ac_need_defaults=:
18996 while test $# != 0
18998 case $1 in
18999 --*=?*)
19000 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19001 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19002 ac_shift=:
19004 --*=)
19005 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19006 ac_optarg=
19007 ac_shift=:
19010 ac_option=$1
19011 ac_optarg=$2
19012 ac_shift=shift
19014 esac
19016 case $ac_option in
19017 # Handling of the options.
19018 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19019 ac_cs_recheck=: ;;
19020 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19021 $as_echo "$ac_cs_version"; exit ;;
19022 --config | --confi | --conf | --con | --co | --c )
19023 $as_echo "$ac_cs_config"; exit ;;
19024 --debug | --debu | --deb | --de | --d | -d )
19025 debug=: ;;
19026 --file | --fil | --fi | --f )
19027 $ac_shift
19028 case $ac_optarg in
19029 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19030 '') as_fn_error $? "missing file argument" ;;
19031 esac
19032 as_fn_append CONFIG_FILES " '$ac_optarg'"
19033 ac_need_defaults=false;;
19034 --header | --heade | --head | --hea )
19035 $ac_shift
19036 case $ac_optarg in
19037 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19038 esac
19039 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19040 ac_need_defaults=false;;
19041 --he | --h)
19042 # Conflict between --help and --header
19043 as_fn_error $? "ambiguous option: \`$1'
19044 Try \`$0 --help' for more information.";;
19045 --help | --hel | -h )
19046 $as_echo "$ac_cs_usage"; exit ;;
19047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19048 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19049 ac_cs_silent=: ;;
19051 # This is an error.
19052 -*) as_fn_error $? "unrecognized option: \`$1'
19053 Try \`$0 --help' for more information." ;;
19055 *) as_fn_append ac_config_targets " $1"
19056 ac_need_defaults=false ;;
19058 esac
19059 shift
19060 done
19062 ac_configure_extra_args=
19064 if $ac_cs_silent; then
19065 exec 6>/dev/null
19066 ac_configure_extra_args="$ac_configure_extra_args --silent"
19069 _ACEOF
19070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19071 if \$ac_cs_recheck; then
19072 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19073 shift
19074 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19075 CONFIG_SHELL='$SHELL'
19076 export CONFIG_SHELL
19077 exec "\$@"
19080 _ACEOF
19081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19082 exec 5>>config.log
19084 echo
19085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19086 ## Running $as_me. ##
19087 _ASBOX
19088 $as_echo "$ac_log"
19089 } >&5
19091 _ACEOF
19092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19094 # INIT-COMMANDS
19096 wine_fn_output_makedep ()
19098 as_dir=tools; as_fn_mkdir_p
19099 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19101 wine_fn_output_makefile ()
19103 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19104 `cat $wine_rules_file`
19105 _WINE_EOF
19106 as_fn_error $? "could not create Makefile" "$LINENO" 5
19109 _ACEOF
19111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19113 # Handling of arguments.
19114 for ac_config_target in $ac_config_targets
19116 case $ac_config_target in
19117 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19118 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19119 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19120 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19121 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19122 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19123 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19124 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19125 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19126 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19127 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19128 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19129 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19131 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19132 esac
19133 done
19136 # If the user did not use the arguments to specify the items to instantiate,
19137 # then the envvar interface is used. Set only those that are not.
19138 # We use the long form for the default assignment because of an extremely
19139 # bizarre bug on SunOS 4.1.3.
19140 if $ac_need_defaults; then
19141 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19142 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19143 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19144 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19147 # Have a temporary directory for convenience. Make it in the build tree
19148 # simply because there is no reason against having it here, and in addition,
19149 # creating and moving files from /tmp can sometimes cause problems.
19150 # Hook for its removal unless debugging.
19151 # Note that there is a small window in which the directory will not be cleaned:
19152 # after its creation but before its name has been assigned to `$tmp'.
19153 $debug ||
19155 tmp= ac_tmp=
19156 trap 'exit_status=$?
19157 : "${ac_tmp:=$tmp}"
19158 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19160 trap 'as_fn_exit 1' 1 2 13 15
19162 # Create a (secure) tmp directory for tmp files.
19165 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19166 test -d "$tmp"
19167 } ||
19169 tmp=./conf$$-$RANDOM
19170 (umask 077 && mkdir "$tmp")
19171 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19172 ac_tmp=$tmp
19174 # Set up the scripts for CONFIG_FILES section.
19175 # No need to generate them if there are no CONFIG_FILES.
19176 # This happens for instance with `./config.status config.h'.
19177 if test -n "$CONFIG_FILES"; then
19180 ac_cr=`echo X | tr X '\015'`
19181 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19182 # But we know of no other shell where ac_cr would be empty at this
19183 # point, so we can use a bashism as a fallback.
19184 if test "x$ac_cr" = x; then
19185 eval ac_cr=\$\'\\r\'
19187 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19188 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19189 ac_cs_awk_cr='\\r'
19190 else
19191 ac_cs_awk_cr=$ac_cr
19194 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19195 _ACEOF
19199 echo "cat >conf$$subs.awk <<_ACEOF" &&
19200 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19201 echo "_ACEOF"
19202 } >conf$$subs.sh ||
19203 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19204 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19205 ac_delim='%!_!# '
19206 for ac_last_try in false false false false false :; do
19207 . ./conf$$subs.sh ||
19208 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19210 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19211 if test $ac_delim_n = $ac_delim_num; then
19212 break
19213 elif $ac_last_try; then
19214 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19215 else
19216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19218 done
19219 rm -f conf$$subs.sh
19221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19222 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19223 _ACEOF
19224 sed -n '
19226 s/^/S["/; s/!.*/"]=/
19229 s/^[^!]*!//
19230 :repl
19231 t repl
19232 s/'"$ac_delim"'$//
19233 t delim
19236 s/\(.\{148\}\)..*/\1/
19237 t more1
19238 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19241 b repl
19242 :more1
19243 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19246 s/.\{148\}//
19247 t nl
19248 :delim
19250 s/\(.\{148\}\)..*/\1/
19251 t more2
19252 s/["\\]/\\&/g; s/^/"/; s/$/"/
19255 :more2
19256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19259 s/.\{148\}//
19260 t delim
19261 ' <conf$$subs.awk | sed '
19262 /^[^""]/{
19264 s/\n//
19266 ' >>$CONFIG_STATUS || ac_write_fail=1
19267 rm -f conf$$subs.awk
19268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19269 _ACAWK
19270 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19271 for (key in S) S_is_set[key] = 1
19272 FS = "\a"
19276 line = $ 0
19277 nfields = split(line, field, "@")
19278 substed = 0
19279 len = length(field[1])
19280 for (i = 2; i < nfields; i++) {
19281 key = field[i]
19282 keylen = length(key)
19283 if (S_is_set[key]) {
19284 value = S[key]
19285 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19286 len += length(value) + length(field[++i])
19287 substed = 1
19288 } else
19289 len += 1 + keylen
19292 print line
19295 _ACAWK
19296 _ACEOF
19297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19298 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19299 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19300 else
19302 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19303 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19304 _ACEOF
19306 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19307 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19308 # trailing colons and then remove the whole line if VPATH becomes empty
19309 # (actually we leave an empty line to preserve line numbers).
19310 if test "x$srcdir" = x.; then
19311 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19313 s///
19314 s/^/:/
19315 s/[ ]*$/:/
19316 s/:\$(srcdir):/:/g
19317 s/:\${srcdir}:/:/g
19318 s/:@srcdir@:/:/g
19319 s/^:*//
19320 s/:*$//
19322 s/\(=[ ]*\).*/\1/
19324 s/\n//
19325 s/^[^=]*=[ ]*$//
19329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19330 fi # test -n "$CONFIG_FILES"
19332 # Set up the scripts for CONFIG_HEADERS section.
19333 # No need to generate them if there are no CONFIG_HEADERS.
19334 # This happens for instance with `./config.status Makefile'.
19335 if test -n "$CONFIG_HEADERS"; then
19336 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19337 BEGIN {
19338 _ACEOF
19340 # Transform confdefs.h into an awk script `defines.awk', embedded as
19341 # here-document in config.status, that substitutes the proper values into
19342 # config.h.in to produce config.h.
19344 # Create a delimiter string that does not exist in confdefs.h, to ease
19345 # handling of long lines.
19346 ac_delim='%!_!# '
19347 for ac_last_try in false false :; do
19348 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19349 if test -z "$ac_tt"; then
19350 break
19351 elif $ac_last_try; then
19352 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19353 else
19354 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19356 done
19358 # For the awk script, D is an array of macro values keyed by name,
19359 # likewise P contains macro parameters if any. Preserve backslash
19360 # newline sequences.
19362 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19363 sed -n '
19364 s/.\{148\}/&'"$ac_delim"'/g
19365 t rset
19366 :rset
19367 s/^[ ]*#[ ]*define[ ][ ]*/ /
19368 t def
19370 :def
19371 s/\\$//
19372 t bsnl
19373 s/["\\]/\\&/g
19374 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19375 D["\1"]=" \3"/p
19376 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19378 :bsnl
19379 s/["\\]/\\&/g
19380 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19381 D["\1"]=" \3\\\\\\n"\\/p
19382 t cont
19383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19384 t cont
19386 :cont
19388 s/.\{148\}/&'"$ac_delim"'/g
19389 t clear
19390 :clear
19391 s/\\$//
19392 t bsnlc
19393 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19395 :bsnlc
19396 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19397 b cont
19398 ' <confdefs.h | sed '
19399 s/'"$ac_delim"'/"\\\
19400 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19403 for (key in D) D_is_set[key] = 1
19404 FS = "\a"
19406 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19407 line = \$ 0
19408 split(line, arg, " ")
19409 if (arg[1] == "#") {
19410 defundef = arg[2]
19411 mac1 = arg[3]
19412 } else {
19413 defundef = substr(arg[1], 2)
19414 mac1 = arg[2]
19416 split(mac1, mac2, "(") #)
19417 macro = mac2[1]
19418 prefix = substr(line, 1, index(line, defundef) - 1)
19419 if (D_is_set[macro]) {
19420 # Preserve the white space surrounding the "#".
19421 print prefix "define", macro P[macro] D[macro]
19422 next
19423 } else {
19424 # Replace #undef with comments. This is necessary, for example,
19425 # in the case of _POSIX_SOURCE, which is predefined and required
19426 # on some systems where configure will not decide to define it.
19427 if (defundef == "undef") {
19428 print "/*", prefix defundef, macro, "*/"
19429 next
19433 { print }
19434 _ACAWK
19435 _ACEOF
19436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19437 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19438 fi # test -n "$CONFIG_HEADERS"
19441 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19442 shift
19443 for ac_tag
19445 case $ac_tag in
19446 :[FHLC]) ac_mode=$ac_tag; continue;;
19447 esac
19448 case $ac_mode$ac_tag in
19449 :[FHL]*:*);;
19450 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19451 :[FH]-) ac_tag=-:-;;
19452 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19453 esac
19454 ac_save_IFS=$IFS
19455 IFS=:
19456 set x $ac_tag
19457 IFS=$ac_save_IFS
19458 shift
19459 ac_file=$1
19460 shift
19462 case $ac_mode in
19463 :L) ac_source=$1;;
19464 :[FH])
19465 ac_file_inputs=
19466 for ac_f
19468 case $ac_f in
19469 -) ac_f="$ac_tmp/stdin";;
19470 *) # Look for the file first in the build tree, then in the source tree
19471 # (if the path is not absolute). The absolute path cannot be DOS-style,
19472 # because $ac_f cannot contain `:'.
19473 test -f "$ac_f" ||
19474 case $ac_f in
19475 [\\/$]*) false;;
19476 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19477 esac ||
19478 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19479 esac
19480 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19481 as_fn_append ac_file_inputs " '$ac_f'"
19482 done
19484 # Let's still pretend it is `configure' which instantiates (i.e., don't
19485 # use $as_me), people would be surprised to read:
19486 # /* config.h. Generated by config.status. */
19487 configure_input='Generated from '`
19488 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19489 `' by configure.'
19490 if test x"$ac_file" != x-; then
19491 configure_input="$ac_file. $configure_input"
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19493 $as_echo "$as_me: creating $ac_file" >&6;}
19495 # Neutralize special characters interpreted by sed in replacement strings.
19496 case $configure_input in #(
19497 *\&* | *\|* | *\\* )
19498 ac_sed_conf_input=`$as_echo "$configure_input" |
19499 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19500 *) ac_sed_conf_input=$configure_input;;
19501 esac
19503 case $ac_tag in
19504 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19506 esac
19508 esac
19510 ac_dir=`$as_dirname -- "$ac_file" ||
19511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19512 X"$ac_file" : 'X\(//\)[^/]' \| \
19513 X"$ac_file" : 'X\(//\)$' \| \
19514 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19515 $as_echo X"$ac_file" |
19516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19517 s//\1/
19520 /^X\(\/\/\)[^/].*/{
19521 s//\1/
19524 /^X\(\/\/\)$/{
19525 s//\1/
19528 /^X\(\/\).*/{
19529 s//\1/
19532 s/.*/./; q'`
19533 as_dir="$ac_dir"; as_fn_mkdir_p
19534 ac_builddir=.
19536 case "$ac_dir" in
19537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19539 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19540 # A ".." for each directory in $ac_dir_suffix.
19541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19542 case $ac_top_builddir_sub in
19543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19545 esac ;;
19546 esac
19547 ac_abs_top_builddir=$ac_pwd
19548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19549 # for backward compatibility:
19550 ac_top_builddir=$ac_top_build_prefix
19552 case $srcdir in
19553 .) # We are building in place.
19554 ac_srcdir=.
19555 ac_top_srcdir=$ac_top_builddir_sub
19556 ac_abs_top_srcdir=$ac_pwd ;;
19557 [\\/]* | ?:[\\/]* ) # Absolute name.
19558 ac_srcdir=$srcdir$ac_dir_suffix;
19559 ac_top_srcdir=$srcdir
19560 ac_abs_top_srcdir=$srcdir ;;
19561 *) # Relative name.
19562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19563 ac_top_srcdir=$ac_top_build_prefix$srcdir
19564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19565 esac
19566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19569 case $ac_mode in
19572 # CONFIG_FILE
19575 _ACEOF
19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19578 # If the template does not know about datarootdir, expand it.
19579 # FIXME: This hack should be removed a few years after 2.60.
19580 ac_datarootdir_hack=; ac_datarootdir_seen=
19581 ac_sed_dataroot='
19582 /datarootdir/ {
19586 /@datadir@/p
19587 /@docdir@/p
19588 /@infodir@/p
19589 /@localedir@/p
19590 /@mandir@/p'
19591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19592 *datarootdir*) ac_datarootdir_seen=yes;;
19593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19596 _ACEOF
19597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19598 ac_datarootdir_hack='
19599 s&@datadir@&$datadir&g
19600 s&@docdir@&$docdir&g
19601 s&@infodir@&$infodir&g
19602 s&@localedir@&$localedir&g
19603 s&@mandir@&$mandir&g
19604 s&\\\${datarootdir}&$datarootdir&g' ;;
19605 esac
19606 _ACEOF
19608 # Neutralize VPATH when `$srcdir' = `.'.
19609 # Shell code in configure.ac might set extrasub.
19610 # FIXME: do we really want to maintain this feature?
19611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19612 ac_sed_extra="$ac_vpsub
19613 $extrasub
19614 _ACEOF
19615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19618 s|@configure_input@|$ac_sed_conf_input|;t t
19619 s&@top_builddir@&$ac_top_builddir_sub&;t t
19620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19621 s&@srcdir@&$ac_srcdir&;t t
19622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19623 s&@top_srcdir@&$ac_top_srcdir&;t t
19624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19625 s&@builddir@&$ac_builddir&;t t
19626 s&@abs_builddir@&$ac_abs_builddir&;t t
19627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19628 $ac_datarootdir_hack
19630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19636 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19638 which seems to be undefined. Please make sure it is defined" >&5
19639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19640 which seems to be undefined. Please make sure it is defined" >&2;}
19642 rm -f "$ac_tmp/stdin"
19643 case $ac_file in
19644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19646 esac \
19647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19651 # CONFIG_HEADER
19653 if test x"$ac_file" != x-; then
19655 $as_echo "/* $configure_input */" \
19656 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19657 } >"$ac_tmp/config.h" \
19658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19659 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19661 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19662 else
19663 rm -f "$ac_file"
19664 mv "$ac_tmp/config.h" "$ac_file" \
19665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19667 else
19668 $as_echo "/* $configure_input */" \
19669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19670 || as_fn_error $? "could not create -" "$LINENO" 5
19675 # CONFIG_LINK
19678 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19680 else
19681 # Prefer the file from the source tree if names are identical.
19682 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19683 ac_source=$srcdir/$ac_source
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19687 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19689 if test ! -r "$ac_source"; then
19690 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19692 rm -f "$ac_file"
19694 # Try a relative symlink, then a hard link, then a copy.
19695 case $ac_source in
19696 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19697 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19698 esac
19699 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19700 ln "$ac_source" "$ac_file" 2>/dev/null ||
19701 cp -p "$ac_source" "$ac_file" ||
19702 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19705 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19706 $as_echo "$as_me: executing $ac_file commands" >&6;}
19708 esac
19711 case $ac_file$ac_mode in
19712 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19713 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19714 "Makefile":C) wine_fn_output_makefile Makefile ;;
19716 esac
19717 done # for ac_tag
19720 as_fn_exit 0
19721 _ACEOF
19722 ac_clean_files=$ac_clean_files_save
19724 test $ac_write_fail = 0 ||
19725 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19728 # configure is writing to config.log, and then calls config.status.
19729 # config.status does its own redirection, appending to config.log.
19730 # Unfortunately, on DOS this fails, as config.log is still kept open
19731 # by configure, so config.status won't be able to write to it; its
19732 # output is simply discarded. So we exec the FD to /dev/null,
19733 # effectively closing config.log, so it can be properly (re)opened and
19734 # appended to by config.status. When coming back to configure, we
19735 # need to make the FD available again.
19736 if test "$no_create" != yes; then
19737 ac_cs_success=:
19738 ac_config_status_args=
19739 test "$silent" = yes &&
19740 ac_config_status_args="$ac_config_status_args --quiet"
19741 exec 5>/dev/null
19742 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19743 exec 5>>config.log
19744 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19745 # would make configure fail if this is the last instruction.
19746 $ac_cs_success || as_fn_exit 1
19748 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19750 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19754 if test "$no_create" = "yes"
19755 then
19756 exit 0
19759 ac_save_IFS="$IFS"
19760 if test "x$wine_notices" != x; then
19761 echo >&6
19762 IFS="|"
19763 for msg in $wine_notices; do
19764 IFS="$ac_save_IFS"
19765 if ${msg:+false} :; then :
19767 else
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19769 $as_echo "$as_me: $msg" >&6;}
19771 done
19773 IFS="|"
19774 for msg in $wine_warnings; do
19775 IFS="$ac_save_IFS"
19776 if ${msg:+false} :; then :
19778 else
19779 echo >&2
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19781 $as_echo "$as_me: WARNING: $msg" >&2;}
19783 done
19784 IFS="$ac_save_IFS"
19786 $as_echo "
19787 $as_me: Finished. Do '${ac_make}' to compile Wine.
19788 " >&6