vmm.vxd: Fix protection flags passed to VirtualAlloc.
[wine.git] / configure
blobb001551f9aebd70bbcef44c035bcf64c9bc104c7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.3.
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.3'
584 PACKAGE_STRING='Wine 1.9.3'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 SUBDIRS
718 READELF
719 OTOOL
721 LDEXECFLAGS
722 LDRPATH_LOCAL
723 LDRPATH_INSTALL
724 DLLFLAGS
725 dlldir
727 OPENGL_LIBS
728 ICOTOOL
729 CONVERT
730 RSVG
731 FONTFORGE
732 PKG_CONFIG
733 MSGFMT
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_netapi
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_pcap
841 with_png
842 with_pthread
843 with_pulse
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_com_l1_1_0
872 enable_api_ms_win_core_com_l1_1_1
873 enable_api_ms_win_core_console_l1_1_0
874 enable_api_ms_win_core_datetime_l1_1_0
875 enable_api_ms_win_core_datetime_l1_1_1
876 enable_api_ms_win_core_debug_l1_1_0
877 enable_api_ms_win_core_debug_l1_1_1
878 enable_api_ms_win_core_delayload_l1_1_1
879 enable_api_ms_win_core_errorhandling_l1_1_0
880 enable_api_ms_win_core_errorhandling_l1_1_1
881 enable_api_ms_win_core_errorhandling_l1_1_2
882 enable_api_ms_win_core_fibers_l1_1_0
883 enable_api_ms_win_core_fibers_l1_1_1
884 enable_api_ms_win_core_file_l1_1_0
885 enable_api_ms_win_core_file_l1_2_0
886 enable_api_ms_win_core_file_l2_1_0
887 enable_api_ms_win_core_file_l2_1_1
888 enable_api_ms_win_core_handle_l1_1_0
889 enable_api_ms_win_core_heap_l1_1_0
890 enable_api_ms_win_core_heap_l1_2_0
891 enable_api_ms_win_core_heap_obsolete_l1_1_0
892 enable_api_ms_win_core_interlocked_l1_1_0
893 enable_api_ms_win_core_interlocked_l1_2_0
894 enable_api_ms_win_core_io_l1_1_1
895 enable_api_ms_win_core_kernel32_legacy_l1_1_0
896 enable_api_ms_win_core_kernel32_legacy_l1_1_1
897 enable_api_ms_win_core_libraryloader_l1_1_0
898 enable_api_ms_win_core_libraryloader_l1_1_1
899 enable_api_ms_win_core_libraryloader_l1_2_0
900 enable_api_ms_win_core_localization_l1_1_0
901 enable_api_ms_win_core_localization_l1_2_0
902 enable_api_ms_win_core_localization_l1_2_1
903 enable_api_ms_win_core_localization_obsolete_l1_1_0
904 enable_api_ms_win_core_localregistry_l1_1_0
905 enable_api_ms_win_core_memory_l1_1_0
906 enable_api_ms_win_core_memory_l1_1_1
907 enable_api_ms_win_core_misc_l1_1_0
908 enable_api_ms_win_core_namedpipe_l1_1_0
909 enable_api_ms_win_core_namedpipe_l1_2_0
910 enable_api_ms_win_core_path_l1_1_0
911 enable_api_ms_win_core_processenvironment_l1_1_0
912 enable_api_ms_win_core_processenvironment_l1_2_0
913 enable_api_ms_win_core_processthreads_l1_1_0
914 enable_api_ms_win_core_processthreads_l1_1_1
915 enable_api_ms_win_core_processthreads_l1_1_2
916 enable_api_ms_win_core_profile_l1_1_0
917 enable_api_ms_win_core_psapi_l1_1_0
918 enable_api_ms_win_core_registry_l1_1_0
919 enable_api_ms_win_core_rtlsupport_l1_1_0
920 enable_api_ms_win_core_rtlsupport_l1_2_0
921 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
922 enable_api_ms_win_core_string_l1_1_0
923 enable_api_ms_win_core_synch_l1_1_0
924 enable_api_ms_win_core_synch_l1_2_0
925 enable_api_ms_win_core_sysinfo_l1_1_0
926 enable_api_ms_win_core_sysinfo_l1_2_0
927 enable_api_ms_win_core_sysinfo_l1_2_1
928 enable_api_ms_win_core_threadpool_legacy_l1_1_0
929 enable_api_ms_win_core_timezone_l1_1_0
930 enable_api_ms_win_core_url_l1_1_0
931 enable_api_ms_win_core_util_l1_1_0
932 enable_api_ms_win_core_winrt_error_l1_1_0
933 enable_api_ms_win_core_winrt_error_l1_1_1
934 enable_api_ms_win_core_winrt_l1_1_0
935 enable_api_ms_win_core_winrt_registration_l1_1_0
936 enable_api_ms_win_core_winrt_string_l1_1_0
937 enable_api_ms_win_core_xstate_l2_1_0
938 enable_api_ms_win_crt_conio_l1_1_0
939 enable_api_ms_win_crt_convert_l1_1_0
940 enable_api_ms_win_crt_environment_l1_1_0
941 enable_api_ms_win_crt_filesystem_l1_1_0
942 enable_api_ms_win_crt_heap_l1_1_0
943 enable_api_ms_win_crt_locale_l1_1_0
944 enable_api_ms_win_crt_math_l1_1_0
945 enable_api_ms_win_crt_multibyte_l1_1_0
946 enable_api_ms_win_crt_private_l1_1_0
947 enable_api_ms_win_crt_process_l1_1_0
948 enable_api_ms_win_crt_runtime_l1_1_0
949 enable_api_ms_win_crt_stdio_l1_1_0
950 enable_api_ms_win_crt_string_l1_1_0
951 enable_api_ms_win_crt_time_l1_1_0
952 enable_api_ms_win_crt_utility_l1_1_0
953 enable_api_ms_win_downlevel_advapi32_l1_1_0
954 enable_api_ms_win_downlevel_advapi32_l2_1_0
955 enable_api_ms_win_downlevel_normaliz_l1_1_0
956 enable_api_ms_win_downlevel_ole32_l1_1_0
957 enable_api_ms_win_downlevel_shell32_l1_1_0
958 enable_api_ms_win_downlevel_shlwapi_l1_1_0
959 enable_api_ms_win_downlevel_shlwapi_l2_1_0
960 enable_api_ms_win_downlevel_user32_l1_1_0
961 enable_api_ms_win_downlevel_version_l1_1_0
962 enable_api_ms_win_eventing_classicprovider_l1_1_0
963 enable_api_ms_win_eventing_provider_l1_1_0
964 enable_api_ms_win_ntuser_dc_access_l1_1_0
965 enable_api_ms_win_security_base_l1_1_0
966 enable_api_ms_win_security_base_l1_2_0
967 enable_api_ms_win_security_lsalookup_l1_1_0
968 enable_api_ms_win_security_lsalookup_l1_1_1
969 enable_api_ms_win_security_sddl_l1_1_0
970 enable_api_ms_win_service_core_l1_1_1
971 enable_api_ms_win_service_management_l1_1_0
972 enable_api_ms_win_service_winsvc_l1_2_0
973 enable_apphelp
974 enable_appwiz_cpl
975 enable_atl
976 enable_atl100
977 enable_atl110
978 enable_atl80
979 enable_atl90
980 enable_authz
981 enable_avicap32
982 enable_avifil32
983 enable_avrt
984 enable_bcrypt
985 enable_bluetoothapis
986 enable_browseui
987 enable_bthprops_cpl
988 enable_cabinet
989 enable_capi2032
990 enable_cards
991 enable_cfgmgr32
992 enable_clusapi
993 enable_combase
994 enable_comcat
995 enable_comctl32
996 enable_comdlg32
997 enable_compstui
998 enable_comsvcs
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptui
1008 enable_ctapi32
1009 enable_ctl3d32
1010 enable_d2d1
1011 enable_d3d10
1012 enable_d3d10_1
1013 enable_d3d10core
1014 enable_d3d11
1015 enable_d3d8
1016 enable_d3d9
1017 enable_d3dcompiler_33
1018 enable_d3dcompiler_34
1019 enable_d3dcompiler_35
1020 enable_d3dcompiler_36
1021 enable_d3dcompiler_37
1022 enable_d3dcompiler_38
1023 enable_d3dcompiler_39
1024 enable_d3dcompiler_40
1025 enable_d3dcompiler_41
1026 enable_d3dcompiler_42
1027 enable_d3dcompiler_43
1028 enable_d3dcompiler_46
1029 enable_d3dcompiler_47
1030 enable_d3dim
1031 enable_d3drm
1032 enable_d3dx10_33
1033 enable_d3dx10_34
1034 enable_d3dx10_35
1035 enable_d3dx10_36
1036 enable_d3dx10_37
1037 enable_d3dx10_38
1038 enable_d3dx10_39
1039 enable_d3dx10_40
1040 enable_d3dx10_41
1041 enable_d3dx10_42
1042 enable_d3dx10_43
1043 enable_d3dx11_42
1044 enable_d3dx11_43
1045 enable_d3dx9_24
1046 enable_d3dx9_25
1047 enable_d3dx9_26
1048 enable_d3dx9_27
1049 enable_d3dx9_28
1050 enable_d3dx9_29
1051 enable_d3dx9_30
1052 enable_d3dx9_31
1053 enable_d3dx9_32
1054 enable_d3dx9_33
1055 enable_d3dx9_34
1056 enable_d3dx9_35
1057 enable_d3dx9_36
1058 enable_d3dx9_37
1059 enable_d3dx9_38
1060 enable_d3dx9_39
1061 enable_d3dx9_40
1062 enable_d3dx9_41
1063 enable_d3dx9_42
1064 enable_d3dx9_43
1065 enable_d3dxof
1066 enable_davclnt
1067 enable_dbgeng
1068 enable_dbghelp
1069 enable_dciman32
1070 enable_ddraw
1071 enable_ddrawex
1072 enable_devenum
1073 enable_dhcpcsvc
1074 enable_difxapi
1075 enable_dinput
1076 enable_dinput8
1077 enable_dispex
1078 enable_dmband
1079 enable_dmcompos
1080 enable_dmime
1081 enable_dmloader
1082 enable_dmscript
1083 enable_dmstyle
1084 enable_dmsynth
1085 enable_dmusic
1086 enable_dmusic32
1087 enable_dnsapi
1088 enable_dplay
1089 enable_dplayx
1090 enable_dpnaddr
1091 enable_dpnet
1092 enable_dpnhpast
1093 enable_dpnlobby
1094 enable_dpvoice
1095 enable_dpwsockx
1096 enable_drmclien
1097 enable_dsound
1098 enable_dssenh
1099 enable_dswave
1100 enable_dwmapi
1101 enable_dwrite
1102 enable_dxdiagn
1103 enable_dxgi
1104 enable_dxva2
1105 enable_esent
1106 enable_evr
1107 enable_explorerframe
1108 enable_ext_ms_win_gdi_devcaps_l1_1_0
1109 enable_faultrep
1110 enable_fltlib
1111 enable_fltmgr_sys
1112 enable_fntcache
1113 enable_fontsub
1114 enable_fusion
1115 enable_fwpuclnt
1116 enable_gameux
1117 enable_gdi32
1118 enable_gdiplus
1119 enable_glu32
1120 enable_gphoto2_ds
1121 enable_gpkcsp
1122 enable_hal
1123 enable_hhctrl_ocx
1124 enable_hid
1125 enable_hidclass_sys
1126 enable_hlink
1127 enable_hnetcfg
1128 enable_httpapi
1129 enable_iccvid
1130 enable_icmp
1131 enable_ieframe
1132 enable_imaadp32_acm
1133 enable_imagehlp
1134 enable_imm32
1135 enable_inetcomm
1136 enable_inetcpl_cpl
1137 enable_inetmib1
1138 enable_infosoft
1139 enable_initpki
1140 enable_inkobj
1141 enable_inseng
1142 enable_iphlpapi
1143 enable_irprops_cpl
1144 enable_itircl
1145 enable_itss
1146 enable_joy_cpl
1147 enable_jscript
1148 enable_jsproxy
1149 enable_kernel32
1150 enable_ksuser
1151 enable_ktmw32
1152 enable_loadperf
1153 enable_localspl
1154 enable_localui
1155 enable_lz32
1156 enable_mapi32
1157 enable_mapistub
1158 enable_mciavi32
1159 enable_mcicda
1160 enable_mciqtz32
1161 enable_mciseq
1162 enable_mciwave
1163 enable_mf
1164 enable_mfplat
1165 enable_mfreadwrite
1166 enable_mgmtapi
1167 enable_midimap
1168 enable_mlang
1169 enable_mmcndmgr
1170 enable_mmdevapi
1171 enable_mountmgr_sys
1172 enable_mpr
1173 enable_mprapi
1174 enable_msacm32_drv
1175 enable_msacm32
1176 enable_msadp32_acm
1177 enable_msasn1
1178 enable_mscat32
1179 enable_mscms
1180 enable_mscoree
1181 enable_msctf
1182 enable_msctfp
1183 enable_msdaps
1184 enable_msdelta
1185 enable_msdmo
1186 enable_msdrm
1187 enable_msftedit
1188 enable_msg711_acm
1189 enable_msgsm32_acm
1190 enable_mshtml_tlb
1191 enable_mshtml
1192 enable_msi
1193 enable_msident
1194 enable_msimg32
1195 enable_msimsg
1196 enable_msimtf
1197 enable_msisip
1198 enable_msisys_ocx
1199 enable_msls31
1200 enable_msnet32
1201 enable_mspatcha
1202 enable_msrle32
1203 enable_msscript_ocx
1204 enable_mssign32
1205 enable_mssip32
1206 enable_mstask
1207 enable_msvcirt
1208 enable_msvcm80
1209 enable_msvcm90
1210 enable_msvcp100
1211 enable_msvcp110
1212 enable_msvcp120
1213 enable_msvcp120_app
1214 enable_msvcp60
1215 enable_msvcp70
1216 enable_msvcp71
1217 enable_msvcp80
1218 enable_msvcp90
1219 enable_msvcr100
1220 enable_msvcr110
1221 enable_msvcr120
1222 enable_msvcr120_app
1223 enable_msvcr70
1224 enable_msvcr71
1225 enable_msvcr80
1226 enable_msvcr90
1227 enable_msvcrt
1228 enable_msvcrt20
1229 enable_msvcrt40
1230 enable_msvcrtd
1231 enable_msvfw32
1232 enable_msvidc32
1233 enable_mswsock
1234 enable_msxml
1235 enable_msxml2
1236 enable_msxml3
1237 enable_msxml4
1238 enable_msxml6
1239 enable_nddeapi
1240 enable_ndis_sys
1241 enable_netapi32
1242 enable_netcfgx
1243 enable_netprofm
1244 enable_newdev
1245 enable_normaliz
1246 enable_npmshtml
1247 enable_npptools
1248 enable_ntdll
1249 enable_ntdsapi
1250 enable_ntoskrnl_exe
1251 enable_ntprint
1252 enable_objsel
1253 enable_odbc32
1254 enable_odbccp32
1255 enable_odbccu32
1256 enable_ole32
1257 enable_oleacc
1258 enable_oleaut32
1259 enable_olecli32
1260 enable_oledb32
1261 enable_oledlg
1262 enable_olepro32
1263 enable_olesvr32
1264 enable_olethk32
1265 enable_openal32
1266 enable_opencl
1267 enable_opengl32
1268 enable_packager
1269 enable_pdh
1270 enable_photometadatahandler
1271 enable_pidgen
1272 enable_powrprof
1273 enable_printui
1274 enable_prntvpt
1275 enable_propsys
1276 enable_psapi
1277 enable_pstorec
1278 enable_qcap
1279 enable_qedit
1280 enable_qmgr
1281 enable_qmgrprxy
1282 enable_quartz
1283 enable_query
1284 enable_rasapi32
1285 enable_rasdlg
1286 enable_regapi
1287 enable_resutils
1288 enable_riched20
1289 enable_riched32
1290 enable_rpcrt4
1291 enable_rsabase
1292 enable_rsaenh
1293 enable_rstrtmgr
1294 enable_rtutils
1295 enable_samlib
1296 enable_sane_ds
1297 enable_scarddlg
1298 enable_sccbase
1299 enable_schannel
1300 enable_schedsvc
1301 enable_scrrun
1302 enable_scsiport_sys
1303 enable_secur32
1304 enable_security
1305 enable_sensapi
1306 enable_serialui
1307 enable_setupapi
1308 enable_sfc
1309 enable_sfc_os
1310 enable_shdoclc
1311 enable_shdocvw
1312 enable_shell32
1313 enable_shfolder
1314 enable_shlwapi
1315 enable_slbcsp
1316 enable_slc
1317 enable_snmpapi
1318 enable_softpub
1319 enable_spoolss
1320 enable_stdole2_tlb
1321 enable_stdole32_tlb
1322 enable_sti
1323 enable_svrapi
1324 enable_sxs
1325 enable_t2embed
1326 enable_tapi32
1327 enable_taskschd
1328 enable_tdi_sys
1329 enable_traffic
1330 enable_twain_32
1331 enable_ucrtbase
1332 enable_unicows
1333 enable_updspapi
1334 enable_url
1335 enable_urlmon
1336 enable_usbd_sys
1337 enable_user32
1338 enable_userenv
1339 enable_usp10
1340 enable_uxtheme
1341 enable_vbscript
1342 enable_vcomp
1343 enable_vcomp100
1344 enable_vcomp110
1345 enable_vcomp120
1346 enable_vcomp90
1347 enable_vcruntime140
1348 enable_vdmdbg
1349 enable_version
1350 enable_vssapi
1351 enable_wbemdisp
1352 enable_wbemprox
1353 enable_webservices
1354 enable_wer
1355 enable_wevtapi
1356 enable_wiaservc
1357 enable_wimgapi
1358 enable_windowscodecs
1359 enable_windowscodecsext
1360 enable_winealsa_drv
1361 enable_winecoreaudio_drv
1362 enable_wined3d
1363 enable_winegstreamer
1364 enable_winejoystick_drv
1365 enable_winemac_drv
1366 enable_winemapi
1367 enable_winemp3_acm
1368 enable_wineoss_drv
1369 enable_wineps_drv
1370 enable_winepulse_drv
1371 enable_wineqtdecoder
1372 enable_winex11_drv
1373 enable_wing32
1374 enable_winhttp
1375 enable_wininet
1376 enable_winmm
1377 enable_winnls32
1378 enable_winscard
1379 enable_winspool_drv
1380 enable_winsta
1381 enable_wintab32
1382 enable_wintrust
1383 enable_wlanapi
1384 enable_wldap32
1385 enable_wmi
1386 enable_wmiutils
1387 enable_wmp
1388 enable_wmvcore
1389 enable_wnaspi32
1390 enable_wpcap
1391 enable_ws2_32
1392 enable_wshom_ocx
1393 enable_wsnmp32
1394 enable_wsock32
1395 enable_wtsapi32
1396 enable_wuapi
1397 enable_wuaueng
1398 enable_x3daudio1_0
1399 enable_x3daudio1_1
1400 enable_x3daudio1_2
1401 enable_x3daudio1_3
1402 enable_x3daudio1_4
1403 enable_x3daudio1_5
1404 enable_x3daudio1_6
1405 enable_x3daudio1_7
1406 enable_xapofx1_1
1407 enable_xapofx1_2
1408 enable_xapofx1_3
1409 enable_xapofx1_4
1410 enable_xapofx1_5
1411 enable_xaudio2_0
1412 enable_xaudio2_1
1413 enable_xaudio2_2
1414 enable_xaudio2_3
1415 enable_xaudio2_4
1416 enable_xaudio2_5
1417 enable_xaudio2_6
1418 enable_xaudio2_7
1419 enable_xaudio2_8
1420 enable_xaudio2_9
1421 enable_xinput1_1
1422 enable_xinput1_2
1423 enable_xinput1_3
1424 enable_xinput1_4
1425 enable_xinput9_1_0
1426 enable_xmllite
1427 enable_xolehlp
1428 enable_xpsprint
1429 enable_xpssvcs
1430 enable_fonts
1431 enable_include
1432 enable_libs_port
1433 enable_libs_wine
1434 enable_libs_wpp
1435 enable_loader
1436 enable_arp
1437 enable_aspnet_regiis
1438 enable_attrib
1439 enable_cabarc
1440 enable_cacls
1441 enable_clock
1442 enable_cmd
1443 enable_conhost
1444 enable_control
1445 enable_cscript
1446 enable_dpnsvr
1447 enable_dxdiag
1448 enable_eject
1449 enable_expand
1450 enable_explorer
1451 enable_extrac32
1452 enable_findstr
1453 enable_hh
1454 enable_hostname
1455 enable_icacls
1456 enable_icinfo
1457 enable_iexplore
1458 enable_ipconfig
1459 enable_lodctr
1460 enable_mofcomp
1461 enable_mshta
1462 enable_msiexec
1463 enable_net
1464 enable_netsh
1465 enable_netstat
1466 enable_ngen
1467 enable_notepad
1468 enable_oleview
1469 enable_ping
1470 enable_plugplay
1471 enable_presentationfontcache
1472 enable_progman
1473 enable_reg
1474 enable_regasm
1475 enable_regedit
1476 enable_regsvcs
1477 enable_regsvr32
1478 enable_rpcss
1479 enable_rundll32
1480 enable_sc
1481 enable_schtasks
1482 enable_sdbinst
1483 enable_secedit
1484 enable_servicemodelreg
1485 enable_services
1486 enable_spoolsv
1487 enable_start
1488 enable_svchost
1489 enable_systeminfo
1490 enable_taskkill
1491 enable_tasklist
1492 enable_taskmgr
1493 enable_termsv
1494 enable_uninstaller
1495 enable_unlodctr
1496 enable_view
1497 enable_wevtutil
1498 enable_wineboot
1499 enable_winebrowser
1500 enable_winecfg
1501 enable_wineconsole
1502 enable_winedbg
1503 enable_winedevice
1504 enable_winefile
1505 enable_winemenubuilder
1506 enable_winemine
1507 enable_winemsibuilder
1508 enable_winepath
1509 enable_winetest
1510 enable_winhlp32
1511 enable_winver
1512 enable_wmic
1513 enable_wmplayer
1514 enable_wordpad
1515 enable_write
1516 enable_wscript
1517 enable_wusa
1518 enable_xcopy
1519 enable_server
1520 enable_tools
1522 ac_precious_vars='build_alias
1523 host_alias
1524 target_alias
1526 CFLAGS
1527 LDFLAGS
1528 LIBS
1529 CPPFLAGS
1531 CXXFLAGS
1534 XMKMF
1535 XML2_CFLAGS
1536 XML2_LIBS
1537 XSLT_CFLAGS
1538 XSLT_LIBS
1539 DBUS_CFLAGS
1540 DBUS_LIBS
1541 HAL_CFLAGS
1542 HAL_LIBS
1543 GNUTLS_CFLAGS
1544 GNUTLS_LIBS
1545 SANE_CFLAGS
1546 SANE_LIBS
1547 GPHOTO2_CFLAGS
1548 GPHOTO2_LIBS
1549 GPHOTO2_PORT_CFLAGS
1550 GPHOTO2_PORT_LIBS
1551 LCMS2_CFLAGS
1552 LCMS2_LIBS
1553 FREETYPE_CFLAGS
1554 FREETYPE_LIBS
1555 PULSE_CFLAGS
1556 PULSE_LIBS
1557 GSTREAMER_CFLAGS
1558 GSTREAMER_LIBS
1559 CAPI20_CFLAGS
1560 CAPI20_LIBS
1561 FONTCONFIG_CFLAGS
1562 FONTCONFIG_LIBS
1563 JPEG_CFLAGS
1564 JPEG_LIBS
1565 PNG_CFLAGS
1566 PNG_LIBS
1567 TIFF_CFLAGS
1568 TIFF_LIBS
1569 MPG123_CFLAGS
1570 MPG123_LIBS'
1573 # Initialize some variables set by options.
1574 ac_init_help=
1575 ac_init_version=false
1576 ac_unrecognized_opts=
1577 ac_unrecognized_sep=
1578 # The variables have the same names as the options, with
1579 # dashes changed to underlines.
1580 cache_file=/dev/null
1581 exec_prefix=NONE
1582 no_create=
1583 no_recursion=
1584 prefix=NONE
1585 program_prefix=NONE
1586 program_suffix=NONE
1587 program_transform_name=s,x,x,
1588 silent=
1589 site=
1590 srcdir=
1591 verbose=
1592 x_includes=NONE
1593 x_libraries=NONE
1595 # Installation directory options.
1596 # These are left unexpanded so users can "make install exec_prefix=/foo"
1597 # and all the variables that are supposed to be based on exec_prefix
1598 # by default will actually change.
1599 # Use braces instead of parens because sh, perl, etc. also accept them.
1600 # (The list follows the same order as the GNU Coding Standards.)
1601 bindir='${exec_prefix}/bin'
1602 sbindir='${exec_prefix}/sbin'
1603 libexecdir='${exec_prefix}/libexec'
1604 datarootdir='${prefix}/share'
1605 datadir='${datarootdir}'
1606 sysconfdir='${prefix}/etc'
1607 sharedstatedir='${prefix}/com'
1608 localstatedir='${prefix}/var'
1609 runstatedir='${localstatedir}/run'
1610 includedir='${prefix}/include'
1611 oldincludedir='/usr/include'
1612 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1613 infodir='${datarootdir}/info'
1614 htmldir='${docdir}'
1615 dvidir='${docdir}'
1616 pdfdir='${docdir}'
1617 psdir='${docdir}'
1618 libdir='${exec_prefix}/lib'
1619 localedir='${datarootdir}/locale'
1620 mandir='${datarootdir}/man'
1622 ac_prev=
1623 ac_dashdash=
1624 for ac_option
1626 # If the previous option needs an argument, assign it.
1627 if test -n "$ac_prev"; then
1628 eval $ac_prev=\$ac_option
1629 ac_prev=
1630 continue
1633 case $ac_option in
1634 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1635 *=) ac_optarg= ;;
1636 *) ac_optarg=yes ;;
1637 esac
1639 # Accept the important Cygnus configure options, so we can diagnose typos.
1641 case $ac_dashdash$ac_option in
1643 ac_dashdash=yes ;;
1645 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1646 ac_prev=bindir ;;
1647 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1648 bindir=$ac_optarg ;;
1650 -build | --build | --buil | --bui | --bu)
1651 ac_prev=build_alias ;;
1652 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1653 build_alias=$ac_optarg ;;
1655 -cache-file | --cache-file | --cache-fil | --cache-fi \
1656 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1657 ac_prev=cache_file ;;
1658 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1659 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1660 cache_file=$ac_optarg ;;
1662 --config-cache | -C)
1663 cache_file=config.cache ;;
1665 -datadir | --datadir | --datadi | --datad)
1666 ac_prev=datadir ;;
1667 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1668 datadir=$ac_optarg ;;
1670 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1671 | --dataroo | --dataro | --datar)
1672 ac_prev=datarootdir ;;
1673 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1674 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1675 datarootdir=$ac_optarg ;;
1677 -disable-* | --disable-*)
1678 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1679 # Reject names that are not valid shell variable names.
1680 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1681 as_fn_error $? "invalid feature name: $ac_useropt"
1682 ac_useropt_orig=$ac_useropt
1683 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1684 case $ac_user_opts in
1686 "enable_$ac_useropt"
1687 "*) ;;
1688 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1689 ac_unrecognized_sep=', ';;
1690 esac
1691 eval enable_$ac_useropt=no ;;
1693 -docdir | --docdir | --docdi | --doc | --do)
1694 ac_prev=docdir ;;
1695 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1696 docdir=$ac_optarg ;;
1698 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1699 ac_prev=dvidir ;;
1700 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1701 dvidir=$ac_optarg ;;
1703 -enable-* | --enable-*)
1704 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1705 # Reject names that are not valid shell variable names.
1706 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1707 as_fn_error $? "invalid feature name: $ac_useropt"
1708 ac_useropt_orig=$ac_useropt
1709 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1710 case $ac_user_opts in
1712 "enable_$ac_useropt"
1713 "*) ;;
1714 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1715 ac_unrecognized_sep=', ';;
1716 esac
1717 eval enable_$ac_useropt=\$ac_optarg ;;
1719 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1720 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1721 | --exec | --exe | --ex)
1722 ac_prev=exec_prefix ;;
1723 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1724 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1725 | --exec=* | --exe=* | --ex=*)
1726 exec_prefix=$ac_optarg ;;
1728 -gas | --gas | --ga | --g)
1729 # Obsolete; use --with-gas.
1730 with_gas=yes ;;
1732 -help | --help | --hel | --he | -h)
1733 ac_init_help=long ;;
1734 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1735 ac_init_help=recursive ;;
1736 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1737 ac_init_help=short ;;
1739 -host | --host | --hos | --ho)
1740 ac_prev=host_alias ;;
1741 -host=* | --host=* | --hos=* | --ho=*)
1742 host_alias=$ac_optarg ;;
1744 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1745 ac_prev=htmldir ;;
1746 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1747 | --ht=*)
1748 htmldir=$ac_optarg ;;
1750 -includedir | --includedir | --includedi | --included | --include \
1751 | --includ | --inclu | --incl | --inc)
1752 ac_prev=includedir ;;
1753 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1754 | --includ=* | --inclu=* | --incl=* | --inc=*)
1755 includedir=$ac_optarg ;;
1757 -infodir | --infodir | --infodi | --infod | --info | --inf)
1758 ac_prev=infodir ;;
1759 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1760 infodir=$ac_optarg ;;
1762 -libdir | --libdir | --libdi | --libd)
1763 ac_prev=libdir ;;
1764 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1765 libdir=$ac_optarg ;;
1767 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1768 | --libexe | --libex | --libe)
1769 ac_prev=libexecdir ;;
1770 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1771 | --libexe=* | --libex=* | --libe=*)
1772 libexecdir=$ac_optarg ;;
1774 -localedir | --localedir | --localedi | --localed | --locale)
1775 ac_prev=localedir ;;
1776 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1777 localedir=$ac_optarg ;;
1779 -localstatedir | --localstatedir | --localstatedi | --localstated \
1780 | --localstate | --localstat | --localsta | --localst | --locals)
1781 ac_prev=localstatedir ;;
1782 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1783 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1784 localstatedir=$ac_optarg ;;
1786 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1787 ac_prev=mandir ;;
1788 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1789 mandir=$ac_optarg ;;
1791 -nfp | --nfp | --nf)
1792 # Obsolete; use --without-fp.
1793 with_fp=no ;;
1795 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1796 | --no-cr | --no-c | -n)
1797 no_create=yes ;;
1799 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1800 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1801 no_recursion=yes ;;
1803 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1804 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1805 | --oldin | --oldi | --old | --ol | --o)
1806 ac_prev=oldincludedir ;;
1807 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1808 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1809 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1810 oldincludedir=$ac_optarg ;;
1812 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1813 ac_prev=prefix ;;
1814 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1815 prefix=$ac_optarg ;;
1817 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1818 | --program-pre | --program-pr | --program-p)
1819 ac_prev=program_prefix ;;
1820 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1821 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1822 program_prefix=$ac_optarg ;;
1824 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1825 | --program-suf | --program-su | --program-s)
1826 ac_prev=program_suffix ;;
1827 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1828 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1829 program_suffix=$ac_optarg ;;
1831 -program-transform-name | --program-transform-name \
1832 | --program-transform-nam | --program-transform-na \
1833 | --program-transform-n | --program-transform- \
1834 | --program-transform | --program-transfor \
1835 | --program-transfo | --program-transf \
1836 | --program-trans | --program-tran \
1837 | --progr-tra | --program-tr | --program-t)
1838 ac_prev=program_transform_name ;;
1839 -program-transform-name=* | --program-transform-name=* \
1840 | --program-transform-nam=* | --program-transform-na=* \
1841 | --program-transform-n=* | --program-transform-=* \
1842 | --program-transform=* | --program-transfor=* \
1843 | --program-transfo=* | --program-transf=* \
1844 | --program-trans=* | --program-tran=* \
1845 | --progr-tra=* | --program-tr=* | --program-t=*)
1846 program_transform_name=$ac_optarg ;;
1848 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1849 ac_prev=pdfdir ;;
1850 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1851 pdfdir=$ac_optarg ;;
1853 -psdir | --psdir | --psdi | --psd | --ps)
1854 ac_prev=psdir ;;
1855 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1856 psdir=$ac_optarg ;;
1858 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1859 | -silent | --silent | --silen | --sile | --sil)
1860 silent=yes ;;
1862 -runstatedir | --runstatedir | --runstatedi | --runstated \
1863 | --runstate | --runstat | --runsta | --runst | --runs \
1864 | --run | --ru | --r)
1865 ac_prev=runstatedir ;;
1866 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1867 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1868 | --run=* | --ru=* | --r=*)
1869 runstatedir=$ac_optarg ;;
1871 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1872 ac_prev=sbindir ;;
1873 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1874 | --sbi=* | --sb=*)
1875 sbindir=$ac_optarg ;;
1877 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1878 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1879 | --sharedst | --shareds | --shared | --share | --shar \
1880 | --sha | --sh)
1881 ac_prev=sharedstatedir ;;
1882 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1883 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1884 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1885 | --sha=* | --sh=*)
1886 sharedstatedir=$ac_optarg ;;
1888 -site | --site | --sit)
1889 ac_prev=site ;;
1890 -site=* | --site=* | --sit=*)
1891 site=$ac_optarg ;;
1893 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1894 ac_prev=srcdir ;;
1895 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1896 srcdir=$ac_optarg ;;
1898 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1899 | --syscon | --sysco | --sysc | --sys | --sy)
1900 ac_prev=sysconfdir ;;
1901 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1902 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1903 sysconfdir=$ac_optarg ;;
1905 -target | --target | --targe | --targ | --tar | --ta | --t)
1906 ac_prev=target_alias ;;
1907 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1908 target_alias=$ac_optarg ;;
1910 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1911 verbose=yes ;;
1913 -version | --version | --versio | --versi | --vers | -V)
1914 ac_init_version=: ;;
1916 -with-* | --with-*)
1917 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1918 # Reject names that are not valid shell variable names.
1919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1920 as_fn_error $? "invalid package name: $ac_useropt"
1921 ac_useropt_orig=$ac_useropt
1922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1923 case $ac_user_opts in
1925 "with_$ac_useropt"
1926 "*) ;;
1927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1928 ac_unrecognized_sep=', ';;
1929 esac
1930 eval with_$ac_useropt=\$ac_optarg ;;
1932 -without-* | --without-*)
1933 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1934 # Reject names that are not valid shell variable names.
1935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1936 as_fn_error $? "invalid package name: $ac_useropt"
1937 ac_useropt_orig=$ac_useropt
1938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1939 case $ac_user_opts in
1941 "with_$ac_useropt"
1942 "*) ;;
1943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1944 ac_unrecognized_sep=', ';;
1945 esac
1946 eval with_$ac_useropt=no ;;
1948 --x)
1949 # Obsolete; use --with-x.
1950 with_x=yes ;;
1952 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1953 | --x-incl | --x-inc | --x-in | --x-i)
1954 ac_prev=x_includes ;;
1955 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1956 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1957 x_includes=$ac_optarg ;;
1959 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1960 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1961 ac_prev=x_libraries ;;
1962 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1963 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1964 x_libraries=$ac_optarg ;;
1966 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1967 Try \`$0 --help' for more information"
1970 *=*)
1971 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1972 # Reject names that are not valid shell variable names.
1973 case $ac_envvar in #(
1974 '' | [0-9]* | *[!_$as_cr_alnum]* )
1975 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1976 esac
1977 eval $ac_envvar=\$ac_optarg
1978 export $ac_envvar ;;
1981 # FIXME: should be removed in autoconf 3.0.
1982 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1983 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1984 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1985 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1988 esac
1989 done
1991 if test -n "$ac_prev"; then
1992 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1993 as_fn_error $? "missing argument to $ac_option"
1996 if test -n "$ac_unrecognized_opts"; then
1997 case $enable_option_checking in
1998 no) ;;
1999 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2000 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2001 esac
2004 # Check all directory arguments for consistency.
2005 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2006 datadir sysconfdir sharedstatedir localstatedir includedir \
2007 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2008 libdir localedir mandir runstatedir
2010 eval ac_val=\$$ac_var
2011 # Remove trailing slashes.
2012 case $ac_val in
2013 */ )
2014 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2015 eval $ac_var=\$ac_val;;
2016 esac
2017 # Be sure to have absolute directory names.
2018 case $ac_val in
2019 [\\/$]* | ?:[\\/]* ) continue;;
2020 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2021 esac
2022 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2023 done
2025 # There might be people who depend on the old broken behavior: `$host'
2026 # used to hold the argument of --host etc.
2027 # FIXME: To remove some day.
2028 build=$build_alias
2029 host=$host_alias
2030 target=$target_alias
2032 # FIXME: To remove some day.
2033 if test "x$host_alias" != x; then
2034 if test "x$build_alias" = x; then
2035 cross_compiling=maybe
2036 elif test "x$build_alias" != "x$host_alias"; then
2037 cross_compiling=yes
2041 ac_tool_prefix=
2042 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2044 test "$silent" = yes && exec 6>/dev/null
2047 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2048 ac_ls_di=`ls -di .` &&
2049 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2050 as_fn_error $? "working directory cannot be determined"
2051 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2052 as_fn_error $? "pwd does not report name of working directory"
2055 # Find the source files, if location was not specified.
2056 if test -z "$srcdir"; then
2057 ac_srcdir_defaulted=yes
2058 # Try the directory containing this script, then the parent directory.
2059 ac_confdir=`$as_dirname -- "$as_myself" ||
2060 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2061 X"$as_myself" : 'X\(//\)[^/]' \| \
2062 X"$as_myself" : 'X\(//\)$' \| \
2063 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2064 $as_echo X"$as_myself" |
2065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2066 s//\1/
2069 /^X\(\/\/\)[^/].*/{
2070 s//\1/
2073 /^X\(\/\/\)$/{
2074 s//\1/
2077 /^X\(\/\).*/{
2078 s//\1/
2081 s/.*/./; q'`
2082 srcdir=$ac_confdir
2083 if test ! -r "$srcdir/$ac_unique_file"; then
2084 srcdir=..
2086 else
2087 ac_srcdir_defaulted=no
2089 if test ! -r "$srcdir/$ac_unique_file"; then
2090 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2091 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2093 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2094 ac_abs_confdir=`(
2095 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2096 pwd)`
2097 # When building in place, set srcdir=.
2098 if test "$ac_abs_confdir" = "$ac_pwd"; then
2099 srcdir=.
2101 # Remove unnecessary trailing slashes from srcdir.
2102 # Double slashes in file names in object file debugging info
2103 # mess up M-x gdb in Emacs.
2104 case $srcdir in
2105 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2106 esac
2107 for ac_var in $ac_precious_vars; do
2108 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2109 eval ac_env_${ac_var}_value=\$${ac_var}
2110 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2111 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2112 done
2115 # Report the --help message.
2117 if test "$ac_init_help" = "long"; then
2118 # Omit some internal or obsolete options to make the list less imposing.
2119 # This message is too long to be a string in the A/UX 3.1 sh.
2120 cat <<_ACEOF
2121 \`configure' configures Wine 1.9.3 to adapt to many kinds of systems.
2123 Usage: $0 [OPTION]... [VAR=VALUE]...
2125 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2126 VAR=VALUE. See below for descriptions of some of the useful variables.
2128 Defaults for the options are specified in brackets.
2130 Configuration:
2131 -h, --help display this help and exit
2132 --help=short display options specific to this package
2133 --help=recursive display the short help of all the included packages
2134 -V, --version display version information and exit
2135 -q, --quiet, --silent do not print \`checking ...' messages
2136 --cache-file=FILE cache test results in FILE [disabled]
2137 -C, --config-cache alias for \`--cache-file=config.cache'
2138 -n, --no-create do not create output files
2139 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2141 Installation directories:
2142 --prefix=PREFIX install architecture-independent files in PREFIX
2143 [$ac_default_prefix]
2144 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2145 [PREFIX]
2147 By default, \`make install' will install all the files in
2148 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2149 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2150 for instance \`--prefix=\$HOME'.
2152 For better control, use the options below.
2154 Fine tuning of the installation directories:
2155 --bindir=DIR user executables [EPREFIX/bin]
2156 --sbindir=DIR system admin executables [EPREFIX/sbin]
2157 --libexecdir=DIR program executables [EPREFIX/libexec]
2158 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2159 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2160 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2161 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2162 --libdir=DIR object code libraries [EPREFIX/lib]
2163 --includedir=DIR C header files [PREFIX/include]
2164 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2165 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2166 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2167 --infodir=DIR info documentation [DATAROOTDIR/info]
2168 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2169 --mandir=DIR man documentation [DATAROOTDIR/man]
2170 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2171 --htmldir=DIR html documentation [DOCDIR]
2172 --dvidir=DIR dvi documentation [DOCDIR]
2173 --pdfdir=DIR pdf documentation [DOCDIR]
2174 --psdir=DIR ps documentation [DOCDIR]
2175 _ACEOF
2177 cat <<\_ACEOF
2179 X features:
2180 --x-includes=DIR X include files are in DIR
2181 --x-libraries=DIR X library files are in DIR
2183 System types:
2184 --build=BUILD configure for building on BUILD [guessed]
2185 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2186 _ACEOF
2189 if test -n "$ac_init_help"; then
2190 case $ac_init_help in
2191 short | recursive ) echo "Configuration of Wine 1.9.3:";;
2192 esac
2193 cat <<\_ACEOF
2195 Optional Features:
2196 --disable-option-checking ignore unrecognized --enable/--with options
2197 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2198 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2199 --disable-win16 do not include Win16 support
2200 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2201 binaries)
2202 --disable-tests do not build the regression tests
2203 --enable-maintainer-mode
2204 enable maintainer-specific build rules
2205 --disable-largefile omit support for large files
2207 Optional Packages:
2208 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2209 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2210 --without-alsa do not use the Alsa sound support
2211 --without-capi do not use CAPI (ISDN support)
2212 --without-cms do not use CMS (color management support)
2213 --without-coreaudio do not use the CoreAudio sound support
2214 --without-cups do not use CUPS
2215 --without-curses do not use (n)curses
2216 --without-dbus do not use DBus (dynamic device support)
2217 --without-fontconfig do not use fontconfig
2218 --without-freetype do not use the FreeType library
2219 --without-gettext do not use gettext
2220 --with-gettextpo use the GetTextPO library to rebuild po files
2221 --without-gphoto do not use gphoto (Digital Camera support)
2222 --without-glu do not use the GLU library
2223 --without-gnutls do not use GnuTLS (schannel support)
2224 --without-gsm do not use libgsm (GSM 06.10 codec support)
2225 --without-gstreamer do not use GStreamer (codecs support)
2226 --without-hal do not use HAL (dynamic device support)
2227 --without-jpeg do not use JPEG
2228 --without-ldap do not use LDAP
2229 --without-mpg123 do not use the mpg123 library
2230 --without-netapi do not use the Samba NetAPI library
2231 --without-openal do not use OpenAL
2232 --without-opencl do not use OpenCL
2233 --without-opengl do not use OpenGL
2234 --without-osmesa do not use the OSMesa library
2235 --without-oss do not use the OSS sound support
2236 --without-pcap do not use the Packet Capture library
2237 --without-png do not use PNG
2238 --without-pthread do not use the pthread library
2239 --without-pulse do not use PulseAudio sound support
2240 --without-sane do not use SANE (scanner support)
2241 --without-tiff do not use TIFF
2242 --without-v4l do not use v4l1 (v4l support)
2243 --without-xcomposite do not use the Xcomposite extension
2244 --without-xcursor do not use the Xcursor extension
2245 --without-xinerama do not use Xinerama (multi-monitor support)
2246 --without-xinput do not use the Xinput extension
2247 --without-xinput2 do not use the Xinput 2 extension
2248 --without-xml do not use XML
2249 --without-xrandr do not use Xrandr (resolution changes)
2250 --without-xrender do not use the Xrender extension
2251 --without-xshape do not use the Xshape extension
2252 --without-xshm do not use XShm (shared memory extension)
2253 --without-xslt do not use XSLT
2254 --without-xxf86vm do not use XFree video mode extension
2255 --without-zlib do not use Zlib (data compression)
2256 --with-wine-tools=DIR use Wine tools from directory DIR
2257 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2258 --with-x use the X Window System
2260 Some influential environment variables:
2261 CC C compiler command
2262 CFLAGS C compiler flags
2263 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2264 nonstandard directory <lib dir>
2265 LIBS libraries to pass to the linker, e.g. -l<library>
2266 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2267 you have headers in a nonstandard directory <include dir>
2268 CXX C++ compiler command
2269 CXXFLAGS C++ compiler flags
2270 CPP C preprocessor
2271 XMKMF Path to xmkmf, Makefile generator for X Window System
2272 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2273 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2274 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2275 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2276 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2277 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2278 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2279 HAL_LIBS Linker flags for hal, overriding pkg-config
2280 GNUTLS_CFLAGS
2281 C compiler flags for gnutls, overriding pkg-config
2282 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2283 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2284 SANE_LIBS Linker flags for libsane, overriding pkg-config
2285 GPHOTO2_CFLAGS
2286 C compiler flags for libgphoto2, overriding pkg-config
2287 GPHOTO2_LIBS
2288 Linker flags for libgphoto2, overriding pkg-config
2289 GPHOTO2_PORT_CFLAGS
2290 C compiler flags for libgphoto2_port, overriding pkg-config
2291 GPHOTO2_PORT_LIBS
2292 Linker flags for libgphoto2_port, overriding pkg-config
2293 LCMS2_CFLAGS
2294 C compiler flags for lcms2, overriding pkg-config
2295 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2296 FREETYPE_CFLAGS
2297 C compiler flags for freetype2, overriding pkg-config
2298 FREETYPE_LIBS
2299 Linker flags for freetype2, overriding pkg-config
2300 PULSE_CFLAGS
2301 C compiler flags for libpulse, overriding pkg-config
2302 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2303 GSTREAMER_CFLAGS
2304 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2305 gstreamer-audio-1.0, overriding pkg-config
2306 GSTREAMER_LIBS
2307 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2308 gstreamer-audio-1.0, overriding pkg-config
2309 CAPI20_CFLAGS
2310 C compiler flags for capi20, overriding pkg-config
2311 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2312 FONTCONFIG_CFLAGS
2313 C compiler flags for fontconfig, overriding pkg-config
2314 FONTCONFIG_LIBS
2315 Linker flags for fontconfig, overriding pkg-config
2316 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2317 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2318 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2319 PNG_LIBS Linker flags for libpng, overriding pkg-config
2320 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2321 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2322 MPG123_CFLAGS
2323 C compiler flags for libmpg123, overriding pkg-config
2324 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2326 Use these variables to override the choices made by `configure' or to help
2327 it to find libraries and programs with nonstandard names/locations.
2329 Report bugs to <wine-devel@winehq.org>.
2330 Wine home page: <http://www.winehq.org>.
2331 _ACEOF
2332 ac_status=$?
2335 if test "$ac_init_help" = "recursive"; then
2336 # If there are subdirs, report their specific --help.
2337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2338 test -d "$ac_dir" ||
2339 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2340 continue
2341 ac_builddir=.
2343 case "$ac_dir" in
2344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2346 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2347 # A ".." for each directory in $ac_dir_suffix.
2348 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2349 case $ac_top_builddir_sub in
2350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2352 esac ;;
2353 esac
2354 ac_abs_top_builddir=$ac_pwd
2355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2356 # for backward compatibility:
2357 ac_top_builddir=$ac_top_build_prefix
2359 case $srcdir in
2360 .) # We are building in place.
2361 ac_srcdir=.
2362 ac_top_srcdir=$ac_top_builddir_sub
2363 ac_abs_top_srcdir=$ac_pwd ;;
2364 [\\/]* | ?:[\\/]* ) # Absolute name.
2365 ac_srcdir=$srcdir$ac_dir_suffix;
2366 ac_top_srcdir=$srcdir
2367 ac_abs_top_srcdir=$srcdir ;;
2368 *) # Relative name.
2369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2370 ac_top_srcdir=$ac_top_build_prefix$srcdir
2371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2372 esac
2373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2375 cd "$ac_dir" || { ac_status=$?; continue; }
2376 # Check for guested configure.
2377 if test -f "$ac_srcdir/configure.gnu"; then
2378 echo &&
2379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2380 elif test -f "$ac_srcdir/configure"; then
2381 echo &&
2382 $SHELL "$ac_srcdir/configure" --help=recursive
2383 else
2384 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2385 fi || ac_status=$?
2386 cd "$ac_pwd" || { ac_status=$?; break; }
2387 done
2390 test -n "$ac_init_help" && exit $ac_status
2391 if $ac_init_version; then
2392 cat <<\_ACEOF
2393 Wine configure 1.9.3
2394 generated by GNU Autoconf 2.69
2396 Copyright (C) 2012 Free Software Foundation, Inc.
2397 This configure script is free software; the Free Software Foundation
2398 gives unlimited permission to copy, distribute and modify it.
2399 _ACEOF
2400 exit
2403 ## ------------------------ ##
2404 ## Autoconf initialization. ##
2405 ## ------------------------ ##
2407 # ac_fn_c_try_compile LINENO
2408 # --------------------------
2409 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2410 ac_fn_c_try_compile ()
2412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2413 rm -f conftest.$ac_objext
2414 if { { ac_try="$ac_compile"
2415 case "(($ac_try" in
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2418 esac
2419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2420 $as_echo "$ac_try_echo"; } >&5
2421 (eval "$ac_compile") 2>conftest.err
2422 ac_status=$?
2423 if test -s conftest.err; then
2424 grep -v '^ *+' conftest.err >conftest.er1
2425 cat conftest.er1 >&5
2426 mv -f conftest.er1 conftest.err
2428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2429 test $ac_status = 0; } && {
2430 test -z "$ac_c_werror_flag" ||
2431 test ! -s conftest.err
2432 } && test -s conftest.$ac_objext; then :
2433 ac_retval=0
2434 else
2435 $as_echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.$ac_ext >&5
2438 ac_retval=1
2440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441 as_fn_set_status $ac_retval
2443 } # ac_fn_c_try_compile
2445 # ac_fn_cxx_try_compile LINENO
2446 # ----------------------------
2447 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2448 ac_fn_cxx_try_compile ()
2450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2451 rm -f conftest.$ac_objext
2452 if { { ac_try="$ac_compile"
2453 case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456 esac
2457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2458 $as_echo "$ac_try_echo"; } >&5
2459 (eval "$ac_compile") 2>conftest.err
2460 ac_status=$?
2461 if test -s conftest.err; then
2462 grep -v '^ *+' conftest.err >conftest.er1
2463 cat conftest.er1 >&5
2464 mv -f conftest.er1 conftest.err
2466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2467 test $ac_status = 0; } && {
2468 test -z "$ac_cxx_werror_flag" ||
2469 test ! -s conftest.err
2470 } && test -s conftest.$ac_objext; then :
2471 ac_retval=0
2472 else
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 ac_retval=1
2478 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2479 as_fn_set_status $ac_retval
2481 } # ac_fn_cxx_try_compile
2483 # ac_fn_c_try_link LINENO
2484 # -----------------------
2485 # Try to link conftest.$ac_ext, and return whether this succeeded.
2486 ac_fn_c_try_link ()
2488 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2489 rm -f conftest.$ac_objext conftest$ac_exeext
2490 if { { ac_try="$ac_link"
2491 case "(($ac_try" in
2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493 *) ac_try_echo=$ac_try;;
2494 esac
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496 $as_echo "$ac_try_echo"; } >&5
2497 (eval "$ac_link") 2>conftest.err
2498 ac_status=$?
2499 if test -s conftest.err; then
2500 grep -v '^ *+' conftest.err >conftest.er1
2501 cat conftest.er1 >&5
2502 mv -f conftest.er1 conftest.err
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; } && {
2506 test -z "$ac_c_werror_flag" ||
2507 test ! -s conftest.err
2508 } && test -s conftest$ac_exeext && {
2509 test "$cross_compiling" = yes ||
2510 test -x conftest$ac_exeext
2511 }; then :
2512 ac_retval=0
2513 else
2514 $as_echo "$as_me: failed program was:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2517 ac_retval=1
2519 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2520 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2521 # interfere with the next link command; also delete a directory that is
2522 # left behind by Apple's compiler. We do this before executing the actions.
2523 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2525 as_fn_set_status $ac_retval
2527 } # ac_fn_c_try_link
2529 # ac_fn_c_try_cpp LINENO
2530 # ----------------------
2531 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2532 ac_fn_c_try_cpp ()
2534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2535 if { { ac_try="$ac_cpp conftest.$ac_ext"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2543 ac_status=$?
2544 if test -s conftest.err; then
2545 grep -v '^ *+' conftest.err >conftest.er1
2546 cat conftest.er1 >&5
2547 mv -f conftest.er1 conftest.err
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } > conftest.i && {
2551 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2552 test ! -s conftest.err
2553 }; then :
2554 ac_retval=0
2555 else
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2559 ac_retval=1
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2564 } # ac_fn_c_try_cpp
2566 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2567 # -------------------------------------------------------
2568 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2569 # the include files in INCLUDES and setting the cache variable VAR
2570 # accordingly.
2571 ac_fn_c_check_header_mongrel ()
2573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2574 if eval \${$3+:} false; then :
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2576 $as_echo_n "checking for $2... " >&6; }
2577 if eval \${$3+:} false; then :
2578 $as_echo_n "(cached) " >&6
2580 eval ac_res=\$$3
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2582 $as_echo "$ac_res" >&6; }
2583 else
2584 # Is the header compilable?
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2586 $as_echo_n "checking $2 usability... " >&6; }
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2590 #include <$2>
2591 _ACEOF
2592 if ac_fn_c_try_compile "$LINENO"; then :
2593 ac_header_compiler=yes
2594 else
2595 ac_header_compiler=no
2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2599 $as_echo "$ac_header_compiler" >&6; }
2601 # Is the header present?
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2603 $as_echo_n "checking $2 presence... " >&6; }
2604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2605 /* end confdefs.h. */
2606 #include <$2>
2607 _ACEOF
2608 if ac_fn_c_try_cpp "$LINENO"; then :
2609 ac_header_preproc=yes
2610 else
2611 ac_header_preproc=no
2613 rm -f conftest.err conftest.i conftest.$ac_ext
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2615 $as_echo "$ac_header_preproc" >&6; }
2617 # So? What about this header?
2618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2619 yes:no: )
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2621 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2623 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2625 no:yes:* )
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2627 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2629 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2631 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2633 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2635 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2636 ( $as_echo "## ------------------------------------ ##
2637 ## Report this to wine-devel@winehq.org ##
2638 ## ------------------------------------ ##"
2639 ) | sed "s/^/$as_me: WARNING: /" >&2
2641 esac
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2643 $as_echo_n "checking for $2... " >&6; }
2644 if eval \${$3+:} false; then :
2645 $as_echo_n "(cached) " >&6
2646 else
2647 eval "$3=\$ac_header_compiler"
2649 eval ac_res=\$$3
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2651 $as_echo "$ac_res" >&6; }
2653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2655 } # ac_fn_c_check_header_mongrel
2657 # ac_fn_c_try_run LINENO
2658 # ----------------------
2659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2660 # that executables *can* be run.
2661 ac_fn_c_try_run ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 if { { ac_try="$ac_link"
2665 case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>&5
2672 ac_status=$?
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2675 { { case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2680 $as_echo "$ac_try_echo"; } >&5
2681 (eval "$ac_try") 2>&5
2682 ac_status=$?
2683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2684 test $ac_status = 0; }; }; then :
2685 ac_retval=0
2686 else
2687 $as_echo "$as_me: program exited with status $ac_status" >&5
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2691 ac_retval=$ac_status
2693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2695 as_fn_set_status $ac_retval
2697 } # ac_fn_c_try_run
2699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2700 # -------------------------------------------------------
2701 # Tests whether HEADER exists and can be compiled using the include files in
2702 # INCLUDES, setting the cache variable VAR accordingly.
2703 ac_fn_c_check_header_compile ()
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2707 $as_echo_n "checking for $2... " >&6; }
2708 if eval \${$3+:} false; then :
2709 $as_echo_n "(cached) " >&6
2710 else
2711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2712 /* end confdefs.h. */
2714 #include <$2>
2715 _ACEOF
2716 if ac_fn_c_try_compile "$LINENO"; then :
2717 eval "$3=yes"
2718 else
2719 eval "$3=no"
2721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2723 eval ac_res=\$$3
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2725 $as_echo "$ac_res" >&6; }
2726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2728 } # ac_fn_c_check_header_compile
2730 # ac_fn_c_check_func LINENO FUNC VAR
2731 # ----------------------------------
2732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2733 ac_fn_c_check_func ()
2735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2737 $as_echo_n "checking for $2... " >&6; }
2738 if eval \${$3+:} false; then :
2739 $as_echo_n "(cached) " >&6
2740 else
2741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742 /* end confdefs.h. */
2743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2745 #define $2 innocuous_$2
2747 /* System header to define __stub macros and hopefully few prototypes,
2748 which can conflict with char $2 (); below.
2749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2750 <limits.h> exists even on freestanding compilers. */
2752 #ifdef __STDC__
2753 # include <limits.h>
2754 #else
2755 # include <assert.h>
2756 #endif
2758 #undef $2
2760 /* Override any GCC internal prototype to avoid an error.
2761 Use char because int might match the return type of a GCC
2762 builtin and then its argument prototype would still apply. */
2763 #ifdef __cplusplus
2764 extern "C"
2765 #endif
2766 char $2 ();
2767 /* The GNU C library defines this for functions which it implements
2768 to always fail with ENOSYS. Some functions are actually named
2769 something starting with __ and the normal name is an alias. */
2770 #if defined __stub_$2 || defined __stub___$2
2771 choke me
2772 #endif
2775 main ()
2777 return $2 ();
2779 return 0;
2781 _ACEOF
2782 if ac_fn_c_try_link "$LINENO"; then :
2783 eval "$3=yes"
2784 else
2785 eval "$3=no"
2787 rm -f core conftest.err conftest.$ac_objext \
2788 conftest$ac_exeext conftest.$ac_ext
2790 eval ac_res=\$$3
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2792 $as_echo "$ac_res" >&6; }
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2795 } # ac_fn_c_check_func
2797 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2798 # ----------------------------------------------------
2799 # Tries to find if the field MEMBER exists in type AGGR, after including
2800 # INCLUDES, setting cache variable VAR accordingly.
2801 ac_fn_c_check_member ()
2803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2805 $as_echo_n "checking for $2.$3... " >&6; }
2806 if eval \${$4+:} false; then :
2807 $as_echo_n "(cached) " >&6
2808 else
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2813 main ()
2815 static $2 ac_aggr;
2816 if (ac_aggr.$3)
2817 return 0;
2819 return 0;
2821 _ACEOF
2822 if ac_fn_c_try_compile "$LINENO"; then :
2823 eval "$4=yes"
2824 else
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2829 main ()
2831 static $2 ac_aggr;
2832 if (sizeof ac_aggr.$3)
2833 return 0;
2835 return 0;
2837 _ACEOF
2838 if ac_fn_c_try_compile "$LINENO"; then :
2839 eval "$4=yes"
2840 else
2841 eval "$4=no"
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 eval ac_res=\$$4
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2849 $as_echo "$ac_res" >&6; }
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2852 } # ac_fn_c_check_member
2854 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2855 # -------------------------------------------
2856 # Tests whether TYPE exists after having included INCLUDES, setting cache
2857 # variable VAR accordingly.
2858 ac_fn_c_check_type ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2862 $as_echo_n "checking for $2... " >&6; }
2863 if eval \${$3+:} false; then :
2864 $as_echo_n "(cached) " >&6
2865 else
2866 eval "$3=no"
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2871 main ()
2873 if (sizeof ($2))
2874 return 0;
2876 return 0;
2878 _ACEOF
2879 if ac_fn_c_try_compile "$LINENO"; then :
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2884 main ()
2886 if (sizeof (($2)))
2887 return 0;
2889 return 0;
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2894 else
2895 eval "$3=yes"
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 eval ac_res=\$$3
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2903 $as_echo "$ac_res" >&6; }
2904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2906 } # ac_fn_c_check_type
2907 cat >config.log <<_ACEOF
2908 This file contains any messages produced by compilers while
2909 running configure, to aid debugging if configure makes a mistake.
2911 It was created by Wine $as_me 1.9.3, which was
2912 generated by GNU Autoconf 2.69. Invocation command line was
2914 $ $0 $@
2916 _ACEOF
2917 exec 5>>config.log
2919 cat <<_ASUNAME
2920 ## --------- ##
2921 ## Platform. ##
2922 ## --------- ##
2924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2941 _ASUNAME
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2946 IFS=$as_save_IFS
2947 test -z "$as_dir" && as_dir=.
2948 $as_echo "PATH: $as_dir"
2949 done
2950 IFS=$as_save_IFS
2952 } >&5
2954 cat >&5 <<_ACEOF
2957 ## ----------- ##
2958 ## Core tests. ##
2959 ## ----------- ##
2961 _ACEOF
2964 # Keep a trace of the command line.
2965 # Strip out --no-create and --no-recursion so they do not pile up.
2966 # Strip out --silent because we don't want to record it for future runs.
2967 # Also quote any args containing shell meta-characters.
2968 # Make two passes to allow for proper duplicate-argument suppression.
2969 ac_configure_args=
2970 ac_configure_args0=
2971 ac_configure_args1=
2972 ac_must_keep_next=false
2973 for ac_pass in 1 2
2975 for ac_arg
2977 case $ac_arg in
2978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2980 | -silent | --silent | --silen | --sile | --sil)
2981 continue ;;
2982 *\'*)
2983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2984 esac
2985 case $ac_pass in
2986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2988 as_fn_append ac_configure_args1 " '$ac_arg'"
2989 if test $ac_must_keep_next = true; then
2990 ac_must_keep_next=false # Got value, back to normal.
2991 else
2992 case $ac_arg in
2993 *=* | --config-cache | -C | -disable-* | --disable-* \
2994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2996 | -with-* | --with-* | -without-* | --without-* | --x)
2997 case "$ac_configure_args0 " in
2998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2999 esac
3001 -* ) ac_must_keep_next=true ;;
3002 esac
3004 as_fn_append ac_configure_args " '$ac_arg'"
3006 esac
3007 done
3008 done
3009 { ac_configure_args0=; unset ac_configure_args0;}
3010 { ac_configure_args1=; unset ac_configure_args1;}
3012 # When interrupted or exit'd, cleanup temporary files, and complete
3013 # config.log. We remove comments because anyway the quotes in there
3014 # would cause problems or look ugly.
3015 # WARNING: Use '\'' to represent an apostrophe within the trap.
3016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3017 trap 'exit_status=$?
3018 # Save into config.log some information that might help in debugging.
3020 echo
3022 $as_echo "## ---------------- ##
3023 ## Cache variables. ##
3024 ## ---------------- ##"
3025 echo
3026 # The following way of writing the cache mishandles newlines in values,
3028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3029 eval ac_val=\$$ac_var
3030 case $ac_val in #(
3031 *${as_nl}*)
3032 case $ac_var in #(
3033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3035 esac
3036 case $ac_var in #(
3037 _ | IFS | as_nl) ;; #(
3038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3039 *) { eval $ac_var=; unset $ac_var;} ;;
3040 esac ;;
3041 esac
3042 done
3043 (set) 2>&1 |
3044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3045 *${as_nl}ac_space=\ *)
3046 sed -n \
3047 "s/'\''/'\''\\\\'\'''\''/g;
3048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3049 ;; #(
3051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3053 esac |
3054 sort
3056 echo
3058 $as_echo "## ----------------- ##
3059 ## Output variables. ##
3060 ## ----------------- ##"
3061 echo
3062 for ac_var in $ac_subst_vars
3064 eval ac_val=\$$ac_var
3065 case $ac_val in
3066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3067 esac
3068 $as_echo "$ac_var='\''$ac_val'\''"
3069 done | sort
3070 echo
3072 if test -n "$ac_subst_files"; then
3073 $as_echo "## ------------------- ##
3074 ## File substitutions. ##
3075 ## ------------------- ##"
3076 echo
3077 for ac_var in $ac_subst_files
3079 eval ac_val=\$$ac_var
3080 case $ac_val in
3081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3082 esac
3083 $as_echo "$ac_var='\''$ac_val'\''"
3084 done | sort
3085 echo
3088 if test -s confdefs.h; then
3089 $as_echo "## ----------- ##
3090 ## confdefs.h. ##
3091 ## ----------- ##"
3092 echo
3093 cat confdefs.h
3094 echo
3096 test "$ac_signal" != 0 &&
3097 $as_echo "$as_me: caught signal $ac_signal"
3098 $as_echo "$as_me: exit $exit_status"
3099 } >&5
3100 rm -f core *.core core.conftest.* &&
3101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3102 exit $exit_status
3104 for ac_signal in 1 2 13 15; do
3105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3106 done
3107 ac_signal=0
3109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3110 rm -f -r conftest* confdefs.h
3112 $as_echo "/* confdefs.h */" > confdefs.h
3114 # Predefined preprocessor variables.
3116 cat >>confdefs.h <<_ACEOF
3117 #define PACKAGE_NAME "$PACKAGE_NAME"
3118 _ACEOF
3120 cat >>confdefs.h <<_ACEOF
3121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3122 _ACEOF
3124 cat >>confdefs.h <<_ACEOF
3125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3126 _ACEOF
3128 cat >>confdefs.h <<_ACEOF
3129 #define PACKAGE_STRING "$PACKAGE_STRING"
3130 _ACEOF
3132 cat >>confdefs.h <<_ACEOF
3133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3134 _ACEOF
3136 cat >>confdefs.h <<_ACEOF
3137 #define PACKAGE_URL "$PACKAGE_URL"
3138 _ACEOF
3141 # Let the site file select an alternate cache file if it wants to.
3142 # Prefer an explicitly selected file to automatically selected ones.
3143 ac_site_file1=NONE
3144 ac_site_file2=NONE
3145 if test -n "$CONFIG_SITE"; then
3146 # We do not want a PATH search for config.site.
3147 case $CONFIG_SITE in #((
3148 -*) ac_site_file1=./$CONFIG_SITE;;
3149 */*) ac_site_file1=$CONFIG_SITE;;
3150 *) ac_site_file1=./$CONFIG_SITE;;
3151 esac
3152 elif test "x$prefix" != xNONE; then
3153 ac_site_file1=$prefix/share/config.site
3154 ac_site_file2=$prefix/etc/config.site
3155 else
3156 ac_site_file1=$ac_default_prefix/share/config.site
3157 ac_site_file2=$ac_default_prefix/etc/config.site
3159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3161 test "x$ac_site_file" = xNONE && continue
3162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3165 sed 's/^/| /' "$ac_site_file" >&5
3166 . "$ac_site_file" \
3167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169 as_fn_error $? "failed to load site script $ac_site_file
3170 See \`config.log' for more details" "$LINENO" 5; }
3172 done
3174 if test -r "$cache_file"; then
3175 # Some versions of bash will fail to source /dev/null (special files
3176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3179 $as_echo "$as_me: loading cache $cache_file" >&6;}
3180 case $cache_file in
3181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3182 *) . "./$cache_file";;
3183 esac
3185 else
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3187 $as_echo "$as_me: creating cache $cache_file" >&6;}
3188 >$cache_file
3191 # Check that the precious variables saved in the cache have kept the same
3192 # value.
3193 ac_cache_corrupted=false
3194 for ac_var in $ac_precious_vars; do
3195 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3196 eval ac_new_set=\$ac_env_${ac_var}_set
3197 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3198 eval ac_new_val=\$ac_env_${ac_var}_value
3199 case $ac_old_set,$ac_new_set in
3200 set,)
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3203 ac_cache_corrupted=: ;;
3204 ,set)
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3207 ac_cache_corrupted=: ;;
3208 ,);;
3210 if test "x$ac_old_val" != "x$ac_new_val"; then
3211 # differences in whitespace do not lead to failure.
3212 ac_old_val_w=`echo x $ac_old_val`
3213 ac_new_val_w=`echo x $ac_new_val`
3214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3217 ac_cache_corrupted=:
3218 else
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3221 eval $ac_var=\$ac_old_val
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3227 fi;;
3228 esac
3229 # Pass precious variables to config.status.
3230 if test "$ac_new_set" = set; then
3231 case $ac_new_val in
3232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3233 *) ac_arg=$ac_var=$ac_new_val ;;
3234 esac
3235 case " $ac_configure_args " in
3236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3237 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3238 esac
3240 done
3241 if $ac_cache_corrupted; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3248 ## -------------------- ##
3249 ## Main body of script. ##
3250 ## -------------------- ##
3252 ac_ext=c
3253 ac_cpp='$CPP $CPPFLAGS'
3254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3260 ac_config_headers="$ac_config_headers include/config.h"
3262 ac_aux_dir=
3263 for ac_dir in tools "$srcdir"/tools; do
3264 if test -f "$ac_dir/install-sh"; then
3265 ac_aux_dir=$ac_dir
3266 ac_install_sh="$ac_aux_dir/install-sh -c"
3267 break
3268 elif test -f "$ac_dir/install.sh"; then
3269 ac_aux_dir=$ac_dir
3270 ac_install_sh="$ac_aux_dir/install.sh -c"
3271 break
3272 elif test -f "$ac_dir/shtool"; then
3273 ac_aux_dir=$ac_dir
3274 ac_install_sh="$ac_aux_dir/shtool install -c"
3275 break
3277 done
3278 if test -z "$ac_aux_dir"; then
3279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3282 # These three variables are undocumented and unsupported,
3283 # and are intended to be withdrawn in a future Autoconf release.
3284 # They can cause serious problems if a builder's source tree is in a directory
3285 # whose full name contains unusual characters.
3286 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3287 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3288 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3292 libwine_version="1.0"
3296 # Check whether --enable-win16 was given.
3297 if test "${enable_win16+set}" = set; then :
3298 enableval=$enable_win16;
3301 # Check whether --enable-win64 was given.
3302 if test "${enable_win64+set}" = set; then :
3303 enableval=$enable_win64;
3306 # Check whether --enable-tests was given.
3307 if test "${enable_tests+set}" = set; then :
3308 enableval=$enable_tests;
3311 # Check whether --enable-maintainer-mode was given.
3312 if test "${enable_maintainer_mode+set}" = set; then :
3313 enableval=$enable_maintainer_mode;
3318 # Check whether --with-alsa was given.
3319 if test "${with_alsa+set}" = set; then :
3320 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3324 # Check whether --with-capi was given.
3325 if test "${with_capi+set}" = set; then :
3326 withval=$with_capi;
3330 # Check whether --with-cms was given.
3331 if test "${with_cms+set}" = set; then :
3332 withval=$with_cms;
3336 # Check whether --with-coreaudio was given.
3337 if test "${with_coreaudio+set}" = set; then :
3338 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3342 # Check whether --with-cups was given.
3343 if test "${with_cups+set}" = set; then :
3344 withval=$with_cups;
3348 # Check whether --with-curses was given.
3349 if test "${with_curses+set}" = set; then :
3350 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3354 # Check whether --with-dbus was given.
3355 if test "${with_dbus+set}" = set; then :
3356 withval=$with_dbus;
3360 # Check whether --with-fontconfig was given.
3361 if test "${with_fontconfig+set}" = set; then :
3362 withval=$with_fontconfig;
3366 # Check whether --with-freetype was given.
3367 if test "${with_freetype+set}" = set; then :
3368 withval=$with_freetype;
3372 # Check whether --with-gettext was given.
3373 if test "${with_gettext+set}" = set; then :
3374 withval=$with_gettext;
3378 # Check whether --with-gettextpo was given.
3379 if test "${with_gettextpo+set}" = set; then :
3380 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3384 # Check whether --with-gphoto was given.
3385 if test "${with_gphoto+set}" = set; then :
3386 withval=$with_gphoto;
3390 # Check whether --with-glu was given.
3391 if test "${with_glu+set}" = set; then :
3392 withval=$with_glu;
3396 # Check whether --with-gnutls was given.
3397 if test "${with_gnutls+set}" = set; then :
3398 withval=$with_gnutls;
3402 # Check whether --with-gsm was given.
3403 if test "${with_gsm+set}" = set; then :
3404 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3408 # Check whether --with-gstreamer was given.
3409 if test "${with_gstreamer+set}" = set; then :
3410 withval=$with_gstreamer;
3414 # Check whether --with-hal was given.
3415 if test "${with_hal+set}" = set; then :
3416 withval=$with_hal;
3420 # Check whether --with-jpeg was given.
3421 if test "${with_jpeg+set}" = set; then :
3422 withval=$with_jpeg;
3426 # Check whether --with-ldap was given.
3427 if test "${with_ldap+set}" = set; then :
3428 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3432 # Check whether --with-mpg123 was given.
3433 if test "${with_mpg123+set}" = set; then :
3434 withval=$with_mpg123;
3438 # Check whether --with-netapi was given.
3439 if test "${with_netapi+set}" = set; then :
3440 withval=$with_netapi;
3444 # Check whether --with-openal was given.
3445 if test "${with_openal+set}" = set; then :
3446 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3450 # Check whether --with-opencl was given.
3451 if test "${with_opencl+set}" = set; then :
3452 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3456 # Check whether --with-opengl was given.
3457 if test "${with_opengl+set}" = set; then :
3458 withval=$with_opengl;
3462 # Check whether --with-osmesa was given.
3463 if test "${with_osmesa+set}" = set; then :
3464 withval=$with_osmesa;
3468 # Check whether --with-oss was given.
3469 if test "${with_oss+set}" = set; then :
3470 withval=$with_oss;
3474 # Check whether --with-pcap was given.
3475 if test "${with_pcap+set}" = set; then :
3476 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3480 # Check whether --with-png was given.
3481 if test "${with_png+set}" = set; then :
3482 withval=$with_png;
3486 # Check whether --with-pthread was given.
3487 if test "${with_pthread+set}" = set; then :
3488 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3492 # Check whether --with-pulse was given.
3493 if test "${with_pulse+set}" = set; then :
3494 withval=$with_pulse;
3498 # Check whether --with-sane was given.
3499 if test "${with_sane+set}" = set; then :
3500 withval=$with_sane;
3504 # Check whether --with-tiff was given.
3505 if test "${with_tiff+set}" = set; then :
3506 withval=$with_tiff;
3510 # Check whether --with-v4l was given.
3511 if test "${with_v4l+set}" = set; then :
3512 withval=$with_v4l;
3516 # Check whether --with-xcomposite was given.
3517 if test "${with_xcomposite+set}" = set; then :
3518 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3522 # Check whether --with-xcursor was given.
3523 if test "${with_xcursor+set}" = set; then :
3524 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3528 # Check whether --with-xinerama was given.
3529 if test "${with_xinerama+set}" = set; then :
3530 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3534 # Check whether --with-xinput was given.
3535 if test "${with_xinput+set}" = set; then :
3536 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3540 # Check whether --with-xinput2 was given.
3541 if test "${with_xinput2+set}" = set; then :
3542 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3546 # Check whether --with-xml was given.
3547 if test "${with_xml+set}" = set; then :
3548 withval=$with_xml;
3552 # Check whether --with-xrandr was given.
3553 if test "${with_xrandr+set}" = set; then :
3554 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3558 # Check whether --with-xrender was given.
3559 if test "${with_xrender+set}" = set; then :
3560 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3564 # Check whether --with-xshape was given.
3565 if test "${with_xshape+set}" = set; then :
3566 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3570 # Check whether --with-xshm was given.
3571 if test "${with_xshm+set}" = set; then :
3572 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3576 # Check whether --with-xslt was given.
3577 if test "${with_xslt+set}" = set; then :
3578 withval=$with_xslt;
3582 # Check whether --with-xxf86vm was given.
3583 if test "${with_xxf86vm+set}" = set; then :
3584 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
3588 # Check whether --with-zlib was given.
3589 if test "${with_zlib+set}" = set; then :
3590 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3595 # Check whether --with-wine-tools was given.
3596 if test "${with_wine_tools+set}" = set; then :
3597 withval=$with_wine_tools;
3601 # Check whether --with-wine64 was given.
3602 if test "${with_wine64+set}" = set; then :
3603 withval=$with_wine64;
3607 # Make sure we can run config.sub.
3608 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3609 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3612 $as_echo_n "checking build system type... " >&6; }
3613 if ${ac_cv_build+:} false; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 ac_build_alias=$build_alias
3617 test "x$ac_build_alias" = x &&
3618 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3619 test "x$ac_build_alias" = x &&
3620 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3621 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3622 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3626 $as_echo "$ac_cv_build" >&6; }
3627 case $ac_cv_build in
3628 *-*-*) ;;
3629 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3630 esac
3631 build=$ac_cv_build
3632 ac_save_IFS=$IFS; IFS='-'
3633 set x $ac_cv_build
3634 shift
3635 build_cpu=$1
3636 build_vendor=$2
3637 shift; shift
3638 # Remember, the first character of IFS is used to create $*,
3639 # except with old shells:
3640 build_os=$*
3641 IFS=$ac_save_IFS
3642 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3646 $as_echo_n "checking host system type... " >&6; }
3647 if ${ac_cv_host+:} false; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test "x$host_alias" = x; then
3651 ac_cv_host=$ac_cv_build
3652 else
3653 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3654 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3659 $as_echo "$ac_cv_host" >&6; }
3660 case $ac_cv_host in
3661 *-*-*) ;;
3662 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3663 esac
3664 host=$ac_cv_host
3665 ac_save_IFS=$IFS; IFS='-'
3666 set x $ac_cv_host
3667 shift
3668 host_cpu=$1
3669 host_vendor=$2
3670 shift; shift
3671 # Remember, the first character of IFS is used to create $*,
3672 # except with old shells:
3673 host_os=$*
3674 IFS=$ac_save_IFS
3675 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3679 case "$srcdir" in
3680 .) ;;
3681 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3682 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3683 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3684 fi ;;
3685 esac
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3689 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3690 set x ${MAKE-make}
3691 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3692 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3693 $as_echo_n "(cached) " >&6
3694 else
3695 cat >conftest.make <<\_ACEOF
3696 SHELL = /bin/sh
3697 all:
3698 @echo '@@@%%%=$(MAKE)=@@@%%%'
3699 _ACEOF
3700 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3701 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3702 *@@@%%%=?*=@@@%%%*)
3703 eval ac_cv_prog_make_${ac_make}_set=yes;;
3705 eval ac_cv_prog_make_${ac_make}_set=no;;
3706 esac
3707 rm -f conftest.make
3709 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3711 $as_echo "yes" >&6; }
3712 SET_MAKE=
3713 else
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3716 SET_MAKE="MAKE=${MAKE-make}"
3719 ac_ext=c
3720 ac_cpp='$CPP $CPPFLAGS'
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$ac_cv_prog_CC"; then
3764 ac_ct_CC=$CC
3765 # Extract the first word of "gcc", so it can be a program name with args.
3766 set dummy gcc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3774 else
3775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 for as_dir in $PATH
3778 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC="gcc"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 break 2
3786 done
3787 done
3788 IFS=$as_save_IFS
3792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3793 if test -n "$ac_ct_CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3795 $as_echo "$ac_ct_CC" >&6; }
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3801 if test "x$ac_ct_CC" = x; then
3802 CC=""
3803 else
3804 case $cross_compiling:$ac_tool_warned in
3805 yes:)
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3808 ac_tool_warned=yes ;;
3809 esac
3810 CC=$ac_ct_CC
3812 else
3813 CC="$ac_cv_prog_CC"
3816 if test -z "$CC"; then
3817 if test -n "$ac_tool_prefix"; then
3818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3819 set dummy ${ac_tool_prefix}cc; ac_word=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_CC+:} false; then :
3823 $as_echo_n "(cached) " >&6
3824 else
3825 if test -n "$CC"; then
3826 ac_cv_prog_CC="$CC" # Let the user override the test.
3827 else
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3831 IFS=$as_save_IFS
3832 test -z "$as_dir" && as_dir=.
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_CC="${ac_tool_prefix}cc"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 break 2
3839 done
3840 done
3841 IFS=$as_save_IFS
3845 CC=$ac_cv_prog_CC
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3849 else
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3857 if test -z "$CC"; then
3858 # Extract the first word of "cc", so it can be a program name with args.
3859 set dummy cc; ac_word=$2
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861 $as_echo_n "checking for $ac_word... " >&6; }
3862 if ${ac_cv_prog_CC+:} false; then :
3863 $as_echo_n "(cached) " >&6
3864 else
3865 if test -n "$CC"; then
3866 ac_cv_prog_CC="$CC" # Let the user override the test.
3867 else
3868 ac_prog_rejected=no
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 for as_dir in $PATH
3872 IFS=$as_save_IFS
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3877 ac_prog_rejected=yes
3878 continue
3880 ac_cv_prog_CC="cc"
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3884 done
3885 done
3886 IFS=$as_save_IFS
3888 if test $ac_prog_rejected = yes; then
3889 # We found a bogon in the path, so make sure we never use it.
3890 set dummy $ac_cv_prog_CC
3891 shift
3892 if test $# != 0; then
3893 # We chose a different compiler from the bogus one.
3894 # However, it has the same basename, so the bogon will be chosen
3895 # first if we set CC to just the basename; use the full file name.
3896 shift
3897 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3902 CC=$ac_cv_prog_CC
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3906 else
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3913 if test -z "$CC"; then
3914 if test -n "$ac_tool_prefix"; then
3915 for ac_prog in cl.exe
3917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false; then :
3922 $as_echo_n "(cached) " >&6
3923 else
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC="$CC" # Let the user override the test.
3926 else
3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 for as_dir in $PATH
3930 IFS=$as_save_IFS
3931 test -z "$as_dir" && as_dir=.
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3936 break 2
3938 done
3939 done
3940 IFS=$as_save_IFS
3944 CC=$ac_cv_prog_CC
3945 if test -n "$CC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947 $as_echo "$CC" >&6; }
3948 else
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3954 test -n "$CC" && break
3955 done
3957 if test -z "$CC"; then
3958 ac_ct_CC=$CC
3959 for ac_prog in cl.exe
3961 # Extract the first word of "$ac_prog", so it can be a program name with args.
3962 set dummy $ac_prog; ac_word=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3966 $as_echo_n "(cached) " >&6
3967 else
3968 if test -n "$ac_ct_CC"; then
3969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3970 else
3971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 for as_dir in $PATH
3974 IFS=$as_save_IFS
3975 test -z "$as_dir" && as_dir=.
3976 for ac_exec_ext in '' $ac_executable_extensions; do
3977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_CC="$ac_prog"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 break 2
3982 done
3983 done
3984 IFS=$as_save_IFS
3988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3989 if test -n "$ac_ct_CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3991 $as_echo "$ac_ct_CC" >&6; }
3992 else
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3998 test -n "$ac_ct_CC" && break
3999 done
4001 if test "x$ac_ct_CC" = x; then
4002 CC=""
4003 else
4004 case $cross_compiling:$ac_tool_warned in
4005 yes:)
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned=yes ;;
4009 esac
4010 CC=$ac_ct_CC
4017 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $? "no acceptable C compiler found in \$PATH
4020 See \`config.log' for more details" "$LINENO" 5; }
4022 # Provide some information about the compiler.
4023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4024 set X $ac_compile
4025 ac_compiler=$2
4026 for ac_option in --version -v -V -qversion; do
4027 { { ac_try="$ac_compiler $ac_option >&5"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4035 ac_status=$?
4036 if test -s conftest.err; then
4037 sed '10a\
4038 ... rest of stderr output deleted ...
4039 10q' conftest.err >conftest.er1
4040 cat conftest.er1 >&5
4042 rm -f conftest.er1 conftest.err
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }
4045 done
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 main ()
4055 return 0;
4057 _ACEOF
4058 ac_clean_files_save=$ac_clean_files
4059 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4060 # Try to create an executable without -o first, disregard a.out.
4061 # It will help us diagnose broken compilers, and finding out an intuition
4062 # of exeext.
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4064 $as_echo_n "checking whether the C compiler works... " >&6; }
4065 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4067 # The possible output files:
4068 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4070 ac_rmfiles=
4071 for ac_file in $ac_files
4073 case $ac_file in
4074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4075 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4076 esac
4077 done
4078 rm -f $ac_rmfiles
4080 if { { ac_try="$ac_link_default"
4081 case "(($ac_try" in
4082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4083 *) ac_try_echo=$ac_try;;
4084 esac
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4086 $as_echo "$ac_try_echo"; } >&5
4087 (eval "$ac_link_default") 2>&5
4088 ac_status=$?
4089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4090 test $ac_status = 0; }; then :
4091 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4092 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4093 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4094 # so that the user can short-circuit this test for compilers unknown to
4095 # Autoconf.
4096 for ac_file in $ac_files ''
4098 test -f "$ac_file" || continue
4099 case $ac_file in
4100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4102 [ab].out )
4103 # We found the default executable, but exeext='' is most
4104 # certainly right.
4105 break;;
4106 *.* )
4107 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4108 then :; else
4109 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4111 # We set ac_cv_exeext here because the later test for it is not
4112 # safe: cross compilers may not add the suffix if given an `-o'
4113 # argument, so we may need to know it at that point already.
4114 # Even if this section looks crufty: it has the advantage of
4115 # actually working.
4116 break;;
4118 break;;
4119 esac
4120 done
4121 test "$ac_cv_exeext" = no && ac_cv_exeext=
4123 else
4124 ac_file=''
4126 if test -z "$ac_file"; then :
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4129 $as_echo "$as_me: failed program was:" >&5
4130 sed 's/^/| /' conftest.$ac_ext >&5
4132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4134 as_fn_error 77 "C compiler cannot create executables
4135 See \`config.log' for more details" "$LINENO" 5; }
4136 else
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4138 $as_echo "yes" >&6; }
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4141 $as_echo_n "checking for C compiler default output file name... " >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4143 $as_echo "$ac_file" >&6; }
4144 ac_exeext=$ac_cv_exeext
4146 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4147 ac_clean_files=$ac_clean_files_save
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4149 $as_echo_n "checking for suffix of executables... " >&6; }
4150 if { { ac_try="$ac_link"
4151 case "(($ac_try" in
4152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4153 *) ac_try_echo=$ac_try;;
4154 esac
4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4156 $as_echo "$ac_try_echo"; } >&5
4157 (eval "$ac_link") 2>&5
4158 ac_status=$?
4159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4160 test $ac_status = 0; }; then :
4161 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4162 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4163 # work properly (i.e., refer to `conftest.exe'), while it won't with
4164 # `rm'.
4165 for ac_file in conftest.exe conftest conftest.*; do
4166 test -f "$ac_file" || continue
4167 case $ac_file in
4168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4169 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4170 break;;
4171 * ) break;;
4172 esac
4173 done
4174 else
4175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4178 See \`config.log' for more details" "$LINENO" 5; }
4180 rm -f conftest conftest$ac_cv_exeext
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4182 $as_echo "$ac_cv_exeext" >&6; }
4184 rm -f conftest.$ac_ext
4185 EXEEXT=$ac_cv_exeext
4186 ac_exeext=$EXEEXT
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <stdio.h>
4191 main ()
4193 FILE *f = fopen ("conftest.out", "w");
4194 return ferror (f) || fclose (f) != 0;
4197 return 0;
4199 _ACEOF
4200 ac_clean_files="$ac_clean_files conftest.out"
4201 # Check that the compiler produces executables we can run. If not, either
4202 # the compiler is broken, or we cross compile.
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4204 $as_echo_n "checking whether we are cross compiling... " >&6; }
4205 if test "$cross_compiling" != yes; then
4206 { { ac_try="$ac_link"
4207 case "(($ac_try" in
4208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4209 *) ac_try_echo=$ac_try;;
4210 esac
4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4212 $as_echo "$ac_try_echo"; } >&5
4213 (eval "$ac_link") 2>&5
4214 ac_status=$?
4215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4216 test $ac_status = 0; }
4217 if { ac_try='./conftest$ac_cv_exeext'
4218 { { case "(($ac_try" in
4219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4221 esac
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_try") 2>&5
4225 ac_status=$?
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }; }; then
4228 cross_compiling=no
4229 else
4230 if test "$cross_compiling" = maybe; then
4231 cross_compiling=yes
4232 else
4233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4235 as_fn_error $? "cannot run C compiled programs.
4236 If you meant to cross compile, use \`--host'.
4237 See \`config.log' for more details" "$LINENO" 5; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4242 $as_echo "$cross_compiling" >&6; }
4244 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4245 ac_clean_files=$ac_clean_files_save
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4247 $as_echo_n "checking for suffix of object files... " >&6; }
4248 if ${ac_cv_objext+:} false; then :
4249 $as_echo_n "(cached) " >&6
4250 else
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 rm -f conftest.o conftest.obj
4263 if { { ac_try="$ac_compile"
4264 case "(($ac_try" in
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4267 esac
4268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4269 $as_echo "$ac_try_echo"; } >&5
4270 (eval "$ac_compile") 2>&5
4271 ac_status=$?
4272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4273 test $ac_status = 0; }; then :
4274 for ac_file in conftest.o conftest.obj conftest.*; do
4275 test -f "$ac_file" || continue;
4276 case $ac_file in
4277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4278 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4279 break;;
4280 esac
4281 done
4282 else
4283 $as_echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.$ac_ext >&5
4286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4288 as_fn_error $? "cannot compute suffix of object files: cannot compile
4289 See \`config.log' for more details" "$LINENO" 5; }
4291 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4294 $as_echo "$ac_cv_objext" >&6; }
4295 OBJEXT=$ac_cv_objext
4296 ac_objext=$OBJEXT
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4298 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4299 if ${ac_cv_c_compiler_gnu+:} false; then :
4300 $as_echo_n "(cached) " >&6
4301 else
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4306 main ()
4308 #ifndef __GNUC__
4309 choke me
4310 #endif
4313 return 0;
4315 _ACEOF
4316 if ac_fn_c_try_compile "$LINENO"; then :
4317 ac_compiler_gnu=yes
4318 else
4319 ac_compiler_gnu=no
4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4322 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4326 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4327 if test $ac_compiler_gnu = yes; then
4328 GCC=yes
4329 else
4330 GCC=
4332 ac_test_CFLAGS=${CFLAGS+set}
4333 ac_save_CFLAGS=$CFLAGS
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4335 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4336 if ${ac_cv_prog_cc_g+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 ac_save_c_werror_flag=$ac_c_werror_flag
4340 ac_c_werror_flag=yes
4341 ac_cv_prog_cc_g=no
4342 CFLAGS="-g"
4343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4347 main ()
4351 return 0;
4353 _ACEOF
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_g=yes
4356 else
4357 CFLAGS=""
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4362 main ()
4366 return 0;
4368 _ACEOF
4369 if ac_fn_c_try_compile "$LINENO"; then :
4371 else
4372 ac_c_werror_flag=$ac_save_c_werror_flag
4373 CFLAGS="-g"
4374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4375 /* end confdefs.h. */
4378 main ()
4382 return 0;
4384 _ACEOF
4385 if ac_fn_c_try_compile "$LINENO"; then :
4386 ac_cv_prog_cc_g=yes
4388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4393 ac_c_werror_flag=$ac_save_c_werror_flag
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4396 $as_echo "$ac_cv_prog_cc_g" >&6; }
4397 if test "$ac_test_CFLAGS" = set; then
4398 CFLAGS=$ac_save_CFLAGS
4399 elif test $ac_cv_prog_cc_g = yes; then
4400 if test "$GCC" = yes; then
4401 CFLAGS="-g -O2"
4402 else
4403 CFLAGS="-g"
4405 else
4406 if test "$GCC" = yes; then
4407 CFLAGS="-O2"
4408 else
4409 CFLAGS=
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4413 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4414 if ${ac_cv_prog_cc_c89+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 ac_cv_prog_cc_c89=no
4418 ac_save_CC=$CC
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4420 /* end confdefs.h. */
4421 #include <stdarg.h>
4422 #include <stdio.h>
4423 struct stat;
4424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4425 struct buf { int x; };
4426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4427 static char *e (p, i)
4428 char **p;
4429 int i;
4431 return p[i];
4433 static char *f (char * (*g) (char **, int), char **p, ...)
4435 char *s;
4436 va_list v;
4437 va_start (v,p);
4438 s = g (p, va_arg (v,int));
4439 va_end (v);
4440 return s;
4443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4444 function prototypes and stuff, but not '\xHH' hex character constants.
4445 These don't provoke an error unfortunately, instead are silently treated
4446 as 'x'. The following induces an error, until -std is added to get
4447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4448 array size at least. It's necessary to write '\x00'==0 to get something
4449 that's true only with -std. */
4450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4452 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4453 inside strings and character constants. */
4454 #define FOO(x) 'x'
4455 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4457 int test (int i, double x);
4458 struct s1 {int (*f) (int a);};
4459 struct s2 {int (*f) (double a);};
4460 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4461 int argc;
4462 char **argv;
4464 main ()
4466 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4468 return 0;
4470 _ACEOF
4471 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4472 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4474 CC="$ac_save_CC $ac_arg"
4475 if ac_fn_c_try_compile "$LINENO"; then :
4476 ac_cv_prog_cc_c89=$ac_arg
4478 rm -f core conftest.err conftest.$ac_objext
4479 test "x$ac_cv_prog_cc_c89" != "xno" && break
4480 done
4481 rm -f conftest.$ac_ext
4482 CC=$ac_save_CC
4485 # AC_CACHE_VAL
4486 case "x$ac_cv_prog_cc_c89" in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4489 $as_echo "none needed" >&6; } ;;
4490 xno)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4492 $as_echo "unsupported" >&6; } ;;
4494 CC="$CC $ac_cv_prog_cc_c89"
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4496 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4497 esac
4498 if test "x$ac_cv_prog_cc_c89" != xno; then :
4502 ac_ext=c
4503 ac_cpp='$CPP $CPPFLAGS'
4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4508 ac_ext=cpp
4509 ac_cpp='$CXXCPP $CPPFLAGS'
4510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4513 if test -z "$CXX"; then
4514 if test -n "$CCC"; then
4515 CXX=$CCC
4516 else
4517 if test -n "$ac_tool_prefix"; then
4518 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4520 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4521 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_prog_CXX+:} false; then :
4525 $as_echo_n "(cached) " >&6
4526 else
4527 if test -n "$CXX"; then
4528 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4541 done
4542 done
4543 IFS=$as_save_IFS
4547 CXX=$ac_cv_prog_CXX
4548 if test -n "$CXX"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4550 $as_echo "$CXX" >&6; }
4551 else
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4557 test -n "$CXX" && break
4558 done
4560 if test -z "$CXX"; then
4561 ac_ct_CXX=$CXX
4562 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4564 # Extract the first word of "$ac_prog", so it can be a program name with args.
4565 set dummy $ac_prog; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4569 $as_echo_n "(cached) " >&6
4570 else
4571 if test -n "$ac_ct_CXX"; then
4572 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4573 else
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 for as_dir in $PATH
4577 IFS=$as_save_IFS
4578 test -z "$as_dir" && as_dir=.
4579 for ac_exec_ext in '' $ac_executable_extensions; do
4580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_ac_ct_CXX="$ac_prog"
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 break 2
4585 done
4586 done
4587 IFS=$as_save_IFS
4591 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4592 if test -n "$ac_ct_CXX"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4594 $as_echo "$ac_ct_CXX" >&6; }
4595 else
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4601 test -n "$ac_ct_CXX" && break
4602 done
4604 if test "x$ac_ct_CXX" = x; then
4605 CXX="g++"
4606 else
4607 case $cross_compiling:$ac_tool_warned in
4608 yes:)
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4611 ac_tool_warned=yes ;;
4612 esac
4613 CXX=$ac_ct_CXX
4619 # Provide some information about the compiler.
4620 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4621 set X $ac_compile
4622 ac_compiler=$2
4623 for ac_option in --version -v -V -qversion; do
4624 { { ac_try="$ac_compiler $ac_option >&5"
4625 case "(($ac_try" in
4626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4627 *) ac_try_echo=$ac_try;;
4628 esac
4629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4630 $as_echo "$ac_try_echo"; } >&5
4631 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4632 ac_status=$?
4633 if test -s conftest.err; then
4634 sed '10a\
4635 ... rest of stderr output deleted ...
4636 10q' conftest.err >conftest.er1
4637 cat conftest.er1 >&5
4639 rm -f conftest.er1 conftest.err
4640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4641 test $ac_status = 0; }
4642 done
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4645 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4646 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4647 $as_echo_n "(cached) " >&6
4648 else
4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4650 /* end confdefs.h. */
4653 main ()
4655 #ifndef __GNUC__
4656 choke me
4657 #endif
4660 return 0;
4662 _ACEOF
4663 if ac_fn_cxx_try_compile "$LINENO"; then :
4664 ac_compiler_gnu=yes
4665 else
4666 ac_compiler_gnu=no
4668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4669 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4673 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4674 if test $ac_compiler_gnu = yes; then
4675 GXX=yes
4676 else
4677 GXX=
4679 ac_test_CXXFLAGS=${CXXFLAGS+set}
4680 ac_save_CXXFLAGS=$CXXFLAGS
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4682 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4683 if ${ac_cv_prog_cxx_g+:} false; then :
4684 $as_echo_n "(cached) " >&6
4685 else
4686 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4687 ac_cxx_werror_flag=yes
4688 ac_cv_prog_cxx_g=no
4689 CXXFLAGS="-g"
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4694 main ()
4698 return 0;
4700 _ACEOF
4701 if ac_fn_cxx_try_compile "$LINENO"; then :
4702 ac_cv_prog_cxx_g=yes
4703 else
4704 CXXFLAGS=""
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4709 main ()
4713 return 0;
4715 _ACEOF
4716 if ac_fn_cxx_try_compile "$LINENO"; then :
4718 else
4719 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4720 CXXFLAGS="-g"
4721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4722 /* end confdefs.h. */
4725 main ()
4729 return 0;
4731 _ACEOF
4732 if ac_fn_cxx_try_compile "$LINENO"; then :
4733 ac_cv_prog_cxx_g=yes
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4743 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4744 if test "$ac_test_CXXFLAGS" = set; then
4745 CXXFLAGS=$ac_save_CXXFLAGS
4746 elif test $ac_cv_prog_cxx_g = yes; then
4747 if test "$GXX" = yes; then
4748 CXXFLAGS="-g -O2"
4749 else
4750 CXXFLAGS="-g"
4752 else
4753 if test "$GXX" = yes; then
4754 CXXFLAGS="-O2"
4755 else
4756 CXXFLAGS=
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765 if test -n "$ac_tool_prefix"; then
4766 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4767 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769 $as_echo_n "checking for $ac_word... " >&6; }
4770 if ${ac_cv_prog_CPPBIN+:} false; then :
4771 $as_echo_n "(cached) " >&6
4772 else
4773 if test -n "$CPPBIN"; then
4774 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4775 else
4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4777 for as_dir in $PATH
4779 IFS=$as_save_IFS
4780 test -z "$as_dir" && as_dir=.
4781 for ac_exec_ext in '' $ac_executable_extensions; do
4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4783 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 break 2
4787 done
4788 done
4789 IFS=$as_save_IFS
4793 CPPBIN=$ac_cv_prog_CPPBIN
4794 if test -n "$CPPBIN"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4796 $as_echo "$CPPBIN" >&6; }
4797 else
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4804 if test -z "$ac_cv_prog_CPPBIN"; then
4805 ac_ct_CPPBIN=$CPPBIN
4806 # Extract the first word of "cpp", so it can be a program name with args.
4807 set dummy cpp; ac_word=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if test -n "$ac_ct_CPPBIN"; then
4814 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4815 else
4816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 for as_dir in $PATH
4819 IFS=$as_save_IFS
4820 test -z "$as_dir" && as_dir=.
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_ac_ct_CPPBIN="cpp"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4833 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4834 if test -n "$ac_ct_CPPBIN"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4836 $as_echo "$ac_ct_CPPBIN" >&6; }
4837 else
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4842 if test "x$ac_ct_CPPBIN" = x; then
4843 CPPBIN="cpp"
4844 else
4845 case $cross_compiling:$ac_tool_warned in
4846 yes:)
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4849 ac_tool_warned=yes ;;
4850 esac
4851 CPPBIN=$ac_ct_CPPBIN
4853 else
4854 CPPBIN="$ac_cv_prog_CPPBIN"
4858 cat >>confdefs.h <<_ACEOF
4859 #define EXEEXT "$ac_exeext"
4860 _ACEOF
4862 if test -n "$ac_tool_prefix"; then
4863 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4864 set dummy ${ac_tool_prefix}ld; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_prog_LD+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 if test -n "$LD"; then
4871 ac_cv_prog_LD="$LD" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4876 IFS=$as_save_IFS
4877 test -z "$as_dir" && as_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880 ac_cv_prog_LD="${ac_tool_prefix}ld"
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 break 2
4884 done
4885 done
4886 IFS=$as_save_IFS
4890 LD=$ac_cv_prog_LD
4891 if test -n "$LD"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4893 $as_echo "$LD" >&6; }
4894 else
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4901 if test -z "$ac_cv_prog_LD"; then
4902 ac_ct_LD=$LD
4903 # Extract the first word of "ld", so it can be a program name with args.
4904 set dummy ld; ac_word=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 if test -n "$ac_ct_LD"; then
4911 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4912 else
4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 for as_dir in $PATH
4916 IFS=$as_save_IFS
4917 test -z "$as_dir" && as_dir=.
4918 for ac_exec_ext in '' $ac_executable_extensions; do
4919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920 ac_cv_prog_ac_ct_LD="ld"
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 break 2
4924 done
4925 done
4926 IFS=$as_save_IFS
4930 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4931 if test -n "$ac_ct_LD"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4933 $as_echo "$ac_ct_LD" >&6; }
4934 else
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4939 if test "x$ac_ct_LD" = x; then
4940 LD=""
4941 else
4942 case $cross_compiling:$ac_tool_warned in
4943 yes:)
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4946 ac_tool_warned=yes ;;
4947 esac
4948 LD=$ac_ct_LD
4950 else
4951 LD="$ac_cv_prog_LD"
4955 case $host in
4956 *-darwin*)
4957 if test "x$enable_win64" = "xyes"
4958 then
4959 CC="$CC -m64"
4960 CXX="$CXX -m64"
4961 host_cpu="x86_64"
4962 notice_platform="64-bit "
4963 TARGETFLAGS="-m64"
4965 else
4966 CC="$CC -m32"
4967 CXX="$CXX -m32"
4968 host_cpu="i386"
4969 notice_platform="32-bit "
4970 TARGETFLAGS="-m32"
4972 enable_win16=${enable_win16:-yes}
4974 with_fontconfig=${with_fontconfig:-no}
4976 x86_64*|amd64*)
4977 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4978 then
4979 CC="$CC -m32"
4980 CXX="$CXX -m32"
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4982 $as_echo_n "checking whether $CC works... " >&6; }
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4988 main ()
4992 return 0;
4994 _ACEOF
4995 if ac_fn_c_try_link "$LINENO"; then :
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4997 $as_echo "yes" >&6; }
4998 else
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5001 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5003 rm -f core conftest.err conftest.$ac_objext \
5004 conftest$ac_exeext conftest.$ac_ext
5005 host_cpu="i386"
5006 notice_platform="32-bit "
5007 TARGETFLAGS="-m32"
5009 enable_win16=${enable_win16:-yes}
5010 else
5011 if test "x${GCC}" = "xyes"
5012 then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5014 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017 #include <stdarg.h>
5019 main ()
5021 void func(__builtin_ms_va_list *args);
5023 return 0;
5025 _ACEOF
5026 if ac_fn_c_try_compile "$LINENO"; then :
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5028 $as_echo "yes" >&6; }
5029 else
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5032 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5036 host_cpu="x86_64"
5037 TARGETFLAGS="-m64"
5041 arm*)
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5043 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5045 /* end confdefs.h. */
5046 int ac_test(int i) { return i; }
5048 main ()
5050 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5052 return 0;
5054 _ACEOF
5055 if ac_fn_c_try_link "$LINENO"; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }
5058 else
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5061 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5063 rm -f core conftest.err conftest.$ac_objext \
5064 conftest$ac_exeext conftest.$ac_ext
5065 CFLAGS="$CFLAGS -marm"
5066 TARGETFLAGS="-marm"
5069 *-mingw32*|*-cygwin*)
5070 enable_win16=${enable_win16:-no}
5071 CFLAGS="$CFLAGS -D_WIN32"
5073 i[3456789]86*)
5074 enable_win16=${enable_win16:-yes}
5076 esac
5078 enable_win16=${enable_win16:-no}
5079 enable_win64=${enable_win64:-no}
5081 enable_winetest=${enable_winetest:-$enable_tests}
5083 if test -n "$with_wine64"
5084 then
5085 if test "x$enable_win64" = "xyes"
5086 then
5087 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5088 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5090 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5091 You should create a separate build directory and run configure from there." "$LINENO" 5
5092 enable_fonts=${enable_fonts:-no}
5093 enable_server=${enable_server:-no}
5094 elif test "x$enable_win64" = "xyes"
5095 then
5096 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5100 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5101 if ${wine_cv_toolsdir+:} false; then :
5102 $as_echo_n "(cached) " >&6
5103 else
5104 wine_cv_toolsdir="$with_wine_tools"
5105 if test -z "$with_wine_tools"; then
5106 if test "$cross_compiling" = "yes"; then
5107 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5108 elif test -n "$with_wine64"; then
5109 wine_cv_toolsdir="$with_wine64"
5112 if test -z "$wine_cv_toolsdir"; then
5113 wine_makedep=tools/makedep
5114 wine_cv_toolsdir="\$(top_builddir)"
5115 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5116 wine_makedep=$wine_cv_toolsdir/tools/makedep
5117 case "$wine_cv_toolsdir" in
5118 /*) ;;
5119 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5120 esac
5121 enable_tools=${enable_tools:-no}
5122 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5123 else
5124 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5128 $as_echo "$wine_cv_toolsdir" >&6; }
5129 TOOLSDIR=$wine_cv_toolsdir
5131 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5132 then
5133 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5137 for ac_prog in flex
5139 # Extract the first word of "$ac_prog", so it can be a program name with args.
5140 set dummy $ac_prog; ac_word=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if ${ac_cv_prog_FLEX+:} false; then :
5144 $as_echo_n "(cached) " >&6
5145 else
5146 if test -n "$FLEX"; then
5147 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_FLEX="$ac_prog"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5162 IFS=$as_save_IFS
5166 FLEX=$ac_cv_prog_FLEX
5167 if test -n "$FLEX"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5169 $as_echo "$FLEX" >&6; }
5170 else
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5176 test -n "$FLEX" && break
5177 done
5178 test -n "$FLEX" || FLEX="none"
5180 if test "$FLEX" = "none"
5181 then
5182 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5185 $as_echo_n "checking whether flex is recent enough... " >&6; }
5186 cat >conftest.l <<EOF
5187 %top{
5188 #include "prediluvian.h"
5192 if $FLEX -t conftest.l >/dev/null 2>&5
5193 then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5195 $as_echo "yes" >&6; }
5196 else
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5199 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5202 for ac_prog in bison
5204 # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy $ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if ${ac_cv_prog_BISON+:} false; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$BISON"; then
5212 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5221 ac_cv_prog_BISON="$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5225 done
5226 done
5227 IFS=$as_save_IFS
5231 BISON=$ac_cv_prog_BISON
5232 if test -n "$BISON"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5234 $as_echo "$BISON" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$BISON" && break
5242 done
5243 test -n "$BISON" || BISON="none"
5245 if test "$BISON" = "none"
5246 then
5247 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5250 if test -n "$ac_tool_prefix"; then
5251 for ac_prog in ar gar
5253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if ${ac_cv_prog_AR+:} false; then :
5258 $as_echo_n "(cached) " >&6
5259 else
5260 if test -n "$AR"; then
5261 ac_cv_prog_AR="$AR" # Let the user override the test.
5262 else
5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264 for as_dir in $PATH
5266 IFS=$as_save_IFS
5267 test -z "$as_dir" && as_dir=.
5268 for ac_exec_ext in '' $ac_executable_extensions; do
5269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5270 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 break 2
5274 done
5275 done
5276 IFS=$as_save_IFS
5280 AR=$ac_cv_prog_AR
5281 if test -n "$AR"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5283 $as_echo "$AR" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5290 test -n "$AR" && break
5291 done
5293 if test -z "$AR"; then
5294 ac_ct_AR=$AR
5295 for ac_prog in ar gar
5297 # Extract the first word of "$ac_prog", so it can be a program name with args.
5298 set dummy $ac_prog; ac_word=$2
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5300 $as_echo_n "checking for $ac_word... " >&6; }
5301 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5302 $as_echo_n "(cached) " >&6
5303 else
5304 if test -n "$ac_ct_AR"; then
5305 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5306 else
5307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308 for as_dir in $PATH
5310 IFS=$as_save_IFS
5311 test -z "$as_dir" && as_dir=.
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5314 ac_cv_prog_ac_ct_AR="$ac_prog"
5315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 break 2
5318 done
5319 done
5320 IFS=$as_save_IFS
5324 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5325 if test -n "$ac_ct_AR"; then
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5327 $as_echo "$ac_ct_AR" >&6; }
5328 else
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5334 test -n "$ac_ct_AR" && break
5335 done
5337 if test "x$ac_ct_AR" = x; then
5338 AR="ar"
5339 else
5340 case $cross_compiling:$ac_tool_warned in
5341 yes:)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned=yes ;;
5345 esac
5346 AR=$ac_ct_AR
5350 if test -n "$ac_tool_prefix"; then
5351 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5352 set dummy ${ac_tool_prefix}strip; ac_word=$2
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5354 $as_echo_n "checking for $ac_word... " >&6; }
5355 if ${ac_cv_prog_STRIP+:} false; then :
5356 $as_echo_n "(cached) " >&6
5357 else
5358 if test -n "$STRIP"; then
5359 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5360 else
5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5362 for as_dir in $PATH
5364 IFS=$as_save_IFS
5365 test -z "$as_dir" && as_dir=.
5366 for ac_exec_ext in '' $ac_executable_extensions; do
5367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5368 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5370 break 2
5372 done
5373 done
5374 IFS=$as_save_IFS
5378 STRIP=$ac_cv_prog_STRIP
5379 if test -n "$STRIP"; then
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5381 $as_echo "$STRIP" >&6; }
5382 else
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 $as_echo "no" >&6; }
5389 if test -z "$ac_cv_prog_STRIP"; then
5390 ac_ct_STRIP=$STRIP
5391 # Extract the first word of "strip", so it can be a program name with args.
5392 set dummy strip; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$ac_ct_STRIP"; then
5399 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_ac_ct_STRIP="strip"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5419 if test -n "$ac_ct_STRIP"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5421 $as_echo "$ac_ct_STRIP" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5427 if test "x$ac_ct_STRIP" = x; then
5428 STRIP="strip"
5429 else
5430 case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5434 ac_tool_warned=yes ;;
5435 esac
5436 STRIP=$ac_ct_STRIP
5438 else
5439 STRIP="$ac_cv_prog_STRIP"
5442 ARFLAGS=rc
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5446 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_RANLIB+:} false; then :
5450 $as_echo_n "(cached) " >&6
5451 else
5452 if test -n "$RANLIB"; then
5453 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 RANLIB=$ac_cv_prog_RANLIB
5473 if test -n "$RANLIB"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5475 $as_echo "$RANLIB" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5483 if test -z "$ac_cv_prog_RANLIB"; then
5484 ac_ct_RANLIB=$RANLIB
5485 # Extract the first word of "ranlib", so it can be a program name with args.
5486 set dummy ranlib; ac_word=$2
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5488 $as_echo_n "checking for $ac_word... " >&6; }
5489 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492 if test -n "$ac_ct_RANLIB"; then
5493 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5494 else
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH
5498 IFS=$as_save_IFS
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5502 ac_cv_prog_ac_ct_RANLIB="ranlib"
5503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 break 2
5506 done
5507 done
5508 IFS=$as_save_IFS
5512 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5513 if test -n "$ac_ct_RANLIB"; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5515 $as_echo "$ac_ct_RANLIB" >&6; }
5516 else
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }
5521 if test "x$ac_ct_RANLIB" = x; then
5522 RANLIB=":"
5523 else
5524 case $cross_compiling:$ac_tool_warned in
5525 yes:)
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5528 ac_tool_warned=yes ;;
5529 esac
5530 RANLIB=$ac_ct_RANLIB
5532 else
5533 RANLIB="$ac_cv_prog_RANLIB"
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5537 $as_echo_n "checking whether ln -s works... " >&6; }
5538 LN_S=$as_ln_s
5539 if test "$LN_S" = "ln -s"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5544 $as_echo "no, using $LN_S" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5548 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5549 if ${ac_cv_path_GREP+:} false; then :
5550 $as_echo_n "(cached) " >&6
5551 else
5552 if test -z "$GREP"; then
5553 ac_path_GREP_found=false
5554 # Loop through the user's path and test for each of PROGNAME-LIST
5555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5558 IFS=$as_save_IFS
5559 test -z "$as_dir" && as_dir=.
5560 for ac_prog in grep ggrep; do
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5563 as_fn_executable_p "$ac_path_GREP" || continue
5564 # Check for GNU ac_path_GREP and select it if it is found.
5565 # Check for GNU $ac_path_GREP
5566 case `"$ac_path_GREP" --version 2>&1` in
5567 *GNU*)
5568 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5570 ac_count=0
5571 $as_echo_n 0123456789 >"conftest.in"
5572 while :
5574 cat "conftest.in" "conftest.in" >"conftest.tmp"
5575 mv "conftest.tmp" "conftest.in"
5576 cp "conftest.in" "conftest.nl"
5577 $as_echo 'GREP' >> "conftest.nl"
5578 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5579 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5580 as_fn_arith $ac_count + 1 && ac_count=$as_val
5581 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5582 # Best one so far, save it but keep looking for a better one
5583 ac_cv_path_GREP="$ac_path_GREP"
5584 ac_path_GREP_max=$ac_count
5586 # 10*(2^10) chars as input seems more than enough
5587 test $ac_count -gt 10 && break
5588 done
5589 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5590 esac
5592 $ac_path_GREP_found && break 3
5593 done
5594 done
5595 done
5596 IFS=$as_save_IFS
5597 if test -z "$ac_cv_path_GREP"; then
5598 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5600 else
5601 ac_cv_path_GREP=$GREP
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5606 $as_echo "$ac_cv_path_GREP" >&6; }
5607 GREP="$ac_cv_path_GREP"
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5611 $as_echo_n "checking for egrep... " >&6; }
5612 if ${ac_cv_path_EGREP+:} false; then :
5613 $as_echo_n "(cached) " >&6
5614 else
5615 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5616 then ac_cv_path_EGREP="$GREP -E"
5617 else
5618 if test -z "$EGREP"; then
5619 ac_path_EGREP_found=false
5620 # Loop through the user's path and test for each of PROGNAME-LIST
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5622 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5624 IFS=$as_save_IFS
5625 test -z "$as_dir" && as_dir=.
5626 for ac_prog in egrep; do
5627 for ac_exec_ext in '' $ac_executable_extensions; do
5628 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5629 as_fn_executable_p "$ac_path_EGREP" || continue
5630 # Check for GNU ac_path_EGREP and select it if it is found.
5631 # Check for GNU $ac_path_EGREP
5632 case `"$ac_path_EGREP" --version 2>&1` in
5633 *GNU*)
5634 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5636 ac_count=0
5637 $as_echo_n 0123456789 >"conftest.in"
5638 while :
5640 cat "conftest.in" "conftest.in" >"conftest.tmp"
5641 mv "conftest.tmp" "conftest.in"
5642 cp "conftest.in" "conftest.nl"
5643 $as_echo 'EGREP' >> "conftest.nl"
5644 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5645 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5646 as_fn_arith $ac_count + 1 && ac_count=$as_val
5647 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5648 # Best one so far, save it but keep looking for a better one
5649 ac_cv_path_EGREP="$ac_path_EGREP"
5650 ac_path_EGREP_max=$ac_count
5652 # 10*(2^10) chars as input seems more than enough
5653 test $ac_count -gt 10 && break
5654 done
5655 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5656 esac
5658 $ac_path_EGREP_found && break 3
5659 done
5660 done
5661 done
5662 IFS=$as_save_IFS
5663 if test -z "$ac_cv_path_EGREP"; then
5664 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5666 else
5667 ac_cv_path_EGREP=$EGREP
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5673 $as_echo "$ac_cv_path_EGREP" >&6; }
5674 EGREP="$ac_cv_path_EGREP"
5677 # Extract the first word of "ldconfig", so it can be a program name with args.
5678 set dummy ldconfig; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_path_LDCONFIG+:} false; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 case $LDCONFIG in
5685 [\\/]* | ?:[\\/]*)
5686 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in /sbin /usr/sbin $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5696 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5704 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5706 esac
5708 LDCONFIG=$ac_cv_path_LDCONFIG
5709 if test -n "$LDCONFIG"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5711 $as_echo "$LDCONFIG" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5718 for ac_prog in msgfmt
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_MSGFMT+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$MSGFMT"; then
5728 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_MSGFMT="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 MSGFMT=$ac_cv_prog_MSGFMT
5748 if test -n "$MSGFMT"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5750 $as_echo "$MSGFMT" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$MSGFMT" && break
5758 done
5759 test -n "$MSGFMT" || MSGFMT="false"
5761 if ${ac_tool_prefix+:} false; then :
5762 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5763 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5765 $as_echo_n "checking for $ac_word... " >&6; }
5766 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5767 $as_echo_n "(cached) " >&6
5768 else
5769 if test -n "$PKG_CONFIG"; then
5770 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5771 else
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 for as_dir in $PATH
5775 IFS=$as_save_IFS
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5790 if test -n "$PKG_CONFIG"; then
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5792 $as_echo "$PKG_CONFIG" >&6; }
5793 else
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }
5800 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5801 if test "x$cross_compiling" = xyes; then :
5803 else
5804 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5805 # Extract the first word of "pkg-config", so it can be a program name with args.
5806 set dummy pkg-config; ac_word=$2
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808 $as_echo_n "checking for $ac_word... " >&6; }
5809 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$PKG_CONFIG"; then
5813 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5814 else
5815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816 for as_dir in $PATH
5818 IFS=$as_save_IFS
5819 test -z "$as_dir" && as_dir=.
5820 for ac_exec_ext in '' $ac_executable_extensions; do
5821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822 ac_cv_prog_PKG_CONFIG="pkg-config"
5823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 break 2
5826 done
5827 done
5828 IFS=$as_save_IFS
5832 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5833 if test -n "$PKG_CONFIG"; then
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5835 $as_echo "$PKG_CONFIG" >&6; }
5836 else
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838 $as_echo "no" >&6; }
5843 else
5844 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5847 if test "x$enable_maintainer_mode" != "xyes"
5848 then
5849 FONTFORGE=""
5850 RSVG=""
5851 CONVERT=""
5852 ICOTOOL=""
5853 else
5854 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5855 for ac_prog in fontforge
5857 # Extract the first word of "$ac_prog", so it can be a program name with args.
5858 set dummy $ac_prog; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_prog_FONTFORGE+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 if test -n "$FONTFORGE"; then
5865 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5866 else
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868 for as_dir in $PATH
5870 IFS=$as_save_IFS
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5874 ac_cv_prog_FONTFORGE="$ac_prog"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 break 2
5878 done
5879 done
5880 IFS=$as_save_IFS
5884 FONTFORGE=$ac_cv_prog_FONTFORGE
5885 if test -n "$FONTFORGE"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5887 $as_echo "$FONTFORGE" >&6; }
5888 else
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5890 $as_echo "no" >&6; }
5894 test -n "$FONTFORGE" && break
5895 done
5896 test -n "$FONTFORGE" || FONTFORGE="false"
5898 for ac_prog in rsvg-convert rsvg
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_RSVG+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$RSVG"; then
5908 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_RSVG="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 RSVG=$ac_cv_prog_RSVG
5928 if test -n "$RSVG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5930 $as_echo "$RSVG" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$RSVG" && break
5938 done
5939 test -n "$RSVG" || RSVG="false"
5941 for ac_prog in convert
5943 # Extract the first word of "$ac_prog", so it can be a program name with args.
5944 set dummy $ac_prog; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_CONVERT+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$CONVERT"; then
5951 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_CONVERT="$ac_prog"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 CONVERT=$ac_cv_prog_CONVERT
5971 if test -n "$CONVERT"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5973 $as_echo "$CONVERT" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5980 test -n "$CONVERT" && break
5981 done
5982 test -n "$CONVERT" || CONVERT="false"
5984 for ac_prog in icotool
5986 # Extract the first word of "$ac_prog", so it can be a program name with args.
5987 set dummy $ac_prog; ac_word=$2
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5989 $as_echo_n "checking for $ac_word... " >&6; }
5990 if ${ac_cv_prog_ICOTOOL+:} false; then :
5991 $as_echo_n "(cached) " >&6
5992 else
5993 if test -n "$ICOTOOL"; then
5994 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 test -z "$as_dir" && as_dir=.
6001 for ac_exec_ext in '' $ac_executable_extensions; do
6002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6003 ac_cv_prog_ICOTOOL="$ac_prog"
6004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6005 break 2
6007 done
6008 done
6009 IFS=$as_save_IFS
6013 ICOTOOL=$ac_cv_prog_ICOTOOL
6014 if test -n "$ICOTOOL"; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6016 $as_echo "$ICOTOOL" >&6; }
6017 else
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6019 $as_echo "no" >&6; }
6023 test -n "$ICOTOOL" && break
6024 done
6025 test -n "$ICOTOOL" || ICOTOOL="false"
6027 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6028 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6030 if test "$CONVERT" = false
6031 then
6032 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6033 else
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6035 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6036 convert_version=`convert --version | head -n1`
6037 if test "x$convert_version" != "x"
6038 then
6039 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6040 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6041 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6042 then
6043 CONVERT=false
6046 if test "$CONVERT" = false
6047 then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6049 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6050 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6051 else
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6053 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6057 if test "$ICOTOOL" = false
6058 then
6059 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6060 else
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6062 $as_echo_n "checking for recent enough icotool... " >&6; }
6063 icotool_version=`icotool --version | head -n1`
6064 if test "x$icotool_version" != "x"
6065 then
6066 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6067 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6068 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6069 then
6070 ICOTOOL=false
6071 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6074 if test "$ICOTOOL" = false
6075 then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6077 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6078 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6081 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 with_gettext=yes
6086 with_gettextpo=yes
6087 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6090 test "x$with_gettext" != xno || MSGFMT=false
6091 if test "$MSGFMT" != "false"
6092 then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6094 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6095 cat >conftest.po <<EOF
6096 # comment
6097 msgctxt "ctxt"
6098 msgid "id"
6099 msgstr "str"
6101 if $MSGFMT -o /dev/null conftest.po 2>&5
6102 then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6104 $as_echo "yes" >&6; }
6105 else
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6108 MSGFMT=false
6111 if test "$MSGFMT" = false; then :
6112 case "x$with_gettext" in
6113 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6114 xno) ;;
6115 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6116 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6117 esac
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6122 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6123 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 ac_check_lib_save_LIBS=$LIBS
6127 LIBS="-li386 $LIBS"
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6131 /* Override any GCC internal prototype to avoid an error.
6132 Use char because int might match the return type of a GCC
6133 builtin and then its argument prototype would still apply. */
6134 #ifdef __cplusplus
6135 extern "C"
6136 #endif
6137 char i386_set_ldt ();
6139 main ()
6141 return i386_set_ldt ();
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_link "$LINENO"; then :
6147 ac_cv_lib_i386_i386_set_ldt=yes
6148 else
6149 ac_cv_lib_i386_i386_set_ldt=no
6151 rm -f core conftest.err conftest.$ac_objext \
6152 conftest$ac_exeext conftest.$ac_ext
6153 LIBS=$ac_check_lib_save_LIBS
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6156 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6157 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6158 cat >>confdefs.h <<_ACEOF
6159 #define HAVE_LIBI386 1
6160 _ACEOF
6162 LIBS="-li386 $LIBS"
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6167 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6168 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6169 $as_echo_n "(cached) " >&6
6170 else
6171 ac_check_lib_save_LIBS=$LIBS
6172 LIBS="-lossaudio $LIBS"
6173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6176 /* Override any GCC internal prototype to avoid an error.
6177 Use char because int might match the return type of a GCC
6178 builtin and then its argument prototype would still apply. */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 char _oss_ioctl ();
6184 main ()
6186 return _oss_ioctl ();
6188 return 0;
6190 _ACEOF
6191 if ac_fn_c_try_link "$LINENO"; then :
6192 ac_cv_lib_ossaudio__oss_ioctl=yes
6193 else
6194 ac_cv_lib_ossaudio__oss_ioctl=no
6196 rm -f core conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 LIBS=$ac_check_lib_save_LIBS
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6201 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6202 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6203 cat >>confdefs.h <<_ACEOF
6204 #define HAVE_LIBOSSAUDIO 1
6205 _ACEOF
6207 LIBS="-lossaudio $LIBS"
6212 OPENGL_LIBS=""
6216 # Check whether --enable-largefile was given.
6217 if test "${enable_largefile+set}" = set; then :
6218 enableval=$enable_largefile;
6221 if test "$enable_largefile" != no; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6224 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6225 if ${ac_cv_sys_largefile_CC+:} false; then :
6226 $as_echo_n "(cached) " >&6
6227 else
6228 ac_cv_sys_largefile_CC=no
6229 if test "$GCC" != yes; then
6230 ac_save_CC=$CC
6231 while :; do
6232 # IRIX 6.2 and later do not support large files by default,
6233 # so use the C compiler's -n32 option if that helps.
6234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6235 /* end confdefs.h. */
6236 #include <sys/types.h>
6237 /* Check that off_t can represent 2**63 - 1 correctly.
6238 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6239 since some C++ compilers masquerading as C compilers
6240 incorrectly reject 9223372036854775807. */
6241 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6242 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6243 && LARGE_OFF_T % 2147483647 == 1)
6244 ? 1 : -1];
6246 main ()
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"; then :
6254 break
6256 rm -f core conftest.err conftest.$ac_objext
6257 CC="$CC -n32"
6258 if ac_fn_c_try_compile "$LINENO"; then :
6259 ac_cv_sys_largefile_CC=' -n32'; break
6261 rm -f core conftest.err conftest.$ac_objext
6262 break
6263 done
6264 CC=$ac_save_CC
6265 rm -f conftest.$ac_ext
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6269 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6270 if test "$ac_cv_sys_largefile_CC" != no; then
6271 CC=$CC$ac_cv_sys_largefile_CC
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6275 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6276 if ${ac_cv_sys_file_offset_bits+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 while :; do
6280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6281 /* end confdefs.h. */
6282 #include <sys/types.h>
6283 /* Check that off_t can represent 2**63 - 1 correctly.
6284 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6285 since some C++ compilers masquerading as C compilers
6286 incorrectly reject 9223372036854775807. */
6287 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6288 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6289 && LARGE_OFF_T % 2147483647 == 1)
6290 ? 1 : -1];
6292 main ()
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_compile "$LINENO"; then :
6300 ac_cv_sys_file_offset_bits=no; break
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6304 /* end confdefs.h. */
6305 #define _FILE_OFFSET_BITS 64
6306 #include <sys/types.h>
6307 /* Check that off_t can represent 2**63 - 1 correctly.
6308 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6309 since some C++ compilers masquerading as C compilers
6310 incorrectly reject 9223372036854775807. */
6311 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6312 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6313 && LARGE_OFF_T % 2147483647 == 1)
6314 ? 1 : -1];
6316 main ()
6320 return 0;
6322 _ACEOF
6323 if ac_fn_c_try_compile "$LINENO"; then :
6324 ac_cv_sys_file_offset_bits=64; break
6326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6327 ac_cv_sys_file_offset_bits=unknown
6328 break
6329 done
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6332 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6333 case $ac_cv_sys_file_offset_bits in #(
6334 no | unknown) ;;
6336 cat >>confdefs.h <<_ACEOF
6337 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6338 _ACEOF
6340 esac
6341 rm -rf conftest*
6342 if test $ac_cv_sys_file_offset_bits = unknown; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6344 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6345 if ${ac_cv_sys_large_files+:} false; then :
6346 $as_echo_n "(cached) " >&6
6347 else
6348 while :; do
6349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h. */
6351 #include <sys/types.h>
6352 /* Check that off_t can represent 2**63 - 1 correctly.
6353 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6354 since some C++ compilers masquerading as C compilers
6355 incorrectly reject 9223372036854775807. */
6356 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6357 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6358 && LARGE_OFF_T % 2147483647 == 1)
6359 ? 1 : -1];
6361 main ()
6365 return 0;
6367 _ACEOF
6368 if ac_fn_c_try_compile "$LINENO"; then :
6369 ac_cv_sys_large_files=no; break
6371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6374 #define _LARGE_FILES 1
6375 #include <sys/types.h>
6376 /* Check that off_t can represent 2**63 - 1 correctly.
6377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6378 since some C++ compilers masquerading as C compilers
6379 incorrectly reject 9223372036854775807. */
6380 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6382 && LARGE_OFF_T % 2147483647 == 1)
6383 ? 1 : -1];
6385 main ()
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_compile "$LINENO"; then :
6393 ac_cv_sys_large_files=1; break
6395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 ac_cv_sys_large_files=unknown
6397 break
6398 done
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6401 $as_echo "$ac_cv_sys_large_files" >&6; }
6402 case $ac_cv_sys_large_files in #(
6403 no | unknown) ;;
6405 cat >>confdefs.h <<_ACEOF
6406 #define _LARGE_FILES $ac_cv_sys_large_files
6407 _ACEOF
6409 esac
6410 rm -rf conftest*
6417 ac_ext=c
6418 ac_cpp='$CPP $CPPFLAGS'
6419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6423 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6424 # On Suns, sometimes $CPP names a directory.
6425 if test -n "$CPP" && test -d "$CPP"; then
6426 CPP=
6428 if test -z "$CPP"; then
6429 if ${ac_cv_prog_CPP+:} false; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 # Double quotes because CPP needs to be expanded
6433 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6435 ac_preproc_ok=false
6436 for ac_c_preproc_warn_flag in '' yes
6438 # Use a header file that comes with gcc, so configuring glibc
6439 # with a fresh cross-compiler works.
6440 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6441 # <limits.h> exists even on freestanding compilers.
6442 # On the NeXT, cc -E runs the code through the compiler's parser,
6443 # not just through cpp. "Syntax error" is here to catch this case.
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6446 #ifdef __STDC__
6447 # include <limits.h>
6448 #else
6449 # include <assert.h>
6450 #endif
6451 Syntax error
6452 _ACEOF
6453 if ac_fn_c_try_cpp "$LINENO"; then :
6455 else
6456 # Broken: fails on valid input.
6457 continue
6459 rm -f conftest.err conftest.i conftest.$ac_ext
6461 # OK, works on sane cases. Now check whether nonexistent headers
6462 # can be detected and how.
6463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6464 /* end confdefs.h. */
6465 #include <ac_nonexistent.h>
6466 _ACEOF
6467 if ac_fn_c_try_cpp "$LINENO"; then :
6468 # Broken: success on invalid input.
6469 continue
6470 else
6471 # Passes both tests.
6472 ac_preproc_ok=:
6473 break
6475 rm -f conftest.err conftest.i conftest.$ac_ext
6477 done
6478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6479 rm -f conftest.i conftest.err conftest.$ac_ext
6480 if $ac_preproc_ok; then :
6481 break
6484 done
6485 ac_cv_prog_CPP=$CPP
6488 CPP=$ac_cv_prog_CPP
6489 else
6490 ac_cv_prog_CPP=$CPP
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6493 $as_echo "$CPP" >&6; }
6494 ac_preproc_ok=false
6495 for ac_c_preproc_warn_flag in '' yes
6497 # Use a header file that comes with gcc, so configuring glibc
6498 # with a fresh cross-compiler works.
6499 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6500 # <limits.h> exists even on freestanding compilers.
6501 # On the NeXT, cc -E runs the code through the compiler's parser,
6502 # not just through cpp. "Syntax error" is here to catch this case.
6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6504 /* end confdefs.h. */
6505 #ifdef __STDC__
6506 # include <limits.h>
6507 #else
6508 # include <assert.h>
6509 #endif
6510 Syntax error
6511 _ACEOF
6512 if ac_fn_c_try_cpp "$LINENO"; then :
6514 else
6515 # Broken: fails on valid input.
6516 continue
6518 rm -f conftest.err conftest.i conftest.$ac_ext
6520 # OK, works on sane cases. Now check whether nonexistent headers
6521 # can be detected and how.
6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6524 #include <ac_nonexistent.h>
6525 _ACEOF
6526 if ac_fn_c_try_cpp "$LINENO"; then :
6527 # Broken: success on invalid input.
6528 continue
6529 else
6530 # Passes both tests.
6531 ac_preproc_ok=:
6532 break
6534 rm -f conftest.err conftest.i conftest.$ac_ext
6536 done
6537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6538 rm -f conftest.i conftest.err conftest.$ac_ext
6539 if $ac_preproc_ok; then :
6541 else
6542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6544 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6545 See \`config.log' for more details" "$LINENO" 5; }
6548 ac_ext=c
6549 ac_cpp='$CPP $CPPFLAGS'
6550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6556 $as_echo_n "checking for ANSI C header files... " >&6; }
6557 if ${ac_cv_header_stdc+:} false; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6561 /* end confdefs.h. */
6562 #include <stdlib.h>
6563 #include <stdarg.h>
6564 #include <string.h>
6565 #include <float.h>
6568 main ()
6572 return 0;
6574 _ACEOF
6575 if ac_fn_c_try_compile "$LINENO"; then :
6576 ac_cv_header_stdc=yes
6577 else
6578 ac_cv_header_stdc=no
6580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6582 if test $ac_cv_header_stdc = yes; then
6583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585 /* end confdefs.h. */
6586 #include <string.h>
6588 _ACEOF
6589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6590 $EGREP "memchr" >/dev/null 2>&1; then :
6592 else
6593 ac_cv_header_stdc=no
6595 rm -f conftest*
6599 if test $ac_cv_header_stdc = yes; then
6600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6602 /* end confdefs.h. */
6603 #include <stdlib.h>
6605 _ACEOF
6606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6607 $EGREP "free" >/dev/null 2>&1; then :
6609 else
6610 ac_cv_header_stdc=no
6612 rm -f conftest*
6616 if test $ac_cv_header_stdc = yes; then
6617 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6618 if test "$cross_compiling" = yes; then :
6620 else
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6623 #include <ctype.h>
6624 #include <stdlib.h>
6625 #if ((' ' & 0x0FF) == 0x020)
6626 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6627 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6628 #else
6629 # define ISLOWER(c) \
6630 (('a' <= (c) && (c) <= 'i') \
6631 || ('j' <= (c) && (c) <= 'r') \
6632 || ('s' <= (c) && (c) <= 'z'))
6633 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6634 #endif
6636 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6638 main ()
6640 int i;
6641 for (i = 0; i < 256; i++)
6642 if (XOR (islower (i), ISLOWER (i))
6643 || toupper (i) != TOUPPER (i))
6644 return 2;
6645 return 0;
6647 _ACEOF
6648 if ac_fn_c_try_run "$LINENO"; then :
6650 else
6651 ac_cv_header_stdc=no
6653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6654 conftest.$ac_objext conftest.beam conftest.$ac_ext
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6660 $as_echo "$ac_cv_header_stdc" >&6; }
6661 if test $ac_cv_header_stdc = yes; then
6663 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6668 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6669 inttypes.h stdint.h unistd.h
6670 do :
6671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6675 cat >>confdefs.h <<_ACEOF
6676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6677 _ACEOF
6681 done
6684 for ac_header in \
6685 AL/al.h \
6686 ApplicationServices/ApplicationServices.h \
6687 AudioToolbox/AudioConverter.h \
6688 AudioUnit/AudioUnit.h \
6689 AudioUnit/AudioComponent.h \
6690 CL/cl.h \
6691 Carbon/Carbon.h \
6692 CommonCrypto/CommonDigest.h \
6693 CoreAudio/CoreAudio.h \
6694 CoreServices/CoreServices.h \
6695 DiskArbitration/DiskArbitration.h \
6696 IOKit/IOKitLib.h \
6697 IOKit/hid/IOHIDLib.h \
6698 OpenAL/al.h \
6699 OpenCL/opencl.h \
6700 QuickTime/ImageCompression.h \
6701 Security/Security.h \
6702 alias.h \
6703 alsa/asoundlib.h \
6704 arpa/inet.h \
6705 arpa/nameser.h \
6706 asm/types.h \
6707 asm/user.h \
6708 curses.h \
6709 direct.h \
6710 dirent.h \
6711 dlfcn.h \
6712 elf.h \
6713 float.h \
6714 fnmatch.h \
6715 getopt.h \
6716 gettext-po.h \
6717 grp.h \
6718 gsm.h \
6719 gsm/gsm.h \
6720 ieeefp.h \
6721 inet/mib2.h \
6722 io.h \
6723 kstat.h \
6724 lber.h \
6725 ldap.h \
6726 libproc.h \
6727 link.h \
6728 linux/cdrom.h \
6729 linux/compiler.h \
6730 linux/filter.h \
6731 linux/hdreg.h \
6732 linux/input.h \
6733 linux/ioctl.h \
6734 linux/joystick.h \
6735 linux/major.h \
6736 linux/param.h \
6737 linux/serial.h \
6738 linux/types.h \
6739 linux/ucdrom.h \
6740 lwp.h \
6741 mach-o/nlist.h \
6742 mach-o/loader.h \
6743 mach/mach.h \
6744 mach/machine.h \
6745 machine/cpu.h \
6746 machine/limits.h \
6747 machine/sysarch.h \
6748 mntent.h \
6749 ncurses.h \
6750 netdb.h \
6751 netinet/in.h \
6752 netinet/in_systm.h \
6753 netinet/tcp.h \
6754 netinet/tcp_fsm.h \
6755 pcap/pcap.h \
6756 poll.h \
6757 port.h \
6758 process.h \
6759 pthread.h \
6760 pwd.h \
6761 sched.h \
6762 scsi/scsi.h \
6763 scsi/scsi_ioctl.h \
6764 scsi/sg.h \
6765 stdbool.h \
6766 stdint.h \
6767 stropts.h \
6768 sys/asoundlib.h \
6769 sys/attr.h \
6770 sys/cdio.h \
6771 sys/elf32.h \
6772 sys/epoll.h \
6773 sys/event.h \
6774 sys/exec_elf.h \
6775 sys/filio.h \
6776 sys/inotify.h \
6777 sys/ioctl.h \
6778 sys/ipc.h \
6779 sys/limits.h \
6780 sys/link.h \
6781 sys/mman.h \
6782 sys/modem.h \
6783 sys/msg.h \
6784 sys/mtio.h \
6785 sys/param.h \
6786 sys/poll.h \
6787 sys/prctl.h \
6788 sys/protosw.h \
6789 sys/ptrace.h \
6790 sys/queue.h \
6791 sys/resource.h \
6792 sys/scsiio.h \
6793 sys/shm.h \
6794 sys/signal.h \
6795 sys/socket.h \
6796 sys/socketvar.h \
6797 sys/sockio.h \
6798 sys/statvfs.h \
6799 sys/strtio.h \
6800 sys/syscall.h \
6801 sys/tihdr.h \
6802 sys/time.h \
6803 sys/timeout.h \
6804 sys/times.h \
6805 sys/uio.h \
6806 sys/user.h \
6807 sys/utsname.h \
6808 sys/vm86.h \
6809 sys/vnode.h \
6810 sys/wait.h \
6811 syscall.h \
6812 termios.h \
6813 unistd.h \
6814 utime.h \
6815 valgrind/memcheck.h \
6816 valgrind/valgrind.h \
6817 zlib.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6822 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6823 cat >>confdefs.h <<_ACEOF
6824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6825 _ACEOF
6829 done
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6832 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6833 if ${ac_cv_header_stat_broken+:} false; then :
6834 $as_echo_n "(cached) " >&6
6835 else
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6838 #include <sys/types.h>
6839 #include <sys/stat.h>
6841 #if defined S_ISBLK && defined S_IFDIR
6842 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6843 #endif
6845 #if defined S_ISBLK && defined S_IFCHR
6846 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6847 #endif
6849 #if defined S_ISLNK && defined S_IFREG
6850 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6851 #endif
6853 #if defined S_ISSOCK && defined S_IFREG
6854 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6855 #endif
6857 _ACEOF
6858 if ac_fn_c_try_compile "$LINENO"; then :
6859 ac_cv_header_stat_broken=no
6860 else
6861 ac_cv_header_stat_broken=yes
6863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6866 $as_echo "$ac_cv_header_stat_broken" >&6; }
6867 if test $ac_cv_header_stat_broken = yes; then
6869 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6875 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6876 do :
6877 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6878 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6879 #ifdef HAVE_SYS_PARAM_H
6880 # include <sys/param.h>
6881 #endif
6883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6884 cat >>confdefs.h <<_ACEOF
6885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6893 for ac_header in \
6894 netinet/ip.h \
6895 net/if.h \
6896 net/if_arp.h \
6897 net/if_dl.h \
6898 net/if_types.h \
6899 net/route.h \
6900 netinet/if_ether.h \
6901 netinet/if_inarp.h \
6902 netinet/in_pcb.h \
6903 netinet/ip_icmp.h \
6904 netinet/ip_var.h \
6905 netinet/udp.h \
6906 netipx/ipx.h \
6907 sys/un.h \
6909 do :
6910 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6911 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6912 #ifdef HAVE_SYS_SOCKET_H
6913 # include <sys/socket.h>
6914 #endif
6915 #ifdef HAVE_SYS_SOCKETVAR_H
6916 # include <sys/socketvar.h>
6917 #endif
6918 #ifdef HAVE_NET_ROUTE_H
6919 # include <net/route.h>
6920 #endif
6921 #ifdef HAVE_NETINET_IN_H
6922 # include <netinet/in.h>
6923 #endif
6924 #ifdef HAVE_NETINET_IN_SYSTM_H
6925 # include <netinet/in_systm.h>
6926 #endif
6927 #ifdef HAVE_NET_IF_H
6928 # include <net/if.h>
6929 #endif
6930 #ifdef HAVE_NETINET_IP_H
6931 # include <netinet/ip.h>
6932 #endif
6934 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6935 cat >>confdefs.h <<_ACEOF
6936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6937 _ACEOF
6941 done
6944 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6945 do :
6946 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6947 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6948 #ifdef HAVE_ALIAS_H
6949 # include <alias.h>
6950 #endif
6951 #ifdef HAVE_SYS_SOCKET_H
6952 # include <sys/socket.h>
6953 #endif
6954 #ifdef HAVE_SYS_SOCKETVAR_H
6955 # include <sys/socketvar.h>
6956 #endif
6957 #ifdef HAVE_SYS_TIMEOUT_H
6958 # include <sys/timeout.h>
6959 #endif
6960 #ifdef HAVE_NETINET_IN_H
6961 # include <netinet/in.h>
6962 #endif
6963 #ifdef HAVE_NETINET_IN_SYSTM_H
6964 # include <netinet/in_systm.h>
6965 #endif
6966 #ifdef HAVE_NETINET_IP_H
6967 # include <netinet/ip.h>
6968 #endif
6969 #ifdef HAVE_NETINET_IP_VAR_H
6970 # include <netinet/ip_var.h>
6971 #endif
6972 #ifdef HAVE_NETINET_IP_ICMP_H
6973 # include <netinet/ip_icmp.h>
6974 #endif
6975 #ifdef HAVE_NETINET_UDP_H
6976 # include <netinet/udp.h>
6977 #endif
6978 #ifdef HAVE_NETINET_TCP_H
6979 # include <netinet/tcp.h>
6980 #endif
6981 #ifdef HAVE_NETINET_TCP_TIMER_H
6982 #include <netinet/tcp_timer.h>
6983 #endif
6985 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6986 cat >>confdefs.h <<_ACEOF
6987 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6988 _ACEOF
6992 done
6995 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6996 do :
6997 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6998 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6999 #ifdef HAVE_ASM_TYPES_H
7000 # include <asm/types.h>
7001 #endif
7002 #ifdef HAVE_SYS_SOCKET_H
7003 # include <sys/socket.h>
7004 #endif
7005 #ifdef HAVE_LINUX_TYPES_H
7006 # include <linux/types.h>
7007 #endif
7009 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7010 cat >>confdefs.h <<_ACEOF
7011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7012 _ACEOF
7016 done
7019 for ac_header in mach-o/dyld_images.h
7020 do :
7021 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7022 # include <stdbool.h>
7023 #endif
7024 #ifdef HAVE_STDINT_H
7025 # include <stdint.h>
7026 #endif
7028 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7029 cat >>confdefs.h <<_ACEOF
7030 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7031 _ACEOF
7035 done
7038 for ac_header in resolv.h
7039 do :
7040 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7041 #ifdef HAVE_SYS_SOCKET_H
7042 # include <sys/socket.h>
7043 #endif
7044 #ifdef HAVE_NETINET_IN_H
7045 # include <netinet/in.h>
7046 #endif
7047 #ifdef HAVE_ARPA_NAMESER_H
7048 # include <arpa/nameser.h>
7049 #endif
7051 if test "x$ac_cv_header_resolv_h" = xyes; then :
7052 cat >>confdefs.h <<_ACEOF
7053 #define HAVE_RESOLV_H 1
7054 _ACEOF
7058 done
7061 for ac_header in ifaddrs.h
7062 do :
7063 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7065 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7066 cat >>confdefs.h <<_ACEOF
7067 #define HAVE_IFADDRS_H 1
7068 _ACEOF
7072 done
7075 for ac_header in sys/ucontext.h
7076 do :
7077 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7079 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7080 cat >>confdefs.h <<_ACEOF
7081 #define HAVE_SYS_UCONTEXT_H 1
7082 _ACEOF
7086 done
7089 for ac_header in sys/thr.h
7090 do :
7091 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7092 #ifdef HAVE_SYS_UCONTEXT_H
7093 #include <sys/ucontext.h>
7094 #endif
7096 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7097 cat >>confdefs.h <<_ACEOF
7098 #define HAVE_SYS_THR_H 1
7099 _ACEOF
7103 done
7106 for ac_header in pthread_np.h
7107 do :
7108 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7109 #include <pthread.h>
7110 #endif
7112 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7113 cat >>confdefs.h <<_ACEOF
7114 #define HAVE_PTHREAD_NP_H 1
7115 _ACEOF
7119 done
7122 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7123 do :
7124 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7125 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7126 #include <sys/time.h>
7127 #endif
7128 #include <sys/types.h>
7129 #ifdef HAVE_ASM_TYPES_H
7130 #include <asm/types.h>
7131 #endif
7133 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7134 cat >>confdefs.h <<_ACEOF
7135 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7136 _ACEOF
7140 done
7143 for ac_header in libprocstat.h
7144 do :
7145 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7146 #include <sys/param.h>
7147 #endif
7148 #ifdef HAVE_SYS_QUEUE_H
7149 #include <sys/queue.h>
7150 #endif
7151 #ifdef HAVE_SYS_SOCKET_H
7152 #include <sys/socket.h>
7153 #endif
7155 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define HAVE_LIBPROCSTAT_H 1
7158 _ACEOF
7162 done
7166 dlldir="\${libdir}/wine"
7168 DLLFLAGS="-D_REENTRANT"
7170 LDRPATH_INSTALL=""
7172 LDRPATH_LOCAL=""
7174 LDEXECFLAGS=""
7176 LIBEXT="so"
7177 DLLEXT=".so"
7178 IMPLIBEXT="def"
7179 STATIC_IMPLIBEXT="def.a"
7180 # Extract the first word of "ldd", so it can be a program name with args.
7181 set dummy ldd; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if ${ac_cv_path_LDD+:} false; then :
7185 $as_echo_n "(cached) " >&6
7186 else
7187 case $LDD in
7188 [\\/]* | ?:[\\/]*)
7189 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193 as_dummy="/sbin:/usr/sbin:$PATH"
7194 for as_dir in $as_dummy
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7208 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7210 esac
7212 LDD=$ac_cv_path_LDD
7213 if test -n "$LDD"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7215 $as_echo "$LDD" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7222 if test -n "$ac_tool_prefix"; then
7223 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7224 set dummy ${ac_tool_prefix}otool; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_OTOOL+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$OTOOL"; then
7231 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 OTOOL=$ac_cv_prog_OTOOL
7251 if test -n "$OTOOL"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7253 $as_echo "$OTOOL" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7261 if test -z "$ac_cv_prog_OTOOL"; then
7262 ac_ct_OTOOL=$OTOOL
7263 # Extract the first word of "otool", so it can be a program name with args.
7264 set dummy otool; ac_word=$2
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7266 $as_echo_n "checking for $ac_word... " >&6; }
7267 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7268 $as_echo_n "(cached) " >&6
7269 else
7270 if test -n "$ac_ct_OTOOL"; then
7271 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7272 else
7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 for as_dir in $PATH
7276 IFS=$as_save_IFS
7277 test -z "$as_dir" && as_dir=.
7278 for ac_exec_ext in '' $ac_executable_extensions; do
7279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7280 ac_cv_prog_ac_ct_OTOOL="otool"
7281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7282 break 2
7284 done
7285 done
7286 IFS=$as_save_IFS
7290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7291 if test -n "$ac_ct_OTOOL"; then
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7293 $as_echo "$ac_ct_OTOOL" >&6; }
7294 else
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7299 if test "x$ac_ct_OTOOL" = x; then
7300 OTOOL="otool"
7301 else
7302 case $cross_compiling:$ac_tool_warned in
7303 yes:)
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7306 ac_tool_warned=yes ;;
7307 esac
7308 OTOOL=$ac_ct_OTOOL
7310 else
7311 OTOOL="$ac_cv_prog_OTOOL"
7314 if test -n "$ac_tool_prefix"; then
7315 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7316 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318 $as_echo_n "checking for $ac_word... " >&6; }
7319 if ${ac_cv_prog_READELF+:} false; then :
7320 $as_echo_n "(cached) " >&6
7321 else
7322 if test -n "$READELF"; then
7323 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 test -z "$as_dir" && as_dir=.
7330 for ac_exec_ext in '' $ac_executable_extensions; do
7331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7332 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 break 2
7336 done
7337 done
7338 IFS=$as_save_IFS
7342 READELF=$ac_cv_prog_READELF
7343 if test -n "$READELF"; then
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7345 $as_echo "$READELF" >&6; }
7346 else
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348 $as_echo "no" >&6; }
7353 if test -z "$ac_cv_prog_READELF"; then
7354 ac_ct_READELF=$READELF
7355 # Extract the first word of "readelf", so it can be a program name with args.
7356 set dummy readelf; ac_word=$2
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 $as_echo_n "checking for $ac_word... " >&6; }
7359 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7360 $as_echo_n "(cached) " >&6
7361 else
7362 if test -n "$ac_ct_READELF"; then
7363 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7364 else
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 for as_dir in $PATH
7368 IFS=$as_save_IFS
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_ac_ct_READELF="readelf"
7373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7382 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7383 if test -n "$ac_ct_READELF"; then
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7385 $as_echo "$ac_ct_READELF" >&6; }
7386 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 $as_echo "no" >&6; }
7391 if test "x$ac_ct_READELF" = x; then
7392 READELF="true"
7393 else
7394 case $cross_compiling:$ac_tool_warned in
7395 yes:)
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7398 ac_tool_warned=yes ;;
7399 esac
7400 READELF=$ac_ct_READELF
7402 else
7403 READELF="$ac_cv_prog_READELF"
7406 wine_rules_file=conf$$rules.make
7407 rm -f $wine_rules_file
7408 ALL_POT_FILES=""
7409 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7410 SUBDIRS=""
7412 ALL_TEST_RESOURCES=""
7415 wine_fn_append_file ()
7417 as_fn_append $1 " \\$as_nl $2"
7420 wine_fn_ignore_file ()
7422 case "$1" in
7423 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7424 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7425 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7426 esac
7429 wine_fn_append_rule ()
7431 $as_echo "$1" >>$wine_rules_file
7434 wine_fn_has_flag ()
7436 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7439 wine_fn_depend_rules ()
7441 wine_fn_append_file SUBDIRS $ac_dir
7444 wine_fn_pot_rules ()
7446 test "x$with_gettextpo" = xyes || return
7448 if wine_fn_has_flag mc
7449 then
7450 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7451 wine_fn_append_rule \
7452 "$ac_dir/msg.pot: dummy
7453 @cd $ac_dir && \$(MAKE) msg.pot
7454 $ac_dir/msg.pot: tools/wmc include"
7456 if wine_fn_has_flag po
7457 then
7458 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7459 wine_fn_append_rule \
7460 "$ac_dir/rsrc.pot: dummy
7461 @cd $ac_dir && \$(MAKE) rsrc.pot
7462 $ac_dir/rsrc.pot: tools/wrc include"
7466 wine_fn_all_rules ()
7468 wine_fn_depend_rules
7469 wine_fn_append_rule \
7470 "all: $ac_dir
7471 .PHONY: $ac_dir
7472 $ac_dir: dummy
7473 @cd $ac_dir && \$(MAKE)"
7476 wine_fn_install_rules ()
7478 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7480 wine_fn_append_rule \
7481 ".PHONY: $ac_dir/install $ac_dir/uninstall
7482 $ac_dir/install:: $ac_dir
7483 @cd $ac_dir && \$(MAKE) install
7484 $ac_dir/uninstall::
7485 @cd $ac_dir && \$(MAKE) uninstall
7486 install:: $ac_dir/install
7487 __uninstall__: $ac_dir/uninstall"
7489 if wine_fn_has_flag install-lib
7490 then
7491 wine_fn_append_rule \
7492 ".PHONY: $ac_dir/install-lib
7493 $ac_dir/install-lib:: $ac_dir
7494 @cd $ac_dir && \$(MAKE) install-lib
7495 install-lib:: $ac_dir/install-lib"
7498 if wine_fn_has_flag install-dev
7499 then
7500 wine_fn_append_rule \
7501 ".PHONY: $ac_dir/install-dev
7502 $ac_dir/install-dev:: $ac_dir
7503 @cd $ac_dir && \$(MAKE) install-dev
7504 install-dev:: $ac_dir/install-dev"
7508 wine_fn_clean_rules ()
7510 ac_clean=$@
7512 if wine_fn_has_flag clean
7513 then
7514 wine_fn_append_rule \
7515 "$ac_dir/clean: dummy
7516 @cd $ac_dir && \$(MAKE) clean"
7517 else
7518 wine_fn_append_rule \
7519 "$ac_dir/clean: dummy
7520 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7522 wine_fn_append_rule \
7523 "__clean__: $ac_dir/clean
7524 .PHONY: $ac_dir/clean"
7527 wine_fn_disabled_rules ()
7529 ac_clean=$@
7531 wine_fn_append_rule \
7532 "__clean__: $ac_dir/clean
7533 .PHONY: $ac_dir/clean
7534 $ac_dir/clean: dummy
7535 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7538 wine_fn_config_makefile ()
7540 ac_dir=$1
7541 ac_enable=$2
7542 ac_flags=$3
7544 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7545 wine_fn_disabled_rules; return
7547 wine_fn_all_rules
7548 wine_fn_install_rules
7549 wine_fn_clean_rules
7552 wine_fn_config_lib ()
7554 ac_name=$1
7555 ac_flags=$2
7556 ac_dir=dlls/$ac_name
7557 ac_deps="include"
7559 if test "x$enable_tools" = xno; then :
7561 else
7562 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7564 wine_fn_all_rules
7565 wine_fn_clean_rules
7567 wine_fn_append_rule \
7568 ".PHONY: $ac_dir/install $ac_dir/uninstall
7569 $ac_dir/install:: $ac_dir
7570 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7571 $ac_dir/uninstall::
7572 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7573 install install-dev:: $ac_dir/install
7574 __uninstall__: $ac_dir/uninstall
7575 __builddeps__: $ac_dir
7576 $ac_dir: $ac_deps"
7579 wine_fn_config_dll ()
7581 ac_name=$1
7582 ac_dir=dlls/$ac_name
7583 ac_enable=$2
7584 ac_flags=$3
7585 ac_implib=${4:-$ac_name}
7586 ac_file=$ac_dir/lib$ac_implib
7587 ac_dll=$ac_name
7588 ac_deps="include"
7589 ac_implibflags=""
7591 if test "x$enable_tools" = xno; then :
7593 else
7594 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7596 case $ac_name in
7597 *16) ac_implibflags=" -m16" ;;
7598 *.*) ;;
7599 *) ac_dll=$ac_dll.dll ;;
7600 esac
7602 ac_clean=
7603 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7604 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7605 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7606 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7608 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7609 if test "$ac_enable" != enable_win16
7610 then
7611 wine_fn_depend_rules
7612 wine_fn_clean_rules $ac_clean
7613 wine_fn_pot_rules
7614 else
7615 wine_fn_disabled_rules $ac_clean
7616 return
7618 else
7619 wine_fn_all_rules
7620 wine_fn_clean_rules $ac_clean
7621 wine_fn_append_rule \
7622 "$ac_dir: __builddeps__
7623 manpages htmlpages sgmlpages xmlpages::
7624 @cd $ac_dir && \$(MAKE) \$@
7625 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7626 install install-lib:: $ac_dir/install-lib
7627 __uninstall__: $ac_dir/uninstall"
7628 if test -n "$DLLEXT"
7629 then
7630 wine_fn_append_rule \
7631 "$ac_dir/install-lib:: $ac_dir
7632 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7633 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7634 $ac_dir/uninstall::
7635 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7636 else
7637 wine_fn_append_rule \
7638 "$ac_dir/install-lib:: $ac_dir
7639 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7640 $ac_dir/uninstall::
7641 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7644 wine_fn_pot_rules
7647 if wine_fn_has_flag staticimplib
7648 then
7649 wine_fn_append_rule \
7650 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7651 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7652 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7653 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7654 $ac_file.$STATIC_IMPLIBEXT: dummy
7655 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7656 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7657 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7658 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7659 $ac_dir/uninstall::
7660 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7661 install install-dev:: $ac_dir/install-dev
7662 __uninstall__: $ac_dir/uninstall"
7664 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7665 then
7666 wine_fn_append_rule \
7667 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7668 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7669 $ac_dir/uninstall::
7670 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7673 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7674 then
7675 wine_fn_append_rule \
7676 "__builddeps__: $ac_file.cross.a
7677 $ac_file.cross.a: dummy
7678 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7681 elif wine_fn_has_flag implib
7682 then
7683 wine_fn_append_rule \
7684 "__builddeps__: $ac_file.$IMPLIBEXT
7685 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7686 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7687 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7688 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7689 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7690 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7691 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7692 $ac_dir/uninstall::
7693 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7694 install install-dev:: $ac_dir/install-dev
7695 __uninstall__: $ac_dir/uninstall"
7696 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7697 then
7698 wine_fn_append_rule \
7699 "__builddeps__: $ac_file.cross.a
7700 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7701 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7704 if test "$ac_name" != "$ac_implib"
7705 then
7706 wine_fn_append_rule \
7707 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7708 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7709 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7710 clean::
7711 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7712 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7713 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7714 then
7715 wine_fn_append_rule \
7716 "__builddeps__: dlls/lib$ac_implib.cross.a
7717 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7718 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7719 clean::
7720 \$(RM) dlls/lib$ac_implib.cross.a"
7721 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7727 wine_fn_config_program ()
7729 ac_name=$1
7730 ac_dir=programs/$ac_name
7731 ac_enable=$2
7732 ac_flags=$3
7733 ac_program=$ac_name
7735 case $ac_name in
7736 *.*) ;;
7737 *) ac_program=$ac_program.exe ;;
7738 esac
7740 ac_clean=
7741 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7742 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7743 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7744 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7746 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7747 wine_fn_disabled_rules $ac_clean; return
7750 wine_fn_all_rules
7751 wine_fn_clean_rules $ac_clean
7752 wine_fn_append_rule "$ac_dir: __builddeps__"
7753 wine_fn_pot_rules
7755 wine_fn_has_flag install || return
7756 wine_fn_append_rule \
7757 ".PHONY: $ac_dir/install $ac_dir/uninstall
7758 install install-lib:: $ac_dir/install
7759 __uninstall__: $ac_dir/uninstall"
7761 if test -n "$DLLEXT"
7762 then
7763 wine_fn_append_rule \
7764 "$ac_dir/install:: $ac_dir
7765 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7766 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7767 $ac_dir/uninstall::
7768 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7770 if test -z "$with_wine64" && wine_fn_has_flag installbin
7771 then
7772 wine_fn_append_rule \
7773 "$ac_dir/install:: __tooldeps__
7774 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7775 $ac_dir/uninstall::
7776 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7778 else
7779 wine_fn_append_rule \
7780 "$ac_dir/install:: $ac_dir
7781 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7782 $ac_dir/uninstall::
7783 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7786 if test -z "$with_wine64" && wine_fn_has_flag manpage
7787 then
7788 wine_fn_append_rule \
7789 "$ac_dir/install:: $ac_dir
7790 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7791 $ac_dir/uninstall::
7792 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7796 wine_fn_config_test ()
7798 ac_dir=$1
7799 ac_name=$2
7800 ac_flags=$3
7802 ac_clean=
7803 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7804 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7806 if test "x$enable_tests" = xno; then :
7807 wine_fn_disabled_rules $ac_clean; return
7810 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7811 wine_fn_all_rules
7812 wine_fn_clean_rules $ac_clean
7814 wine_fn_append_rule \
7815 "$ac_dir: __builddeps__
7816 programs/winetest: $ac_dir
7817 check test: $ac_dir/test
7818 .PHONY: $ac_dir/test
7819 $ac_dir/test: dummy
7820 @cd $ac_dir && \$(MAKE) test
7821 testclean::
7822 \$(RM) $ac_dir/*.ok"
7824 if test -n "$CROSSTARGET"
7825 then
7826 wine_fn_append_rule \
7827 "crosstest: $ac_dir/crosstest
7828 .PHONY: $ac_dir/crosstest
7829 $ac_dir/crosstest: __builddeps__ dummy
7830 @cd $ac_dir && \$(MAKE) crosstest"
7834 wine_fn_config_tool ()
7836 ac_dir=$1
7837 ac_flags=$2
7838 if test "x$enable_tools" = xno; then :
7839 return
7842 wine_fn_all_rules
7843 wine_fn_install_rules
7844 wine_fn_clean_rules
7846 wine_fn_append_rule "__tooldeps__: $ac_dir"
7847 wine_fn_append_rule "$ac_dir: libs/port"
7848 case $ac_dir in
7849 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7850 esac
7853 wine_fn_config_symlink ()
7855 ac_linkdir=
7856 if test "x$1" = "x-d"
7857 then
7858 ac_linkdir=$2
7859 shift; shift
7861 ac_links=$@
7862 wine_fn_append_rule \
7863 "$ac_links:
7864 @./config.status \$@
7865 distclean::
7866 \$(RM) $ac_links"
7867 for f in $ac_links; do wine_fn_ignore_file $f; done
7868 test -n "$ac_linkdir" || return
7869 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7872 wine_binary="wine"
7873 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7874 WINELOADER_PROGRAMS="$wine_binary"
7876 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7878 case $host_os in
7879 cygwin*|mingw32*)
7880 if test -n "$ac_tool_prefix"; then
7881 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7882 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7884 $as_echo_n "checking for $ac_word... " >&6; }
7885 if ${ac_cv_prog_DLLTOOL+:} false; then :
7886 $as_echo_n "(cached) " >&6
7887 else
7888 if test -n "$DLLTOOL"; then
7889 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7890 else
7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 for as_dir in $PATH
7894 IFS=$as_save_IFS
7895 test -z "$as_dir" && as_dir=.
7896 for ac_exec_ext in '' $ac_executable_extensions; do
7897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7898 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 break 2
7902 done
7903 done
7904 IFS=$as_save_IFS
7908 DLLTOOL=$ac_cv_prog_DLLTOOL
7909 if test -n "$DLLTOOL"; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7911 $as_echo "$DLLTOOL" >&6; }
7912 else
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7914 $as_echo "no" >&6; }
7919 if test -z "$ac_cv_prog_DLLTOOL"; then
7920 ac_ct_DLLTOOL=$DLLTOOL
7921 # Extract the first word of "dlltool", so it can be a program name with args.
7922 set dummy dlltool; ac_word=$2
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7924 $as_echo_n "checking for $ac_word... " >&6; }
7925 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7926 $as_echo_n "(cached) " >&6
7927 else
7928 if test -n "$ac_ct_DLLTOOL"; then
7929 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7930 else
7931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 for as_dir in $PATH
7934 IFS=$as_save_IFS
7935 test -z "$as_dir" && as_dir=.
7936 for ac_exec_ext in '' $ac_executable_extensions; do
7937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7938 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 break 2
7942 done
7943 done
7944 IFS=$as_save_IFS
7948 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7949 if test -n "$ac_ct_DLLTOOL"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7951 $as_echo "$ac_ct_DLLTOOL" >&6; }
7952 else
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7957 if test "x$ac_ct_DLLTOOL" = x; then
7958 DLLTOOL="false"
7959 else
7960 case $cross_compiling:$ac_tool_warned in
7961 yes:)
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7964 ac_tool_warned=yes ;;
7965 esac
7966 DLLTOOL=$ac_ct_DLLTOOL
7968 else
7969 DLLTOOL="$ac_cv_prog_DLLTOOL"
7972 LIBEXT="dll"
7973 DLLEXT=""
7974 IMPLIBEXT="a"
7975 STATIC_IMPLIBEXT="a"
7976 enable_iphlpapi=${enable_iphlpapi:-no}
7977 enable_kernel32=${enable_kernel32:-no}
7978 enable_msvcrt=${enable_msvcrt:-no}
7979 enable_ntdll=${enable_ntdll:-no}
7980 enable_ws2_32=${enable_ws2_32:-no}
7981 enable_loader=${enable_loader:-no}
7982 enable_server=${enable_server:-no}
7983 with_x=${with_x:-no}
7984 with_pthread=${with_pthread:-no}
7986 crtlibs=""
7987 case $host_os in
7988 mingw32*)
7989 crtlibs="-lmsvcrt"
7990 SOCKET_LIBS="-lws2_32"
7992 esac
7994 LIBWINE_SHAREDLIB="libwine.dll"
7996 LIBWINE_IMPORTLIB="libwine.a"
7998 LIBWINE_INSTALL_LIB="libwine.dll"
8000 LIBWINE_INSTALL_DEV="libwine.a"
8002 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8004 LIBWINE_DEPENDS="wine.def"
8008 darwin*|macosx*)
8009 for ac_header in libunwind.h
8010 do :
8011 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8013 cat >>confdefs.h <<_ACEOF
8014 #define HAVE_LIBUNWIND_H 1
8015 _ACEOF
8019 done
8021 LIBEXT="dylib"
8022 DLLFLAGS="$DLLFLAGS -fPIC"
8023 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8024 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8025 COREFOUNDATION_LIBS="-framework CoreFoundation"
8027 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8029 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8031 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8033 CORESERVICES_LIBS="-framework CoreServices"
8035 APPKIT_LIBS="-framework AppKit"
8037 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8039 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8040 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8041 $as_echo_n "(cached) " >&6
8042 else
8043 ac_wine_try_cflags_saved=$CFLAGS
8044 CFLAGS="$CFLAGS -Wl,-no_pie"
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8047 int main(int argc, char **argv) { return 0; }
8048 _ACEOF
8049 if ac_fn_c_try_link "$LINENO"; then :
8050 ac_cv_cflags__Wl__no_pie=yes
8051 else
8052 ac_cv_cflags__Wl__no_pie=no
8054 rm -f core conftest.err conftest.$ac_objext \
8055 conftest$ac_exeext conftest.$ac_ext
8056 CFLAGS=$ac_wine_try_cflags_saved
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8059 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8060 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8061 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8063 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8064 then
8065 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8068 if test "$ac_cv_header_Security_Security_h" = "yes"
8069 then
8070 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8072 ac_save_LIBS="$LIBS"
8073 LIBS="$LIBS $SECURITY_LIBS"
8074 for ac_func in SSLCopyPeerCertificates
8075 do :
8076 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8077 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8078 cat >>confdefs.h <<_ACEOF
8079 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8080 _ACEOF
8083 done
8085 LIBS="$ac_save_LIBS"
8086 with_gnutls=${with_gnutls:-no}
8088 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8089 then
8090 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8091 then
8092 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8094 else
8095 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8098 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8099 ac_save_LIBS="$LIBS"
8100 LIBS="$LIBS $COREAUDIO_LIBS"
8101 for ac_func in AUGraphAddNode
8102 do :
8103 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8104 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8105 cat >>confdefs.h <<_ACEOF
8106 #define HAVE_AUGRAPHADDNODE 1
8107 _ACEOF
8110 done
8112 LIBS="$ac_save_LIBS"
8114 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8115 then
8116 OPENAL_LIBS="-framework OpenAL"
8119 cat >>confdefs.h <<_ACEOF
8120 #define HAVE_OPENAL 1
8121 _ACEOF
8123 ac_cv_lib_openal=yes
8125 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8126 then
8127 OPENCL_LIBS="-framework OpenCL"
8129 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8131 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8132 then
8133 ac_save_LIBS="$LIBS"
8134 LIBS="$LIBS $IOKIT_LIBS"
8135 for ac_func in IOHIDManagerCreate
8136 do :
8137 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8138 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8139 cat >>confdefs.h <<_ACEOF
8140 #define HAVE_IOHIDMANAGERCREATE 1
8141 _ACEOF
8144 done
8146 LIBS="$ac_save_LIBS"
8148 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8149 then
8150 ac_save_LIBS="$LIBS"
8151 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8153 $as_echo_n "checking for the QuickTime framework... " >&6; }
8154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h. */
8156 #include <QuickTime/ImageCompression.h>
8158 main ()
8160 CodecManagerVersion(NULL);
8162 return 0;
8164 _ACEOF
8165 if ac_fn_c_try_link "$LINENO"; then :
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8167 $as_echo "yes" >&6; }
8168 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8170 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8171 else
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8173 $as_echo "no" >&6; }
8174 ac_cv_header_QuickTime_ImageCompression_h=no
8176 rm -f core conftest.err conftest.$ac_objext \
8177 conftest$ac_exeext conftest.$ac_ext
8178 LIBS="$ac_save_LIBS"
8180 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8181 then
8182 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8184 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8185 then
8186 CARBON_LIBS="-framework Carbon"
8190 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8191 then
8192 ac_save_LIBS="$LIBS"
8193 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8194 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8195 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8196 enable_winemac_drv=${enable_winemac_drv:-yes}
8199 LIBS="$ac_save_LIBS"
8202 if test "x$enable_win16" = "xyes"
8203 then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8205 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8206 if test "$cross_compiling" = yes; then :
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8208 $as_echo "cross-compiling, assuming yes" >&6; }
8209 else
8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8211 /* end confdefs.h. */
8212 asm(".text\n"
8213 "bad:\tnop;nop\n"
8214 "good:\tnop;nop\n\t"
8215 ".globl _testfunc\n"
8216 "_testfunc:\tcallw good");
8217 extern void testfunc();
8219 main ()
8221 unsigned short *p = (unsigned short *)testfunc;
8222 return p[0] != 0xe866 || p[1] != 0xfffa
8224 return 0;
8226 _ACEOF
8227 if ac_fn_c_try_run "$LINENO"; then :
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8229 $as_echo "yes" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8233 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
8235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8236 conftest.$ac_objext conftest.beam conftest.$ac_ext
8241 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8243 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8245 LIBWINE_INSTALL_DEV="libwine.dylib"
8247 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8249 WINELOADER_DEPENDS="wine_info.plist"
8253 linux-android*)
8254 DLLFLAGS="$DLLFLAGS -fPIC"
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8256 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8257 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 ac_wine_try_cflags_saved=$CFLAGS
8261 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8263 /* end confdefs.h. */
8264 int main(int argc, char **argv) { return 0; }
8265 _ACEOF
8266 if ac_fn_c_try_link "$LINENO"; then :
8267 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8268 else
8269 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8271 rm -f core conftest.err conftest.$ac_objext \
8272 conftest$ac_exeext conftest.$ac_ext
8273 CFLAGS=$ac_wine_try_cflags_saved
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8276 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8277 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8278 LDEXECFLAGS="-Wl,--export-dynamic"
8280 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8282 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8283 if eval \${$as_ac_var+:} false; then :
8284 $as_echo_n "(cached) " >&6
8285 else
8286 ac_wine_try_cflags_saved=$CFLAGS
8287 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289 /* end confdefs.h. */
8290 int main(int argc, char **argv) { return 0; }
8291 _ACEOF
8292 if ac_fn_c_try_link "$LINENO"; then :
8293 eval "$as_ac_var=yes"
8294 else
8295 eval "$as_ac_var=no"
8297 rm -f core conftest.err conftest.$ac_objext \
8298 conftest$ac_exeext conftest.$ac_ext
8299 CFLAGS=$ac_wine_try_cflags_saved
8301 eval ac_res=\$$as_ac_var
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8303 $as_echo "$ac_res" >&6; }
8304 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8305 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8306 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8307 else
8308 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8310 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8311 if eval \${$as_ac_var+:} false; then :
8312 $as_echo_n "(cached) " >&6
8313 else
8314 ac_wine_try_cflags_saved=$CFLAGS
8315 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h. */
8318 int main(int argc, char **argv) { return 0; }
8319 _ACEOF
8320 if ac_fn_c_try_link "$LINENO"; then :
8321 eval "$as_ac_var=yes"
8322 else
8323 eval "$as_ac_var=no"
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 CFLAGS=$ac_wine_try_cflags_saved
8329 eval ac_res=\$$as_ac_var
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8331 $as_echo "$ac_res" >&6; }
8332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8333 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8334 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8339 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8340 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8341 $as_echo_n "(cached) " >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8346 /* end confdefs.h. */
8347 int main(int argc, char **argv) { return 0; }
8348 _ACEOF
8349 if ac_fn_c_try_link "$LINENO"; then :
8350 ac_cv_cflags__Wl___enable_new_dtags=yes
8351 else
8352 ac_cv_cflags__Wl___enable_new_dtags=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 CFLAGS=$ac_wine_try_cflags_saved
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8359 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8360 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8361 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8364 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8365 if ${ac_cv_cflags__Wl__pie+:} false; then :
8366 $as_echo_n "(cached) " >&6
8367 else
8368 ac_wine_try_cflags_saved=$CFLAGS
8369 CFLAGS="$CFLAGS -Wl,-pie"
8370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8371 /* end confdefs.h. */
8372 int main(int argc, char **argv) { return 0; }
8373 _ACEOF
8374 if ac_fn_c_try_link "$LINENO"; then :
8375 ac_cv_cflags__Wl__pie=yes
8376 else
8377 ac_cv_cflags__Wl__pie=no
8379 rm -f core conftest.err conftest.$ac_objext \
8380 conftest$ac_exeext conftest.$ac_ext
8381 CFLAGS=$ac_wine_try_cflags_saved
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8384 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8385 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8386 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8389 LIBWINE_SHAREDLIB="libwine.so"
8391 LIBWINE_INSTALL_LIB="libwine.so"
8393 LIBWINE_LDFLAGS="-shared"
8398 DLLFLAGS="$DLLFLAGS -fPIC"
8399 LDEXECFLAGS=""
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8401 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8402 if ${ac_cv_c_dll_gnuelf+:} false; then :
8403 $as_echo_n "(cached) " >&6
8404 else
8405 ac_wine_try_cflags_saved=$CFLAGS
8406 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8408 /* end confdefs.h. */
8409 void myfunc() {}
8410 _ACEOF
8411 if ac_fn_c_try_link "$LINENO"; then :
8412 ac_cv_c_dll_gnuelf="yes"
8413 else
8414 ac_cv_c_dll_gnuelf="no"
8416 rm -f core conftest.err conftest.$ac_objext \
8417 conftest$ac_exeext conftest.$ac_ext
8418 CFLAGS=$ac_wine_try_cflags_saved
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8421 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8422 if test "$ac_cv_c_dll_gnuelf" = "yes"
8423 then
8424 LIBWINE_LDFLAGS="-shared"
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8426 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8427 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 ac_wine_try_cflags_saved=$CFLAGS
8431 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8433 /* end confdefs.h. */
8434 int main(int argc, char **argv) { return 0; }
8435 _ACEOF
8436 if ac_fn_c_try_link "$LINENO"; then :
8437 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8438 else
8439 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8441 rm -f core conftest.err conftest.$ac_objext \
8442 conftest$ac_exeext conftest.$ac_ext
8443 CFLAGS=$ac_wine_try_cflags_saved
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8446 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8447 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8448 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8449 else
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8451 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8452 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8453 $as_echo_n "(cached) " >&6
8454 else
8455 ac_wine_try_cflags_saved=$CFLAGS
8456 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8458 /* end confdefs.h. */
8459 int main(int argc, char **argv) { return 0; }
8460 _ACEOF
8461 if ac_fn_c_try_link "$LINENO"; then :
8462 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8463 else
8464 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8466 rm -f core conftest.err conftest.$ac_objext \
8467 conftest$ac_exeext conftest.$ac_ext
8468 CFLAGS=$ac_wine_try_cflags_saved
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8471 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8472 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8473 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8477 echo '{ global: *; };' >conftest.map
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8480 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8491 else
8492 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8499 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8500 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8501 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8503 rm -f conftest.map
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8506 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8507 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_wine_try_cflags_saved=$CFLAGS
8511 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 int main(int argc, char **argv) { return 0; }
8515 _ACEOF
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8518 else
8519 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 CFLAGS=$ac_wine_try_cflags_saved
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8526 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8527 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8528 LDEXECFLAGS="-Wl,--export-dynamic"
8531 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8533 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8534 if eval \${$as_ac_var+:} false; then :
8535 $as_echo_n "(cached) " >&6
8536 else
8537 ac_wine_try_cflags_saved=$CFLAGS
8538 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540 /* end confdefs.h. */
8541 int main(int argc, char **argv) { return 0; }
8542 _ACEOF
8543 if ac_fn_c_try_link "$LINENO"; then :
8544 eval "$as_ac_var=yes"
8545 else
8546 eval "$as_ac_var=no"
8548 rm -f core conftest.err conftest.$ac_objext \
8549 conftest$ac_exeext conftest.$ac_ext
8550 CFLAGS=$ac_wine_try_cflags_saved
8552 eval ac_res=\$$as_ac_var
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8554 $as_echo "$ac_res" >&6; }
8555 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8556 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8557 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8558 else
8559 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8561 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8562 if eval \${$as_ac_var+:} false; then :
8563 $as_echo_n "(cached) " >&6
8564 else
8565 ac_wine_try_cflags_saved=$CFLAGS
8566 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8568 /* end confdefs.h. */
8569 int main(int argc, char **argv) { return 0; }
8570 _ACEOF
8571 if ac_fn_c_try_link "$LINENO"; then :
8572 eval "$as_ac_var=yes"
8573 else
8574 eval "$as_ac_var=no"
8576 rm -f core conftest.err conftest.$ac_objext \
8577 conftest$ac_exeext conftest.$ac_ext
8578 CFLAGS=$ac_wine_try_cflags_saved
8580 eval ac_res=\$$as_ac_var
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8582 $as_echo "$ac_res" >&6; }
8583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8584 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8585 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8590 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8591 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 int main(int argc, char **argv) { return 0; }
8599 _ACEOF
8600 if ac_fn_c_try_link "$LINENO"; then :
8601 ac_cv_cflags__Wl___enable_new_dtags=yes
8602 else
8603 ac_cv_cflags__Wl___enable_new_dtags=no
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 CFLAGS=$ac_wine_try_cflags_saved
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8610 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8611 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8612 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8615 case $host_cpu in
8616 *i[3456789]86* | x86_64)
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8618 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8619 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8620 $as_echo_n "(cached) " >&6
8621 else
8622 ac_wine_try_cflags_saved=$CFLAGS
8623 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8626 int main(int argc, char **argv) { return 0; }
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8630 else
8631 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8633 rm -f core conftest.err conftest.$ac_objext \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8638 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8639 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8640 case $host_os in
8641 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8642 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8643 esac
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8648 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8659 else
8660 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8667 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8668 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8670 else
8671 # Extract the first word of "prelink", so it can be a program name with args.
8672 set dummy prelink; ac_word=$2
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8674 $as_echo_n "checking for $ac_word... " >&6; }
8675 if ${ac_cv_path_PRELINK+:} false; then :
8676 $as_echo_n "(cached) " >&6
8677 else
8678 case $PRELINK in
8679 [\\/]* | ?:[\\/]*)
8680 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in /sbin /usr/sbin $PATH
8686 IFS=$as_save_IFS
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8690 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 break 2
8694 done
8695 done
8696 IFS=$as_save_IFS
8698 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8700 esac
8702 PRELINK=$ac_cv_path_PRELINK
8703 if test -n "$PRELINK"; then
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8705 $as_echo "$PRELINK" >&6; }
8706 else
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8708 $as_echo "no" >&6; }
8712 if test "x$PRELINK" = xfalse
8713 then
8714 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8718 esac
8720 else
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8722 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8723 if ${ac_cv_c_dll_unixware+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 ac_wine_try_cflags_saved=$CFLAGS
8727 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8730 void myfunc() {}
8731 _ACEOF
8732 if ac_fn_c_try_link "$LINENO"; then :
8733 ac_cv_c_dll_unixware="yes"
8734 else
8735 ac_cv_c_dll_unixware="no"
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 CFLAGS=$ac_wine_try_cflags_saved
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8742 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8743 if test "$ac_cv_c_dll_unixware" = "yes"
8744 then
8745 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8748 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8750 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8752 LIBWINE_INSTALL_DEV="libwine.so"
8754 LIBWINE_DEPENDS="wine.map"
8757 esac
8759 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8760 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8761 enable_winemac_drv=${enable_winemac_drv:-no}
8762 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8764 CROSSTARGET=""
8766 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8767 then
8768 case "$host_cpu" in
8769 arm*)
8770 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8771 i[3456789]86*)
8772 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
8773 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8774 mingw32-gcc" ;;
8775 x86_64)
8776 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
8777 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8779 ac_prefix_list="" ;;
8780 esac
8781 for ac_prog in $ac_prefix_list
8783 # Extract the first word of "$ac_prog", so it can be a program name with args.
8784 set dummy $ac_prog; ac_word=$2
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8786 $as_echo_n "checking for $ac_word... " >&6; }
8787 if ${ac_cv_prog_CROSSCC+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 if test -n "$CROSSCC"; then
8791 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8792 else
8793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8794 for as_dir in $PATH
8796 IFS=$as_save_IFS
8797 test -z "$as_dir" && as_dir=.
8798 for ac_exec_ext in '' $ac_executable_extensions; do
8799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8800 ac_cv_prog_CROSSCC="$ac_prog"
8801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8802 break 2
8804 done
8805 done
8806 IFS=$as_save_IFS
8810 CROSSCC=$ac_cv_prog_CROSSCC
8811 if test -n "$CROSSCC"; then
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8813 $as_echo "$CROSSCC" >&6; }
8814 else
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8816 $as_echo "no" >&6; }
8820 test -n "$CROSSCC" && break
8821 done
8822 test -n "$CROSSCC" || CROSSCC="false"
8824 if test "$CROSSCC" != "false"
8825 then
8826 ac_save_CC="$CC"
8827 CC="$CROSSCC"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8829 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8834 main ()
8838 return 0;
8840 _ACEOF
8841 if ac_fn_c_try_compile "$LINENO"; then :
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8843 $as_echo "yes" >&6; }
8844 set x $CROSSCC
8845 shift
8846 while test $# -ge 1
8848 case "$1" in
8849 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8850 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8851 esac
8852 shift
8853 done
8854 else
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 $as_echo "no" >&6; }
8858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8859 CC="$ac_save_CC"
8864 if test "$ac_cv_header_pthread_h" = "yes"
8865 then
8866 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8867 if test "x$ac_cv_func_pthread_create" = xyes; then :
8869 else
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8871 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8872 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 ac_check_lib_save_LIBS=$LIBS
8876 LIBS="-lpthread $LIBS"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8880 /* Override any GCC internal prototype to avoid an error.
8881 Use char because int might match the return type of a GCC
8882 builtin and then its argument prototype would still apply. */
8883 #ifdef __cplusplus
8884 extern "C"
8885 #endif
8886 char pthread_create ();
8888 main ()
8890 return pthread_create ();
8892 return 0;
8894 _ACEOF
8895 if ac_fn_c_try_link "$LINENO"; then :
8896 ac_cv_lib_pthread_pthread_create=yes
8897 else
8898 ac_cv_lib_pthread_pthread_create=no
8900 rm -f core conftest.err conftest.$ac_objext \
8901 conftest$ac_exeext conftest.$ac_ext
8902 LIBS=$ac_check_lib_save_LIBS
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8905 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8906 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8907 PTHREAD_LIBS="-lpthread"
8914 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8915 case "x$with_pthread" in
8916 xno) ;;
8917 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8918 Wine cannot support threads without libpthread.
8919 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8920 esac
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8925 $as_echo_n "checking for X... " >&6; }
8928 # Check whether --with-x was given.
8929 if test "${with_x+set}" = set; then :
8930 withval=$with_x;
8933 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8934 if test "x$with_x" = xno; then
8935 # The user explicitly disabled X.
8936 have_x=disabled
8937 else
8938 case $x_includes,$x_libraries in #(
8939 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8940 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8941 $as_echo_n "(cached) " >&6
8942 else
8943 # One or both of the vars are not set, and there is no cached value.
8944 ac_x_includes=no ac_x_libraries=no
8945 rm -f -r conftest.dir
8946 if mkdir conftest.dir; then
8947 cd conftest.dir
8948 cat >Imakefile <<'_ACEOF'
8949 incroot:
8950 @echo incroot='${INCROOT}'
8951 usrlibdir:
8952 @echo usrlibdir='${USRLIBDIR}'
8953 libdir:
8954 @echo libdir='${LIBDIR}'
8955 _ACEOF
8956 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8957 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8958 for ac_var in incroot usrlibdir libdir; do
8959 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8960 done
8961 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8962 for ac_extension in a so sl dylib la dll; do
8963 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8964 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8965 ac_im_usrlibdir=$ac_im_libdir; break
8967 done
8968 # Screen out bogus values from the imake configuration. They are
8969 # bogus both because they are the default anyway, and because
8970 # using them would break gcc on systems where it needs fixed includes.
8971 case $ac_im_incroot in
8972 /usr/include) ac_x_includes= ;;
8973 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8974 esac
8975 case $ac_im_usrlibdir in
8976 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8977 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8978 esac
8980 cd ..
8981 rm -f -r conftest.dir
8984 # Standard set of common directories for X headers.
8985 # Check X11 before X11Rn because it is often a symlink to the current release.
8986 ac_x_header_dirs='
8987 /usr/X11/include
8988 /usr/X11R7/include
8989 /usr/X11R6/include
8990 /usr/X11R5/include
8991 /usr/X11R4/include
8993 /usr/include/X11
8994 /usr/include/X11R7
8995 /usr/include/X11R6
8996 /usr/include/X11R5
8997 /usr/include/X11R4
8999 /usr/local/X11/include
9000 /usr/local/X11R7/include
9001 /usr/local/X11R6/include
9002 /usr/local/X11R5/include
9003 /usr/local/X11R4/include
9005 /usr/local/include/X11
9006 /usr/local/include/X11R7
9007 /usr/local/include/X11R6
9008 /usr/local/include/X11R5
9009 /usr/local/include/X11R4
9011 /usr/X386/include
9012 /usr/x386/include
9013 /usr/XFree86/include/X11
9015 /usr/include
9016 /usr/local/include
9017 /usr/unsupported/include
9018 /usr/athena/include
9019 /usr/local/x11r5/include
9020 /usr/lpp/Xamples/include
9022 /usr/openwin/include
9023 /usr/openwin/share/include'
9025 if test "$ac_x_includes" = no; then
9026 # Guess where to find include files, by looking for Xlib.h.
9027 # First, try using that file with no special directory specified.
9028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9030 #include <X11/Xlib.h>
9031 _ACEOF
9032 if ac_fn_c_try_cpp "$LINENO"; then :
9033 # We can compile using X headers with no special include directory.
9034 ac_x_includes=
9035 else
9036 for ac_dir in $ac_x_header_dirs; do
9037 if test -r "$ac_dir/X11/Xlib.h"; then
9038 ac_x_includes=$ac_dir
9039 break
9041 done
9043 rm -f conftest.err conftest.i conftest.$ac_ext
9044 fi # $ac_x_includes = no
9046 if test "$ac_x_libraries" = no; then
9047 # Check for the libraries.
9048 # See if we find them without any special options.
9049 # Don't add to $LIBS permanently.
9050 ac_save_LIBS=$LIBS
9051 LIBS="-lX11 $LIBS"
9052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9053 /* end confdefs.h. */
9054 #include <X11/Xlib.h>
9056 main ()
9058 XrmInitialize ()
9060 return 0;
9062 _ACEOF
9063 if ac_fn_c_try_link "$LINENO"; then :
9064 LIBS=$ac_save_LIBS
9065 # We can link X programs with no special library path.
9066 ac_x_libraries=
9067 else
9068 LIBS=$ac_save_LIBS
9069 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9071 # Don't even attempt the hair of trying to link an X program!
9072 for ac_extension in a so sl dylib la dll; do
9073 if test -r "$ac_dir/libX11.$ac_extension"; then
9074 ac_x_libraries=$ac_dir
9075 break 2
9077 done
9078 done
9080 rm -f core conftest.err conftest.$ac_objext \
9081 conftest$ac_exeext conftest.$ac_ext
9082 fi # $ac_x_libraries = no
9084 case $ac_x_includes,$ac_x_libraries in #(
9085 no,* | *,no | *\'*)
9086 # Didn't find X, or a directory has "'" in its name.
9087 ac_cv_have_x="have_x=no";; #(
9089 # Record where we found X for the cache.
9090 ac_cv_have_x="have_x=yes\
9091 ac_x_includes='$ac_x_includes'\
9092 ac_x_libraries='$ac_x_libraries'"
9093 esac
9095 ;; #(
9096 *) have_x=yes;;
9097 esac
9098 eval "$ac_cv_have_x"
9099 fi # $with_x != no
9101 if test "$have_x" != yes; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9103 $as_echo "$have_x" >&6; }
9104 no_x=yes
9105 else
9106 # If each of the values was on the command line, it overrides each guess.
9107 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9108 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9109 # Update the cache value to reflect the command line values.
9110 ac_cv_have_x="have_x=yes\
9111 ac_x_includes='$x_includes'\
9112 ac_x_libraries='$x_libraries'"
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9114 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9117 if test "$no_x" = yes; then
9118 # Not all programs may use this symbol, but it does not hurt to define it.
9120 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9122 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9123 else
9124 if test -n "$x_includes"; then
9125 X_CFLAGS="$X_CFLAGS -I$x_includes"
9128 # It would also be nice to do this for all -L options, not just this one.
9129 if test -n "$x_libraries"; then
9130 X_LIBS="$X_LIBS -L$x_libraries"
9131 # For Solaris; some versions of Sun CC require a space after -R and
9132 # others require no space. Words are not sufficient . . . .
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9134 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9135 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9136 ac_xsave_c_werror_flag=$ac_c_werror_flag
9137 ac_c_werror_flag=yes
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9142 main ()
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9151 $as_echo "no" >&6; }
9152 X_LIBS="$X_LIBS -R$x_libraries"
9153 else
9154 LIBS="$ac_xsave_LIBS -R $x_libraries"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9159 main ()
9163 return 0;
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9168 $as_echo "yes" >&6; }
9169 X_LIBS="$X_LIBS -R $x_libraries"
9170 else
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9172 $as_echo "neither works" >&6; }
9174 rm -f core conftest.err conftest.$ac_objext \
9175 conftest$ac_exeext conftest.$ac_ext
9177 rm -f core conftest.err conftest.$ac_objext \
9178 conftest$ac_exeext conftest.$ac_ext
9179 ac_c_werror_flag=$ac_xsave_c_werror_flag
9180 LIBS=$ac_xsave_LIBS
9183 # Check for system-dependent libraries X programs must link with.
9184 # Do this before checking for the system-independent R6 libraries
9185 # (-lICE), since we may need -lsocket or whatever for X linking.
9187 if test "$ISC" = yes; then
9188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9189 else
9190 # Martyn Johnson says this is needed for Ultrix, if the X
9191 # libraries were built with DECnet support. And Karl Berry says
9192 # the Alpha needs dnet_stub (dnet does not exist).
9193 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char XOpenDisplay ();
9205 main ()
9207 return XOpenDisplay ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9216 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9217 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9218 $as_echo_n "(cached) " >&6
9219 else
9220 ac_check_lib_save_LIBS=$LIBS
9221 LIBS="-ldnet $LIBS"
9222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9228 #ifdef __cplusplus
9229 extern "C"
9230 #endif
9231 char dnet_ntoa ();
9233 main ()
9235 return dnet_ntoa ();
9237 return 0;
9239 _ACEOF
9240 if ac_fn_c_try_link "$LINENO"; then :
9241 ac_cv_lib_dnet_dnet_ntoa=yes
9242 else
9243 ac_cv_lib_dnet_dnet_ntoa=no
9245 rm -f core conftest.err conftest.$ac_objext \
9246 conftest$ac_exeext conftest.$ac_ext
9247 LIBS=$ac_check_lib_save_LIBS
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9250 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9251 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9255 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9257 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9258 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-ldnet_stub $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9269 #ifdef __cplusplus
9270 extern "C"
9271 #endif
9272 char dnet_ntoa ();
9274 main ()
9276 return dnet_ntoa ();
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9283 else
9284 ac_cv_lib_dnet_stub_dnet_ntoa=no
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9291 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9292 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9293 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9298 rm -f core conftest.err conftest.$ac_objext \
9299 conftest$ac_exeext conftest.$ac_ext
9300 LIBS="$ac_xsave_LIBS"
9302 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9303 # to get the SysV transport functions.
9304 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9305 # needs -lnsl.
9306 # The nsl library prevents programs from opening the X display
9307 # on Irix 5.2, according to T.E. Dickey.
9308 # The functions gethostbyname, getservbyname, and inet_addr are
9309 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9310 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9311 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9315 if test $ac_cv_func_gethostbyname = no; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9317 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9318 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_check_lib_save_LIBS=$LIBS
9322 LIBS="-lnsl $LIBS"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9326 /* Override any GCC internal prototype to avoid an error.
9327 Use char because int might match the return type of a GCC
9328 builtin and then its argument prototype would still apply. */
9329 #ifdef __cplusplus
9330 extern "C"
9331 #endif
9332 char gethostbyname ();
9334 main ()
9336 return gethostbyname ();
9338 return 0;
9340 _ACEOF
9341 if ac_fn_c_try_link "$LINENO"; then :
9342 ac_cv_lib_nsl_gethostbyname=yes
9343 else
9344 ac_cv_lib_nsl_gethostbyname=no
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS=$ac_check_lib_save_LIBS
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9351 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9352 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9356 if test $ac_cv_lib_nsl_gethostbyname = no; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9358 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9359 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lbsd $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char gethostbyname ();
9375 main ()
9377 return gethostbyname ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_lib_bsd_gethostbyname=yes
9384 else
9385 ac_cv_lib_bsd_gethostbyname=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9392 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9393 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9394 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9400 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9401 # socket/setsockopt and other routines are undefined under SCO ODT
9402 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9403 # on later versions), says Simon Leinen: it contains gethostby*
9404 # variants that don't use the name server (or something). -lsocket
9405 # must be given before -lnsl if both are needed. We assume that
9406 # if connect needs -lnsl, so does gethostbyname.
9407 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9408 if test "x$ac_cv_func_connect" = xyes; then :
9412 if test $ac_cv_func_connect = no; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9414 $as_echo_n "checking for connect in -lsocket... " >&6; }
9415 if ${ac_cv_lib_socket_connect+:} false; then :
9416 $as_echo_n "(cached) " >&6
9417 else
9418 ac_check_lib_save_LIBS=$LIBS
9419 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9421 /* end confdefs.h. */
9423 /* Override any GCC internal prototype to avoid an error.
9424 Use char because int might match the return type of a GCC
9425 builtin and then its argument prototype would still apply. */
9426 #ifdef __cplusplus
9427 extern "C"
9428 #endif
9429 char connect ();
9431 main ()
9433 return connect ();
9435 return 0;
9437 _ACEOF
9438 if ac_fn_c_try_link "$LINENO"; then :
9439 ac_cv_lib_socket_connect=yes
9440 else
9441 ac_cv_lib_socket_connect=no
9443 rm -f core conftest.err conftest.$ac_objext \
9444 conftest$ac_exeext conftest.$ac_ext
9445 LIBS=$ac_check_lib_save_LIBS
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9448 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9449 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9450 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9455 # Guillermo Gomez says -lposix is necessary on A/UX.
9456 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9457 if test "x$ac_cv_func_remove" = xyes; then :
9461 if test $ac_cv_func_remove = no; then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9463 $as_echo_n "checking for remove in -lposix... " >&6; }
9464 if ${ac_cv_lib_posix_remove+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_check_lib_save_LIBS=$LIBS
9468 LIBS="-lposix $LIBS"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9472 /* Override any GCC internal prototype to avoid an error.
9473 Use char because int might match the return type of a GCC
9474 builtin and then its argument prototype would still apply. */
9475 #ifdef __cplusplus
9476 extern "C"
9477 #endif
9478 char remove ();
9480 main ()
9482 return remove ();
9484 return 0;
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"; then :
9488 ac_cv_lib_posix_remove=yes
9489 else
9490 ac_cv_lib_posix_remove=no
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9494 LIBS=$ac_check_lib_save_LIBS
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9497 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9498 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9504 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9505 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9506 if test "x$ac_cv_func_shmat" = xyes; then :
9510 if test $ac_cv_func_shmat = no; then
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9512 $as_echo_n "checking for shmat in -lipc... " >&6; }
9513 if ${ac_cv_lib_ipc_shmat+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_check_lib_save_LIBS=$LIBS
9517 LIBS="-lipc $LIBS"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9521 /* Override any GCC internal prototype to avoid an error.
9522 Use char because int might match the return type of a GCC
9523 builtin and then its argument prototype would still apply. */
9524 #ifdef __cplusplus
9525 extern "C"
9526 #endif
9527 char shmat ();
9529 main ()
9531 return shmat ();
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537 ac_cv_lib_ipc_shmat=yes
9538 else
9539 ac_cv_lib_ipc_shmat=no
9541 rm -f core conftest.err conftest.$ac_objext \
9542 conftest$ac_exeext conftest.$ac_ext
9543 LIBS=$ac_check_lib_save_LIBS
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9546 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9547 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9548 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9554 # Check for libraries that X11R6 Xt/Xaw programs need.
9555 ac_save_LDFLAGS=$LDFLAGS
9556 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9557 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9558 # check for ICE first), but we must link in the order -lSM -lICE or
9559 # we get undefined symbols. So assume we have SM if we have ICE.
9560 # These have to be linked with before -lX11, unlike the other
9561 # libraries we check for below, so use a different variable.
9562 # John Interrante, Karl Berry
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9564 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9565 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_check_lib_save_LIBS=$LIBS
9569 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9576 #ifdef __cplusplus
9577 extern "C"
9578 #endif
9579 char IceConnectionNumber ();
9581 main ()
9583 return IceConnectionNumber ();
9585 return 0;
9587 _ACEOF
9588 if ac_fn_c_try_link "$LINENO"; then :
9589 ac_cv_lib_ICE_IceConnectionNumber=yes
9590 else
9591 ac_cv_lib_ICE_IceConnectionNumber=no
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 LIBS=$ac_check_lib_save_LIBS
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9598 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9599 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9600 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9603 LDFLAGS=$ac_save_LDFLAGS
9608 if test "$have_x" = "yes"
9609 then
9610 ac_save_CPPFLAGS="$CPPFLAGS"
9611 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9614 $as_echo_n "checking for -lX11... " >&6; }
9615 if ${ac_cv_lib_soname_X11+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_check_soname_save_LIBS=$LIBS
9619 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9626 #ifdef __cplusplus
9627 extern "C"
9628 #endif
9629 char XCreateWindow ();
9631 main ()
9633 return XCreateWindow ();
9635 return 0;
9637 _ACEOF
9638 if ac_fn_c_try_link "$LINENO"; then :
9639 case "$LIBEXT" in
9640 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9641 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'` ;;
9642 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9643 if ${ac_cv_lib_soname_X11:+false} :; then :
9644 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9645 fi ;;
9646 esac
9648 rm -f core conftest.err conftest.$ac_objext \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_soname_save_LIBS
9652 if ${ac_cv_lib_soname_X11:+false} :; then :
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9654 $as_echo "not found" >&6; }
9656 else
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9658 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9660 cat >>confdefs.h <<_ACEOF
9661 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9662 _ACEOF
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9667 $as_echo_n "checking for -lXext... " >&6; }
9668 if ${ac_cv_lib_soname_Xext+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 ac_check_soname_save_LIBS=$LIBS
9672 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9679 #ifdef __cplusplus
9680 extern "C"
9681 #endif
9682 char XextCreateExtension ();
9684 main ()
9686 return XextCreateExtension ();
9688 return 0;
9690 _ACEOF
9691 if ac_fn_c_try_link "$LINENO"; then :
9692 case "$LIBEXT" in
9693 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9694 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'` ;;
9695 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9696 if ${ac_cv_lib_soname_Xext:+false} :; then :
9697 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9698 fi ;;
9699 esac
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_soname_save_LIBS
9705 if ${ac_cv_lib_soname_Xext:+false} :; then :
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9707 $as_echo "not found" >&6; }
9709 else
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9711 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9713 cat >>confdefs.h <<_ACEOF
9714 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9715 _ACEOF
9717 X_LIBS="$X_LIBS -lXext"
9719 X_LIBS="$X_LIBS -lX11"
9721 for ac_header in X11/Xlib.h \
9722 X11/XKBlib.h \
9723 X11/Xutil.h \
9724 X11/Xcursor/Xcursor.h \
9725 X11/extensions/shape.h \
9726 X11/extensions/XInput.h \
9727 X11/extensions/XInput2.h \
9728 X11/extensions/XShm.h \
9729 X11/extensions/Xcomposite.h \
9730 X11/extensions/Xinerama.h \
9731 X11/extensions/Xrandr.h \
9732 X11/extensions/Xrender.h \
9733 X11/extensions/xf86vmode.h \
9734 X11/extensions/xf86vmproto.h
9735 do :
9736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9738 # include <X11/Xlib.h>
9739 #endif
9740 #ifdef HAVE_X11_XUTIL_H
9741 # include <X11/Xutil.h>
9742 #endif
9744 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9745 cat >>confdefs.h <<_ACEOF
9746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9747 _ACEOF
9751 done
9754 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9755 then
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9757 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9758 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9759 $as_echo_n "(cached) " >&6
9760 else
9761 ac_check_lib_save_LIBS=$LIBS
9762 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9766 /* Override any GCC internal prototype to avoid an error.
9767 Use char because int might match the return type of a GCC
9768 builtin and then its argument prototype would still apply. */
9769 #ifdef __cplusplus
9770 extern "C"
9771 #endif
9772 char XkbQueryExtension ();
9774 main ()
9776 return XkbQueryExtension ();
9778 return 0;
9780 _ACEOF
9781 if ac_fn_c_try_link "$LINENO"; then :
9782 ac_cv_lib_X11_XkbQueryExtension=yes
9783 else
9784 ac_cv_lib_X11_XkbQueryExtension=no
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_lib_save_LIBS
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9791 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9792 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9794 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9800 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9801 then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9803 $as_echo_n "checking for -lXcursor... " >&6; }
9804 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_check_soname_save_LIBS=$LIBS
9808 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9815 #ifdef __cplusplus
9816 extern "C"
9817 #endif
9818 char XcursorImageLoadCursor ();
9820 main ()
9822 return XcursorImageLoadCursor ();
9824 return 0;
9826 _ACEOF
9827 if ac_fn_c_try_link "$LINENO"; then :
9828 case "$LIBEXT" in
9829 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9830 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'` ;;
9831 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9832 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9833 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9834 fi ;;
9835 esac
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LIBS=$ac_check_soname_save_LIBS
9841 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9843 $as_echo "not found" >&6; }
9845 else
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9847 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9849 cat >>confdefs.h <<_ACEOF
9850 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9851 _ACEOF
9856 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9857 case "x$with_xcursor" in
9858 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9859 xno) ;;
9860 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9861 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9862 esac
9865 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9866 then
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9868 $as_echo_n "checking for -lXi... " >&6; }
9869 if ${ac_cv_lib_soname_Xi+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_check_soname_save_LIBS=$LIBS
9873 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875 /* end confdefs.h. */
9877 /* Override any GCC internal prototype to avoid an error.
9878 Use char because int might match the return type of a GCC
9879 builtin and then its argument prototype would still apply. */
9880 #ifdef __cplusplus
9881 extern "C"
9882 #endif
9883 char XOpenDevice ();
9885 main ()
9887 return XOpenDevice ();
9889 return 0;
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 case "$LIBEXT" in
9894 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9895 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'` ;;
9896 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9897 if ${ac_cv_lib_soname_Xi:+false} :; then :
9898 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9899 fi ;;
9900 esac
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 LIBS=$ac_check_soname_save_LIBS
9906 if ${ac_cv_lib_soname_Xi:+false} :; then :
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9908 $as_echo "not found" >&6; }
9910 else
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9912 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9914 cat >>confdefs.h <<_ACEOF
9915 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9916 _ACEOF
9921 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9922 case "x$with_xinput" in
9923 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9924 xno) ;;
9925 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9926 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9927 esac
9930 if test "x$ac_cv_lib_soname_Xi" != x
9931 then
9932 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9933 case "x$with_xinput2" in
9934 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9935 xno) ;;
9936 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9937 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9938 esac
9942 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9943 then
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9945 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9946 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_check_lib_save_LIBS=$LIBS
9950 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9952 /* end confdefs.h. */
9954 /* Override any GCC internal prototype to avoid an error.
9955 Use char because int might match the return type of a GCC
9956 builtin and then its argument prototype would still apply. */
9957 #ifdef __cplusplus
9958 extern "C"
9959 #endif
9960 char XShmQueryExtension ();
9962 main ()
9964 return XShmQueryExtension ();
9966 return 0;
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 ac_cv_lib_Xext_XShmQueryExtension=yes
9971 else
9972 ac_cv_lib_Xext_XShmQueryExtension=no
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS=$ac_check_lib_save_LIBS
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9979 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9980 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9982 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9987 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9988 case "x$with_xshm" in
9989 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9990 xno) ;;
9991 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9992 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9993 esac
9996 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9997 then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9999 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10000 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_check_lib_save_LIBS=$LIBS
10004 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10011 #ifdef __cplusplus
10012 extern "C"
10013 #endif
10014 char XShapeQueryExtension ();
10016 main ()
10018 return XShapeQueryExtension ();
10020 return 0;
10022 _ACEOF
10023 if ac_fn_c_try_link "$LINENO"; then :
10024 ac_cv_lib_Xext_XShapeQueryExtension=yes
10025 else
10026 ac_cv_lib_Xext_XShapeQueryExtension=no
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_lib_save_LIBS
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10033 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10034 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10036 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10041 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10042 case "x$with_xshape" in
10043 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10044 xno) ;;
10045 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10046 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10047 esac
10050 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10051 then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10053 $as_echo_n "checking for -lXxf86vm... " >&6; }
10054 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_check_soname_save_LIBS=$LIBS
10058 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10062 /* Override any GCC internal prototype to avoid an error.
10063 Use char because int might match the return type of a GCC
10064 builtin and then its argument prototype would still apply. */
10065 #ifdef __cplusplus
10066 extern "C"
10067 #endif
10068 char XF86VidModeQueryExtension ();
10070 main ()
10072 return XF86VidModeQueryExtension ();
10074 return 0;
10076 _ACEOF
10077 if ac_fn_c_try_link "$LINENO"; then :
10078 case "$LIBEXT" in
10079 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10083 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10084 fi ;;
10085 esac
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 LIBS=$ac_check_soname_save_LIBS
10091 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10093 $as_echo "not found" >&6; }
10095 else
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10097 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10099 cat >>confdefs.h <<_ACEOF
10100 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10101 _ACEOF
10106 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10107 case "x$with_xxf86vm" in
10108 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10109 xno) ;;
10110 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10111 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10112 esac
10115 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10116 then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10118 $as_echo_n "checking for -lXrender... " >&6; }
10119 if ${ac_cv_lib_soname_Xrender+:} false; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 ac_check_soname_save_LIBS=$LIBS
10123 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10125 /* end confdefs.h. */
10127 /* Override any GCC internal prototype to avoid an error.
10128 Use char because int might match the return type of a GCC
10129 builtin and then its argument prototype would still apply. */
10130 #ifdef __cplusplus
10131 extern "C"
10132 #endif
10133 char XRenderQueryExtension ();
10135 main ()
10137 return XRenderQueryExtension ();
10139 return 0;
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"; then :
10143 case "$LIBEXT" in
10144 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10145 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'` ;;
10146 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10147 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10148 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10149 fi ;;
10150 esac
10152 rm -f core conftest.err conftest.$ac_objext \
10153 conftest$ac_exeext conftest.$ac_ext
10154 LIBS=$ac_check_soname_save_LIBS
10156 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10158 $as_echo "not found" >&6; }
10160 else
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10162 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10164 cat >>confdefs.h <<_ACEOF
10165 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10166 _ACEOF
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10169 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10170 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10171 $as_echo_n "(cached) " >&6
10172 else
10173 ac_check_lib_save_LIBS=$LIBS
10174 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char XRenderSetPictureTransform ();
10186 main ()
10188 return XRenderSetPictureTransform ();
10190 return 0;
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10195 else
10196 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 LIBS=$ac_check_lib_save_LIBS
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10203 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10204 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10206 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10211 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10212 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10213 $as_echo_n "(cached) " >&6
10214 else
10215 ac_check_lib_save_LIBS=$LIBS
10216 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10223 #ifdef __cplusplus
10224 extern "C"
10225 #endif
10226 char XRenderCreateLinearGradient ();
10228 main ()
10230 return XRenderCreateLinearGradient ();
10232 return 0;
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"; then :
10236 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10237 else
10238 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 LIBS=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10245 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10246 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10248 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10255 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10256 case "x$with_xrender" in
10257 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10258 xno) ;;
10259 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10260 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10261 esac
10264 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10265 then
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10268 #include <X11/Xlib.h>
10269 #include <X11/extensions/Xrandr.h>
10271 main ()
10273 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10275 return 0;
10277 _ACEOF
10278 if ac_fn_c_try_compile "$LINENO"; then :
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10280 $as_echo_n "checking for -lXrandr... " >&6; }
10281 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10282 $as_echo_n "(cached) " >&6
10283 else
10284 ac_check_soname_save_LIBS=$LIBS
10285 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char XRRQueryExtension ();
10297 main ()
10299 return XRRQueryExtension ();
10301 return 0;
10303 _ACEOF
10304 if ac_fn_c_try_link "$LINENO"; then :
10305 case "$LIBEXT" in
10306 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10307 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'` ;;
10308 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10309 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10310 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10311 fi ;;
10312 esac
10314 rm -f core conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10316 LIBS=$ac_check_soname_save_LIBS
10318 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10320 $as_echo "not found" >&6; }
10322 else
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10324 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10326 cat >>confdefs.h <<_ACEOF
10327 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10328 _ACEOF
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10332 #include <X11/Xlib.h>
10333 #include <X11/extensions/Xrandr.h>
10335 main ()
10337 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10339 return 0;
10341 _ACEOF
10342 if ac_fn_c_try_compile "$LINENO"; then :
10344 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10352 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10353 case "x$with_xrandr" in
10354 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10355 xno) ;;
10356 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10357 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10358 esac
10361 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10362 then
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h. */
10365 #include <X11/Xlib.h>
10366 #include <X11/extensions/Xinerama.h>
10368 main ()
10370 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10372 return 0;
10374 _ACEOF
10375 if ac_fn_c_try_compile "$LINENO"; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10377 $as_echo_n "checking for -lXinerama... " >&6; }
10378 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_check_soname_save_LIBS=$LIBS
10382 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10389 #ifdef __cplusplus
10390 extern "C"
10391 #endif
10392 char XineramaQueryScreens ();
10394 main ()
10396 return XineramaQueryScreens ();
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 case "$LIBEXT" in
10403 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10404 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'` ;;
10405 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10406 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10407 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10408 fi ;;
10409 esac
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 LIBS=$ac_check_soname_save_LIBS
10415 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10417 $as_echo "not found" >&6; }
10419 else
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10421 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10423 cat >>confdefs.h <<_ACEOF
10424 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10425 _ACEOF
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10432 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10433 case "x$with_xinerama" in
10434 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10435 xno) ;;
10436 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10437 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10438 esac
10441 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10442 then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10444 $as_echo_n "checking for -lXcomposite... " >&6; }
10445 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_check_soname_save_LIBS=$LIBS
10449 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10456 #ifdef __cplusplus
10457 extern "C"
10458 #endif
10459 char XCompositeRedirectWindow ();
10461 main ()
10463 return XCompositeRedirectWindow ();
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 case "$LIBEXT" in
10470 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10471 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'` ;;
10472 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10473 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10474 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10475 fi ;;
10476 esac
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_soname_save_LIBS
10482 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10484 $as_echo "not found" >&6; }
10486 else
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10488 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10490 cat >>confdefs.h <<_ACEOF
10491 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10492 _ACEOF
10497 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10498 case "x$with_xcomposite" in
10499 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10500 xno) ;;
10501 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10502 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10503 esac
10506 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10507 #include <X11/Xlib.h>
10508 #endif
10510 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10512 cat >>confdefs.h <<_ACEOF
10513 #define HAVE_XICCALLBACK_CALLBACK 1
10514 _ACEOF
10518 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10519 #include <X11/Xlib.h>
10520 #endif
10522 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10524 cat >>confdefs.h <<_ACEOF
10525 #define HAVE_XEVENT_XCOOKIE 1
10526 _ACEOF
10533 opengl_msg=""
10534 if test "x$with_opengl" != "xno"
10535 then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10537 $as_echo_n "checking for -lGL... " >&6; }
10538 if ${ac_cv_lib_soname_GL+:} false; then :
10539 $as_echo_n "(cached) " >&6
10540 else
10541 ac_check_soname_save_LIBS=$LIBS
10542 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10549 #ifdef __cplusplus
10550 extern "C"
10551 #endif
10552 char glXCreateContext ();
10554 main ()
10556 return glXCreateContext ();
10558 return 0;
10560 _ACEOF
10561 if ac_fn_c_try_link "$LINENO"; then :
10562 case "$LIBEXT" in
10563 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10564 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'` ;;
10565 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10566 if ${ac_cv_lib_soname_GL:+false} :; then :
10567 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10568 fi ;;
10569 esac
10571 rm -f core conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
10573 LIBS=$ac_check_soname_save_LIBS
10575 if ${ac_cv_lib_soname_GL:+false} :; then :
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10577 $as_echo "not found" >&6; }
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10579 $as_echo_n "checking for -lGL... " >&6; }
10580 if ${ac_cv_lib_soname_GL+:} false; then :
10581 $as_echo_n "(cached) " >&6
10582 else
10583 ac_check_soname_save_LIBS=$LIBS
10584 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"
10585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10586 /* end confdefs.h. */
10588 /* Override any GCC internal prototype to avoid an error.
10589 Use char because int might match the return type of a GCC
10590 builtin and then its argument prototype would still apply. */
10591 #ifdef __cplusplus
10592 extern "C"
10593 #endif
10594 char glXCreateContext ();
10596 main ()
10598 return glXCreateContext ();
10600 return 0;
10602 _ACEOF
10603 if ac_fn_c_try_link "$LINENO"; then :
10604 case "$LIBEXT" in
10605 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10606 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'` ;;
10607 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10608 if ${ac_cv_lib_soname_GL:+false} :; then :
10609 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10610 fi ;;
10611 esac
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 LIBS=$ac_check_soname_save_LIBS
10617 if ${ac_cv_lib_soname_GL:+false} :; then :
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10619 $as_echo "not found" >&6; }
10620 if test -f /usr/X11R6/lib/libGL.a
10621 then
10622 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10623 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10624 else
10625 opengl_msg="No OpenGL library found on this system."
10627 else
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10629 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10631 cat >>confdefs.h <<_ACEOF
10632 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10633 _ACEOF
10635 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"
10637 else
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10639 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10641 cat >>confdefs.h <<_ACEOF
10642 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10643 _ACEOF
10645 OPENGL_LIBS="-lGL"
10647 if test "x$with_glu" != "xno"
10648 then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10650 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10651 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char gluLookAt ();
10667 main ()
10669 return gluLookAt ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_lib_GLU_gluLookAt=yes
10676 else
10677 ac_cv_lib_GLU_gluLookAt=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10684 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10685 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10689 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10690 case "x$with_glu" in
10691 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10692 xno) ;;
10693 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10694 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10695 esac
10699 if test "x$with_osmesa" != "xno"
10700 then
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10702 $as_echo_n "checking for -lOSMesa... " >&6; }
10703 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705 else
10706 ac_check_soname_save_LIBS=$LIBS
10707 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10711 /* Override any GCC internal prototype to avoid an error.
10712 Use char because int might match the return type of a GCC
10713 builtin and then its argument prototype would still apply. */
10714 #ifdef __cplusplus
10715 extern "C"
10716 #endif
10717 char glAccum ();
10719 main ()
10721 return glAccum ();
10723 return 0;
10725 _ACEOF
10726 if ac_fn_c_try_link "$LINENO"; then :
10727 case "$LIBEXT" in
10728 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10729 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'` ;;
10730 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10731 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10732 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10733 fi ;;
10734 esac
10736 rm -f core conftest.err conftest.$ac_objext \
10737 conftest$ac_exeext conftest.$ac_ext
10738 LIBS=$ac_check_soname_save_LIBS
10740 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10742 $as_echo "not found" >&6; }
10744 else
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10746 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10748 cat >>confdefs.h <<_ACEOF
10749 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10750 _ACEOF
10754 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10755 case "x$with_osmesa" in
10756 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10757 xno) ;;
10758 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10759 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10760 esac
10764 if test -n "$opengl_msg"; then :
10765 case "x$with_opengl" in
10766 x) as_fn_append wine_warnings "|$opengl_msg
10767 OpenGL and Direct3D won't be supported." ;;
10768 xno) ;;
10769 *) as_fn_error $? "$opengl_msg
10770 OpenGL and Direct3D won't be supported.
10771 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10772 esac
10775 CPPFLAGS="$ac_save_CPPFLAGS"
10776 else
10777 X_CFLAGS=""
10778 X_LIBS=""
10779 enable_winex11_drv=${enable_winex11_drv:-no}
10781 if test "x$X_LIBS" = "x"; then :
10782 case "x$with_x" in
10783 xno) ;;
10784 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10785 without X support, which probably isn't what you want. You will need
10786 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10787 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10788 esac
10791 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10793 if test "$ac_cv_header_CL_cl_h" = "yes"
10794 then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10796 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10797 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10798 $as_echo_n "(cached) " >&6
10799 else
10800 ac_check_lib_save_LIBS=$LIBS
10801 LIBS="-lOpenCL $LIBS"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10805 /* Override any GCC internal prototype to avoid an error.
10806 Use char because int might match the return type of a GCC
10807 builtin and then its argument prototype would still apply. */
10808 #ifdef __cplusplus
10809 extern "C"
10810 #endif
10811 char clGetPlatformInfo ();
10813 main ()
10815 return clGetPlatformInfo ();
10817 return 0;
10819 _ACEOF
10820 if ac_fn_c_try_link "$LINENO"; then :
10821 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10822 else
10823 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10825 rm -f core conftest.err conftest.$ac_objext \
10826 conftest$ac_exeext conftest.$ac_ext
10827 LIBS=$ac_check_lib_save_LIBS
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10830 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10831 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10832 OPENCL_LIBS="-lOpenCL"
10837 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10838 case "x$with_opencl" in
10839 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10840 xno) ;;
10841 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10842 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10843 esac
10845 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10847 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10848 then
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10850 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10851 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10852 $as_echo_n "(cached) " >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-lpcap $LIBS"
10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10862 #ifdef __cplusplus
10863 extern "C"
10864 #endif
10865 char pcap_create ();
10867 main ()
10869 return pcap_create ();
10871 return 0;
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"; then :
10875 ac_cv_lib_pcap_pcap_create=yes
10876 else
10877 ac_cv_lib_pcap_pcap_create=no
10879 rm -f core conftest.err conftest.$ac_objext \
10880 conftest$ac_exeext conftest.$ac_ext
10881 LIBS=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10884 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10885 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10886 PCAP_LIBS="-lpcap"
10891 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10892 case "x$with_pcap" in
10893 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10894 xno) ;;
10895 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10896 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10897 esac
10899 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10902 if test "x$with_xml" != "xno"
10903 then
10904 if ${XML2_CFLAGS:+false} :; then :
10905 if ${PKG_CONFIG+:} false; then :
10906 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10909 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10910 if ${XML2_LIBS:+false} :; then :
10911 if ${PKG_CONFIG+:} false; then :
10912 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10915 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10916 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10917 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10918 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10919 ac_save_CPPFLAGS=$CPPFLAGS
10920 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10921 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10922 do :
10923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10924 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10925 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10926 cat >>confdefs.h <<_ACEOF
10927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10928 _ACEOF
10932 done
10934 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"
10935 then
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10937 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10938 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10939 $as_echo_n "(cached) " >&6
10940 else
10941 ac_check_lib_save_LIBS=$LIBS
10942 LIBS="-lxml2 $XML2_LIBS $LIBS"
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10946 /* Override any GCC internal prototype to avoid an error.
10947 Use char because int might match the return type of a GCC
10948 builtin and then its argument prototype would still apply. */
10949 #ifdef __cplusplus
10950 extern "C"
10951 #endif
10952 char xmlParseMemory ();
10954 main ()
10956 return xmlParseMemory ();
10958 return 0;
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"; then :
10962 ac_cv_lib_xml2_xmlParseMemory=yes
10963 else
10964 ac_cv_lib_xml2_xmlParseMemory=no
10966 rm -f core conftest.err conftest.$ac_objext \
10967 conftest$ac_exeext conftest.$ac_ext
10968 LIBS=$ac_check_lib_save_LIBS
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10971 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10972 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10974 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10976 else
10977 XML2_LIBS=""
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10981 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10982 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10983 $as_echo_n "(cached) " >&6
10984 else
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lxml2 $XML2_LIBS $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char xmlReadMemory ();
10998 main ()
11000 return xmlReadMemory ();
11002 return 0;
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006 ac_cv_lib_xml2_xmlReadMemory=yes
11007 else
11008 ac_cv_lib_xml2_xmlReadMemory=no
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11015 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11016 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11018 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11023 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11024 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11025 $as_echo_n "(cached) " >&6
11026 else
11027 ac_check_lib_save_LIBS=$LIBS
11028 LIBS="-lxml2 $XML2_LIBS $LIBS"
11029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char xmlNewDocPI ();
11040 main ()
11042 return xmlNewDocPI ();
11044 return 0;
11046 _ACEOF
11047 if ac_fn_c_try_link "$LINENO"; then :
11048 ac_cv_lib_xml2_xmlNewDocPI=yes
11049 else
11050 ac_cv_lib_xml2_xmlNewDocPI=no
11052 rm -f core conftest.err conftest.$ac_objext \
11053 conftest$ac_exeext conftest.$ac_ext
11054 LIBS=$ac_check_lib_save_LIBS
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11057 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11058 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11060 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11065 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11066 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11067 $as_echo_n "(cached) " >&6
11068 else
11069 ac_check_lib_save_LIBS=$LIBS
11070 LIBS="-lxml2 $XML2_LIBS $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11077 #ifdef __cplusplus
11078 extern "C"
11079 #endif
11080 char xmlSchemaSetParserStructuredErrors ();
11082 main ()
11084 return xmlSchemaSetParserStructuredErrors ();
11086 return 0;
11088 _ACEOF
11089 if ac_fn_c_try_link "$LINENO"; then :
11090 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11091 else
11092 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_lib_save_LIBS
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11099 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11100 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11102 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11107 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11108 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11109 $as_echo_n "(cached) " >&6
11110 else
11111 ac_check_lib_save_LIBS=$LIBS
11112 LIBS="-lxml2 $XML2_LIBS $LIBS"
11113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11114 /* end confdefs.h. */
11116 /* Override any GCC internal prototype to avoid an error.
11117 Use char because int might match the return type of a GCC
11118 builtin and then its argument prototype would still apply. */
11119 #ifdef __cplusplus
11120 extern "C"
11121 #endif
11122 char xmlSchemaSetValidStructuredErrors ();
11124 main ()
11126 return xmlSchemaSetValidStructuredErrors ();
11128 return 0;
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"; then :
11132 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11133 else
11134 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11136 rm -f core conftest.err conftest.$ac_objext \
11137 conftest$ac_exeext conftest.$ac_ext
11138 LIBS=$ac_check_lib_save_LIBS
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11141 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11142 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11144 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11149 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11150 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lxml2 $XML2_LIBS $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char xmlFirstElementChild ();
11166 main ()
11168 return xmlFirstElementChild ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_xml2_xmlFirstElementChild=yes
11175 else
11176 ac_cv_lib_xml2_xmlFirstElementChild=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11183 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11184 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11186 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11190 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11192 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11194 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11198 else
11199 XML2_CFLAGS=""
11200 XML2_LIBS=""
11202 CPPFLAGS=$ac_save_CPPFLAGS
11203 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11204 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11207 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11208 case "x$with_xml" in
11209 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11210 xno) ;;
11211 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11212 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11213 esac
11216 if test "x$with_xslt" != "xno"
11217 then
11218 if ${XSLT_CFLAGS:+false} :; then :
11219 if ${PKG_CONFIG+:} false; then :
11220 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11223 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11224 if ${XSLT_LIBS:+false} :; then :
11225 if ${PKG_CONFIG+:} false; then :
11226 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11229 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11230 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11231 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11232 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11233 ac_save_CPPFLAGS=$CPPFLAGS
11234 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11235 for ac_header in libxslt/pattern.h libxslt/transform.h
11236 do :
11237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11238 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11239 # include <libxslt/pattern.h>
11240 #endif
11242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11243 cat >>confdefs.h <<_ACEOF
11244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11245 _ACEOF
11249 done
11251 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11252 then
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11254 $as_echo_n "checking for -lxslt... " >&6; }
11255 if ${ac_cv_lib_soname_xslt+:} false; then :
11256 $as_echo_n "(cached) " >&6
11257 else
11258 ac_check_soname_save_LIBS=$LIBS
11259 LIBS="-lxslt $XSLT_LIBS $LIBS"
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h. */
11263 /* Override any GCC internal prototype to avoid an error.
11264 Use char because int might match the return type of a GCC
11265 builtin and then its argument prototype would still apply. */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char xsltCompilePattern ();
11271 main ()
11273 return xsltCompilePattern ();
11275 return 0;
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279 case "$LIBEXT" in
11280 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11281 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'` ;;
11282 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11283 if ${ac_cv_lib_soname_xslt:+false} :; then :
11284 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11285 fi ;;
11286 esac
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_soname_save_LIBS
11292 if ${ac_cv_lib_soname_xslt:+false} :; then :
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11294 $as_echo "not found" >&6; }
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11298 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11300 cat >>confdefs.h <<_ACEOF
11301 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11302 _ACEOF
11306 else
11307 XSLT_CFLAGS=""
11309 CPPFLAGS=$ac_save_CPPFLAGS
11310 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11311 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11314 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11315 case "x$with_xslt" in
11316 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11317 xno) ;;
11318 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11319 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11320 esac
11323 if test "x$with_dbus" != "xno"
11324 then
11325 if ${DBUS_CFLAGS:+false} :; then :
11326 if ${PKG_CONFIG+:} false; then :
11327 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11331 if ${DBUS_LIBS:+false} :; then :
11332 if ${PKG_CONFIG+:} false; then :
11333 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11338 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11339 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11340 ac_save_CPPFLAGS=$CPPFLAGS
11341 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11342 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11343 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11345 $as_echo_n "checking for -ldbus-1... " >&6; }
11346 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_soname_save_LIBS=$LIBS
11350 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char dbus_connection_close ();
11362 main ()
11364 return dbus_connection_close ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 case "$LIBEXT" in
11371 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11372 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'` ;;
11373 *) 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'`
11374 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11375 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11376 fi ;;
11377 esac
11379 rm -f core conftest.err conftest.$ac_objext \
11380 conftest$ac_exeext conftest.$ac_ext
11381 LIBS=$ac_check_soname_save_LIBS
11383 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11385 $as_echo "not found" >&6; }
11386 DBUS_CFLAGS=""
11387 else
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11389 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11391 cat >>confdefs.h <<_ACEOF
11392 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11393 _ACEOF
11397 else
11398 DBUS_CFLAGS=""
11402 CPPFLAGS=$ac_save_CPPFLAGS
11403 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11404 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11407 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11408 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11409 case "x$with_dbus" in
11410 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11411 xno) ;;
11412 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11413 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11414 esac
11417 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11418 then
11419 if ${HAL_CFLAGS:+false} :; then :
11420 if ${PKG_CONFIG+:} false; then :
11421 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11425 if ${HAL_LIBS:+false} :; then :
11426 if ${PKG_CONFIG+:} false; then :
11427 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11431 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11432 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11433 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11434 ac_save_CPPFLAGS=$CPPFLAGS
11435 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11436 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11437 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11439 $as_echo_n "checking for -lhal... " >&6; }
11440 if ${ac_cv_lib_soname_hal+:} false; then :
11441 $as_echo_n "(cached) " >&6
11442 else
11443 ac_check_soname_save_LIBS=$LIBS
11444 LIBS="-lhal $HAL_LIBS $LIBS"
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11448 /* Override any GCC internal prototype to avoid an error.
11449 Use char because int might match the return type of a GCC
11450 builtin and then its argument prototype would still apply. */
11451 #ifdef __cplusplus
11452 extern "C"
11453 #endif
11454 char libhal_ctx_new ();
11456 main ()
11458 return libhal_ctx_new ();
11460 return 0;
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"; then :
11464 case "$LIBEXT" in
11465 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11466 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'` ;;
11467 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11468 if ${ac_cv_lib_soname_hal:+false} :; then :
11469 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11470 fi ;;
11471 esac
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_soname_save_LIBS
11477 if ${ac_cv_lib_soname_hal:+false} :; then :
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11479 $as_echo "not found" >&6; }
11480 HAL_CFLAGS=""
11481 else
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11483 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11485 cat >>confdefs.h <<_ACEOF
11486 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11487 _ACEOF
11491 else
11492 HAL_CFLAGS=""
11496 CPPFLAGS=$ac_save_CPPFLAGS
11497 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11498 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11500 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11501 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11502 case "x$with_hal" in
11503 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11504 xno) ;;
11505 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11506 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11507 esac
11511 if test "x$with_gnutls" != "xno"
11512 then
11513 if ${GNUTLS_CFLAGS:+false} :; then :
11514 if ${PKG_CONFIG+:} false; then :
11515 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11519 if ${GNUTLS_LIBS:+false} :; then :
11520 if ${PKG_CONFIG+:} false; then :
11521 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11526 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11527 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11528 ac_save_CPPFLAGS=$CPPFLAGS
11529 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11530 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11531 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11534 #include <gnutls/gnutls.h>
11535 #include <gnutls/crypto.h>
11537 main ()
11539 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11541 return 0;
11543 _ACEOF
11544 if ac_fn_c_try_compile "$LINENO"; then :
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11546 $as_echo_n "checking for -lgnutls... " >&6; }
11547 if ${ac_cv_lib_soname_gnutls+:} false; then :
11548 $as_echo_n "(cached) " >&6
11549 else
11550 ac_check_soname_save_LIBS=$LIBS
11551 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553 /* end confdefs.h. */
11555 /* Override any GCC internal prototype to avoid an error.
11556 Use char because int might match the return type of a GCC
11557 builtin and then its argument prototype would still apply. */
11558 #ifdef __cplusplus
11559 extern "C"
11560 #endif
11561 char gnutls_global_init ();
11563 main ()
11565 return gnutls_global_init ();
11567 return 0;
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571 case "$LIBEXT" in
11572 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11573 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'` ;;
11574 *) 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'`
11575 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11576 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'`
11577 fi ;;
11578 esac
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_soname_save_LIBS
11584 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11586 $as_echo "not found" >&6; }
11587 GNUTLS_CFLAGS=""
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11590 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11592 cat >>confdefs.h <<_ACEOF
11593 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11594 _ACEOF
11598 ac_wine_check_funcs_save_LIBS="$LIBS"
11599 LIBS="$LIBS $GNUTLS_LIBS"
11600 for ac_func in gnutls_hash
11601 do :
11602 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11603 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11604 cat >>confdefs.h <<_ACEOF
11605 #define HAVE_GNUTLS_HASH 1
11606 _ACEOF
11608 else
11609 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11611 done
11613 LIBS="$ac_wine_check_funcs_save_LIBS"
11615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11616 else
11617 GNUTLS_CFLAGS=""
11621 CPPFLAGS=$ac_save_CPPFLAGS
11622 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11623 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11626 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11627 case "x$with_gnutls" in
11628 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11629 xno) ;;
11630 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11631 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11632 esac
11635 CURSES_LIBS=""
11636 if test "$ac_cv_header_ncurses_h" = "yes"
11637 then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11639 $as_echo_n "checking for -lncurses... " >&6; }
11640 if ${ac_cv_lib_soname_ncurses+:} false; then :
11641 $as_echo_n "(cached) " >&6
11642 else
11643 ac_check_soname_save_LIBS=$LIBS
11644 LIBS="-lncurses $LIBS"
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11651 #ifdef __cplusplus
11652 extern "C"
11653 #endif
11654 char waddch ();
11656 main ()
11658 return waddch ();
11660 return 0;
11662 _ACEOF
11663 if ac_fn_c_try_link "$LINENO"; then :
11664 case "$LIBEXT" in
11665 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11666 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'` ;;
11667 *) 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'`
11668 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11669 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11670 fi ;;
11671 esac
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_soname_save_LIBS
11677 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11679 $as_echo "not found" >&6; }
11681 else
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11683 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11685 cat >>confdefs.h <<_ACEOF
11686 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11687 _ACEOF
11689 CURSES_LIBS="-lncurses"
11691 elif test "$ac_cv_header_curses_h" = "yes"
11692 then
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11694 $as_echo_n "checking for -lcurses... " >&6; }
11695 if ${ac_cv_lib_soname_curses+:} false; then :
11696 $as_echo_n "(cached) " >&6
11697 else
11698 ac_check_soname_save_LIBS=$LIBS
11699 LIBS="-lcurses $LIBS"
11700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11706 #ifdef __cplusplus
11707 extern "C"
11708 #endif
11709 char waddch ();
11711 main ()
11713 return waddch ();
11715 return 0;
11717 _ACEOF
11718 if ac_fn_c_try_link "$LINENO"; then :
11719 case "$LIBEXT" in
11720 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11721 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'` ;;
11722 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11723 if ${ac_cv_lib_soname_curses:+false} :; then :
11724 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11725 fi ;;
11726 esac
11728 rm -f core conftest.err conftest.$ac_objext \
11729 conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_soname_save_LIBS
11732 if ${ac_cv_lib_soname_curses:+false} :; then :
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11734 $as_echo "not found" >&6; }
11736 else
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11738 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11740 cat >>confdefs.h <<_ACEOF
11741 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11742 _ACEOF
11744 CURSES_LIBS="-lcurses"
11747 ac_save_LIBS="$LIBS"
11748 LIBS="$LIBS $CURSES_LIBS"
11749 for ac_func in mousemask
11750 do :
11751 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11752 if test "x$ac_cv_func_mousemask" = xyes; then :
11753 cat >>confdefs.h <<_ACEOF
11754 #define HAVE_MOUSEMASK 1
11755 _ACEOF
11758 done
11760 LIBS="$ac_save_LIBS"
11761 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11762 case "x$with_curses" in
11763 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11764 xno) ;;
11765 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11766 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11767 esac
11770 if test "x$with_sane" != "xno"
11771 then
11772 if ${SANE_CFLAGS:+false} :; then :
11773 if ${PKG_CONFIG+:} false; then :
11774 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11777 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11778 if ${SANE_LIBS:+false} :; then :
11779 if ${PKG_CONFIG+:} false; then :
11780 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11783 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11785 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11786 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11787 ac_save_CPPFLAGS=$CPPFLAGS
11788 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11789 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11790 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11792 $as_echo_n "checking for -lsane... " >&6; }
11793 if ${ac_cv_lib_soname_sane+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_soname_save_LIBS=$LIBS
11797 LIBS="-lsane $SANE_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char sane_init ();
11809 main ()
11811 return sane_init ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 case "$LIBEXT" in
11818 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11819 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'` ;;
11820 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11821 if ${ac_cv_lib_soname_sane:+false} :; then :
11822 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11823 fi ;;
11824 esac
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_sane:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11833 SANE_CFLAGS=""
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11836 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11840 _ACEOF
11844 else
11845 SANE_CFLAGS=""
11849 CPPFLAGS=$ac_save_CPPFLAGS
11850 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11851 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11854 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11855 case "x$with_sane" in
11856 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11857 xno) ;;
11858 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11859 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11860 esac
11863 if test "x$with_v4l" != "xno"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11866 $as_echo_n "checking for -lv4l1... " >&6; }
11867 if ${ac_cv_lib_soname_v4l1+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_soname_save_LIBS=$LIBS
11871 LIBS="-lv4l1 $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char v4l1_open ();
11883 main ()
11885 return v4l1_open ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 case "$LIBEXT" in
11892 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11893 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'` ;;
11894 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11895 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11896 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11897 fi ;;
11898 esac
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_soname_save_LIBS
11904 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11906 $as_echo "not found" >&6; }
11908 else
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11910 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11912 cat >>confdefs.h <<_ACEOF
11913 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11914 _ACEOF
11919 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11920 case "x$with_v4l" in
11921 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11922 xno) ;;
11923 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11924 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11925 esac
11928 if test "x$with_gphoto" != "xno"
11929 then
11930 if ${GPHOTO2_CFLAGS:+false} :; then :
11931 if ${PKG_CONFIG+:} false; then :
11932 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11935 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11936 if ${GPHOTO2_LIBS:+false} :; then :
11937 if ${PKG_CONFIG+:} false; then :
11938 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11941 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11942 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11943 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11944 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11945 ac_save_CPPFLAGS=$CPPFLAGS
11946 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11947 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11948 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11950 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11951 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11952 $as_echo_n "(cached) " >&6
11953 else
11954 ac_check_lib_save_LIBS=$LIBS
11955 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11962 #ifdef __cplusplus
11963 extern "C"
11964 #endif
11965 char gp_camera_new ();
11967 main ()
11969 return gp_camera_new ();
11971 return 0;
11973 _ACEOF
11974 if ac_fn_c_try_link "$LINENO"; then :
11975 ac_cv_lib_gphoto2_gp_camera_new=yes
11976 else
11977 ac_cv_lib_gphoto2_gp_camera_new=no
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LIBS=$ac_check_lib_save_LIBS
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11984 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11985 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11987 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11989 else
11990 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11993 else
11994 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11998 CPPFLAGS=$ac_save_CPPFLAGS
11999 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12000 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12002 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12003 if ${PKG_CONFIG+:} false; then :
12004 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12007 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12008 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12009 if ${PKG_CONFIG+:} false; then :
12010 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12013 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12014 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12015 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12016 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12017 ac_save_CPPFLAGS=$CPPFLAGS
12018 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12019 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12020 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12022 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12023 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 /* end confdefs.h. */
12031 /* Override any GCC internal prototype to avoid an error.
12032 Use char because int might match the return type of a GCC
12033 builtin and then its argument prototype would still apply. */
12034 #ifdef __cplusplus
12035 extern "C"
12036 #endif
12037 char gp_port_info_list_new ();
12039 main ()
12041 return gp_port_info_list_new ();
12043 return 0;
12045 _ACEOF
12046 if ac_fn_c_try_link "$LINENO"; then :
12047 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12048 else
12049 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12051 rm -f core conftest.err conftest.$ac_objext \
12052 conftest$ac_exeext conftest.$ac_ext
12053 LIBS=$ac_check_lib_save_LIBS
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12056 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12057 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12059 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12061 else
12062 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12065 else
12066 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12070 CPPFLAGS=$ac_save_CPPFLAGS
12071 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12072 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12075 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12076 case "x$with_gphoto" in
12077 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12078 xno) ;;
12079 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12080 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12081 esac
12083 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12084 case "x$with_gphoto" in
12085 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12086 xno) ;;
12087 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12088 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12089 esac
12093 if test "$ac_cv_header_resolv_h" = "yes"
12094 then
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12096 $as_echo_n "checking for resolver library... " >&6; }
12097 if ${ac_cv_have_resolv+:} false; then :
12098 $as_echo_n "(cached) " >&6
12099 else
12100 ac_save_LIBS="$LIBS"
12101 for lib in '' -lresolv
12103 LIBS="$lib $ac_save_LIBS"
12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12105 /* end confdefs.h. */
12106 #ifdef HAVE_NETINET_IN_H
12107 #include <netinet/in.h>
12108 #endif
12109 #include <resolv.h>
12111 main ()
12113 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12115 return 0;
12117 _ACEOF
12118 if ac_fn_c_try_link "$LINENO"; then :
12119 ac_cv_have_resolv=${lib:-"none required"}
12120 else
12121 ac_cv_have_resolv="not found"
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 test "x$ac_cv_have_resolv" = "xnot found" || break
12126 done
12127 LIBS="$ac_save_LIBS"
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12130 $as_echo "$ac_cv_have_resolv" >&6; }
12132 case "$ac_cv_have_resolv" in
12133 "not found") ;;
12134 "none required")
12136 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12139 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12141 RESOLV_LIBS=$ac_cv_have_resolv
12143 esac
12146 if test "x$with_cms" != "xno"
12147 then
12148 if ${LCMS2_CFLAGS:+false} :; then :
12149 if ${PKG_CONFIG+:} false; then :
12150 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12154 if ${LCMS2_LIBS:+false} :; then :
12155 if ${PKG_CONFIG+:} false; then :
12156 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12160 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12161 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12162 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12163 ac_save_CPPFLAGS=$CPPFLAGS
12164 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12165 for ac_header in lcms2.h
12166 do :
12167 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12169 cat >>confdefs.h <<_ACEOF
12170 #define HAVE_LCMS2_H 1
12171 _ACEOF
12175 done
12177 if test "$ac_cv_header_lcms2_h" = "yes"
12178 then
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12180 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12181 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_lib_save_LIBS=$LIBS
12185 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 #ifdef __cplusplus
12193 extern "C"
12194 #endif
12195 char cmsOpenProfileFromFile ();
12197 main ()
12199 return cmsOpenProfileFromFile ();
12201 return 0;
12203 _ACEOF
12204 if ac_fn_c_try_link "$LINENO"; then :
12205 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12206 else
12207 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12209 rm -f core conftest.err conftest.$ac_objext \
12210 conftest$ac_exeext conftest.$ac_ext
12211 LIBS=$ac_check_lib_save_LIBS
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12214 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12215 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12217 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12219 else
12220 LCMS2_LIBS=""
12223 else
12224 LCMS2_CFLAGS=""
12225 LCMS2_LIBS=""
12227 CPPFLAGS=$ac_save_CPPFLAGS
12228 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12229 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12232 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12233 case "x$with_cms" in
12234 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12235 xno) ;;
12236 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12237 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12238 esac
12241 if test "x$with_freetype" != "xno"
12242 then
12243 if ${FREETYPE_CFLAGS:+false} :; then :
12244 if ${PKG_CONFIG+:} false; then :
12245 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12248 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12249 if ${FREETYPE_LIBS:+false} :; then :
12250 if ${PKG_CONFIG+:} false; then :
12251 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12254 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12255 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12256 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12257 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12258 ac_save_CPPFLAGS=$CPPFLAGS
12259 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12260 for ac_header in ft2build.h
12261 do :
12262 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12263 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12264 cat >>confdefs.h <<_ACEOF
12265 #define HAVE_FT2BUILD_H 1
12266 _ACEOF
12270 done
12272 if test "$ac_cv_header_ft2build_h" = "yes"
12273 then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12275 $as_echo_n "checking for -lfreetype... " >&6; }
12276 if ${ac_cv_lib_soname_freetype+:} false; then :
12277 $as_echo_n "(cached) " >&6
12278 else
12279 ac_check_soname_save_LIBS=$LIBS
12280 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12284 /* Override any GCC internal prototype to avoid an error.
12285 Use char because int might match the return type of a GCC
12286 builtin and then its argument prototype would still apply. */
12287 #ifdef __cplusplus
12288 extern "C"
12289 #endif
12290 char FT_Init_FreeType ();
12292 main ()
12294 return FT_Init_FreeType ();
12296 return 0;
12298 _ACEOF
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 case "$LIBEXT" in
12301 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12302 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'` ;;
12303 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12304 if ${ac_cv_lib_soname_freetype:+false} :; then :
12305 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12306 fi ;;
12307 esac
12309 rm -f core conftest.err conftest.$ac_objext \
12310 conftest$ac_exeext conftest.$ac_ext
12311 LIBS=$ac_check_soname_save_LIBS
12313 if ${ac_cv_lib_soname_freetype:+false} :; then :
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12315 $as_echo "not found" >&6; }
12316 FREETYPE_LIBS=""
12317 else
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12319 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12321 cat >>confdefs.h <<_ACEOF
12322 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12323 _ACEOF
12326 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12328 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12329 #include FT_MODULE_H
12331 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12333 cat >>confdefs.h <<_ACEOF
12334 #define HAVE_FT_TRUETYPEENGINETYPE 1
12335 _ACEOF
12341 else
12342 FREETYPE_CFLAGS=""
12343 FREETYPE_LIBS=""
12345 CPPFLAGS=$ac_save_CPPFLAGS
12346 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12347 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12350 if test "x$ac_cv_lib_soname_freetype" = x; then :
12351 case "x$with_freetype" in
12352 xno) ;;
12353 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12354 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12355 esac
12357 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12360 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12361 if ${ac_cv_c_ppdev+:} false; then :
12362 $as_echo_n "(cached) " >&6
12363 else
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #ifdef HAVE_SYS_IOCTL_H
12367 # include <sys/ioctl.h>
12368 #endif
12369 #include <linux/ppdev.h>
12371 main ()
12373 ioctl (1,PPCLAIM,0)
12375 return 0;
12377 _ACEOF
12378 if ac_fn_c_try_compile "$LINENO"; then :
12379 ac_cv_c_ppdev="yes"
12380 else
12381 ac_cv_c_ppdev="no"
12383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12386 $as_echo "$ac_cv_c_ppdev" >&6; }
12387 if test "$ac_cv_c_ppdev" = "yes"
12388 then
12390 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12394 ac_wine_check_funcs_save_LIBS="$LIBS"
12395 LIBS="$LIBS $PTHREAD_LIBS"
12396 for ac_func in \
12397 pthread_attr_get_np \
12398 pthread_getattr_np \
12399 pthread_getthreadid_np \
12400 pthread_get_stackaddr_np \
12401 pthread_get_stacksize_np
12402 do :
12403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12405 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12406 cat >>confdefs.h <<_ACEOF
12407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12408 _ACEOF
12411 done
12413 LIBS="$ac_wine_check_funcs_save_LIBS"
12415 if test "$ac_cv_header_zlib_h" = "yes"
12416 then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12418 $as_echo_n "checking for inflate in -lz... " >&6; }
12419 if ${ac_cv_lib_z_inflate+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 ac_check_lib_save_LIBS=$LIBS
12423 LIBS="-lz $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char inflate ();
12435 main ()
12437 return inflate ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 ac_cv_lib_z_inflate=yes
12444 else
12445 ac_cv_lib_z_inflate=no
12447 rm -f core conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12452 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12453 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12455 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12457 Z_LIBS="-lz"
12462 if test "x$Z_LIBS" = "x"; then :
12463 case "x$with_zlib" in
12464 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12465 xno) ;;
12466 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12467 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12468 esac
12471 if test "x$enable_tools" != xno
12472 then
12473 if test "$ac_cv_header_gettext_po_h" = "yes"
12474 then
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12476 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12477 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12478 $as_echo_n "(cached) " >&6
12479 else
12480 ac_check_lib_save_LIBS=$LIBS
12481 LIBS="-lgettextpo $LIBS"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12488 #ifdef __cplusplus
12489 extern "C"
12490 #endif
12491 char po_message_msgctxt ();
12493 main ()
12495 return po_message_msgctxt ();
12497 return 0;
12499 _ACEOF
12500 if ac_fn_c_try_link "$LINENO"; then :
12501 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12502 else
12503 ac_cv_lib_gettextpo_po_message_msgctxt=no
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_lib_save_LIBS
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12510 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12511 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12513 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12515 GETTEXTPO_LIBS="-lgettextpo"
12520 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12521 case "x$with_gettextpo" in
12522 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12523 xno) ;;
12524 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12525 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12526 esac
12530 if test "x$with_pulse" != "xno";
12531 then
12532 if ${PULSE_CFLAGS:+false} :; then :
12533 if ${PKG_CONFIG+:} false; then :
12534 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12538 if ${PULSE_LIBS:+false} :; then :
12539 if ${PKG_CONFIG+:} false; then :
12540 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12545 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12546 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12547 ac_save_CPPFLAGS=$CPPFLAGS
12548 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12549 for ac_header in pulse/pulseaudio.h
12550 do :
12551 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12552 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_PULSE_PULSEAUDIO_H 1
12555 _ACEOF
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12557 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12558 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12559 $as_echo_n "(cached) " >&6
12560 else
12561 ac_check_lib_save_LIBS=$LIBS
12562 LIBS="-lpulse $PULSE_LIBS $LIBS"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12566 /* Override any GCC internal prototype to avoid an error.
12567 Use char because int might match the return type of a GCC
12568 builtin and then its argument prototype would still apply. */
12569 #ifdef __cplusplus
12570 extern "C"
12571 #endif
12572 char pa_stream_is_corked ();
12574 main ()
12576 return pa_stream_is_corked ();
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_link "$LINENO"; then :
12582 ac_cv_lib_pulse_pa_stream_is_corked=yes
12583 else
12584 ac_cv_lib_pulse_pa_stream_is_corked=no
12586 rm -f core conftest.err conftest.$ac_objext \
12587 conftest$ac_exeext conftest.$ac_ext
12588 LIBS=$ac_check_lib_save_LIBS
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12591 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12592 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12594 else
12595 PULSE_LIBS=""
12598 else
12599 PULSE_LIBS=""
12602 done
12604 CPPFLAGS=$ac_save_CPPFLAGS
12605 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12606 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12609 if test -z "$PULSE_LIBS"; then :
12610 case "x$with_pulse" in
12611 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12612 xno) ;;
12613 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12614 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12615 esac
12617 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12619 if test "x$with_gstreamer" != "xno"
12620 then
12621 if ${GSTREAMER_CFLAGS:+false} :; then :
12622 if ${PKG_CONFIG+:} false; then :
12623 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12627 if ${GSTREAMER_LIBS:+false} :; then :
12628 if ${PKG_CONFIG+:} false; then :
12629 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12634 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12635 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12636 ac_save_CPPFLAGS=$CPPFLAGS
12637 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12638 ac_gst_incl=""
12639 for i in $GSTREAMER_CFLAGS
12641 case "$i" in
12642 -I*) ac_gst_incl="$ac_gst_incl $i";;
12643 esac
12644 done
12645 GSTREAMER_CFLAGS=$ac_gst_incl
12646 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12647 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12648 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12650 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12653 #include <gst/gst.h>
12655 main ()
12657 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_compile "$LINENO"; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12664 $as_echo "yes" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12666 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12667 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12668 $as_echo_n "(cached) " >&6
12669 else
12670 ac_check_lib_save_LIBS=$LIBS
12671 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h. */
12675 /* Override any GCC internal prototype to avoid an error.
12676 Use char because int might match the return type of a GCC
12677 builtin and then its argument prototype would still apply. */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char gst_pad_new ();
12683 main ()
12685 return gst_pad_new ();
12687 return 0;
12689 _ACEOF
12690 if ac_fn_c_try_link "$LINENO"; then :
12691 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12692 else
12693 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12695 rm -f core conftest.err conftest.$ac_objext \
12696 conftest$ac_exeext conftest.$ac_ext
12697 LIBS=$ac_check_lib_save_LIBS
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12700 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12701 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12705 else
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12707 $as_echo "no" >&6; }
12708 ac_glib2_broken=yes
12709 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12715 CPPFLAGS=$ac_save_CPPFLAGS
12716 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12717 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12720 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 :
12721 case "x$with_gstreamer" in
12722 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12723 xno) ;;
12724 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12725 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12726 esac
12728 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12730 ALSA_LIBS=""
12732 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12733 then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12735 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12736 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 ac_check_lib_save_LIBS=$LIBS
12740 LIBS="-lasound $LIBS"
12741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12742 /* end confdefs.h. */
12744 /* Override any GCC internal prototype to avoid an error.
12745 Use char because int might match the return type of a GCC
12746 builtin and then its argument prototype would still apply. */
12747 #ifdef __cplusplus
12748 extern "C"
12749 #endif
12750 char snd_pcm_hw_params_get_access_mask ();
12752 main ()
12754 return snd_pcm_hw_params_get_access_mask ();
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_link "$LINENO"; then :
12760 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12761 else
12762 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12764 rm -f core conftest.err conftest.$ac_objext \
12765 conftest$ac_exeext conftest.$ac_ext
12766 LIBS=$ac_check_lib_save_LIBS
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12769 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12770 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12773 #ifdef HAVE_ALSA_ASOUNDLIB_H
12774 #include <alsa/asoundlib.h>
12775 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12776 #include <sys/asoundlib.h>
12777 #endif
12779 main ()
12781 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12783 return 0;
12785 _ACEOF
12786 if ac_fn_c_try_compile "$LINENO"; then :
12787 ALSA_LIBS="-lasound"
12789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12793 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12795 if test "x$with_oss" != xno
12796 then
12797 ac_save_CPPFLAGS="$CPPFLAGS"
12798 if test -f /etc/oss.conf
12799 then
12800 . /etc/oss.conf
12802 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12803 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12804 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12805 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12806 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12808 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12810 cat >>confdefs.h <<_ACEOF
12811 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12812 _ACEOF
12814 OSS4_CFLAGS="$ac_oss_incl"
12821 CPPFLAGS="$ac_save_CPPFLAGS"
12822 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12823 then
12824 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12827 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12829 if test "x$with_capi" != "xno"
12830 then
12831 if ${CAPI20_CFLAGS:+false} :; then :
12832 if ${PKG_CONFIG+:} false; then :
12833 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12837 if ${CAPI20_LIBS:+false} :; then :
12838 if ${PKG_CONFIG+:} false; then :
12839 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12844 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12845 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12846 ac_save_CPPFLAGS=$CPPFLAGS
12847 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12848 for ac_header in capi20.h linux/capi.h
12849 do :
12850 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12851 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12853 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12854 cat >>confdefs.h <<_ACEOF
12855 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12856 _ACEOF
12860 done
12862 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12863 then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12865 $as_echo_n "checking for -lcapi20... " >&6; }
12866 if ${ac_cv_lib_soname_capi20+:} false; then :
12867 $as_echo_n "(cached) " >&6
12868 else
12869 ac_check_soname_save_LIBS=$LIBS
12870 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12877 #ifdef __cplusplus
12878 extern "C"
12879 #endif
12880 char capi20_register ();
12882 main ()
12884 return capi20_register ();
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_link "$LINENO"; then :
12890 case "$LIBEXT" in
12891 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12892 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'` ;;
12893 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12894 if ${ac_cv_lib_soname_capi20:+false} :; then :
12895 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12896 fi ;;
12897 esac
12899 rm -f core conftest.err conftest.$ac_objext \
12900 conftest$ac_exeext conftest.$ac_ext
12901 LIBS=$ac_check_soname_save_LIBS
12903 if ${ac_cv_lib_soname_capi20:+false} :; then :
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12905 $as_echo "not found" >&6; }
12907 else
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12909 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12911 cat >>confdefs.h <<_ACEOF
12912 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12913 _ACEOF
12918 CPPFLAGS=$ac_save_CPPFLAGS
12919 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12920 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12923 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12924 case "x$with_capi" in
12925 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12926 xno) ;;
12927 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12928 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12929 esac
12932 CUPS_CFLAGS=""
12934 if test "x$with_cups" != "xno"
12935 then
12936 ac_save_CPPFLAGS="$CPPFLAGS"
12937 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12938 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12939 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12940 for ac_header in cups/cups.h
12941 do :
12942 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12943 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12944 cat >>confdefs.h <<_ACEOF
12945 #define HAVE_CUPS_CUPS_H 1
12946 _ACEOF
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12948 $as_echo_n "checking for -lcups... " >&6; }
12949 if ${ac_cv_lib_soname_cups+:} false; then :
12950 $as_echo_n "(cached) " >&6
12951 else
12952 ac_check_soname_save_LIBS=$LIBS
12953 LIBS="-lcups $ac_cups_libs $LIBS"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 /* Override any GCC internal prototype to avoid an error.
12958 Use char because int might match the return type of a GCC
12959 builtin and then its argument prototype would still apply. */
12960 #ifdef __cplusplus
12961 extern "C"
12962 #endif
12963 char cupsGetDefault ();
12965 main ()
12967 return cupsGetDefault ();
12969 return 0;
12971 _ACEOF
12972 if ac_fn_c_try_link "$LINENO"; then :
12973 case "$LIBEXT" in
12974 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12975 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'` ;;
12976 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12977 if ${ac_cv_lib_soname_cups:+false} :; then :
12978 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12979 fi ;;
12980 esac
12982 rm -f core conftest.err conftest.$ac_objext \
12983 conftest$ac_exeext conftest.$ac_ext
12984 LIBS=$ac_check_soname_save_LIBS
12986 if ${ac_cv_lib_soname_cups:+false} :; then :
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12988 $as_echo "not found" >&6; }
12990 else
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12992 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12994 cat >>confdefs.h <<_ACEOF
12995 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12996 _ACEOF
12998 CUPS_CFLAGS="$ac_cups_cflags"
13002 done
13004 CPPFLAGS="$ac_save_CPPFLAGS"
13006 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13007 case "x$with_cups" in
13008 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13009 xno) ;;
13010 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13011 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13012 esac
13015 if test "x$with_fontconfig" != "xno"
13016 then
13017 if ${FONTCONFIG_CFLAGS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13022 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13023 if ${FONTCONFIG_LIBS:+false} :; then :
13024 if ${PKG_CONFIG+:} false; then :
13025 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13028 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13030 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13031 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13032 ac_save_CPPFLAGS=$CPPFLAGS
13033 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13034 for ac_header in fontconfig/fontconfig.h
13035 do :
13036 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13038 cat >>confdefs.h <<_ACEOF
13039 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13040 _ACEOF
13044 done
13046 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13047 then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13049 $as_echo_n "checking for -lfontconfig... " >&6; }
13050 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13051 $as_echo_n "(cached) " >&6
13052 else
13053 ac_check_soname_save_LIBS=$LIBS
13054 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h. */
13058 /* Override any GCC internal prototype to avoid an error.
13059 Use char because int might match the return type of a GCC
13060 builtin and then its argument prototype would still apply. */
13061 #ifdef __cplusplus
13062 extern "C"
13063 #endif
13064 char FcInit ();
13066 main ()
13068 return FcInit ();
13070 return 0;
13072 _ACEOF
13073 if ac_fn_c_try_link "$LINENO"; then :
13074 case "$LIBEXT" in
13075 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13076 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'` ;;
13077 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13078 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13079 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13080 fi ;;
13081 esac
13083 rm -f core conftest.err conftest.$ac_objext \
13084 conftest$ac_exeext conftest.$ac_ext
13085 LIBS=$ac_check_soname_save_LIBS
13087 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13089 $as_echo "not found" >&6; }
13090 FONTCONFIG_CFLAGS=""
13091 else
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13093 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13095 cat >>confdefs.h <<_ACEOF
13096 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13097 _ACEOF
13101 else
13102 FONTCONFIG_CFLAGS=""
13104 CPPFLAGS=$ac_save_CPPFLAGS
13105 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13106 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13109 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13110 case "x$with_fontconfig" in
13111 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13112 xno) ;;
13113 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13114 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13115 esac
13118 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13119 then
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13121 $as_echo_n "checking for -lgsm... " >&6; }
13122 if ${ac_cv_lib_soname_gsm+:} false; then :
13123 $as_echo_n "(cached) " >&6
13124 else
13125 ac_check_soname_save_LIBS=$LIBS
13126 LIBS="-lgsm $LIBS"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13130 /* Override any GCC internal prototype to avoid an error.
13131 Use char because int might match the return type of a GCC
13132 builtin and then its argument prototype would still apply. */
13133 #ifdef __cplusplus
13134 extern "C"
13135 #endif
13136 char gsm_create ();
13138 main ()
13140 return gsm_create ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"; then :
13146 case "$LIBEXT" in
13147 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13148 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'` ;;
13149 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13150 if ${ac_cv_lib_soname_gsm:+false} :; then :
13151 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13152 fi ;;
13153 esac
13155 rm -f core conftest.err conftest.$ac_objext \
13156 conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_soname_save_LIBS
13159 if ${ac_cv_lib_soname_gsm:+false} :; then :
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13161 $as_echo "not found" >&6; }
13163 else
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13165 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13167 cat >>confdefs.h <<_ACEOF
13168 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13169 _ACEOF
13174 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13175 case "x$with_gsm" in
13176 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13177 xno) ;;
13178 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13179 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13180 esac
13183 if test "x$with_jpeg" != "xno"
13184 then
13185 if ${JPEG_CFLAGS:+false} :; then :
13186 if ${PKG_CONFIG+:} false; then :
13187 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13191 if ${JPEG_LIBS:+false} :; then :
13192 if ${PKG_CONFIG+:} false; then :
13193 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13198 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13199 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13200 ac_save_CPPFLAGS=$CPPFLAGS
13201 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13202 for ac_header in jpeglib.h
13203 do :
13204 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13205 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13206 cat >>confdefs.h <<_ACEOF
13207 #define HAVE_JPEGLIB_H 1
13208 _ACEOF
13212 done
13214 if test "$ac_cv_header_jpeglib_h" = "yes"
13215 then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13217 $as_echo_n "checking for -ljpeg... " >&6; }
13218 if ${ac_cv_lib_soname_jpeg+:} false; then :
13219 $as_echo_n "(cached) " >&6
13220 else
13221 ac_check_soname_save_LIBS=$LIBS
13222 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13226 /* Override any GCC internal prototype to avoid an error.
13227 Use char because int might match the return type of a GCC
13228 builtin and then its argument prototype would still apply. */
13229 #ifdef __cplusplus
13230 extern "C"
13231 #endif
13232 char jpeg_start_decompress ();
13234 main ()
13236 return jpeg_start_decompress ();
13238 return 0;
13240 _ACEOF
13241 if ac_fn_c_try_link "$LINENO"; then :
13242 case "$LIBEXT" in
13243 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13244 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'` ;;
13245 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13246 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13247 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13248 fi ;;
13249 esac
13251 rm -f core conftest.err conftest.$ac_objext \
13252 conftest$ac_exeext conftest.$ac_ext
13253 LIBS=$ac_check_soname_save_LIBS
13255 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13257 $as_echo "not found" >&6; }
13258 JPEG_CFLAGS=""
13259 else
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13261 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13263 cat >>confdefs.h <<_ACEOF
13264 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13265 _ACEOF
13269 else
13270 JPEG_CFLAGS=""
13272 CPPFLAGS=$ac_save_CPPFLAGS
13273 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13274 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13277 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13278 case "x$with_jpeg" in
13279 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13280 xno) ;;
13281 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13282 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13283 esac
13286 if test "x$with_png" != "xno"
13287 then
13288 if ${PNG_CFLAGS:+false} :; then :
13289 if ${PKG_CONFIG+:} false; then :
13290 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13293 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13294 if ${PNG_LIBS:+false} :; then :
13295 if ${PKG_CONFIG+:} false; then :
13296 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13299 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13301 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13302 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13303 ac_save_CPPFLAGS=$CPPFLAGS
13304 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13305 for ac_header in png.h
13306 do :
13307 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13308 if test "x$ac_cv_header_png_h" = xyes; then :
13309 cat >>confdefs.h <<_ACEOF
13310 #define HAVE_PNG_H 1
13311 _ACEOF
13315 done
13317 if test "$ac_cv_header_png_h" = "yes"
13318 then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13320 $as_echo_n "checking for -lpng... " >&6; }
13321 if ${ac_cv_lib_soname_png+:} false; then :
13322 $as_echo_n "(cached) " >&6
13323 else
13324 ac_check_soname_save_LIBS=$LIBS
13325 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 #ifdef __cplusplus
13333 extern "C"
13334 #endif
13335 char png_create_read_struct ();
13337 main ()
13339 return png_create_read_struct ();
13341 return 0;
13343 _ACEOF
13344 if ac_fn_c_try_link "$LINENO"; then :
13345 case "$LIBEXT" in
13346 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13347 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'` ;;
13348 *) 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'`
13349 if ${ac_cv_lib_soname_png:+false} :; then :
13350 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13351 fi ;;
13352 esac
13354 rm -f core conftest.err conftest.$ac_objext \
13355 conftest$ac_exeext conftest.$ac_ext
13356 LIBS=$ac_check_soname_save_LIBS
13358 if ${ac_cv_lib_soname_png:+false} :; then :
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13360 $as_echo "not found" >&6; }
13361 PNG_CFLAGS=""
13362 else
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13364 $as_echo "$ac_cv_lib_soname_png" >&6; }
13366 cat >>confdefs.h <<_ACEOF
13367 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13368 _ACEOF
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13372 #include <png.h>
13374 main ()
13376 typeof(png_set_expand_gray_1_2_4_to_8) *p
13378 return 0;
13380 _ACEOF
13381 if ac_fn_c_try_compile "$LINENO"; then :
13383 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388 else
13389 PNG_CFLAGS=""
13391 CPPFLAGS=$ac_save_CPPFLAGS
13392 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13393 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13396 if test "x$ac_cv_lib_soname_png" = "x"; then :
13397 case "x$with_png" in
13398 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13401 This is an error since --with-png was requested." "$LINENO" 5 ;;
13402 esac
13405 if test "x$with_tiff" != "xno"
13406 then
13407 if ${TIFF_CFLAGS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13413 if ${TIFF_LIBS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13420 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13422 ac_save_CPPFLAGS=$CPPFLAGS
13423 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13424 for ac_header in tiffio.h
13425 do :
13426 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13427 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13428 cat >>confdefs.h <<_ACEOF
13429 #define HAVE_TIFFIO_H 1
13430 _ACEOF
13434 done
13436 if test "$ac_cv_header_tiffio_h" = "yes"
13437 then
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13439 $as_echo_n "checking for -ltiff... " >&6; }
13440 if ${ac_cv_lib_soname_tiff+:} false; then :
13441 $as_echo_n "(cached) " >&6
13442 else
13443 ac_check_soname_save_LIBS=$LIBS
13444 LIBS="-ltiff $TIFF_LIBS $LIBS"
13445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13451 #ifdef __cplusplus
13452 extern "C"
13453 #endif
13454 char TIFFClientOpen ();
13456 main ()
13458 return TIFFClientOpen ();
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_link "$LINENO"; then :
13464 case "$LIBEXT" in
13465 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13466 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'` ;;
13467 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13468 if ${ac_cv_lib_soname_tiff:+false} :; then :
13469 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13470 fi ;;
13471 esac
13473 rm -f core conftest.err conftest.$ac_objext \
13474 conftest$ac_exeext conftest.$ac_ext
13475 LIBS=$ac_check_soname_save_LIBS
13477 if ${ac_cv_lib_soname_tiff:+false} :; then :
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13479 $as_echo "not found" >&6; }
13481 else
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13483 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13485 cat >>confdefs.h <<_ACEOF
13486 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13487 _ACEOF
13492 CPPFLAGS=$ac_save_CPPFLAGS
13493 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13494 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13497 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13498 case "x$with_tiff" in
13499 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13500 xno) ;;
13501 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13502 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13503 esac
13506 if test "x$with_mpg123" != "xno"
13507 then
13508 if ${MPG123_CFLAGS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13514 if ${MPG123_LIBS:+false} :; then :
13515 if ${PKG_CONFIG+:} false; then :
13516 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13520 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13521 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13522 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13523 ac_save_CPPFLAGS=$CPPFLAGS
13524 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13525 for ac_header in mpg123.h
13526 do :
13527 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13528 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13529 cat >>confdefs.h <<_ACEOF
13530 #define HAVE_MPG123_H 1
13531 _ACEOF
13535 done
13537 if test "$ac_cv_header_mpg123_h" = "yes"
13538 then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13540 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13541 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13542 $as_echo_n "(cached) " >&6
13543 else
13544 ac_check_lib_save_LIBS=$LIBS
13545 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13549 /* Override any GCC internal prototype to avoid an error.
13550 Use char because int might match the return type of a GCC
13551 builtin and then its argument prototype would still apply. */
13552 #ifdef __cplusplus
13553 extern "C"
13554 #endif
13555 char mpg123_feed ();
13557 main ()
13559 return mpg123_feed ();
13561 return 0;
13563 _ACEOF
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 ac_cv_lib_mpg123_mpg123_feed=yes
13566 else
13567 ac_cv_lib_mpg123_mpg123_feed=no
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 LIBS=$ac_check_lib_save_LIBS
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13574 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13575 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13577 else
13578 MPG123_LIBS=""
13581 else
13582 MPG123_CFLAGS=""
13583 MPG123_LIBS=""
13585 CPPFLAGS=$ac_save_CPPFLAGS
13586 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13587 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13590 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13591 case "x$with_mpg123" in
13592 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13593 xno) ;;
13594 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13595 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13596 esac
13598 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13600 if test "$ac_cv_header_AL_al_h" = "yes"
13601 then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13603 $as_echo_n "checking for -lopenal... " >&6; }
13604 if ${ac_cv_lib_soname_openal+:} false; then :
13605 $as_echo_n "(cached) " >&6
13606 else
13607 ac_check_soname_save_LIBS=$LIBS
13608 LIBS="-lopenal $LIBS"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13615 #ifdef __cplusplus
13616 extern "C"
13617 #endif
13618 char alGetSource3i ();
13620 main ()
13622 return alGetSource3i ();
13624 return 0;
13626 _ACEOF
13627 if ac_fn_c_try_link "$LINENO"; then :
13628 case "$LIBEXT" in
13629 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13630 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'` ;;
13631 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13632 if ${ac_cv_lib_soname_openal:+false} :; then :
13633 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13634 fi ;;
13635 esac
13637 rm -f core conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13639 LIBS=$ac_check_soname_save_LIBS
13641 if ${ac_cv_lib_soname_openal:+false} :; then :
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13643 $as_echo "not found" >&6; }
13645 else
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13647 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13649 cat >>confdefs.h <<_ACEOF
13650 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13651 _ACEOF
13653 OPENAL_LIBS="-lopenal"
13655 ac_cv_lib_openal=yes
13657 cat >>confdefs.h <<_ACEOF
13658 #define HAVE_OPENAL 1
13659 _ACEOF
13663 if test "x$ac_cv_lib_openal" != xyes; then :
13664 case "x$with_openal" in
13665 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13666 xno) ;;
13667 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13668 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13669 esac
13671 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13673 if test "x$ac_cv_lib_openal" = xyes
13674 then
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13676 $as_echo_n "checking for openal-soft... " >&6; }
13677 if ${ac_cv_have_openalsoft+:} false; then :
13678 $as_echo_n "(cached) " >&6
13679 else
13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13682 #include <AL/al.h>
13683 #include <AL/alc.h>
13684 #include <AL/alext.h>
13685 LPALCRENDERSAMPLESSOFT x;
13687 main ()
13691 return 0;
13693 _ACEOF
13694 if ac_fn_c_try_compile "$LINENO"; then :
13695 ac_cv_have_openalsoft=yes
13696 else
13697 ac_cv_have_openalsoft=no
13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13702 $as_echo "$ac_cv_have_openalsoft" >&6; }
13704 if test "x$ac_cv_have_openalsoft" != xyes
13705 then
13706 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13707 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13708 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13709 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13710 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13711 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13712 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13713 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13714 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13715 enable_xapofx1_1=${enable_xapofx1_1:-no}
13716 enable_xapofx1_2=${enable_xapofx1_2:-no}
13717 enable_xapofx1_3=${enable_xapofx1_3:-no}
13718 enable_xapofx1_4=${enable_xapofx1_4:-no}
13719 enable_xapofx1_5=${enable_xapofx1_5:-no}
13720 enable_xaudio2_0=${enable_xaudio2_0:-no}
13721 enable_xaudio2_1=${enable_xaudio2_1:-no}
13722 enable_xaudio2_2=${enable_xaudio2_2:-no}
13723 enable_xaudio2_3=${enable_xaudio2_3:-no}
13724 enable_xaudio2_4=${enable_xaudio2_4:-no}
13725 enable_xaudio2_5=${enable_xaudio2_5:-no}
13726 enable_xaudio2_6=${enable_xaudio2_6:-no}
13727 enable_xaudio2_7=${enable_xaudio2_7:-no}
13728 enable_xaudio2_8=${enable_xaudio2_8:-no}
13729 enable_xaudio2_9=${enable_xaudio2_9:-no}
13732 if test "$ac_cv_header_kstat_h" = "yes"
13733 then
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13735 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13736 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13737 $as_echo_n "(cached) " >&6
13738 else
13739 ac_check_lib_save_LIBS=$LIBS
13740 LIBS="-lkstat $LIBS"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13747 #ifdef __cplusplus
13748 extern "C"
13749 #endif
13750 char kstat_open ();
13752 main ()
13754 return kstat_open ();
13756 return 0;
13758 _ACEOF
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_lib_kstat_kstat_open=yes
13761 else
13762 ac_cv_lib_kstat_kstat_open=no
13764 rm -f core conftest.err conftest.$ac_objext \
13765 conftest$ac_exeext conftest.$ac_ext
13766 LIBS=$ac_check_lib_save_LIBS
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13769 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13770 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13772 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13774 KSTAT_LIBS="-lkstat"
13780 if test "$ac_cv_header_libprocstat_h" = "yes"
13781 then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13783 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13784 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13785 $as_echo_n "(cached) " >&6
13786 else
13787 ac_check_lib_save_LIBS=$LIBS
13788 LIBS="-lprocstat $LIBS"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13792 /* Override any GCC internal prototype to avoid an error.
13793 Use char because int might match the return type of a GCC
13794 builtin and then its argument prototype would still apply. */
13795 #ifdef __cplusplus
13796 extern "C"
13797 #endif
13798 char procstat_open_sysctl ();
13800 main ()
13802 return procstat_open_sysctl ();
13804 return 0;
13806 _ACEOF
13807 if ac_fn_c_try_link "$LINENO"; then :
13808 ac_cv_lib_procstat_procstat_open_sysctl=yes
13809 else
13810 ac_cv_lib_procstat_procstat_open_sysctl=no
13812 rm -f core conftest.err conftest.$ac_objext \
13813 conftest$ac_exeext conftest.$ac_ext
13814 LIBS=$ac_check_lib_save_LIBS
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13817 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13818 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13820 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13822 PROCSTAT_LIBS="-lprocstat"
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13829 $as_echo_n "checking for -lodbc... " >&6; }
13830 if ${ac_cv_lib_soname_odbc+:} false; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 ac_check_soname_save_LIBS=$LIBS
13834 LIBS="-lodbc $LIBS"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13841 #ifdef __cplusplus
13842 extern "C"
13843 #endif
13844 char SQLConnect ();
13846 main ()
13848 return SQLConnect ();
13850 return 0;
13852 _ACEOF
13853 if ac_fn_c_try_link "$LINENO"; then :
13854 case "$LIBEXT" in
13855 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13856 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'` ;;
13857 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13858 if ${ac_cv_lib_soname_odbc:+false} :; then :
13859 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13860 fi ;;
13861 esac
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_soname_save_LIBS
13867 if ${ac_cv_lib_soname_odbc:+false} :; then :
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13869 $as_echo "not found" >&6; }
13870 cat >>confdefs.h <<_ACEOF
13871 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13872 _ACEOF
13874 else
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13876 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13878 cat >>confdefs.h <<_ACEOF
13879 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13880 _ACEOF
13885 if test "x$with_netapi" != "xno"
13886 then
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13888 $as_echo_n "checking for -lnetapi... " >&6; }
13889 if ${ac_cv_lib_soname_netapi+:} false; then :
13890 $as_echo_n "(cached) " >&6
13891 else
13892 ac_check_soname_save_LIBS=$LIBS
13893 LIBS="-lnetapi $LIBS"
13894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13895 /* end confdefs.h. */
13897 /* Override any GCC internal prototype to avoid an error.
13898 Use char because int might match the return type of a GCC
13899 builtin and then its argument prototype would still apply. */
13900 #ifdef __cplusplus
13901 extern "C"
13902 #endif
13903 char libnetapi_init ();
13905 main ()
13907 return libnetapi_init ();
13909 return 0;
13911 _ACEOF
13912 if ac_fn_c_try_link "$LINENO"; then :
13913 case "$LIBEXT" in
13914 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13915 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'` ;;
13916 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13917 if ${ac_cv_lib_soname_netapi:+false} :; then :
13918 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13919 fi ;;
13920 esac
13922 rm -f core conftest.err conftest.$ac_objext \
13923 conftest$ac_exeext conftest.$ac_ext
13924 LIBS=$ac_check_soname_save_LIBS
13926 if ${ac_cv_lib_soname_netapi:+false} :; then :
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13928 $as_echo "not found" >&6; }
13929 cat >>confdefs.h <<_ACEOF
13930 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13931 _ACEOF
13933 else
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13935 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13937 cat >>confdefs.h <<_ACEOF
13938 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13939 _ACEOF
13945 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13946 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13947 then
13948 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13952 EXTRACFLAGS=""
13954 if test "x${GCC}" = "xyes"
13955 then
13956 EXTRACFLAGS="-Wall -pipe"
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13959 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13960 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13961 $as_echo_n "(cached) " >&6
13962 else
13963 if test "$cross_compiling" = yes; then :
13964 ac_cv_c_gcc_strength_bug="no"
13965 else
13966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 int L[4] = {0,1,2,3};
13970 main ()
13972 static int Array[3];
13973 unsigned int B = 3;
13974 int i;
13975 for(i=0; i<B; i++) Array[i] = i - 3;
13976 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13977 L[i] = 4;
13978 return (Array[1] != -2 || L[2] != 3)
13980 return 0;
13982 _ACEOF
13983 if ac_fn_c_try_run "$LINENO"; then :
13984 ac_cv_c_gcc_strength_bug="no"
13985 else
13986 ac_cv_c_gcc_strength_bug="yes"
13988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13989 conftest.$ac_objext conftest.beam conftest.$ac_ext
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13994 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13995 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13996 then
13997 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14001 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14002 if ${ac_cv_cflags__fno_builtin+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_wine_try_cflags_saved=$CFLAGS
14006 CFLAGS="$CFLAGS -fno-builtin"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14009 int main(int argc, char **argv) { return 0; }
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_cflags__fno_builtin=yes
14013 else
14014 ac_cv_cflags__fno_builtin=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 CFLAGS=$ac_wine_try_cflags_saved
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14021 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14022 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14023 BUILTINFLAG="-fno-builtin"
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14027 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14028 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14029 $as_echo_n "(cached) " >&6
14030 else
14031 ac_wine_try_cflags_saved=$CFLAGS
14032 CFLAGS="$CFLAGS -fno-strict-aliasing"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14035 int main(int argc, char **argv) { return 0; }
14036 _ACEOF
14037 if ac_fn_c_try_link "$LINENO"; then :
14038 ac_cv_cflags__fno_strict_aliasing=yes
14039 else
14040 ac_cv_cflags__fno_strict_aliasing=no
14042 rm -f core conftest.err conftest.$ac_objext \
14043 conftest$ac_exeext conftest.$ac_ext
14044 CFLAGS=$ac_wine_try_cflags_saved
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14047 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14048 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14049 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14052 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14053 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14054 $as_echo_n "(cached) " >&6
14055 else
14056 ac_wine_try_cflags_saved=$CFLAGS
14057 CFLAGS="$CFLAGS -fexcess-precision=standard"
14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14059 /* end confdefs.h. */
14060 int main(int argc, char **argv) { return 0; }
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"; then :
14063 ac_cv_cflags__fexcess_precision_standard=yes
14064 else
14065 ac_cv_cflags__fexcess_precision_standard=no
14067 rm -f core conftest.err conftest.$ac_objext \
14068 conftest$ac_exeext conftest.$ac_ext
14069 CFLAGS=$ac_wine_try_cflags_saved
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14072 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14073 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14074 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14077 saved_CFLAGS=$CFLAGS
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14079 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14080 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14081 $as_echo_n "(cached) " >&6
14082 else
14083 ac_wine_try_cflags_saved=$CFLAGS
14084 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14087 int main(int argc, char **argv) { return 0; }
14088 _ACEOF
14089 if ac_fn_c_try_link "$LINENO"; then :
14090 ac_cv_cflags__Werror_unknown_warning_option=yes
14091 else
14092 ac_cv_cflags__Werror_unknown_warning_option=no
14094 rm -f core conftest.err conftest.$ac_objext \
14095 conftest$ac_exeext conftest.$ac_ext
14096 CFLAGS=$ac_wine_try_cflags_saved
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14099 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14100 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14101 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14104 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14105 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 ac_wine_try_cflags_saved=$CFLAGS
14109 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14112 int main(int argc, char **argv) { return 0; }
14113 _ACEOF
14114 if ac_fn_c_try_link "$LINENO"; then :
14115 ac_cv_cflags__Wdeclaration_after_statement=yes
14116 else
14117 ac_cv_cflags__Wdeclaration_after_statement=no
14119 rm -f core conftest.err conftest.$ac_objext \
14120 conftest$ac_exeext conftest.$ac_ext
14121 CFLAGS=$ac_wine_try_cflags_saved
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14124 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14125 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14126 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14129 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14130 if ${ac_cv_cflags__Wempty_body+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_wine_try_cflags_saved=$CFLAGS
14134 CFLAGS="$CFLAGS -Wempty-body"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 int main(int argc, char **argv) { return 0; }
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 ac_cv_cflags__Wempty_body=yes
14141 else
14142 ac_cv_cflags__Wempty_body=no
14144 rm -f core conftest.err conftest.$ac_objext \
14145 conftest$ac_exeext conftest.$ac_ext
14146 CFLAGS=$ac_wine_try_cflags_saved
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14149 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14150 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14151 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14154 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14155 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14156 $as_echo_n "(cached) " >&6
14157 else
14158 ac_wine_try_cflags_saved=$CFLAGS
14159 CFLAGS="$CFLAGS -Wignored-qualifiers"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 ac_cv_cflags__Wignored_qualifiers=yes
14166 else
14167 ac_cv_cflags__Wignored_qualifiers=no
14169 rm -f core conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 CFLAGS=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14174 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14175 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14176 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14179 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14180 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_wine_try_cflags_saved=$CFLAGS
14184 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
14191 else
14192 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
14199 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14200 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14201 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14204 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14205 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14206 $as_echo_n "(cached) " >&6
14207 else
14208 ac_wine_try_cflags_saved=$CFLAGS
14209 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
14216 else
14217 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
14224 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14225 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14226 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14229 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14230 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14231 $as_echo_n "(cached) " >&6
14232 else
14233 ac_wine_try_cflags_saved=$CFLAGS
14234 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
14241 else
14242 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
14249 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14250 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14251 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14254 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14255 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_wine_try_cflags_saved=$CFLAGS
14259 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
14266 else
14267 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
14274 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14275 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14276 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14279 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14280 if ${ac_cv_cflags__Wvla+:} false; then :
14281 $as_echo_n "(cached) " >&6
14282 else
14283 ac_wine_try_cflags_saved=$CFLAGS
14284 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
14291 else
14292 ac_cv_cflags__Wvla=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__Wvla" >&5
14299 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14300 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14301 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14304 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14305 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14306 $as_echo_n "(cached) " >&6
14307 else
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
14316 else
14317 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
14324 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14325 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14326 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14330 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14331 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_wine_try_cflags_saved=$CFLAGS
14335 CFLAGS="$CFLAGS -Wpointer-arith"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 int main(int argc, char **argv) { return 0; }
14339 _ACEOF
14340 if ac_fn_c_try_link "$LINENO"; then :
14341 ac_cv_cflags__Wpointer_arith=yes
14342 else
14343 ac_cv_cflags__Wpointer_arith=no
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14350 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14351 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14352 saved_string_h_CFLAGS=$CFLAGS
14353 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14355 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14356 if ${ac_cv_c_string_h_warnings+:} false; then :
14357 $as_echo_n "(cached) " >&6
14358 else
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14361 #include <string.h>
14363 main ()
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_compile "$LINENO"; then :
14371 ac_cv_c_string_h_warnings=no
14372 else
14373 ac_cv_c_string_h_warnings=yes
14375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14378 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14379 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14380 CFLAGS=$saved_string_h_CFLAGS
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14384 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14385 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_wine_try_cflags_saved=$CFLAGS
14389 CFLAGS="$CFLAGS -Wlogical-op"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14392 int main(int argc, char **argv) { return 0; }
14393 _ACEOF
14394 if ac_fn_c_try_link "$LINENO"; then :
14395 ac_cv_cflags__Wlogical_op=yes
14396 else
14397 ac_cv_cflags__Wlogical_op=no
14399 rm -f core conftest.err conftest.$ac_objext \
14400 conftest$ac_exeext conftest.$ac_ext
14401 CFLAGS=$ac_wine_try_cflags_saved
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14404 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14405 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14406 saved_string_h_CFLAGS=$CFLAGS
14407 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14409 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14410 if ${ac_cv_c_logicalop_noisy+:} false; then :
14411 $as_echo_n "(cached) " >&6
14412 else
14413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414 /* end confdefs.h. */
14415 #include <string.h>
14416 char*f(const char *h,char n) {return strchr(h,n);}
14418 main ()
14422 return 0;
14424 _ACEOF
14425 if ac_fn_c_try_compile "$LINENO"; then :
14426 ac_cv_c_logicalop_noisy=no
14427 else
14428 ac_cv_c_logicalop_noisy=yes
14430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14433 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14434 CFLAGS=$saved_string_h_CFLAGS
14435 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14438 CFLAGS=$saved_CFLAGS
14440 for ac_flag in $CFLAGS; do
14441 case $ac_flag in
14442 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14443 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14444 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14445 $as_echo_n "(cached) " >&6
14446 else
14447 ac_wine_try_cflags_saved=$CFLAGS
14448 CFLAGS="$CFLAGS -gdwarf-2"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14451 int main(int argc, char **argv) { return 0; }
14452 _ACEOF
14453 if ac_fn_c_try_link "$LINENO"; then :
14454 ac_cv_cflags__gdwarf_2=yes
14455 else
14456 ac_cv_cflags__gdwarf_2=no
14458 rm -f core conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14460 CFLAGS=$ac_wine_try_cflags_saved
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14463 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14464 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14465 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14468 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14469 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_wine_try_cflags_saved=$CFLAGS
14473 CFLAGS="$CFLAGS -gstrict-dwarf"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14476 int main(int argc, char **argv) { return 0; }
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_cflags__gstrict_dwarf=yes
14480 else
14481 ac_cv_cflags__gstrict_dwarf=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 CFLAGS=$ac_wine_try_cflags_saved
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14488 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14489 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14490 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14491 fi ;;
14492 esac
14493 done
14495 case $host_cpu in
14496 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14497 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14498 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14499 $as_echo_n "(cached) " >&6
14500 else
14501 ac_wine_try_cflags_saved=$CFLAGS
14502 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14504 /* end confdefs.h. */
14505 int main(int argc, char **argv) { return 0; }
14506 _ACEOF
14507 if ac_fn_c_try_link "$LINENO"; then :
14508 ac_cv_cflags__fno_omit_frame_pointer=yes
14509 else
14510 ac_cv_cflags__fno_omit_frame_pointer=no
14512 rm -f core conftest.err conftest.$ac_objext \
14513 conftest$ac_exeext conftest.$ac_ext
14514 CFLAGS=$ac_wine_try_cflags_saved
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14517 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14518 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14519 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14520 fi ;;
14521 esac
14523 case $host in
14524 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14525 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14526 if ${ac_cv_cflags__Wno_format+:} false; then :
14527 $as_echo_n "(cached) " >&6
14528 else
14529 ac_wine_try_cflags_saved=$CFLAGS
14530 CFLAGS="$CFLAGS -Wno-format"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14533 int main(int argc, char **argv) { return 0; }
14534 _ACEOF
14535 if ac_fn_c_try_link "$LINENO"; then :
14536 ac_cv_cflags__Wno_format=yes
14537 else
14538 ac_cv_cflags__Wno_format=no
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 CFLAGS=$ac_wine_try_cflags_saved
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14545 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14546 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14547 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14548 fi ;;
14549 esac
14551 if test "x$enable_maintainer_mode" = "xyes"
14552 then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14554 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14555 if ${ac_cv_cflags__Werror+:} false; then :
14556 $as_echo_n "(cached) " >&6
14557 else
14558 ac_wine_try_cflags_saved=$CFLAGS
14559 CFLAGS="$CFLAGS -Werror"
14560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14561 /* end confdefs.h. */
14562 int main(int argc, char **argv) { return 0; }
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"; then :
14565 ac_cv_cflags__Werror=yes
14566 else
14567 ac_cv_cflags__Werror=no
14569 rm -f core conftest.err conftest.$ac_objext \
14570 conftest$ac_exeext conftest.$ac_ext
14571 CFLAGS=$ac_wine_try_cflags_saved
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14574 $as_echo "$ac_cv_cflags__Werror" >&6; }
14575 if test "x$ac_cv_cflags__Werror" = xyes; then :
14576 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14580 saved_CFLAGS="$CFLAGS"
14581 CFLAGS="$CFLAGS -Werror"
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14583 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14584 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14589 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14591 main ()
14595 return 0;
14597 _ACEOF
14598 if ac_fn_c_try_compile "$LINENO"; then :
14599 ac_cv_have_ms_hook_prologue="yes"
14600 else
14601 ac_cv_have_ms_hook_prologue="no"
14603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14606 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14607 CFLAGS="$saved_CFLAGS"
14608 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14609 then
14611 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14613 else
14614 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14621 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14622 if ${ac_cv_c_fortify_enabled+:} false; then :
14623 $as_echo_n "(cached) " >&6
14624 else
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14627 #include <string.h>
14629 main ()
14631 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14632 #error Fortify enabled
14633 #endif
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_compile "$LINENO"; then :
14639 ac_cv_c_fortify_enabled=no
14640 else
14641 ac_cv_c_fortify_enabled=yes
14643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14646 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14647 if test "$ac_cv_c_fortify_enabled" = yes
14648 then
14649 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14654 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14655 if ${ac_cv_c_extern_prefix+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h. */
14660 extern int ac_test;
14662 main ()
14664 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_c_extern_prefix="yes"
14671 else
14672 ac_cv_c_extern_prefix="no"
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14678 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14680 case $host_cpu in
14681 *i[3456789]86*)
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14683 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14684 if ${ac_cv_c_stdcall_suffix+:} false; then :
14685 $as_echo_n "(cached) " >&6
14686 else
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14689 #ifndef _MSC_VER
14690 #define __stdcall __attribute__((__stdcall__))
14691 #endif
14692 int __stdcall ac_test(int i) { return i; }
14694 main ()
14696 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14698 return 0;
14700 _ACEOF
14701 if ac_fn_c_try_link "$LINENO"; then :
14702 ac_cv_c_stdcall_suffix="yes"
14703 else
14704 ac_cv_c_stdcall_suffix="no"
14706 rm -f core conftest.err conftest.$ac_objext \
14707 conftest$ac_exeext conftest.$ac_ext
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14710 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14711 *) ac_cv_c_stdcall_suffix="no" ;;
14712 esac
14715 if test "$ac_cv_c_extern_prefix" = "yes"
14716 then
14717 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14719 asm_name_prefix="_"
14720 else
14721 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14723 asm_name_prefix=""
14727 if test "$ac_cv_c_stdcall_suffix" = "yes"
14728 then
14729 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14731 else
14732 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14738 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14739 if ${ac_cv_asm_func_def+:} false; then :
14740 $as_echo_n "(cached) " >&6
14741 else
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14746 main ()
14748 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14750 return 0;
14752 _ACEOF
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_asm_func_def=".def"
14755 else
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14760 main ()
14762 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14764 return 0;
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_asm_func_def=".type @function"
14769 else
14770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14771 /* end confdefs.h. */
14774 main ()
14776 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_asm_func_def=".type 2"
14783 else
14784 ac_cv_asm_func_def="unknown"
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14792 rm -f core conftest.err conftest.$ac_objext \
14793 conftest$ac_exeext conftest.$ac_ext
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14796 $as_echo "$ac_cv_asm_func_def" >&6; }
14799 case "$ac_cv_asm_func_def" in
14800 ".def")
14801 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14803 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14804 ".type @function")
14805 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14807 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14808 ".type 2")
14809 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14811 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14813 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14815 asm_func_header="" ;;
14816 esac
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14819 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14820 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14821 $as_echo_n "(cached) " >&6
14822 else
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 asm(".text\n\t.long 0");
14827 main ()
14831 return 0;
14833 _ACEOF
14834 if ac_fn_c_try_compile "$LINENO"; then :
14835 ac_cv_c_asm_outside_funcs="yes"
14836 else
14837 ac_cv_c_asm_outside_funcs="no"
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14842 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14845 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14846 if ${ac_cv_c_dot_previous+:} false; then :
14847 $as_echo_n "(cached) " >&6
14848 else
14849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14850 /* end confdefs.h. */
14853 main ()
14855 asm(".text\nac_test:\t.long 0\n\t.previous");
14857 return 0;
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861 ac_cv_c_dot_previous="yes"
14862 else
14863 ac_cv_c_dot_previous="no"
14865 rm -f core conftest.err conftest.$ac_objext \
14866 conftest$ac_exeext conftest.$ac_ext
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14869 $as_echo "$ac_cv_c_dot_previous" >&6; }
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14872 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14873 if ${ac_cv_c_cfi_support+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h. */
14878 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14880 main ()
14884 return 0;
14886 _ACEOF
14887 if ac_fn_c_try_compile "$LINENO"; then :
14888 ac_cv_c_cfi_support="yes"
14889 else
14890 ac_cv_c_cfi_support="no"
14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14895 $as_echo "$ac_cv_c_cfi_support" >&6; }
14897 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14898 asm_func_trailer=""
14899 if test "$ac_cv_c_dot_previous" = "yes"
14900 then
14901 asm_func_trailer="\\n\\t.previous"
14903 if test "$ac_cv_c_cfi_support" = "yes"
14904 then
14905 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14906 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14908 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14910 UNWINDFLAGS=-fasynchronous-unwind-tables
14912 else
14913 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14915 if test "x$enable_win64" = "xyes"
14916 then
14917 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14921 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14924 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14925 then
14926 cat >>confdefs.h <<_ACEOF
14927 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14928 _ACEOF
14930 else
14931 cat >>confdefs.h <<_ACEOF
14932 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14933 _ACEOF
14937 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14940 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14944 case $build_os in
14945 cygwin*|mingw32*) TOOLSEXT=".exe"
14947 esac
14949 case $host_os in
14950 linux-android*) ;;
14951 linux*)
14952 case $host_cpu in
14953 *i[3456789]86*|x86_64*)
14954 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14955 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14957 esac
14959 esac
14962 ac_save_CFLAGS="$CFLAGS"
14963 CFLAGS="$CFLAGS $BUILTINFLAG"
14964 for ac_func in \
14965 __res_get_state \
14966 __res_getservers \
14967 _finite \
14968 _isnan \
14969 _pclose \
14970 _popen \
14971 _snprintf \
14972 _spawnvp \
14973 _strdup \
14974 _stricmp \
14975 _strnicmp \
14976 _strtoi64 \
14977 _strtoui64 \
14978 _vsnprintf \
14979 asctime_r \
14980 chsize \
14981 dlopen \
14982 epoll_create \
14983 ffs \
14984 finitef \
14985 fnmatch \
14986 fork \
14987 fpclass \
14988 fstatfs \
14989 fstatvfs \
14990 ftruncate \
14991 futimens \
14992 futimes \
14993 futimesat \
14994 getattrlist \
14995 getdirentries \
14996 getopt_long_only \
14997 getpwuid \
14998 gettimeofday \
14999 getuid \
15000 if_nameindex \
15001 isnanf \
15002 kqueue \
15003 lstat \
15004 memmove \
15005 mmap \
15006 pclose \
15007 pipe2 \
15008 poll \
15009 popen \
15010 port_create \
15011 prctl \
15012 pread \
15013 proc_pidinfo \
15014 pwrite \
15015 readdir \
15016 readlink \
15017 sched_yield \
15018 select \
15019 setproctitle \
15020 setrlimit \
15021 settimeofday \
15022 sigaltstack \
15023 sigprocmask \
15024 snprintf \
15025 statfs \
15026 statvfs \
15027 strcasecmp \
15028 strdup \
15029 strerror \
15030 strncasecmp \
15031 strtold \
15032 strtoll \
15033 strtoull \
15034 symlink \
15035 tcdrain \
15036 thr_kill2 \
15037 timegm \
15038 usleep \
15039 vsnprintf
15041 do :
15042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15044 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15045 cat >>confdefs.h <<_ACEOF
15046 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15047 _ACEOF
15050 done
15052 CFLAGS="$ac_save_CFLAGS"
15054 if test "$ac_cv_func_dlopen" = no
15055 then
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15058 if ${ac_cv_lib_dl_dlopen+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 ac_check_lib_save_LIBS=$LIBS
15062 LIBS="-ldl $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 #ifdef __cplusplus
15070 extern "C"
15071 #endif
15072 char dlopen ();
15074 main ()
15076 return dlopen ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 ac_cv_lib_dl_dlopen=yes
15083 else
15084 ac_cv_lib_dl_dlopen=no
15086 rm -f core conftest.err conftest.$ac_objext \
15087 conftest$ac_exeext conftest.$ac_ext
15088 LIBS=$ac_check_lib_save_LIBS
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15091 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15092 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15093 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15094 DL_LIBS="-ldl"
15099 ac_wine_check_funcs_save_LIBS="$LIBS"
15100 LIBS="$LIBS $DL_LIBS"
15101 for ac_func in dladdr
15102 do :
15103 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15104 if test "x$ac_cv_func_dladdr" = xyes; then :
15105 cat >>confdefs.h <<_ACEOF
15106 #define HAVE_DLADDR 1
15107 _ACEOF
15110 done
15112 LIBS="$ac_wine_check_funcs_save_LIBS"
15114 if test "$ac_cv_func_poll" = no
15115 then
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15117 $as_echo_n "checking for poll in -lpoll... " >&6; }
15118 if ${ac_cv_lib_poll_poll+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 ac_check_lib_save_LIBS=$LIBS
15122 LIBS="-lpoll $LIBS"
15123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 #ifdef __cplusplus
15130 extern "C"
15131 #endif
15132 char poll ();
15134 main ()
15136 return poll ();
15138 return 0;
15140 _ACEOF
15141 if ac_fn_c_try_link "$LINENO"; then :
15142 ac_cv_lib_poll_poll=yes
15143 else
15144 ac_cv_lib_poll_poll=no
15146 rm -f core conftest.err conftest.$ac_objext \
15147 conftest$ac_exeext conftest.$ac_ext
15148 LIBS=$ac_check_lib_save_LIBS
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15151 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15152 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15153 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15154 POLL_LIBS="-lpoll"
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15161 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15162 if ${ac_cv_search_gethostbyname+:} false; then :
15163 $as_echo_n "(cached) " >&6
15164 else
15165 ac_func_search_save_LIBS=$LIBS
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15172 #ifdef __cplusplus
15173 extern "C"
15174 #endif
15175 char gethostbyname ();
15177 main ()
15179 return gethostbyname ();
15181 return 0;
15183 _ACEOF
15184 for ac_lib in '' nsl; do
15185 if test -z "$ac_lib"; then
15186 ac_res="none required"
15187 else
15188 ac_res=-l$ac_lib
15189 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 ac_cv_search_gethostbyname=$ac_res
15194 rm -f core conftest.err conftest.$ac_objext \
15195 conftest$ac_exeext
15196 if ${ac_cv_search_gethostbyname+:} false; then :
15197 break
15199 done
15200 if ${ac_cv_search_gethostbyname+:} false; then :
15202 else
15203 ac_cv_search_gethostbyname=no
15205 rm conftest.$ac_ext
15206 LIBS=$ac_func_search_save_LIBS
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15209 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15210 ac_res=$ac_cv_search_gethostbyname
15211 if test "$ac_res" != no; then :
15212 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15218 $as_echo_n "checking for library containing connect... " >&6; }
15219 if ${ac_cv_search_connect+:} false; then :
15220 $as_echo_n "(cached) " >&6
15221 else
15222 ac_func_search_save_LIBS=$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 connect ();
15234 main ()
15236 return connect ();
15238 return 0;
15240 _ACEOF
15241 for ac_lib in '' socket; do
15242 if test -z "$ac_lib"; then
15243 ac_res="none required"
15244 else
15245 ac_res=-l$ac_lib
15246 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15248 if ac_fn_c_try_link "$LINENO"; then :
15249 ac_cv_search_connect=$ac_res
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext
15253 if ${ac_cv_search_connect+:} false; then :
15254 break
15256 done
15257 if ${ac_cv_search_connect+:} false; then :
15259 else
15260 ac_cv_search_connect=no
15262 rm conftest.$ac_ext
15263 LIBS=$ac_func_search_save_LIBS
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15266 $as_echo "$ac_cv_search_connect" >&6; }
15267 ac_res=$ac_cv_search_connect
15268 if test "$ac_res" != no; then :
15269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15275 $as_echo_n "checking for library containing inet_aton... " >&6; }
15276 if ${ac_cv_search_inet_aton+:} false; then :
15277 $as_echo_n "(cached) " >&6
15278 else
15279 ac_func_search_save_LIBS=$LIBS
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15283 /* Override any GCC internal prototype to avoid an error.
15284 Use char because int might match the return type of a GCC
15285 builtin and then its argument prototype would still apply. */
15286 #ifdef __cplusplus
15287 extern "C"
15288 #endif
15289 char inet_aton ();
15291 main ()
15293 return inet_aton ();
15295 return 0;
15297 _ACEOF
15298 for ac_lib in '' resolv; do
15299 if test -z "$ac_lib"; then
15300 ac_res="none required"
15301 else
15302 ac_res=-l$ac_lib
15303 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15305 if ac_fn_c_try_link "$LINENO"; then :
15306 ac_cv_search_inet_aton=$ac_res
15308 rm -f core conftest.err conftest.$ac_objext \
15309 conftest$ac_exeext
15310 if ${ac_cv_search_inet_aton+:} false; then :
15311 break
15313 done
15314 if ${ac_cv_search_inet_aton+:} false; then :
15316 else
15317 ac_cv_search_inet_aton=no
15319 rm conftest.$ac_ext
15320 LIBS=$ac_func_search_save_LIBS
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15323 $as_echo "$ac_cv_search_inet_aton" >&6; }
15324 ac_res=$ac_cv_search_inet_aton
15325 if test "$ac_res" != no; then :
15326 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15331 for ac_func in \
15332 getaddrinfo \
15333 getnameinfo \
15334 getnetbyname \
15335 getprotobyname \
15336 getprotobynumber \
15337 getservbyport \
15338 inet_addr \
15339 inet_network \
15340 inet_ntop \
15341 inet_pton \
15342 sendmsg \
15343 socketpair \
15345 do :
15346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15349 cat >>confdefs.h <<_ACEOF
15350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15351 _ACEOF
15354 done
15357 ac_save_LIBS=$LIBS
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15359 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15360 if ${ac_cv_search_clock_gettime+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_func_search_save_LIBS=$LIBS
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15367 /* Override any GCC internal prototype to avoid an error.
15368 Use char because int might match the return type of a GCC
15369 builtin and then its argument prototype would still apply. */
15370 #ifdef __cplusplus
15371 extern "C"
15372 #endif
15373 char clock_gettime ();
15375 main ()
15377 return clock_gettime ();
15379 return 0;
15381 _ACEOF
15382 for ac_lib in '' rt; do
15383 if test -z "$ac_lib"; then
15384 ac_res="none required"
15385 else
15386 ac_res=-l$ac_lib
15387 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15389 if ac_fn_c_try_link "$LINENO"; then :
15390 ac_cv_search_clock_gettime=$ac_res
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext
15394 if ${ac_cv_search_clock_gettime+:} false; then :
15395 break
15397 done
15398 if ${ac_cv_search_clock_gettime+:} false; then :
15400 else
15401 ac_cv_search_clock_gettime=no
15403 rm conftest.$ac_ext
15404 LIBS=$ac_func_search_save_LIBS
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15407 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15408 ac_res=$ac_cv_search_clock_gettime
15409 if test "$ac_res" != no; then :
15410 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15412 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15414 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15418 LIBS=$ac_save_LIBS
15420 LDAP_LIBS=""
15422 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15423 then
15424 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15426 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15428 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15429 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15430 $as_echo_n "(cached) " >&6
15431 else
15432 ac_check_lib_save_LIBS=$LIBS
15433 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15437 /* Override any GCC internal prototype to avoid an error.
15438 Use char because int might match the return type of a GCC
15439 builtin and then its argument prototype would still apply. */
15440 #ifdef __cplusplus
15441 extern "C"
15442 #endif
15443 char ldap_initialize ();
15445 main ()
15447 return ldap_initialize ();
15449 return 0;
15451 _ACEOF
15452 if ac_fn_c_try_link "$LINENO"; then :
15453 ac_cv_lib_ldap_r_ldap_initialize=yes
15454 else
15455 ac_cv_lib_ldap_r_ldap_initialize=no
15457 rm -f core conftest.err conftest.$ac_objext \
15458 conftest$ac_exeext conftest.$ac_ext
15459 LIBS=$ac_check_lib_save_LIBS
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15462 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15463 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15465 $as_echo_n "checking for ber_init in -llber... " >&6; }
15466 if ${ac_cv_lib_lber_ber_init+:} false; then :
15467 $as_echo_n "(cached) " >&6
15468 else
15469 ac_check_lib_save_LIBS=$LIBS
15470 LIBS="-llber $PTHREAD_LIBS $LIBS"
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15474 /* Override any GCC internal prototype to avoid an error.
15475 Use char because int might match the return type of a GCC
15476 builtin and then its argument prototype would still apply. */
15477 #ifdef __cplusplus
15478 extern "C"
15479 #endif
15480 char ber_init ();
15482 main ()
15484 return ber_init ();
15486 return 0;
15488 _ACEOF
15489 if ac_fn_c_try_link "$LINENO"; then :
15490 ac_cv_lib_lber_ber_init=yes
15491 else
15492 ac_cv_lib_lber_ber_init=no
15494 rm -f core conftest.err conftest.$ac_objext \
15495 conftest$ac_exeext conftest.$ac_ext
15496 LIBS=$ac_check_lib_save_LIBS
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15499 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15500 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15502 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15504 LDAP_LIBS="-lldap_r -llber"
15511 ac_wine_check_funcs_save_LIBS="$LIBS"
15512 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15513 for ac_func in \
15514 ldap_count_references \
15515 ldap_first_reference \
15516 ldap_next_reference \
15517 ldap_parse_reference \
15518 ldap_parse_sort_control \
15519 ldap_parse_sortresponse_control \
15520 ldap_parse_vlv_control \
15521 ldap_parse_vlvresponse_control
15522 do :
15523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15525 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15526 cat >>confdefs.h <<_ACEOF
15527 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15528 _ACEOF
15531 done
15533 LIBS="$ac_wine_check_funcs_save_LIBS"
15535 if test "x$LDAP_LIBS" = "x"; then :
15536 case "x$with_ldap" in
15537 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15538 xno) ;;
15539 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15540 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15541 esac
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15545 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15546 if ${wine_cv_one_arg_mkdir+:} false; then :
15547 $as_echo_n "(cached) " >&6
15548 else
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15551 #include <sys/stat.h>
15553 main ()
15555 mkdir("foo");
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 wine_cv_one_arg_mkdir=yes
15562 else
15563 wine_cv_one_arg_mkdir=no
15565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15568 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15569 if test "$wine_cv_one_arg_mkdir" = "yes"
15570 then
15572 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15577 $as_echo_n "checking for sched_setaffinity... " >&6; }
15578 if ${wine_cv_have_sched_setaffinity+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15583 #define _GNU_SOURCE
15584 #include <sched.h>
15586 main ()
15588 sched_setaffinity(0, 0, 0);
15590 return 0;
15592 _ACEOF
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 wine_cv_have_sched_setaffinity=yes
15595 else
15596 wine_cv_have_sched_setaffinity=no
15598 rm -f core conftest.err conftest.$ac_objext \
15599 conftest$ac_exeext conftest.$ac_ext
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15602 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15603 if test "$wine_cv_have_sched_setaffinity" = "yes"
15604 then
15606 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15611 $as_echo_n "checking for fallocate... " >&6; }
15612 if ${wine_cv_have_fallocate+:} false; then :
15613 $as_echo_n "(cached) " >&6
15614 else
15615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15616 /* end confdefs.h. */
15617 #define _GNU_SOURCE
15618 #include <fcntl.h>
15620 main ()
15622 fallocate(-1, 0, 0, 0);
15624 return 0;
15626 _ACEOF
15627 if ac_fn_c_try_link "$LINENO"; then :
15628 wine_cv_have_fallocate=yes
15629 else
15630 wine_cv_have_fallocate=no
15632 rm -f core conftest.err conftest.$ac_objext \
15633 conftest$ac_exeext conftest.$ac_ext
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15636 $as_echo "$wine_cv_have_fallocate" >&6; }
15637 if test "$wine_cv_have_fallocate" = "yes"
15638 then
15640 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15646 $as_echo_n "checking for inline... " >&6; }
15647 if ${ac_cv_c_inline+:} false; then :
15648 $as_echo_n "(cached) " >&6
15649 else
15650 ac_cv_c_inline=no
15651 for ac_kw in inline __inline__ __inline; do
15652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15653 /* end confdefs.h. */
15654 #ifndef __cplusplus
15655 typedef int foo_t;
15656 static $ac_kw foo_t static_foo () {return 0; }
15657 $ac_kw foo_t foo () {return 0; }
15658 #endif
15660 _ACEOF
15661 if ac_fn_c_try_compile "$LINENO"; then :
15662 ac_cv_c_inline=$ac_kw
15664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15665 test "$ac_cv_c_inline" != no && break
15666 done
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15670 $as_echo "$ac_cv_c_inline" >&6; }
15672 case $ac_cv_c_inline in
15673 inline | yes) ;;
15675 case $ac_cv_c_inline in
15676 no) ac_val=;;
15677 *) ac_val=$ac_cv_c_inline;;
15678 esac
15679 cat >>confdefs.h <<_ACEOF
15680 #ifndef __cplusplus
15681 #define inline $ac_val
15682 #endif
15683 _ACEOF
15685 esac
15687 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15688 if test "x$ac_cv_type_mode_t" = xyes; then :
15690 cat >>confdefs.h <<_ACEOF
15691 #define HAVE_MODE_T 1
15692 _ACEOF
15696 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15697 if test "x$ac_cv_type_off_t" = xyes; then :
15699 cat >>confdefs.h <<_ACEOF
15700 #define HAVE_OFF_T 1
15701 _ACEOF
15705 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15706 if test "x$ac_cv_type_pid_t" = xyes; then :
15708 cat >>confdefs.h <<_ACEOF
15709 #define HAVE_PID_T 1
15710 _ACEOF
15714 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15715 if test "x$ac_cv_type_size_t" = xyes; then :
15717 cat >>confdefs.h <<_ACEOF
15718 #define HAVE_SIZE_T 1
15719 _ACEOF
15723 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15724 if test "x$ac_cv_type_ssize_t" = xyes; then :
15726 cat >>confdefs.h <<_ACEOF
15727 #define HAVE_SSIZE_T 1
15728 _ACEOF
15732 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15733 if test "x$ac_cv_type_long_long" = xyes; then :
15735 cat >>confdefs.h <<_ACEOF
15736 #define HAVE_LONG_LONG 1
15737 _ACEOF
15741 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15742 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15744 cat >>confdefs.h <<_ACEOF
15745 #define HAVE_FSBLKCNT_T 1
15746 _ACEOF
15750 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15751 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15753 cat >>confdefs.h <<_ACEOF
15754 #define HAVE_FSFILCNT_T 1
15755 _ACEOF
15760 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15761 #include <signal.h>
15763 if test "x$ac_cv_type_sigset_t" = xyes; then :
15765 cat >>confdefs.h <<_ACEOF
15766 #define HAVE_SIGSET_T 1
15767 _ACEOF
15772 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15774 if test "x$ac_cv_type_request_sense" = xyes; then :
15776 cat >>confdefs.h <<_ACEOF
15777 #define HAVE_REQUEST_SENSE 1
15778 _ACEOF
15784 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15785 #ifdef HAVE_SYS_SOCKET_H
15786 #include <sys/socket.h>
15787 #endif
15788 #ifdef HAVE_SYS_SOCKETVAR_H
15789 #include <sys/socketvar.h>
15790 #endif
15791 #ifdef HAVE_NET_ROUTE_H
15792 #include <net/route.h>
15793 #endif
15794 #ifdef HAVE_NETINET_IN_H
15795 #include <netinet/in.h>
15796 #endif
15797 #ifdef HAVE_NETINET_IN_SYSTM_H
15798 #include <netinet/in_systm.h>
15799 #endif
15800 #ifdef HAVE_NETINET_IP_H
15801 #include <netinet/ip.h>
15802 #endif
15803 #ifdef HAVE_NETINET_IN_PCB_H
15804 #include <netinet/in_pcb.h>
15805 #endif
15807 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15809 cat >>confdefs.h <<_ACEOF
15810 #define HAVE_STRUCT_XINPGEN 1
15811 _ACEOF
15817 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15818 #include <link.h>
15819 #endif
15820 #ifdef HAVE_SYS_LINK_H
15821 #include <sys/link.h>
15822 #endif
15824 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_STRUCT_R_DEBUG 1
15828 _ACEOF
15832 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15833 #include <link.h>
15834 #endif
15835 #ifdef HAVE_SYS_LINK_H
15836 #include <sys/link.h>
15837 #endif
15839 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15841 cat >>confdefs.h <<_ACEOF
15842 #define HAVE_STRUCT_LINK_MAP 1
15843 _ACEOF
15849 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15850 #include <linux/input.h>
15851 #endif
15853 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15855 cat >>confdefs.h <<_ACEOF
15856 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15857 _ACEOF
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15864 $as_echo_n "checking for sigaddset... " >&6; }
15865 if ${wine_cv_have_sigaddset+:} false; then :
15866 $as_echo_n "(cached) " >&6
15867 else
15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15869 /* end confdefs.h. */
15870 #include <signal.h>
15872 main ()
15874 sigset_t set; sigaddset(&set,SIGTERM);
15876 return 0;
15878 _ACEOF
15879 if ac_fn_c_try_link "$LINENO"; then :
15880 wine_cv_have_sigaddset=yes
15881 else
15882 wine_cv_have_sigaddset=no
15884 rm -f core conftest.err conftest.$ac_objext \
15885 conftest$ac_exeext conftest.$ac_ext
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15888 $as_echo "$wine_cv_have_sigaddset" >&6; }
15889 if test "$wine_cv_have_sigaddset" = "yes"
15890 then
15892 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15898 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15899 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15903 /* end confdefs.h. */
15904 #include <netdb.h>
15906 main ()
15909 char *name=0;
15910 struct hostent he;
15911 struct hostent *result;
15912 char *buf=0;
15913 int bufsize=0;
15914 int errnr;
15915 char *addr=0;
15916 int addrlen=0;
15917 int addrtype=0;
15918 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15919 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15922 return 0;
15924 _ACEOF
15925 if ac_fn_c_try_link "$LINENO"; then :
15926 wine_cv_linux_gethostbyname_r_6=yes
15927 else
15928 wine_cv_linux_gethostbyname_r_6=no
15931 rm -f core conftest.err conftest.$ac_objext \
15932 conftest$ac_exeext conftest.$ac_ext
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15936 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15937 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15938 then
15940 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15944 if test "$ac_cv_header_linux_joystick_h" = "yes"
15945 then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15947 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15948 if ${wine_cv_linux_joystick_22_api+:} false; then :
15949 $as_echo_n "(cached) " >&6
15950 else
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15954 #include <sys/ioctl.h>
15955 #include <sys/types.h>
15956 #include <linux/joystick.h>
15958 struct js_event blub;
15959 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15960 #error "no 2.2 header"
15961 #endif
15964 main ()
15966 /*empty*/
15968 return 0;
15970 _ACEOF
15971 if ac_fn_c_try_compile "$LINENO"; then :
15972 wine_cv_linux_joystick_22_api=yes
15973 else
15974 wine_cv_linux_joystick_22_api=no
15976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15980 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15981 if test "$wine_cv_linux_joystick_22_api" = "yes"
15982 then
15984 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15990 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15991 #ifdef HAVE_SYS_PARAM_H
15992 # include <sys/param.h>
15993 #endif
15994 #ifdef HAVE_SYS_MOUNT_H
15995 # include <sys/mount.h>
15996 #endif
15997 #ifdef HAVE_SYS_VFS_H
15998 # include <sys/vfs.h>
15999 #endif
16000 #ifdef HAVE_SYS_STATFS_H
16001 # include <sys/statfs.h>
16002 #endif
16004 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16006 cat >>confdefs.h <<_ACEOF
16007 #define HAVE_STRUCT_STATFS_F_BFREE 1
16008 _ACEOF
16012 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16013 #ifdef HAVE_SYS_PARAM_H
16014 # include <sys/param.h>
16015 #endif
16016 #ifdef HAVE_SYS_MOUNT_H
16017 # include <sys/mount.h>
16018 #endif
16019 #ifdef HAVE_SYS_VFS_H
16020 # include <sys/vfs.h>
16021 #endif
16022 #ifdef HAVE_SYS_STATFS_H
16023 # include <sys/statfs.h>
16024 #endif
16026 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16028 cat >>confdefs.h <<_ACEOF
16029 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16030 _ACEOF
16034 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16035 #ifdef HAVE_SYS_PARAM_H
16036 # include <sys/param.h>
16037 #endif
16038 #ifdef HAVE_SYS_MOUNT_H
16039 # include <sys/mount.h>
16040 #endif
16041 #ifdef HAVE_SYS_VFS_H
16042 # include <sys/vfs.h>
16043 #endif
16044 #ifdef HAVE_SYS_STATFS_H
16045 # include <sys/statfs.h>
16046 #endif
16048 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16050 cat >>confdefs.h <<_ACEOF
16051 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16052 _ACEOF
16056 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16057 #ifdef HAVE_SYS_PARAM_H
16058 # include <sys/param.h>
16059 #endif
16060 #ifdef HAVE_SYS_MOUNT_H
16061 # include <sys/mount.h>
16062 #endif
16063 #ifdef HAVE_SYS_VFS_H
16064 # include <sys/vfs.h>
16065 #endif
16066 #ifdef HAVE_SYS_STATFS_H
16067 # include <sys/statfs.h>
16068 #endif
16070 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16072 cat >>confdefs.h <<_ACEOF
16073 #define HAVE_STRUCT_STATFS_F_FFREE 1
16074 _ACEOF
16078 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16079 #ifdef HAVE_SYS_PARAM_H
16080 # include <sys/param.h>
16081 #endif
16082 #ifdef HAVE_SYS_MOUNT_H
16083 # include <sys/mount.h>
16084 #endif
16085 #ifdef HAVE_SYS_VFS_H
16086 # include <sys/vfs.h>
16087 #endif
16088 #ifdef HAVE_SYS_STATFS_H
16089 # include <sys/statfs.h>
16090 #endif
16092 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16094 cat >>confdefs.h <<_ACEOF
16095 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16096 _ACEOF
16100 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16101 #ifdef HAVE_SYS_PARAM_H
16102 # include <sys/param.h>
16103 #endif
16104 #ifdef HAVE_SYS_MOUNT_H
16105 # include <sys/mount.h>
16106 #endif
16107 #ifdef HAVE_SYS_VFS_H
16108 # include <sys/vfs.h>
16109 #endif
16110 #ifdef HAVE_SYS_STATFS_H
16111 # include <sys/statfs.h>
16112 #endif
16114 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16118 _ACEOF
16124 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16125 #include <sys/statvfs.h>
16126 #endif
16128 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16130 cat >>confdefs.h <<_ACEOF
16131 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16132 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16139 #include <dirent.h>
16140 #endif
16142 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16144 cat >>confdefs.h <<_ACEOF
16145 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16146 _ACEOF
16152 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16153 #ifdef HAVE_SYS_SOCKET_H
16154 # include <sys/socket.h>
16155 #endif
16156 #ifdef HAVE_SYS_UN_H
16157 # include <sys/un.h>
16158 #endif
16160 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16162 cat >>confdefs.h <<_ACEOF
16163 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16164 _ACEOF
16168 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16169 #ifdef HAVE_SYS_SOCKET_H
16170 # include <sys/socket.h>
16171 #endif
16172 #ifdef HAVE_SYS_UN_H
16173 # include <sys/un.h>
16174 #endif
16176 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16178 cat >>confdefs.h <<_ACEOF
16179 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16180 _ACEOF
16184 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16185 #ifdef HAVE_SYS_SOCKET_H
16186 # include <sys/socket.h>
16187 #endif
16188 #ifdef HAVE_SYS_UN_H
16189 # include <sys/un.h>
16190 #endif
16192 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16196 _ACEOF
16202 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16203 #ifdef HAVE_SCSI_SG_H
16204 #include <scsi/sg.h>
16205 #endif
16207 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16209 cat >>confdefs.h <<_ACEOF
16210 #define HAVE_SCSIREQ_T_CMD 1
16211 _ACEOF
16215 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>
16216 #ifdef HAVE_SCSI_SG_H
16217 #include <scsi/sg.h>
16218 #endif
16220 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16224 _ACEOF
16230 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16232 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_SIGINFO_T_SI_FD 1
16236 _ACEOF
16242 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16243 #ifdef HAVE_SYS_MTIO_H
16244 #include <sys/mtio.h>
16245 #endif
16247 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16249 cat >>confdefs.h <<_ACEOF
16250 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16251 _ACEOF
16255 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16256 #ifdef HAVE_SYS_MTIO_H
16257 #include <sys/mtio.h>
16258 #endif
16260 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16264 _ACEOF
16268 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16269 #ifdef HAVE_SYS_MTIO_H
16270 #include <sys/mtio.h>
16271 #endif
16273 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16275 cat >>confdefs.h <<_ACEOF
16276 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16277 _ACEOF
16283 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16284 #include <getopt.h>
16285 #endif
16287 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_STRUCT_OPTION_NAME 1
16291 _ACEOF
16297 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16298 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16302 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16307 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_STRUCT_STAT_ST_MTIM 1
16311 _ACEOF
16315 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16316 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16320 _ACEOF
16324 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16325 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_STRUCT_STAT_ST_CTIM 1
16329 _ACEOF
16333 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16334 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16338 _ACEOF
16342 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16343 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define HAVE_STRUCT_STAT_ST_ATIM 1
16347 _ACEOF
16351 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16352 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16356 _ACEOF
16360 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16361 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16363 cat >>confdefs.h <<_ACEOF
16364 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16365 _ACEOF
16369 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16370 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16372 cat >>confdefs.h <<_ACEOF
16373 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16374 _ACEOF
16378 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16379 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16381 cat >>confdefs.h <<_ACEOF
16382 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16383 _ACEOF
16387 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16388 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16390 cat >>confdefs.h <<_ACEOF
16391 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16392 _ACEOF
16396 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16397 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16399 cat >>confdefs.h <<_ACEOF
16400 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16401 _ACEOF
16407 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
16408 #include <sys/types.h>
16409 #endif
16410 #ifdef HAVE_NETINET_IN_H
16411 #include <netinet/in.h>
16412 #endif
16414 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16418 _ACEOF
16424 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16425 #include <resolv.h>
16426 #endif
16428 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16430 cat >>confdefs.h <<_ACEOF
16431 #define HAVE_STRUCT___RES_STATE 1
16432 _ACEOF
16438 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
16439 #include <resolv.h>
16440 #endif
16442 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16444 cat >>confdefs.h <<_ACEOF
16445 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16446 _ACEOF
16452 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16453 #include <sys/types.h>
16454 #endif
16455 #ifdef HAVE_NETINET_IN_H
16456 # include <netinet/in.h>
16457 #endif
16458 #ifdef HAVE_ARPA_NAMESER_H
16459 # include <arpa/nameser.h>
16460 #endif
16462 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16464 cat >>confdefs.h <<_ACEOF
16465 #define HAVE_NS_MSG__MSG_PTR 1
16466 _ACEOF
16472 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16473 #include <sys/types.h>
16474 #endif
16475 #ifdef HAVE_NETINET_IP_H
16476 #include <netinet/ip.h>
16477 #endif
16478 #ifdef HAVE_NETINET_IP_ICMP_H
16479 #include <netinet/ip_icmp.h>
16480 #endif
16481 #ifdef HAVE_NETINET_ICMP_VAR_H
16482 #include <netinet/icmp_var.h>
16483 #endif
16485 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16489 _ACEOF
16495 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16496 #include <sys/types.h>
16497 #endif
16498 #ifdef HAVE_ALIAS_H
16499 #include <alias.h>
16500 #endif
16501 #ifdef HAVE_SYS_SOCKET_H
16502 #include <sys/socket.h>
16503 #endif
16504 #ifdef HAVE_SYS_SOCKETVAR_H
16505 #include <sys/socketvar.h>
16506 #endif
16507 #ifdef HAVE_SYS_TIMEOUT_H
16508 #include <sys/timeout.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IN_H
16511 #include <netinet/in.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IN_SYSTM_H
16514 #include <netinet/in_systm.h>
16515 #endif
16516 #ifdef HAVE_NETINET_IP_H
16517 #include <netinet/ip.h>
16518 #endif
16519 #ifdef HAVE_NETINET_IP_VAR_H
16520 #include <netinet/ip_var.h>
16521 #endif
16522 #ifdef HAVE_NETINET_IP_ICMP_H
16523 #include <netinet/ip_icmp.h>
16524 #endif
16525 #ifdef HAVE_NETINET_ICMP_VAR_H
16526 #include <netinet/icmp_var.h>
16527 #endif
16529 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16533 _ACEOF
16539 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16540 #include <sys/types.h>
16541 #endif
16542 #ifdef HAVE_SYS_SOCKETVAR_H
16543 #include <sys/socketvar.h>
16544 #endif
16545 #ifdef HAVE_NETINET_IN_H
16546 #include <netinet/in.h>
16547 #endif
16548 #ifdef HAVE_NETINET_IP_VAR_H
16549 #include <netinet/ip_var.h>
16550 #endif
16552 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16556 _ACEOF
16562 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
16563 #include <netinet/ip_var.h>
16564 #endif
16566 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16570 _ACEOF
16576 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16577 #include <sys/types.h>
16578 #endif
16579 #ifdef HAVE_SYS_SOCKETVAR_H
16580 #include <sys/socketvar.h>
16581 #endif
16582 #ifdef HAVE_NETINET_IN_H
16583 #include <netinet/in.h>
16584 #endif
16585 #ifdef HAVE_NETINET_TCP_H
16586 #include <netinet/tcp.h>
16587 #endif
16588 #ifdef HAVE_NETINET_TCP_VAR_H
16589 #include <netinet/tcp_var.h>
16590 #endif
16592 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16596 _ACEOF
16602 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
16603 #include <netinet/tcp_var.h>
16604 #endif
16606 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16608 cat >>confdefs.h <<_ACEOF
16609 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16610 _ACEOF
16616 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16617 #include <sys/types.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IN_H
16620 #include <netinet/in.h>
16621 #endif
16622 #ifdef HAVE_NETINET_IP_VAR_H
16623 #include <netinet/ip_var.h>
16624 #endif
16625 #ifdef HAVE_NETINET_UDP_H
16626 #include <netinet/udp.h>
16627 #endif
16628 #ifdef HAVE_NETINET_UDP_VAR_H
16629 #include <netinet/udp_var.h>
16630 #endif
16632 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16636 _ACEOF
16642 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16643 #include <sys/types.h>
16644 #endif
16645 #ifdef HAVE_NET_IF_H
16646 # include <net/if.h>
16647 #endif
16649 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16653 _ACEOF
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16660 $as_echo_n "checking for timezone variable... " >&6; }
16661 if ${ac_cv_have_timezone+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <time.h>
16668 main ()
16670 timezone = 1
16672 return 0;
16674 _ACEOF
16675 if ac_fn_c_try_link "$LINENO"; then :
16676 ac_cv_have_timezone="yes"
16677 else
16678 ac_cv_have_timezone="no"
16680 rm -f core conftest.err conftest.$ac_objext \
16681 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16684 $as_echo "$ac_cv_have_timezone" >&6; }
16685 if test "$ac_cv_have_timezone" = "yes"
16686 then
16688 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16692 $as_echo_n "checking for daylight variable... " >&6; }
16693 if ${ac_cv_have_daylight+:} false; then :
16694 $as_echo_n "(cached) " >&6
16695 else
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <time.h>
16700 main ()
16702 daylight = 1
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 ac_cv_have_daylight="yes"
16709 else
16710 ac_cv_have_daylight="no"
16712 rm -f core conftest.err conftest.$ac_objext \
16713 conftest$ac_exeext conftest.$ac_ext
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16716 $as_echo "$ac_cv_have_daylight" >&6; }
16717 if test "$ac_cv_have_daylight" = "yes"
16718 then
16720 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16724 ac_save_LIBS="$LIBS"
16725 LIBS="$LIBS -lm"
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16727 $as_echo_n "checking for isfinite... " >&6; }
16728 if ${ac_cv_have_isfinite+:} false; then :
16729 $as_echo_n "(cached) " >&6
16730 else
16731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16732 /* end confdefs.h. */
16733 #define _GNU_SOURCE
16734 #include <math.h>
16736 main ()
16738 float f = 0.0; return isfinite(f)
16740 return 0;
16742 _ACEOF
16743 if ac_fn_c_try_link "$LINENO"; then :
16744 ac_cv_have_isfinite="yes"
16745 else
16746 ac_cv_have_isfinite="no"
16748 rm -f core conftest.err conftest.$ac_objext \
16749 conftest$ac_exeext conftest.$ac_ext
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16752 $as_echo "$ac_cv_have_isfinite" >&6; }
16753 if test "$ac_cv_have_isfinite" = "yes"
16754 then
16756 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16761 $as_echo_n "checking for isinf... " >&6; }
16762 if ${ac_cv_have_isinf+:} false; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <math.h>
16769 main ()
16771 float f = 0.0; return isinf(f)
16773 return 0;
16775 _ACEOF
16776 if ac_fn_c_try_link "$LINENO"; then :
16777 ac_cv_have_isinf="yes"
16778 else
16779 ac_cv_have_isinf="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_isinf" >&5
16785 $as_echo "$ac_cv_have_isinf" >&6; }
16786 if test "$ac_cv_have_isinf" = "yes"
16787 then
16789 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16794 $as_echo_n "checking for isnan... " >&6; }
16795 if ${ac_cv_have_isnan+:} false; then :
16796 $as_echo_n "(cached) " >&6
16797 else
16798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h. */
16800 #include <math.h>
16802 main ()
16804 float f = 0.0; return isnan(f)
16806 return 0;
16808 _ACEOF
16809 if ac_fn_c_try_link "$LINENO"; then :
16810 ac_cv_have_isnan="yes"
16811 else
16812 ac_cv_have_isnan="no"
16814 rm -f core conftest.err conftest.$ac_objext \
16815 conftest$ac_exeext conftest.$ac_ext
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16818 $as_echo "$ac_cv_have_isnan" >&6; }
16819 if test "$ac_cv_have_isnan" = "yes"
16820 then
16822 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16826 for ac_func in \
16827 cbrt \
16828 cbrtf \
16829 erf \
16830 erff \
16831 exp2 \
16832 exp2f \
16833 llrint \
16834 llrintf \
16835 llround \
16836 llroundf \
16837 log2 \
16838 log2f \
16839 lrint \
16840 lrintf \
16841 lround \
16842 lroundf \
16843 rint \
16844 rintf \
16845 round \
16846 roundf \
16847 trunc \
16848 truncf
16850 do :
16851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16853 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16854 cat >>confdefs.h <<_ACEOF
16855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16856 _ACEOF
16859 done
16861 LIBS="$ac_save_LIBS"
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16864 $as_echo_n "checking for __builtin_clz... " >&6; }
16865 if ${ac_cv_have___builtin_clz+:} false; then :
16866 $as_echo_n "(cached) " >&6
16867 else
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h. */
16872 main ()
16874 return __builtin_clz(1)
16876 return 0;
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880 ac_cv_have___builtin_clz="yes"
16881 else
16882 ac_cv_have___builtin_clz="no"
16884 rm -f core conftest.err conftest.$ac_objext \
16885 conftest$ac_exeext conftest.$ac_ext
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16888 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16889 if test "$ac_cv_have___builtin_clz" = "yes"
16890 then
16892 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16897 $as_echo_n "checking for __builtin_popcount... " >&6; }
16898 if ${ac_cv_have___builtin_popcount+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16905 main ()
16907 return __builtin_popcount(1)
16909 return 0;
16911 _ACEOF
16912 if ac_fn_c_try_link "$LINENO"; then :
16913 ac_cv_have___builtin_popcount="yes"
16914 else
16915 ac_cv_have___builtin_popcount="no"
16917 rm -f core conftest.err conftest.$ac_objext \
16918 conftest$ac_exeext conftest.$ac_ext
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16921 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16922 if test "$ac_cv_have___builtin_popcount" = "yes"
16923 then
16925 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16930 case $host_cpu in
16931 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16932 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16933 if ${ac_cv_cpp_def___i386__+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #ifndef __i386__
16940 #endif
16941 _ACEOF
16942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16943 $EGREP "yes" >/dev/null 2>&1; then :
16944 ac_cv_cpp_def___i386__=yes
16945 else
16946 ac_cv_cpp_def___i386__=no
16948 rm -f conftest*
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16952 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16953 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16954 CFLAGS="$CFLAGS -D__i386__"
16955 LINTFLAGS="$LINTFLAGS -D__i386__"
16956 fi ;;
16957 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16958 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16959 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #ifndef __x86_64__
16966 #endif
16967 _ACEOF
16968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16969 $EGREP "yes" >/dev/null 2>&1; then :
16970 ac_cv_cpp_def___x86_64__=yes
16971 else
16972 ac_cv_cpp_def___x86_64__=no
16974 rm -f conftest*
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16978 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16979 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16980 CFLAGS="$CFLAGS -D__x86_64__"
16981 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16982 fi ;;
16983 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16984 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16985 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16986 $as_echo_n "(cached) " >&6
16987 else
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #ifndef __sparc64__
16992 #endif
16993 _ACEOF
16994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16995 $EGREP "yes" >/dev/null 2>&1; then :
16996 ac_cv_cpp_def___sparc64__=yes
16997 else
16998 ac_cv_cpp_def___sparc64__=no
17000 rm -f conftest*
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17004 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17005 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17006 CFLAGS="$CFLAGS -D__sparc64__"
17007 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17008 fi ;;
17009 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17010 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17011 if ${ac_cv_cpp_def___sparc__+:} false; then :
17012 $as_echo_n "(cached) " >&6
17013 else
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #ifndef __sparc__
17018 #endif
17019 _ACEOF
17020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17021 $EGREP "yes" >/dev/null 2>&1; then :
17022 ac_cv_cpp_def___sparc__=yes
17023 else
17024 ac_cv_cpp_def___sparc__=no
17026 rm -f conftest*
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17030 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17031 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17032 CFLAGS="$CFLAGS -D__sparc__"
17033 LINTFLAGS="$LINTFLAGS -D__sparc__"
17034 fi ;;
17035 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17036 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17037 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17038 $as_echo_n "(cached) " >&6
17039 else
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #ifndef __powerpc64__
17044 #endif
17045 _ACEOF
17046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17047 $EGREP "yes" >/dev/null 2>&1; then :
17048 ac_cv_cpp_def___powerpc64__=yes
17049 else
17050 ac_cv_cpp_def___powerpc64__=no
17052 rm -f conftest*
17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17056 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17057 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17058 CFLAGS="$CFLAGS -D__powerpc64__"
17059 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17060 fi ;;
17061 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17062 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17063 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17064 $as_echo_n "(cached) " >&6
17065 else
17066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067 /* end confdefs.h. */
17068 #ifndef __powerpc__
17070 #endif
17071 _ACEOF
17072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17073 $EGREP "yes" >/dev/null 2>&1; then :
17074 ac_cv_cpp_def___powerpc__=yes
17075 else
17076 ac_cv_cpp_def___powerpc__=no
17078 rm -f conftest*
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17082 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17083 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17084 CFLAGS="$CFLAGS -D__powerpc__"
17085 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17086 fi ;;
17087 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17088 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17089 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17090 $as_echo_n "(cached) " >&6
17091 else
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #ifndef __aarch64__
17096 #endif
17097 _ACEOF
17098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17099 $EGREP "yes" >/dev/null 2>&1; then :
17100 ac_cv_cpp_def___aarch64__=yes
17101 else
17102 ac_cv_cpp_def___aarch64__=no
17104 rm -f conftest*
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17108 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17109 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17110 CFLAGS="$CFLAGS -D__aarch64__"
17111 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17112 fi ;;
17113 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17114 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17115 if ${ac_cv_cpp_def___arm__+:} false; then :
17116 $as_echo_n "(cached) " >&6
17117 else
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17120 #ifndef __arm__
17122 #endif
17123 _ACEOF
17124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17125 $EGREP "yes" >/dev/null 2>&1; then :
17126 ac_cv_cpp_def___arm__=yes
17127 else
17128 ac_cv_cpp_def___arm__=no
17130 rm -f conftest*
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17134 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17135 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17136 CFLAGS="$CFLAGS -D__arm__"
17137 LINTFLAGS="$LINTFLAGS -D__arm__"
17138 fi ;;
17139 esac
17141 case $host_vendor in
17142 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17143 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17144 if ${ac_cv_cpp_def___sun__+:} false; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149 #ifndef __sun__
17151 #endif
17152 _ACEOF
17153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17154 $EGREP "yes" >/dev/null 2>&1; then :
17155 ac_cv_cpp_def___sun__=yes
17156 else
17157 ac_cv_cpp_def___sun__=no
17159 rm -f conftest*
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17163 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17164 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17165 CFLAGS="$CFLAGS -D__sun__"
17166 LINTFLAGS="$LINTFLAGS -D__sun__"
17167 fi ;;
17168 esac
17174 ac_config_commands="$ac_config_commands include/stamp-h"
17176 $as_echo_n "creating Makefile rules..." >&6
17178 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17179 SOCKET_LIBS = $SOCKET_LIBS
17180 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17181 IOKIT_LIBS = $IOKIT_LIBS
17182 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17183 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17184 CORESERVICES_LIBS = $CORESERVICES_LIBS
17185 APPKIT_LIBS = $APPKIT_LIBS
17186 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17187 SECURITY_LIBS = $SECURITY_LIBS
17188 COREAUDIO_LIBS = $COREAUDIO_LIBS
17189 OPENAL_LIBS = $OPENAL_LIBS
17190 OPENCL_LIBS = $OPENCL_LIBS
17191 QUICKTIME_LIBS = $QUICKTIME_LIBS
17192 CARBON_LIBS = $CARBON_LIBS
17193 PTHREAD_LIBS = $PTHREAD_LIBS
17194 X_CFLAGS = $X_CFLAGS
17195 X_PRE_LIBS = $X_PRE_LIBS
17196 X_LIBS = $X_LIBS
17197 X_EXTRA_LIBS = $X_EXTRA_LIBS
17198 PCAP_LIBS = $PCAP_LIBS
17199 XML2_CFLAGS = $XML2_CFLAGS
17200 XML2_LIBS = $XML2_LIBS
17201 XSLT_CFLAGS = $XSLT_CFLAGS
17202 XSLT_LIBS = $XSLT_LIBS
17203 DBUS_CFLAGS = $DBUS_CFLAGS
17204 DBUS_LIBS = $DBUS_LIBS
17205 HAL_CFLAGS = $HAL_CFLAGS
17206 HAL_LIBS = $HAL_LIBS
17207 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17208 GNUTLS_LIBS = $GNUTLS_LIBS
17209 SANE_CFLAGS = $SANE_CFLAGS
17210 SANE_LIBS = $SANE_LIBS
17211 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17212 GPHOTO2_LIBS = $GPHOTO2_LIBS
17213 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17214 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17215 RESOLV_LIBS = $RESOLV_LIBS
17216 LCMS2_CFLAGS = $LCMS2_CFLAGS
17217 LCMS2_LIBS = $LCMS2_LIBS
17218 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17219 FREETYPE_LIBS = $FREETYPE_LIBS
17220 Z_LIBS = $Z_LIBS
17221 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17222 PULSE_CFLAGS = $PULSE_CFLAGS
17223 PULSE_LIBS = $PULSE_LIBS
17224 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17225 GSTREAMER_LIBS = $GSTREAMER_LIBS
17226 ALSA_LIBS = $ALSA_LIBS
17227 OSS4_CFLAGS = $OSS4_CFLAGS
17228 CAPI20_CFLAGS = $CAPI20_CFLAGS
17229 CAPI20_LIBS = $CAPI20_LIBS
17230 CUPS_CFLAGS = $CUPS_CFLAGS
17231 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17232 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17233 JPEG_CFLAGS = $JPEG_CFLAGS
17234 JPEG_LIBS = $JPEG_LIBS
17235 PNG_CFLAGS = $PNG_CFLAGS
17236 PNG_LIBS = $PNG_LIBS
17237 TIFF_CFLAGS = $TIFF_CFLAGS
17238 TIFF_LIBS = $TIFF_LIBS
17239 MPG123_CFLAGS = $MPG123_CFLAGS
17240 MPG123_LIBS = $MPG123_LIBS
17241 KSTAT_LIBS = $KSTAT_LIBS
17242 PROCSTAT_LIBS = $PROCSTAT_LIBS
17243 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17244 DL_LIBS = $DL_LIBS
17245 POLL_LIBS = $POLL_LIBS
17246 RT_LIBS = $RT_LIBS
17247 LDAP_LIBS = $LDAP_LIBS
17252 wine_fn_append_rule "
17253 # Rules automatically generated by configure
17255 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17257 .INIT: Makefile
17258 .MAKEFILEDEPS:
17259 all: Makefile
17260 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17261 @./config.status Make.tmp Makefile
17262 depend: \$(MAKEDEP) dummy
17263 \$(MAKEDEP)"
17265 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17266 .gitignore: config.status
17267 @./config.status .gitignore"
17269 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17270 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17272 if test "x$enable_fonts" != xno; then
17273 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17274 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17275 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17276 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17277 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17278 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17280 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17281 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17282 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17283 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17284 ac_config_links="$ac_config_links wine:tools/winewrapper"
17285 wine_fn_config_symlink wine
17286 if test "x$enable_win64" != xno; then
17287 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17288 wine_fn_config_symlink wine64
17291 wine_fn_config_dll acledit enable_acledit
17292 wine_fn_config_dll aclui enable_aclui implib
17293 wine_fn_config_dll activeds enable_activeds implib
17294 wine_fn_config_dll actxprxy enable_actxprxy clean
17295 wine_fn_config_lib adsiid
17296 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17297 wine_fn_config_test dlls/advapi32/tests advapi32_test
17298 wine_fn_config_dll advpack enable_advpack implib
17299 wine_fn_config_test dlls/advpack/tests advpack_test
17300 wine_fn_config_dll amstream enable_amstream clean
17301 wine_fn_config_test dlls/amstream/tests amstream_test
17302 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17305 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17307 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17309 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17310 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17312 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17313 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17315 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17317 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17318 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17319 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17321 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17322 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17323 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17325 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17326 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17328 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17330 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17331 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17332 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17333 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17334 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17337 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17338 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17341 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17344 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17346 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17347 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17352 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17356 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17358 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17359 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17362 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17364 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17365 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17366 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17369 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17370 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17371 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17372 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17373 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17374 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17375 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17376 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17377 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17378 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17379 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17380 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17381 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17384 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17385 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17386 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17387 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17388 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17389 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17390 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17391 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17392 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17393 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17394 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17395 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17396 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17397 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17398 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17399 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17400 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17401 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17402 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17403 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17404 wine_fn_config_dll apphelp enable_apphelp
17405 wine_fn_config_test dlls/apphelp/tests apphelp_test
17406 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17407 wine_fn_config_dll atl enable_atl clean,implib
17408 wine_fn_config_test dlls/atl/tests atl_test
17409 wine_fn_config_dll atl100 enable_atl100 clean,implib
17410 wine_fn_config_test dlls/atl100/tests atl100_test
17411 wine_fn_config_dll atl110 enable_atl110 clean
17412 wine_fn_config_dll atl80 enable_atl80 clean,implib
17413 wine_fn_config_test dlls/atl80/tests atl80_test
17414 wine_fn_config_dll atl90 enable_atl90 clean
17415 wine_fn_config_dll authz enable_authz
17416 wine_fn_config_dll avicap32 enable_avicap32 implib
17417 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17418 wine_fn_config_test dlls/avifil32/tests avifil32_test
17419 wine_fn_config_dll avifile.dll16 enable_win16
17420 wine_fn_config_dll avrt enable_avrt implib
17421 wine_fn_config_dll bcrypt enable_bcrypt implib
17422 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17423 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17424 wine_fn_config_dll browseui enable_browseui clean,po
17425 wine_fn_config_test dlls/browseui/tests browseui_test
17426 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17427 wine_fn_config_dll cabinet enable_cabinet implib
17428 wine_fn_config_test dlls/cabinet/tests cabinet_test
17429 wine_fn_config_dll capi2032 enable_capi2032 implib
17430 wine_fn_config_dll cards enable_cards implib
17431 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17432 wine_fn_config_dll clusapi enable_clusapi implib
17433 wine_fn_config_dll combase enable_combase
17434 wine_fn_config_test dlls/combase/tests combase_test
17435 wine_fn_config_dll comcat enable_comcat
17436 wine_fn_config_test dlls/comcat/tests comcat_test
17437 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17438 wine_fn_config_test dlls/comctl32/tests comctl32_test
17439 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17440 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17441 wine_fn_config_dll comm.drv16 enable_win16
17442 wine_fn_config_dll commdlg.dll16 enable_win16
17443 wine_fn_config_dll compobj.dll16 enable_win16
17444 wine_fn_config_dll compstui enable_compstui implib
17445 wine_fn_config_dll comsvcs enable_comsvcs implib
17446 wine_fn_config_dll connect enable_connect
17447 wine_fn_config_dll credui enable_credui implib,po
17448 wine_fn_config_test dlls/credui/tests credui_test
17449 wine_fn_config_dll crtdll enable_crtdll implib
17450 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17451 wine_fn_config_test dlls/crypt32/tests crypt32_test
17452 wine_fn_config_dll cryptdlg enable_cryptdlg po
17453 wine_fn_config_dll cryptdll enable_cryptdll implib
17454 wine_fn_config_dll cryptext enable_cryptext
17455 wine_fn_config_dll cryptnet enable_cryptnet implib
17456 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17457 wine_fn_config_dll cryptui enable_cryptui implib,po
17458 wine_fn_config_test dlls/cryptui/tests cryptui_test
17459 wine_fn_config_dll ctapi32 enable_ctapi32
17460 wine_fn_config_dll ctl3d.dll16 enable_win16
17461 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17462 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17463 wine_fn_config_dll d2d1 enable_d2d1 implib
17464 wine_fn_config_test dlls/d2d1/tests d2d1_test
17465 wine_fn_config_dll d3d10 enable_d3d10 implib
17466 wine_fn_config_test dlls/d3d10/tests d3d10_test
17467 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17468 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17469 wine_fn_config_dll d3d10core enable_d3d10core implib
17470 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17471 wine_fn_config_dll d3d11 enable_d3d11 implib
17472 wine_fn_config_test dlls/d3d11/tests d3d11_test
17473 wine_fn_config_dll d3d8 enable_d3d8 implib
17474 wine_fn_config_test dlls/d3d8/tests d3d8_test
17475 wine_fn_config_dll d3d9 enable_d3d9 implib
17476 wine_fn_config_test dlls/d3d9/tests d3d9_test
17477 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17478 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17479 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17480 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17481 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17482 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17483 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17484 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17485 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17486 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17487 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17488 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17489 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17490 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17491 wine_fn_config_dll d3dim enable_d3dim implib
17492 wine_fn_config_dll d3drm enable_d3drm implib
17493 wine_fn_config_test dlls/d3drm/tests d3drm_test
17494 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17495 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17496 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17497 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17498 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17499 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17500 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17501 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17502 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17503 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17504 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17505 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17506 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17507 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17508 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17509 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17510 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17511 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17512 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17513 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17514 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17515 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17516 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17517 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17518 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17519 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17520 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17521 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17522 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17523 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17524 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17525 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17526 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17527 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17528 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17529 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17530 wine_fn_config_dll davclnt enable_davclnt
17531 wine_fn_config_dll dbgeng enable_dbgeng implib
17532 wine_fn_config_dll dbghelp enable_dbghelp implib
17533 wine_fn_config_dll dciman32 enable_dciman32 implib
17534 wine_fn_config_dll ddeml.dll16 enable_win16
17535 wine_fn_config_dll ddraw enable_ddraw clean,implib
17536 wine_fn_config_test dlls/ddraw/tests ddraw_test
17537 wine_fn_config_dll ddrawex enable_ddrawex clean
17538 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17539 wine_fn_config_dll devenum enable_devenum clean,po
17540 wine_fn_config_test dlls/devenum/tests devenum_test
17541 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17542 wine_fn_config_dll difxapi enable_difxapi
17543 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17544 wine_fn_config_test dlls/dinput/tests dinput_test
17545 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17546 wine_fn_config_test dlls/dinput8/tests dinput8_test
17547 wine_fn_config_dll dispdib.dll16 enable_win16
17548 wine_fn_config_dll dispex enable_dispex clean
17549 wine_fn_config_test dlls/dispex/tests dispex_test
17550 wine_fn_config_dll display.drv16 enable_win16
17551 wine_fn_config_dll dmband enable_dmband clean
17552 wine_fn_config_test dlls/dmband/tests dmband_test
17553 wine_fn_config_dll dmcompos enable_dmcompos clean
17554 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17555 wine_fn_config_dll dmime enable_dmime clean
17556 wine_fn_config_test dlls/dmime/tests dmime_test
17557 wine_fn_config_dll dmloader enable_dmloader clean
17558 wine_fn_config_test dlls/dmloader/tests dmloader_test
17559 wine_fn_config_dll dmscript enable_dmscript clean
17560 wine_fn_config_test dlls/dmscript/tests dmscript_test
17561 wine_fn_config_dll dmstyle enable_dmstyle clean
17562 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17563 wine_fn_config_dll dmsynth enable_dmsynth clean
17564 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17565 wine_fn_config_dll dmusic enable_dmusic clean
17566 wine_fn_config_test dlls/dmusic/tests dmusic_test
17567 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17568 wine_fn_config_dll dnsapi enable_dnsapi implib
17569 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17570 wine_fn_config_dll dplay enable_dplay implib
17571 wine_fn_config_dll dplayx enable_dplayx clean,implib
17572 wine_fn_config_test dlls/dplayx/tests dplayx_test
17573 wine_fn_config_dll dpnaddr enable_dpnaddr
17574 wine_fn_config_dll dpnet enable_dpnet clean,implib
17575 wine_fn_config_test dlls/dpnet/tests dpnet_test
17576 wine_fn_config_dll dpnhpast enable_dpnhpast
17577 wine_fn_config_dll dpnlobby enable_dpnlobby
17578 wine_fn_config_dll dpvoice enable_dpvoice clean
17579 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17580 wine_fn_config_dll dpwsockx enable_dpwsockx
17581 wine_fn_config_dll drmclien enable_drmclien
17582 wine_fn_config_dll dsound enable_dsound clean,implib
17583 wine_fn_config_test dlls/dsound/tests dsound_test
17584 wine_fn_config_dll dssenh enable_dssenh
17585 wine_fn_config_test dlls/dssenh/tests dssenh_test
17586 wine_fn_config_dll dswave enable_dswave clean
17587 wine_fn_config_test dlls/dswave/tests dswave_test
17588 wine_fn_config_dll dwmapi enable_dwmapi implib
17589 wine_fn_config_dll dwrite enable_dwrite implib
17590 wine_fn_config_test dlls/dwrite/tests dwrite_test
17591 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17592 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17593 wine_fn_config_lib dxerr8
17594 wine_fn_config_lib dxerr9
17595 wine_fn_config_dll dxgi enable_dxgi implib
17596 wine_fn_config_test dlls/dxgi/tests dxgi_test
17597 wine_fn_config_lib dxguid
17598 wine_fn_config_dll dxva2 enable_dxva2
17599 wine_fn_config_dll esent enable_esent
17600 wine_fn_config_dll evr enable_evr
17601 wine_fn_config_dll explorerframe enable_explorerframe clean
17602 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17603 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17604 wine_fn_config_dll faultrep enable_faultrep implib
17605 wine_fn_config_test dlls/faultrep/tests faultrep_test
17606 wine_fn_config_dll fltlib enable_fltlib
17607 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17608 wine_fn_config_dll fntcache enable_fntcache
17609 wine_fn_config_dll fontsub enable_fontsub
17610 wine_fn_config_dll fusion enable_fusion
17611 wine_fn_config_test dlls/fusion/tests fusion_test
17612 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17613 wine_fn_config_dll gameux enable_gameux clean
17614 wine_fn_config_test dlls/gameux/tests gameux_test
17615 wine_fn_config_dll gdi.exe16 enable_win16
17616 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17617 wine_fn_config_test dlls/gdi32/tests gdi32_test
17618 wine_fn_config_dll gdiplus enable_gdiplus implib
17619 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17620 wine_fn_config_dll glu32 enable_glu32 implib
17621 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17622 wine_fn_config_dll gpkcsp enable_gpkcsp
17623 wine_fn_config_dll hal enable_hal
17624 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17625 wine_fn_config_dll hid enable_hid implib
17626 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17627 wine_fn_config_dll hlink enable_hlink clean,implib
17628 wine_fn_config_test dlls/hlink/tests hlink_test
17629 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17630 wine_fn_config_dll httpapi enable_httpapi
17631 wine_fn_config_dll iccvid enable_iccvid po
17632 wine_fn_config_dll icmp enable_icmp
17633 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17634 wine_fn_config_test dlls/ieframe/tests ieframe_test
17635 wine_fn_config_dll ifsmgr.vxd enable_win16
17636 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17637 wine_fn_config_dll imagehlp enable_imagehlp implib
17638 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17639 wine_fn_config_dll imm.dll16 enable_win16
17640 wine_fn_config_dll imm32 enable_imm32 implib
17641 wine_fn_config_test dlls/imm32/tests imm32_test
17642 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17643 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17644 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17645 wine_fn_config_dll inetmib1 enable_inetmib1
17646 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17647 wine_fn_config_dll infosoft enable_infosoft clean
17648 wine_fn_config_test dlls/infosoft/tests infosoft_test
17649 wine_fn_config_dll initpki enable_initpki
17650 wine_fn_config_dll inkobj enable_inkobj
17651 wine_fn_config_dll inseng enable_inseng clean
17652 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17653 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17654 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17655 wine_fn_config_dll itircl enable_itircl
17656 wine_fn_config_dll itss enable_itss clean
17657 wine_fn_config_test dlls/itss/tests itss_test
17658 wine_fn_config_dll joy.cpl enable_joy_cpl po
17659 wine_fn_config_dll jscript enable_jscript clean,po
17660 wine_fn_config_test dlls/jscript/tests jscript_test
17661 wine_fn_config_dll jsproxy enable_jsproxy implib
17662 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17663 wine_fn_config_test dlls/kernel32/tests kernel32_test
17664 wine_fn_config_dll keyboard.drv16 enable_win16
17665 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17666 wine_fn_config_dll ksuser enable_ksuser
17667 wine_fn_config_dll ktmw32 enable_ktmw32
17668 wine_fn_config_dll loadperf enable_loadperf implib
17669 wine_fn_config_dll localspl enable_localspl po
17670 wine_fn_config_test dlls/localspl/tests localspl_test
17671 wine_fn_config_dll localui enable_localui po
17672 wine_fn_config_test dlls/localui/tests localui_test
17673 wine_fn_config_dll lz32 enable_lz32 implib
17674 wine_fn_config_test dlls/lz32/tests lz32_test
17675 wine_fn_config_dll lzexpand.dll16 enable_win16
17676 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17677 wine_fn_config_test dlls/mapi32/tests mapi32_test
17678 wine_fn_config_dll mapistub enable_mapistub
17679 wine_fn_config_dll mciavi32 enable_mciavi32
17680 wine_fn_config_dll mcicda enable_mcicda
17681 wine_fn_config_dll mciqtz32 enable_mciqtz32
17682 wine_fn_config_dll mciseq enable_mciseq
17683 wine_fn_config_dll mciwave enable_mciwave
17684 wine_fn_config_dll mf enable_mf
17685 wine_fn_config_dll mfplat enable_mfplat
17686 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17687 wine_fn_config_dll mgmtapi enable_mgmtapi
17688 wine_fn_config_dll midimap enable_midimap
17689 wine_fn_config_dll mlang enable_mlang clean,implib
17690 wine_fn_config_test dlls/mlang/tests mlang_test
17691 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17692 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17693 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17694 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17695 wine_fn_config_dll mmdevldr.vxd enable_win16
17696 wine_fn_config_dll mmsystem.dll16 enable_win16
17697 wine_fn_config_dll monodebg.vxd enable_win16
17698 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17699 wine_fn_config_dll mouse.drv16 enable_win16
17700 wine_fn_config_dll mpr enable_mpr implib,po
17701 wine_fn_config_test dlls/mpr/tests mpr_test
17702 wine_fn_config_dll mprapi enable_mprapi implib
17703 wine_fn_config_dll msacm.dll16 enable_win16
17704 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17705 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17706 wine_fn_config_test dlls/msacm32/tests msacm32_test
17707 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17708 wine_fn_config_dll msasn1 enable_msasn1 implib
17709 wine_fn_config_dll mscat32 enable_mscat32
17710 wine_fn_config_dll mscms enable_mscms implib
17711 wine_fn_config_test dlls/mscms/tests mscms_test
17712 wine_fn_config_dll mscoree enable_mscoree clean
17713 wine_fn_config_test dlls/mscoree/tests mscoree_test
17714 wine_fn_config_dll msctf enable_msctf clean
17715 wine_fn_config_test dlls/msctf/tests msctf_test
17716 wine_fn_config_dll msctfp enable_msctfp clean
17717 wine_fn_config_dll msdaps enable_msdaps clean
17718 wine_fn_config_dll msdelta enable_msdelta
17719 wine_fn_config_dll msdmo enable_msdmo implib
17720 wine_fn_config_test dlls/msdmo/tests msdmo_test
17721 wine_fn_config_dll msdrm enable_msdrm
17722 wine_fn_config_dll msftedit enable_msftedit
17723 wine_fn_config_dll msg711.acm enable_msg711_acm
17724 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17725 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17726 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17727 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17728 wine_fn_config_dll msi enable_msi clean,implib,po
17729 wine_fn_config_test dlls/msi/tests msi_test
17730 wine_fn_config_dll msident enable_msident clean
17731 wine_fn_config_dll msimg32 enable_msimg32 implib
17732 wine_fn_config_dll msimsg enable_msimsg
17733 wine_fn_config_dll msimtf enable_msimtf clean
17734 wine_fn_config_dll msisip enable_msisip
17735 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17736 wine_fn_config_dll msls31 enable_msls31
17737 wine_fn_config_dll msnet32 enable_msnet32
17738 wine_fn_config_dll mspatcha enable_mspatcha implib
17739 wine_fn_config_dll msrle32 enable_msrle32 po
17740 wine_fn_config_test dlls/msrle32/tests msrle32_test
17741 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17742 wine_fn_config_dll mssign32 enable_mssign32
17743 wine_fn_config_dll mssip32 enable_mssip32
17744 wine_fn_config_dll mstask enable_mstask clean
17745 wine_fn_config_test dlls/mstask/tests mstask_test
17746 wine_fn_config_dll msvcirt enable_msvcirt
17747 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17748 wine_fn_config_dll msvcm80 enable_msvcm80
17749 wine_fn_config_dll msvcm90 enable_msvcm90
17750 wine_fn_config_dll msvcp100 enable_msvcp100
17751 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17752 wine_fn_config_dll msvcp110 enable_msvcp110
17753 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17754 wine_fn_config_dll msvcp120 enable_msvcp120
17755 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17756 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17757 wine_fn_config_dll msvcp60 enable_msvcp60
17758 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17759 wine_fn_config_dll msvcp70 enable_msvcp70
17760 wine_fn_config_dll msvcp71 enable_msvcp71
17761 wine_fn_config_dll msvcp80 enable_msvcp80
17762 wine_fn_config_dll msvcp90 enable_msvcp90
17763 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17764 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17765 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17766 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17767 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17768 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17769 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17770 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17771 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17772 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17773 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17774 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17775 wine_fn_config_dll msvcrt enable_msvcrt implib
17776 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17777 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17778 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17779 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17780 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17781 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17782 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17783 wine_fn_config_dll msvidc32 enable_msvidc32 po
17784 wine_fn_config_dll msvideo.dll16 enable_win16
17785 wine_fn_config_dll mswsock enable_mswsock implib
17786 wine_fn_config_dll msxml enable_msxml clean
17787 wine_fn_config_dll msxml2 enable_msxml2 clean
17788 wine_fn_config_dll msxml3 enable_msxml3 clean
17789 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17790 wine_fn_config_dll msxml4 enable_msxml4 clean
17791 wine_fn_config_dll msxml6 enable_msxml6 clean
17792 wine_fn_config_dll nddeapi enable_nddeapi implib
17793 wine_fn_config_dll ndis.sys enable_ndis_sys
17794 wine_fn_config_dll netapi32 enable_netapi32 implib
17795 wine_fn_config_test dlls/netapi32/tests netapi32_test
17796 wine_fn_config_dll netcfgx enable_netcfgx clean
17797 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17798 wine_fn_config_dll netprofm enable_netprofm clean
17799 wine_fn_config_test dlls/netprofm/tests netprofm_test
17800 wine_fn_config_dll newdev enable_newdev implib
17801 wine_fn_config_dll normaliz enable_normaliz implib
17802 wine_fn_config_dll npmshtml enable_npmshtml
17803 wine_fn_config_dll npptools enable_npptools
17804 wine_fn_config_dll ntdll enable_ntdll implib
17805 wine_fn_config_test dlls/ntdll/tests ntdll_test
17806 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17807 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17808 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17809 wine_fn_config_dll ntprint enable_ntprint
17810 wine_fn_config_test dlls/ntprint/tests ntprint_test
17811 wine_fn_config_dll objsel enable_objsel clean
17812 wine_fn_config_dll odbc32 enable_odbc32 implib
17813 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17814 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17815 wine_fn_config_dll odbccu32 enable_odbccu32
17816 wine_fn_config_dll ole2.dll16 enable_win16
17817 wine_fn_config_dll ole2conv.dll16 enable_win16
17818 wine_fn_config_dll ole2disp.dll16 enable_win16
17819 wine_fn_config_dll ole2nls.dll16 enable_win16
17820 wine_fn_config_dll ole2prox.dll16 enable_win16
17821 wine_fn_config_dll ole2thk.dll16 enable_win16
17822 wine_fn_config_dll ole32 enable_ole32 clean,implib
17823 wine_fn_config_test dlls/ole32/tests ole32_test
17824 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17825 wine_fn_config_test dlls/oleacc/tests oleacc_test
17826 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17827 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17828 wine_fn_config_dll olecli.dll16 enable_win16
17829 wine_fn_config_dll olecli32 enable_olecli32 implib
17830 wine_fn_config_dll oledb32 enable_oledb32 clean
17831 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17832 wine_fn_config_dll oledlg enable_oledlg implib,po
17833 wine_fn_config_test dlls/oledlg/tests oledlg_test
17834 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17835 wine_fn_config_dll olesvr.dll16 enable_win16
17836 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17837 wine_fn_config_dll olethk32 enable_olethk32
17838 wine_fn_config_dll openal32 enable_openal32
17839 wine_fn_config_dll opencl enable_opencl
17840 wine_fn_config_dll opengl32 enable_opengl32 implib
17841 wine_fn_config_test dlls/opengl32/tests opengl32_test
17842 wine_fn_config_dll packager enable_packager clean
17843 wine_fn_config_test dlls/packager/tests packager_test
17844 wine_fn_config_dll pdh enable_pdh implib
17845 wine_fn_config_test dlls/pdh/tests pdh_test
17846 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17847 wine_fn_config_dll pidgen enable_pidgen
17848 wine_fn_config_dll powrprof enable_powrprof implib
17849 wine_fn_config_dll printui enable_printui
17850 wine_fn_config_dll prntvpt enable_prntvpt
17851 wine_fn_config_dll propsys enable_propsys clean,implib
17852 wine_fn_config_test dlls/propsys/tests propsys_test
17853 wine_fn_config_dll psapi enable_psapi implib
17854 wine_fn_config_test dlls/psapi/tests psapi_test
17855 wine_fn_config_dll pstorec enable_pstorec clean
17856 wine_fn_config_dll qcap enable_qcap
17857 wine_fn_config_test dlls/qcap/tests qcap_test
17858 wine_fn_config_dll qedit enable_qedit clean
17859 wine_fn_config_test dlls/qedit/tests qedit_test
17860 wine_fn_config_dll qmgr enable_qmgr clean
17861 wine_fn_config_test dlls/qmgr/tests qmgr_test
17862 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17863 wine_fn_config_dll quartz enable_quartz clean,implib
17864 wine_fn_config_test dlls/quartz/tests quartz_test clean
17865 wine_fn_config_dll query enable_query
17866 wine_fn_config_dll rasapi16.dll16 enable_win16
17867 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17868 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17869 wine_fn_config_dll rasdlg enable_rasdlg implib
17870 wine_fn_config_dll regapi enable_regapi
17871 wine_fn_config_dll resutils enable_resutils implib
17872 wine_fn_config_dll riched20 enable_riched20 clean,implib
17873 wine_fn_config_test dlls/riched20/tests riched20_test
17874 wine_fn_config_dll riched32 enable_riched32
17875 wine_fn_config_test dlls/riched32/tests riched32_test
17876 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17877 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17878 wine_fn_config_dll rsabase enable_rsabase
17879 wine_fn_config_dll rsaenh enable_rsaenh implib
17880 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17881 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17882 wine_fn_config_dll rtutils enable_rtutils implib
17883 wine_fn_config_dll samlib enable_samlib
17884 wine_fn_config_dll sane.ds enable_sane_ds po
17885 wine_fn_config_dll scarddlg enable_scarddlg
17886 wine_fn_config_dll sccbase enable_sccbase
17887 wine_fn_config_dll schannel enable_schannel
17888 wine_fn_config_test dlls/schannel/tests schannel_test
17889 wine_fn_config_dll schedsvc enable_schedsvc clean
17890 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17891 wine_fn_config_dll scrrun enable_scrrun clean
17892 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17893 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17894 wine_fn_config_dll secur32 enable_secur32 implib
17895 wine_fn_config_test dlls/secur32/tests secur32_test
17896 wine_fn_config_dll security enable_security
17897 wine_fn_config_dll sensapi enable_sensapi implib
17898 wine_fn_config_dll serialui enable_serialui implib,po
17899 wine_fn_config_test dlls/serialui/tests serialui_test
17900 wine_fn_config_dll setupapi enable_setupapi implib,po
17901 wine_fn_config_test dlls/setupapi/tests setupapi_test
17902 wine_fn_config_dll setupx.dll16 enable_win16
17903 wine_fn_config_dll sfc enable_sfc implib
17904 wine_fn_config_dll sfc_os enable_sfc_os implib
17905 wine_fn_config_dll shdoclc enable_shdoclc po
17906 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17907 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17908 wine_fn_config_dll shell.dll16 enable_win16
17909 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17910 wine_fn_config_test dlls/shell32/tests shell32_test
17911 wine_fn_config_dll shfolder enable_shfolder implib
17912 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17913 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17914 wine_fn_config_dll slbcsp enable_slbcsp
17915 wine_fn_config_dll slc enable_slc implib
17916 wine_fn_config_test dlls/slc/tests slc_test
17917 wine_fn_config_dll snmpapi enable_snmpapi implib
17918 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17919 wine_fn_config_dll softpub enable_softpub
17920 wine_fn_config_dll sound.drv16 enable_win16
17921 wine_fn_config_dll spoolss enable_spoolss implib
17922 wine_fn_config_test dlls/spoolss/tests spoolss_test
17923 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17924 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17925 wine_fn_config_dll sti enable_sti clean,implib
17926 wine_fn_config_test dlls/sti/tests sti_test
17927 wine_fn_config_dll storage.dll16 enable_win16
17928 wine_fn_config_dll stress.dll16 enable_win16
17929 wine_fn_config_lib strmbase
17930 wine_fn_config_lib strmiids
17931 wine_fn_config_dll svrapi enable_svrapi
17932 wine_fn_config_dll sxs enable_sxs implib
17933 wine_fn_config_test dlls/sxs/tests sxs_test
17934 wine_fn_config_dll system.drv16 enable_win16
17935 wine_fn_config_dll t2embed enable_t2embed
17936 wine_fn_config_dll tapi32 enable_tapi32 implib
17937 wine_fn_config_dll taskschd enable_taskschd clean
17938 wine_fn_config_test dlls/taskschd/tests taskschd_test
17939 wine_fn_config_dll tdi.sys enable_tdi_sys
17940 wine_fn_config_dll toolhelp.dll16 enable_win16
17941 wine_fn_config_dll traffic enable_traffic
17942 wine_fn_config_dll twain.dll16 enable_win16
17943 wine_fn_config_dll twain_32 enable_twain_32
17944 wine_fn_config_test dlls/twain_32/tests twain_32_test
17945 wine_fn_config_dll typelib.dll16 enable_win16
17946 wine_fn_config_dll ucrtbase enable_ucrtbase
17947 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17948 wine_fn_config_dll unicows enable_unicows implib
17949 wine_fn_config_dll updspapi enable_updspapi
17950 wine_fn_config_dll url enable_url implib
17951 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17952 wine_fn_config_test dlls/urlmon/tests urlmon_test
17953 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17954 wine_fn_config_dll user.exe16 enable_win16
17955 wine_fn_config_dll user32 enable_user32 clean,implib,po
17956 wine_fn_config_test dlls/user32/tests user32_test
17957 wine_fn_config_dll userenv enable_userenv implib
17958 wine_fn_config_test dlls/userenv/tests userenv_test
17959 wine_fn_config_dll usp10 enable_usp10 implib
17960 wine_fn_config_test dlls/usp10/tests usp10_test
17961 wine_fn_config_lib uuid
17962 wine_fn_config_dll uxtheme enable_uxtheme implib
17963 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17964 wine_fn_config_dll vbscript enable_vbscript clean
17965 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17966 wine_fn_config_dll vcomp enable_vcomp
17967 wine_fn_config_test dlls/vcomp/tests vcomp_test
17968 wine_fn_config_dll vcomp100 enable_vcomp100
17969 wine_fn_config_dll vcomp110 enable_vcomp110
17970 wine_fn_config_dll vcomp120 enable_vcomp120
17971 wine_fn_config_dll vcomp90 enable_vcomp90
17972 wine_fn_config_dll vcruntime140 enable_vcruntime140
17973 wine_fn_config_dll vdhcp.vxd enable_win16
17974 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17975 wine_fn_config_dll ver.dll16 enable_win16
17976 wine_fn_config_dll version enable_version implib
17977 wine_fn_config_test dlls/version/tests version_test
17978 wine_fn_config_dll vmm.vxd enable_win16
17979 wine_fn_config_dll vnbt.vxd enable_win16
17980 wine_fn_config_dll vnetbios.vxd enable_win16
17981 wine_fn_config_dll vssapi enable_vssapi
17982 wine_fn_config_dll vtdapi.vxd enable_win16
17983 wine_fn_config_dll vwin32.vxd enable_win16
17984 wine_fn_config_dll w32skrnl enable_win16
17985 wine_fn_config_dll w32sys.dll16 enable_win16
17986 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17987 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17988 wine_fn_config_dll wbemprox enable_wbemprox clean
17989 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17990 wine_fn_config_dll webservices enable_webservices implib
17991 wine_fn_config_test dlls/webservices/tests webservices_test
17992 wine_fn_config_dll wer enable_wer implib
17993 wine_fn_config_test dlls/wer/tests wer_test
17994 wine_fn_config_dll wevtapi enable_wevtapi
17995 wine_fn_config_dll wiaservc enable_wiaservc clean
17996 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17997 wine_fn_config_dll wimgapi enable_wimgapi
17998 wine_fn_config_dll win32s16.dll16 enable_win16
17999 wine_fn_config_dll win87em.dll16 enable_win16
18000 wine_fn_config_dll winaspi.dll16 enable_win16
18001 wine_fn_config_dll windebug.dll16 enable_win16
18002 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18003 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18004 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18005 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18006 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18007 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18008 wine_fn_config_lib winecrt0
18009 wine_fn_config_dll wined3d enable_wined3d implib
18010 wine_fn_config_dll winegstreamer enable_winegstreamer
18011 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18012 wine_fn_config_dll winemac.drv enable_winemac_drv po
18013 wine_fn_config_dll winemapi enable_winemapi
18014 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18015 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18016 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18017 wine_fn_config_dll wineps16.drv16 enable_win16
18018 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18019 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18020 wine_fn_config_dll winex11.drv enable_winex11_drv
18021 wine_fn_config_dll wing.dll16 enable_win16
18022 wine_fn_config_dll wing32 enable_wing32
18023 wine_fn_config_dll winhttp enable_winhttp clean,implib
18024 wine_fn_config_test dlls/winhttp/tests winhttp_test
18025 wine_fn_config_dll wininet enable_wininet implib,po
18026 wine_fn_config_test dlls/wininet/tests wininet_test
18027 wine_fn_config_dll winmm enable_winmm implib,po
18028 wine_fn_config_test dlls/winmm/tests winmm_test
18029 wine_fn_config_dll winnls.dll16 enable_win16
18030 wine_fn_config_dll winnls32 enable_winnls32 implib
18031 wine_fn_config_dll winscard enable_winscard implib
18032 wine_fn_config_dll winsock.dll16 enable_win16
18033 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18034 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18035 wine_fn_config_dll winsta enable_winsta
18036 wine_fn_config_dll wintab.dll16 enable_win16
18037 wine_fn_config_dll wintab32 enable_wintab32 implib
18038 wine_fn_config_test dlls/wintab32/tests wintab32_test
18039 wine_fn_config_dll wintrust enable_wintrust implib
18040 wine_fn_config_test dlls/wintrust/tests wintrust_test
18041 wine_fn_config_dll wlanapi enable_wlanapi
18042 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18043 wine_fn_config_test dlls/wldap32/tests wldap32_test
18044 wine_fn_config_dll wmi enable_wmi
18045 wine_fn_config_dll wmiutils enable_wmiutils clean
18046 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18047 wine_fn_config_dll wmp enable_wmp clean
18048 wine_fn_config_test dlls/wmp/tests wmp_test
18049 wine_fn_config_dll wmvcore enable_wmvcore
18050 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18051 wine_fn_config_dll wow32 enable_win16 implib
18052 wine_fn_config_dll wpcap enable_wpcap
18053 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18054 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18055 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18056 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18057 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18058 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18059 wine_fn_config_dll wsock32 enable_wsock32 implib
18060 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18061 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18062 wine_fn_config_dll wuapi enable_wuapi clean
18063 wine_fn_config_dll wuaueng enable_wuaueng
18064 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18065 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18066 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18067 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18068 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18069 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18070 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18071 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18072 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18073 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18074 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18075 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18076 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18077 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18078 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18079 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18080 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18081 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18082 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18083 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18084 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18085 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18086 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18087 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18088 wine_fn_config_dll xinput1_1 enable_xinput1_1
18089 wine_fn_config_dll xinput1_2 enable_xinput1_2
18090 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18091 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18092 wine_fn_config_dll xinput1_4 enable_xinput1_4
18093 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18094 wine_fn_config_dll xmllite enable_xmllite implib
18095 wine_fn_config_test dlls/xmllite/tests xmllite_test
18096 wine_fn_config_dll xolehlp enable_xolehlp
18097 wine_fn_config_dll xpsprint enable_xpsprint
18098 wine_fn_config_dll xpssvcs enable_xpssvcs
18099 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18100 wine_fn_config_makefile include enable_include clean,install-dev
18101 wine_fn_config_makefile libs/port enable_libs_port
18102 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18103 wine_fn_config_makefile libs/wpp enable_libs_wpp
18104 wine_fn_config_makefile loader enable_loader clean,install-lib
18105 wine_fn_config_program arp enable_arp install
18106 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18107 wine_fn_config_program attrib enable_attrib install,po
18108 wine_fn_config_program cabarc enable_cabarc install
18109 wine_fn_config_program cacls enable_cacls install
18110 wine_fn_config_program clock enable_clock install,po
18111 wine_fn_config_program cmd enable_cmd install,po
18112 wine_fn_config_test programs/cmd/tests cmd.exe_test
18113 wine_fn_config_program conhost enable_conhost install
18114 wine_fn_config_program control enable_control install
18115 wine_fn_config_program cscript enable_cscript clean,install
18116 wine_fn_config_program dpnsvr enable_dpnsvr install
18117 wine_fn_config_program dxdiag enable_dxdiag install,po
18118 wine_fn_config_program eject enable_eject install
18119 wine_fn_config_program expand enable_expand install
18120 wine_fn_config_program explorer enable_explorer install,po
18121 wine_fn_config_program extrac32 enable_extrac32 install
18122 wine_fn_config_program findstr enable_findstr install
18123 wine_fn_config_program hh enable_hh install
18124 wine_fn_config_program hostname enable_hostname install,po
18125 wine_fn_config_program icacls enable_icacls install
18126 wine_fn_config_program icinfo enable_icinfo install
18127 wine_fn_config_program iexplore enable_iexplore install
18128 wine_fn_config_program ipconfig enable_ipconfig install,po
18129 wine_fn_config_program lodctr enable_lodctr install
18130 wine_fn_config_program mofcomp enable_mofcomp install
18131 wine_fn_config_program mshta enable_mshta install
18132 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18133 wine_fn_config_program net enable_net install,po
18134 wine_fn_config_program netsh enable_netsh install
18135 wine_fn_config_program netstat enable_netstat install,po
18136 wine_fn_config_program ngen enable_ngen install
18137 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18138 wine_fn_config_program oleview enable_oleview install,po
18139 wine_fn_config_program ping enable_ping install
18140 wine_fn_config_program plugplay enable_plugplay install
18141 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18142 wine_fn_config_program progman enable_progman install,po
18143 wine_fn_config_program reg enable_reg install,po
18144 wine_fn_config_test programs/reg/tests reg.exe_test
18145 wine_fn_config_program regasm enable_regasm install
18146 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18147 wine_fn_config_test programs/regedit/tests regedit.exe_test
18148 wine_fn_config_program regsvcs enable_regsvcs install
18149 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18150 wine_fn_config_program rpcss enable_rpcss clean,install
18151 wine_fn_config_program rundll.exe16 enable_win16 install
18152 wine_fn_config_program rundll32 enable_rundll32 install
18153 wine_fn_config_program sc enable_sc install
18154 wine_fn_config_program schtasks enable_schtasks install
18155 wine_fn_config_program sdbinst enable_sdbinst install
18156 wine_fn_config_program secedit enable_secedit install
18157 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18158 wine_fn_config_program services enable_services clean,install
18159 wine_fn_config_test programs/services/tests services.exe_test
18160 wine_fn_config_program spoolsv enable_spoolsv install
18161 wine_fn_config_program start enable_start install,po
18162 wine_fn_config_program svchost enable_svchost install
18163 wine_fn_config_program systeminfo enable_systeminfo install
18164 wine_fn_config_program taskkill enable_taskkill install,po
18165 wine_fn_config_program tasklist enable_tasklist install
18166 wine_fn_config_program taskmgr enable_taskmgr install,po
18167 wine_fn_config_program termsv enable_termsv install
18168 wine_fn_config_program uninstaller enable_uninstaller install,po
18169 wine_fn_config_program unlodctr enable_unlodctr install
18170 wine_fn_config_program view enable_view install,po
18171 wine_fn_config_program wevtutil enable_wevtutil install
18172 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18173 wine_fn_config_program winebrowser enable_winebrowser install
18174 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18175 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18176 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18177 wine_fn_config_program winedevice enable_winedevice install
18178 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18179 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18180 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18181 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18182 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18183 wine_fn_config_program winetest enable_winetest clean
18184 wine_fn_config_program winevdm enable_win16 install
18185 wine_fn_config_program winhelp.exe16 enable_win16 install
18186 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18187 wine_fn_config_program winoldap.mod16 enable_win16 install
18188 wine_fn_config_program winver enable_winver install
18189 wine_fn_config_program wmic enable_wmic install,po
18190 wine_fn_config_program wmplayer enable_wmplayer install
18191 wine_fn_config_program wordpad enable_wordpad install,po
18192 wine_fn_config_program write enable_write install,po
18193 wine_fn_config_program wscript enable_wscript clean,install
18194 wine_fn_config_test programs/wscript/tests wscript.exe_test
18195 wine_fn_config_program wusa enable_wusa install
18196 wine_fn_config_program xcopy enable_xcopy install,po
18197 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18198 wine_fn_config_makefile server enable_server clean,install-lib
18199 wine_fn_config_tool tools clean
18200 wine_fn_config_tool tools/sfnt2fon clean
18201 wine_fn_config_tool tools/widl clean,install-dev
18202 wine_fn_config_tool tools/winebuild clean,install-dev
18203 wine_fn_config_tool tools/winedump clean,install-dev
18204 wine_fn_config_tool tools/winegcc clean,install-dev
18205 wine_fn_config_tool tools/winemaker clean,install-dev
18206 wine_fn_config_tool tools/wmc clean,install-dev
18207 wine_fn_config_tool tools/wrc clean,install-dev
18209 LINGUAS="\
18210 ar \
18211 bg \
18212 ca \
18213 cs \
18214 da \
18215 de \
18216 el \
18217 en \
18218 en_US \
18219 eo \
18220 es \
18221 fa \
18222 fi \
18223 fr \
18224 he \
18225 hi \
18226 hr \
18227 hu \
18228 it \
18229 ja \
18230 ko \
18231 lt \
18232 ml \
18233 nb_NO \
18234 nl \
18235 or \
18236 pa \
18237 pl \
18238 pt_BR \
18239 pt_PT \
18240 rm \
18241 ro \
18242 ru \
18243 sk \
18244 sl \
18245 sr_RS@cyrillic \
18246 sr_RS@latin \
18247 sv \
18248 te \
18249 th \
18250 tr \
18251 uk \
18252 wa \
18253 zh_CN \
18254 zh_TW"
18259 wine_fn_ignore_file ".gitignore"
18260 wine_fn_ignore_file "Makefile"
18261 wine_fn_ignore_file "TAGS"
18262 wine_fn_ignore_file "tags"
18263 wine_fn_ignore_file "autom4te.cache"
18264 wine_fn_ignore_file "config.cache"
18265 wine_fn_ignore_file "config.log"
18266 wine_fn_ignore_file "config.status"
18267 wine_fn_ignore_file "configure.lineno"
18268 wine_fn_ignore_file "include/config.h"
18269 wine_fn_ignore_file "include/stamp-h"
18270 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18272 if test "x$enable_tools" != xno
18273 then
18274 wine_fn_ignore_file "tools/makedep$ac_exeext"
18275 ac_config_commands="$ac_config_commands tools/makedep"
18279 ac_config_commands="$ac_config_commands Makefile"
18282 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18286 if test "x$enable_maintainer_mode" = xyes
18287 then
18288 wine_fn_append_rule "configure: configure.ac aclocal.m4
18289 autoconf --warnings=all
18290 include/config.h.in: include/stamp-h.in
18291 include/stamp-h.in: configure.ac aclocal.m4
18292 autoheader --warnings=all
18293 @echo timestamp > \$@"
18296 if test "x$with_gettextpo" = xyes
18297 then
18298 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18299 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18300 \$(LINGUAS:%=po/%.po): po/wine.pot
18301 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18302 po/wine.pot: \$(ALL_POT_FILES)
18303 msgcat -o \$@ \$(ALL_POT_FILES)"
18306 if test "$MSGFMT" != false
18307 then
18308 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18309 clean::
18310 \$(RM) \$(LINGUAS:%=po/%.mo)"
18312 posrc="po"
18313 test "$srcdir" = . || posrc="$srcdir/po"
18314 for i in $LINGUAS
18316 wine_fn_ignore_file "po/$i.mo"
18317 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18318 \$(MSGFMT) -o \$@ $posrc/$i.po"
18319 done
18320 else
18321 LINGUAS=
18324 if test "x$enable_tools" != xno
18325 then
18326 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18327 @./config.status tools/makedep
18328 Makefile: tools/makedep$ac_exeext
18329 distclean:: clean
18330 \$(RM) tools/makedep$ac_exeext"
18331 else
18332 wine_fn_append_rule "\$(MAKEDEP):
18333 @echo \"You need to run make in $TOOLSDIR first\" && false"
18336 if test -n "$with_wine64"
18337 then
18338 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18339 fonts server tools:
18340 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18341 $with_wine64/loader/wine:
18342 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18343 $with_wine64/loader/wine-preloader:
18344 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18345 clean::
18346 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18347 else
18348 WINELOADER_INSTALL="wine.inf"
18350 wine_fn_append_rule "install install-lib::
18351 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18352 uninstall::
18353 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18354 case $host_os in
18355 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18356 *) wine_fn_append_rule "install install-lib::
18357 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18358 uninstall::
18359 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18360 esac
18363 if test "$srcdir" = .
18364 then
18365 ac_config_commands="$ac_config_commands .gitignore"
18369 $as_echo " done" >&6
18370 cat >confcache <<\_ACEOF
18371 # This file is a shell script that caches the results of configure
18372 # tests run on this system so they can be shared between configure
18373 # scripts and configure runs, see configure's option --config-cache.
18374 # It is not useful on other systems. If it contains results you don't
18375 # want to keep, you may remove or edit it.
18377 # config.status only pays attention to the cache file if you give it
18378 # the --recheck option to rerun configure.
18380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18382 # following values.
18384 _ACEOF
18386 # The following way of writing the cache mishandles newlines in values,
18387 # but we know of no workaround that is simple, portable, and efficient.
18388 # So, we kill variables containing newlines.
18389 # Ultrix sh set writes to stderr and can't be redirected directly,
18390 # and sets the high bit in the cache file unless we assign to the vars.
18392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18393 eval ac_val=\$$ac_var
18394 case $ac_val in #(
18395 *${as_nl}*)
18396 case $ac_var in #(
18397 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18399 esac
18400 case $ac_var in #(
18401 _ | IFS | as_nl) ;; #(
18402 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18403 *) { eval $ac_var=; unset $ac_var;} ;;
18404 esac ;;
18405 esac
18406 done
18408 (set) 2>&1 |
18409 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18410 *${as_nl}ac_space=\ *)
18411 # `set' does not quote correctly, so add quotes: double-quote
18412 # substitution turns \\\\ into \\, and sed turns \\ into \.
18413 sed -n \
18414 "s/'/'\\\\''/g;
18415 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18416 ;; #(
18418 # `set' quotes correctly as required by POSIX, so do not add quotes.
18419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18421 esac |
18422 sort
18424 sed '
18425 /^ac_cv_env_/b end
18426 t clear
18427 :clear
18428 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18429 t end
18430 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18431 :end' >>confcache
18432 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18433 if test -w "$cache_file"; then
18434 if test "x$cache_file" != "x/dev/null"; then
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18436 $as_echo "$as_me: updating cache $cache_file" >&6;}
18437 if test ! -f "$cache_file" || test -h "$cache_file"; then
18438 cat confcache >"$cache_file"
18439 else
18440 case $cache_file in #(
18441 */* | ?:*)
18442 mv -f confcache "$cache_file"$$ &&
18443 mv -f "$cache_file"$$ "$cache_file" ;; #(
18445 mv -f confcache "$cache_file" ;;
18446 esac
18449 else
18450 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18451 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18454 rm -f confcache
18456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18457 # Let make expand exec_prefix.
18458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18460 DEFS=-DHAVE_CONFIG_H
18462 ac_libobjs=
18463 ac_ltlibobjs=
18465 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18466 # 1. Remove the extension, and $U if already installed.
18467 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18468 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18469 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18470 # will be set to the directory where LIBOBJS objects are built.
18471 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18472 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18473 done
18474 LIBOBJS=$ac_libobjs
18476 LTLIBOBJS=$ac_ltlibobjs
18480 : "${CONFIG_STATUS=./config.status}"
18481 ac_write_fail=0
18482 ac_clean_files_save=$ac_clean_files
18483 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18485 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18486 as_write_fail=0
18487 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18488 #! $SHELL
18489 # Generated by $as_me.
18490 # Run this file to recreate the current configuration.
18491 # Compiler output produced by configure, useful for debugging
18492 # configure, is in config.log if it exists.
18494 debug=false
18495 ac_cs_recheck=false
18496 ac_cs_silent=false
18498 SHELL=\${CONFIG_SHELL-$SHELL}
18499 export SHELL
18500 _ASEOF
18501 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18502 ## -------------------- ##
18503 ## M4sh Initialization. ##
18504 ## -------------------- ##
18506 # Be more Bourne compatible
18507 DUALCASE=1; export DUALCASE # for MKS sh
18508 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18509 emulate sh
18510 NULLCMD=:
18511 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18512 # is contrary to our usage. Disable this feature.
18513 alias -g '${1+"$@"}'='"$@"'
18514 setopt NO_GLOB_SUBST
18515 else
18516 case `(set -o) 2>/dev/null` in #(
18517 *posix*) :
18518 set -o posix ;; #(
18519 *) :
18521 esac
18525 as_nl='
18527 export as_nl
18528 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18529 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18530 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18531 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18532 # Prefer a ksh shell builtin over an external printf program on Solaris,
18533 # but without wasting forks for bash or zsh.
18534 if test -z "$BASH_VERSION$ZSH_VERSION" \
18535 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18536 as_echo='print -r --'
18537 as_echo_n='print -rn --'
18538 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18539 as_echo='printf %s\n'
18540 as_echo_n='printf %s'
18541 else
18542 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18543 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18544 as_echo_n='/usr/ucb/echo -n'
18545 else
18546 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18547 as_echo_n_body='eval
18548 arg=$1;
18549 case $arg in #(
18550 *"$as_nl"*)
18551 expr "X$arg" : "X\\(.*\\)$as_nl";
18552 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18553 esac;
18554 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18556 export as_echo_n_body
18557 as_echo_n='sh -c $as_echo_n_body as_echo'
18559 export as_echo_body
18560 as_echo='sh -c $as_echo_body as_echo'
18563 # The user is always right.
18564 if test "${PATH_SEPARATOR+set}" != set; then
18565 PATH_SEPARATOR=:
18566 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18567 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18568 PATH_SEPARATOR=';'
18573 # IFS
18574 # We need space, tab and new line, in precisely that order. Quoting is
18575 # there to prevent editors from complaining about space-tab.
18576 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18577 # splitting by setting IFS to empty value.)
18578 IFS=" "" $as_nl"
18580 # Find who we are. Look in the path if we contain no directory separator.
18581 as_myself=
18582 case $0 in #((
18583 *[\\/]* ) as_myself=$0 ;;
18584 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18585 for as_dir in $PATH
18587 IFS=$as_save_IFS
18588 test -z "$as_dir" && as_dir=.
18589 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18590 done
18591 IFS=$as_save_IFS
18594 esac
18595 # We did not find ourselves, most probably we were run as `sh COMMAND'
18596 # in which case we are not to be found in the path.
18597 if test "x$as_myself" = x; then
18598 as_myself=$0
18600 if test ! -f "$as_myself"; then
18601 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18602 exit 1
18605 # Unset variables that we do not need and which cause bugs (e.g. in
18606 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18607 # suppresses any "Segmentation fault" message there. '((' could
18608 # trigger a bug in pdksh 5.2.14.
18609 for as_var in BASH_ENV ENV MAIL MAILPATH
18610 do eval test x\${$as_var+set} = xset \
18611 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18612 done
18613 PS1='$ '
18614 PS2='> '
18615 PS4='+ '
18617 # NLS nuisances.
18618 LC_ALL=C
18619 export LC_ALL
18620 LANGUAGE=C
18621 export LANGUAGE
18623 # CDPATH.
18624 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18627 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18628 # ----------------------------------------
18629 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18630 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18631 # script with STATUS, using 1 if that was 0.
18632 as_fn_error ()
18634 as_status=$1; test $as_status -eq 0 && as_status=1
18635 if test "$4"; then
18636 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18637 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18639 $as_echo "$as_me: error: $2" >&2
18640 as_fn_exit $as_status
18641 } # as_fn_error
18644 # as_fn_set_status STATUS
18645 # -----------------------
18646 # Set $? to STATUS, without forking.
18647 as_fn_set_status ()
18649 return $1
18650 } # as_fn_set_status
18652 # as_fn_exit STATUS
18653 # -----------------
18654 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18655 as_fn_exit ()
18657 set +e
18658 as_fn_set_status $1
18659 exit $1
18660 } # as_fn_exit
18662 # as_fn_unset VAR
18663 # ---------------
18664 # Portably unset VAR.
18665 as_fn_unset ()
18667 { eval $1=; unset $1;}
18669 as_unset=as_fn_unset
18670 # as_fn_append VAR VALUE
18671 # ----------------------
18672 # Append the text in VALUE to the end of the definition contained in VAR. Take
18673 # advantage of any shell optimizations that allow amortized linear growth over
18674 # repeated appends, instead of the typical quadratic growth present in naive
18675 # implementations.
18676 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18677 eval 'as_fn_append ()
18679 eval $1+=\$2
18681 else
18682 as_fn_append ()
18684 eval $1=\$$1\$2
18686 fi # as_fn_append
18688 # as_fn_arith ARG...
18689 # ------------------
18690 # Perform arithmetic evaluation on the ARGs, and store the result in the
18691 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18692 # must be portable across $(()) and expr.
18693 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18694 eval 'as_fn_arith ()
18696 as_val=$(( $* ))
18698 else
18699 as_fn_arith ()
18701 as_val=`expr "$@" || test $? -eq 1`
18703 fi # as_fn_arith
18706 if expr a : '\(a\)' >/dev/null 2>&1 &&
18707 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18708 as_expr=expr
18709 else
18710 as_expr=false
18713 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18714 as_basename=basename
18715 else
18716 as_basename=false
18719 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18720 as_dirname=dirname
18721 else
18722 as_dirname=false
18725 as_me=`$as_basename -- "$0" ||
18726 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18727 X"$0" : 'X\(//\)$' \| \
18728 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18729 $as_echo X/"$0" |
18730 sed '/^.*\/\([^/][^/]*\)\/*$/{
18731 s//\1/
18734 /^X\/\(\/\/\)$/{
18735 s//\1/
18738 /^X\/\(\/\).*/{
18739 s//\1/
18742 s/.*/./; q'`
18744 # Avoid depending upon Character Ranges.
18745 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18746 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18747 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18748 as_cr_digits='0123456789'
18749 as_cr_alnum=$as_cr_Letters$as_cr_digits
18751 ECHO_C= ECHO_N= ECHO_T=
18752 case `echo -n x` in #(((((
18753 -n*)
18754 case `echo 'xy\c'` in
18755 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18756 xy) ECHO_C='\c';;
18757 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18758 ECHO_T=' ';;
18759 esac;;
18761 ECHO_N='-n';;
18762 esac
18764 rm -f conf$$ conf$$.exe conf$$.file
18765 if test -d conf$$.dir; then
18766 rm -f conf$$.dir/conf$$.file
18767 else
18768 rm -f conf$$.dir
18769 mkdir conf$$.dir 2>/dev/null
18771 if (echo >conf$$.file) 2>/dev/null; then
18772 if ln -s conf$$.file conf$$ 2>/dev/null; then
18773 as_ln_s='ln -s'
18774 # ... but there are two gotchas:
18775 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18776 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18777 # In both cases, we have to default to `cp -pR'.
18778 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18779 as_ln_s='cp -pR'
18780 elif ln conf$$.file conf$$ 2>/dev/null; then
18781 as_ln_s=ln
18782 else
18783 as_ln_s='cp -pR'
18785 else
18786 as_ln_s='cp -pR'
18788 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18789 rmdir conf$$.dir 2>/dev/null
18792 # as_fn_mkdir_p
18793 # -------------
18794 # Create "$as_dir" as a directory, including parents if necessary.
18795 as_fn_mkdir_p ()
18798 case $as_dir in #(
18799 -*) as_dir=./$as_dir;;
18800 esac
18801 test -d "$as_dir" || eval $as_mkdir_p || {
18802 as_dirs=
18803 while :; do
18804 case $as_dir in #(
18805 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18806 *) as_qdir=$as_dir;;
18807 esac
18808 as_dirs="'$as_qdir' $as_dirs"
18809 as_dir=`$as_dirname -- "$as_dir" ||
18810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18811 X"$as_dir" : 'X\(//\)[^/]' \| \
18812 X"$as_dir" : 'X\(//\)$' \| \
18813 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18814 $as_echo X"$as_dir" |
18815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18816 s//\1/
18819 /^X\(\/\/\)[^/].*/{
18820 s//\1/
18823 /^X\(\/\/\)$/{
18824 s//\1/
18827 /^X\(\/\).*/{
18828 s//\1/
18831 s/.*/./; q'`
18832 test -d "$as_dir" && break
18833 done
18834 test -z "$as_dirs" || eval "mkdir $as_dirs"
18835 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18838 } # as_fn_mkdir_p
18839 if mkdir -p . 2>/dev/null; then
18840 as_mkdir_p='mkdir -p "$as_dir"'
18841 else
18842 test -d ./-p && rmdir ./-p
18843 as_mkdir_p=false
18847 # as_fn_executable_p FILE
18848 # -----------------------
18849 # Test if FILE is an executable regular file.
18850 as_fn_executable_p ()
18852 test -f "$1" && test -x "$1"
18853 } # as_fn_executable_p
18854 as_test_x='test -x'
18855 as_executable_p=as_fn_executable_p
18857 # Sed expression to map a string onto a valid CPP name.
18858 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18860 # Sed expression to map a string onto a valid variable name.
18861 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18864 exec 6>&1
18865 ## ----------------------------------- ##
18866 ## Main body of $CONFIG_STATUS script. ##
18867 ## ----------------------------------- ##
18868 _ASEOF
18869 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18872 # Save the log message, to keep $0 and so on meaningful, and to
18873 # report actual input values of CONFIG_FILES etc. instead of their
18874 # values after options handling.
18875 ac_log="
18876 This file was extended by Wine $as_me 1.9.3, which was
18877 generated by GNU Autoconf 2.69. Invocation command line was
18879 CONFIG_FILES = $CONFIG_FILES
18880 CONFIG_HEADERS = $CONFIG_HEADERS
18881 CONFIG_LINKS = $CONFIG_LINKS
18882 CONFIG_COMMANDS = $CONFIG_COMMANDS
18883 $ $0 $@
18885 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18888 _ACEOF
18890 case $ac_config_files in *"
18891 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18892 esac
18894 case $ac_config_headers in *"
18895 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18896 esac
18899 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18900 # Files that config.status was made for.
18901 config_files="$ac_config_files"
18902 config_headers="$ac_config_headers"
18903 config_links="$ac_config_links"
18904 config_commands="$ac_config_commands"
18906 _ACEOF
18908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18909 ac_cs_usage="\
18910 \`$as_me' instantiates files and other configuration actions
18911 from templates according to the current configuration. Unless the files
18912 and actions are specified as TAGs, all are instantiated by default.
18914 Usage: $0 [OPTION]... [TAG]...
18916 -h, --help print this help, then exit
18917 -V, --version print version number and configuration settings, then exit
18918 --config print configuration, then exit
18919 -q, --quiet, --silent
18920 do not print progress messages
18921 -d, --debug don't remove temporary files
18922 --recheck update $as_me by reconfiguring in the same conditions
18923 --file=FILE[:TEMPLATE]
18924 instantiate the configuration file FILE
18925 --header=FILE[:TEMPLATE]
18926 instantiate the configuration header FILE
18928 Configuration files:
18929 $config_files
18931 Configuration headers:
18932 $config_headers
18934 Configuration links:
18935 $config_links
18937 Configuration commands:
18938 $config_commands
18940 Report bugs to <wine-devel@winehq.org>.
18941 Wine home page: <http://www.winehq.org>."
18943 _ACEOF
18944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18945 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18946 ac_cs_version="\\
18947 Wine config.status 1.9.3
18948 configured by $0, generated by GNU Autoconf 2.69,
18949 with options \\"\$ac_cs_config\\"
18951 Copyright (C) 2012 Free Software Foundation, Inc.
18952 This config.status script is free software; the Free Software Foundation
18953 gives unlimited permission to copy, distribute and modify it."
18955 ac_pwd='$ac_pwd'
18956 srcdir='$srcdir'
18957 test -n "\$AWK" || AWK=awk
18958 _ACEOF
18960 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18961 # The default lists apply if the user does not specify any file.
18962 ac_need_defaults=:
18963 while test $# != 0
18965 case $1 in
18966 --*=?*)
18967 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18968 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18969 ac_shift=:
18971 --*=)
18972 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18973 ac_optarg=
18974 ac_shift=:
18977 ac_option=$1
18978 ac_optarg=$2
18979 ac_shift=shift
18981 esac
18983 case $ac_option in
18984 # Handling of the options.
18985 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18986 ac_cs_recheck=: ;;
18987 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18988 $as_echo "$ac_cs_version"; exit ;;
18989 --config | --confi | --conf | --con | --co | --c )
18990 $as_echo "$ac_cs_config"; exit ;;
18991 --debug | --debu | --deb | --de | --d | -d )
18992 debug=: ;;
18993 --file | --fil | --fi | --f )
18994 $ac_shift
18995 case $ac_optarg in
18996 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18997 '') as_fn_error $? "missing file argument" ;;
18998 esac
18999 as_fn_append CONFIG_FILES " '$ac_optarg'"
19000 ac_need_defaults=false;;
19001 --header | --heade | --head | --hea )
19002 $ac_shift
19003 case $ac_optarg in
19004 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19005 esac
19006 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19007 ac_need_defaults=false;;
19008 --he | --h)
19009 # Conflict between --help and --header
19010 as_fn_error $? "ambiguous option: \`$1'
19011 Try \`$0 --help' for more information.";;
19012 --help | --hel | -h )
19013 $as_echo "$ac_cs_usage"; exit ;;
19014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19016 ac_cs_silent=: ;;
19018 # This is an error.
19019 -*) as_fn_error $? "unrecognized option: \`$1'
19020 Try \`$0 --help' for more information." ;;
19022 *) as_fn_append ac_config_targets " $1"
19023 ac_need_defaults=false ;;
19025 esac
19026 shift
19027 done
19029 ac_configure_extra_args=
19031 if $ac_cs_silent; then
19032 exec 6>/dev/null
19033 ac_configure_extra_args="$ac_configure_extra_args --silent"
19036 _ACEOF
19037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19038 if \$ac_cs_recheck; then
19039 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19040 shift
19041 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19042 CONFIG_SHELL='$SHELL'
19043 export CONFIG_SHELL
19044 exec "\$@"
19047 _ACEOF
19048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19049 exec 5>>config.log
19051 echo
19052 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19053 ## Running $as_me. ##
19054 _ASBOX
19055 $as_echo "$ac_log"
19056 } >&5
19058 _ACEOF
19059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19061 # INIT-COMMANDS
19063 wine_fn_output_makedep ()
19065 as_dir=tools; as_fn_mkdir_p
19066 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19068 wine_fn_output_makefile ()
19070 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19071 `cat $wine_rules_file`
19072 _WINE_EOF
19073 as_fn_error $? "could not create Makefile" "$LINENO" 5
19075 wine_fn_output_gitignore ()
19077 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19078 $GITIGNORE
19079 _WINE_EOF
19080 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19083 _ACEOF
19085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19087 # Handling of arguments.
19088 for ac_config_target in $ac_config_targets
19090 case $ac_config_target in
19091 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19092 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19093 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19094 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19095 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19096 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19097 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19098 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19099 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19100 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19101 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19102 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19103 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19104 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19105 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19107 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19108 esac
19109 done
19112 # If the user did not use the arguments to specify the items to instantiate,
19113 # then the envvar interface is used. Set only those that are not.
19114 # We use the long form for the default assignment because of an extremely
19115 # bizarre bug on SunOS 4.1.3.
19116 if $ac_need_defaults; then
19117 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19118 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19119 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19120 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19123 # Have a temporary directory for convenience. Make it in the build tree
19124 # simply because there is no reason against having it here, and in addition,
19125 # creating and moving files from /tmp can sometimes cause problems.
19126 # Hook for its removal unless debugging.
19127 # Note that there is a small window in which the directory will not be cleaned:
19128 # after its creation but before its name has been assigned to `$tmp'.
19129 $debug ||
19131 tmp= ac_tmp=
19132 trap 'exit_status=$?
19133 : "${ac_tmp:=$tmp}"
19134 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19136 trap 'as_fn_exit 1' 1 2 13 15
19138 # Create a (secure) tmp directory for tmp files.
19141 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19142 test -d "$tmp"
19143 } ||
19145 tmp=./conf$$-$RANDOM
19146 (umask 077 && mkdir "$tmp")
19147 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19148 ac_tmp=$tmp
19150 # Set up the scripts for CONFIG_FILES section.
19151 # No need to generate them if there are no CONFIG_FILES.
19152 # This happens for instance with `./config.status config.h'.
19153 if test -n "$CONFIG_FILES"; then
19156 ac_cr=`echo X | tr X '\015'`
19157 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19158 # But we know of no other shell where ac_cr would be empty at this
19159 # point, so we can use a bashism as a fallback.
19160 if test "x$ac_cr" = x; then
19161 eval ac_cr=\$\'\\r\'
19163 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19164 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19165 ac_cs_awk_cr='\\r'
19166 else
19167 ac_cs_awk_cr=$ac_cr
19170 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19171 _ACEOF
19175 echo "cat >conf$$subs.awk <<_ACEOF" &&
19176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19177 echo "_ACEOF"
19178 } >conf$$subs.sh ||
19179 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19181 ac_delim='%!_!# '
19182 for ac_last_try in false false false false false :; do
19183 . ./conf$$subs.sh ||
19184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19186 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19187 if test $ac_delim_n = $ac_delim_num; then
19188 break
19189 elif $ac_last_try; then
19190 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19191 else
19192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19194 done
19195 rm -f conf$$subs.sh
19197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19198 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19199 _ACEOF
19200 sed -n '
19202 s/^/S["/; s/!.*/"]=/
19205 s/^[^!]*!//
19206 :repl
19207 t repl
19208 s/'"$ac_delim"'$//
19209 t delim
19212 s/\(.\{148\}\)..*/\1/
19213 t more1
19214 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19217 b repl
19218 :more1
19219 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19222 s/.\{148\}//
19223 t nl
19224 :delim
19226 s/\(.\{148\}\)..*/\1/
19227 t more2
19228 s/["\\]/\\&/g; s/^/"/; s/$/"/
19231 :more2
19232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19235 s/.\{148\}//
19236 t delim
19237 ' <conf$$subs.awk | sed '
19238 /^[^""]/{
19240 s/\n//
19242 ' >>$CONFIG_STATUS || ac_write_fail=1
19243 rm -f conf$$subs.awk
19244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19245 _ACAWK
19246 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19247 for (key in S) S_is_set[key] = 1
19248 FS = "\a"
19252 line = $ 0
19253 nfields = split(line, field, "@")
19254 substed = 0
19255 len = length(field[1])
19256 for (i = 2; i < nfields; i++) {
19257 key = field[i]
19258 keylen = length(key)
19259 if (S_is_set[key]) {
19260 value = S[key]
19261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19262 len += length(value) + length(field[++i])
19263 substed = 1
19264 } else
19265 len += 1 + keylen
19268 print line
19271 _ACAWK
19272 _ACEOF
19273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19274 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19275 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19276 else
19278 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19279 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19280 _ACEOF
19282 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19283 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19284 # trailing colons and then remove the whole line if VPATH becomes empty
19285 # (actually we leave an empty line to preserve line numbers).
19286 if test "x$srcdir" = x.; then
19287 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19289 s///
19290 s/^/:/
19291 s/[ ]*$/:/
19292 s/:\$(srcdir):/:/g
19293 s/:\${srcdir}:/:/g
19294 s/:@srcdir@:/:/g
19295 s/^:*//
19296 s/:*$//
19298 s/\(=[ ]*\).*/\1/
19300 s/\n//
19301 s/^[^=]*=[ ]*$//
19305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19306 fi # test -n "$CONFIG_FILES"
19308 # Set up the scripts for CONFIG_HEADERS section.
19309 # No need to generate them if there are no CONFIG_HEADERS.
19310 # This happens for instance with `./config.status Makefile'.
19311 if test -n "$CONFIG_HEADERS"; then
19312 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19313 BEGIN {
19314 _ACEOF
19316 # Transform confdefs.h into an awk script `defines.awk', embedded as
19317 # here-document in config.status, that substitutes the proper values into
19318 # config.h.in to produce config.h.
19320 # Create a delimiter string that does not exist in confdefs.h, to ease
19321 # handling of long lines.
19322 ac_delim='%!_!# '
19323 for ac_last_try in false false :; do
19324 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19325 if test -z "$ac_tt"; then
19326 break
19327 elif $ac_last_try; then
19328 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19329 else
19330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19332 done
19334 # For the awk script, D is an array of macro values keyed by name,
19335 # likewise P contains macro parameters if any. Preserve backslash
19336 # newline sequences.
19338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19339 sed -n '
19340 s/.\{148\}/&'"$ac_delim"'/g
19341 t rset
19342 :rset
19343 s/^[ ]*#[ ]*define[ ][ ]*/ /
19344 t def
19346 :def
19347 s/\\$//
19348 t bsnl
19349 s/["\\]/\\&/g
19350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19351 D["\1"]=" \3"/p
19352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19354 :bsnl
19355 s/["\\]/\\&/g
19356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19357 D["\1"]=" \3\\\\\\n"\\/p
19358 t cont
19359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19360 t cont
19362 :cont
19364 s/.\{148\}/&'"$ac_delim"'/g
19365 t clear
19366 :clear
19367 s/\\$//
19368 t bsnlc
19369 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19371 :bsnlc
19372 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19373 b cont
19374 ' <confdefs.h | sed '
19375 s/'"$ac_delim"'/"\\\
19376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19379 for (key in D) D_is_set[key] = 1
19380 FS = "\a"
19382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19383 line = \$ 0
19384 split(line, arg, " ")
19385 if (arg[1] == "#") {
19386 defundef = arg[2]
19387 mac1 = arg[3]
19388 } else {
19389 defundef = substr(arg[1], 2)
19390 mac1 = arg[2]
19392 split(mac1, mac2, "(") #)
19393 macro = mac2[1]
19394 prefix = substr(line, 1, index(line, defundef) - 1)
19395 if (D_is_set[macro]) {
19396 # Preserve the white space surrounding the "#".
19397 print prefix "define", macro P[macro] D[macro]
19398 next
19399 } else {
19400 # Replace #undef with comments. This is necessary, for example,
19401 # in the case of _POSIX_SOURCE, which is predefined and required
19402 # on some systems where configure will not decide to define it.
19403 if (defundef == "undef") {
19404 print "/*", prefix defundef, macro, "*/"
19405 next
19409 { print }
19410 _ACAWK
19411 _ACEOF
19412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19413 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19414 fi # test -n "$CONFIG_HEADERS"
19417 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19418 shift
19419 for ac_tag
19421 case $ac_tag in
19422 :[FHLC]) ac_mode=$ac_tag; continue;;
19423 esac
19424 case $ac_mode$ac_tag in
19425 :[FHL]*:*);;
19426 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19427 :[FH]-) ac_tag=-:-;;
19428 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19429 esac
19430 ac_save_IFS=$IFS
19431 IFS=:
19432 set x $ac_tag
19433 IFS=$ac_save_IFS
19434 shift
19435 ac_file=$1
19436 shift
19438 case $ac_mode in
19439 :L) ac_source=$1;;
19440 :[FH])
19441 ac_file_inputs=
19442 for ac_f
19444 case $ac_f in
19445 -) ac_f="$ac_tmp/stdin";;
19446 *) # Look for the file first in the build tree, then in the source tree
19447 # (if the path is not absolute). The absolute path cannot be DOS-style,
19448 # because $ac_f cannot contain `:'.
19449 test -f "$ac_f" ||
19450 case $ac_f in
19451 [\\/$]*) false;;
19452 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19453 esac ||
19454 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19455 esac
19456 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19457 as_fn_append ac_file_inputs " '$ac_f'"
19458 done
19460 # Let's still pretend it is `configure' which instantiates (i.e., don't
19461 # use $as_me), people would be surprised to read:
19462 # /* config.h. Generated by config.status. */
19463 configure_input='Generated from '`
19464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19465 `' by configure.'
19466 if test x"$ac_file" != x-; then
19467 configure_input="$ac_file. $configure_input"
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19469 $as_echo "$as_me: creating $ac_file" >&6;}
19471 # Neutralize special characters interpreted by sed in replacement strings.
19472 case $configure_input in #(
19473 *\&* | *\|* | *\\* )
19474 ac_sed_conf_input=`$as_echo "$configure_input" |
19475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19476 *) ac_sed_conf_input=$configure_input;;
19477 esac
19479 case $ac_tag in
19480 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19481 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19482 esac
19484 esac
19486 ac_dir=`$as_dirname -- "$ac_file" ||
19487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19488 X"$ac_file" : 'X\(//\)[^/]' \| \
19489 X"$ac_file" : 'X\(//\)$' \| \
19490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19491 $as_echo X"$ac_file" |
19492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19493 s//\1/
19496 /^X\(\/\/\)[^/].*/{
19497 s//\1/
19500 /^X\(\/\/\)$/{
19501 s//\1/
19504 /^X\(\/\).*/{
19505 s//\1/
19508 s/.*/./; q'`
19509 as_dir="$ac_dir"; as_fn_mkdir_p
19510 ac_builddir=.
19512 case "$ac_dir" in
19513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19516 # A ".." for each directory in $ac_dir_suffix.
19517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19518 case $ac_top_builddir_sub in
19519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19521 esac ;;
19522 esac
19523 ac_abs_top_builddir=$ac_pwd
19524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19525 # for backward compatibility:
19526 ac_top_builddir=$ac_top_build_prefix
19528 case $srcdir in
19529 .) # We are building in place.
19530 ac_srcdir=.
19531 ac_top_srcdir=$ac_top_builddir_sub
19532 ac_abs_top_srcdir=$ac_pwd ;;
19533 [\\/]* | ?:[\\/]* ) # Absolute name.
19534 ac_srcdir=$srcdir$ac_dir_suffix;
19535 ac_top_srcdir=$srcdir
19536 ac_abs_top_srcdir=$srcdir ;;
19537 *) # Relative name.
19538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19539 ac_top_srcdir=$ac_top_build_prefix$srcdir
19540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19541 esac
19542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19545 case $ac_mode in
19548 # CONFIG_FILE
19551 _ACEOF
19553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19554 # If the template does not know about datarootdir, expand it.
19555 # FIXME: This hack should be removed a few years after 2.60.
19556 ac_datarootdir_hack=; ac_datarootdir_seen=
19557 ac_sed_dataroot='
19558 /datarootdir/ {
19562 /@datadir@/p
19563 /@docdir@/p
19564 /@infodir@/p
19565 /@localedir@/p
19566 /@mandir@/p'
19567 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19568 *datarootdir*) ac_datarootdir_seen=yes;;
19569 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19571 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19572 _ACEOF
19573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19574 ac_datarootdir_hack='
19575 s&@datadir@&$datadir&g
19576 s&@docdir@&$docdir&g
19577 s&@infodir@&$infodir&g
19578 s&@localedir@&$localedir&g
19579 s&@mandir@&$mandir&g
19580 s&\\\${datarootdir}&$datarootdir&g' ;;
19581 esac
19582 _ACEOF
19584 # Neutralize VPATH when `$srcdir' = `.'.
19585 # Shell code in configure.ac might set extrasub.
19586 # FIXME: do we really want to maintain this feature?
19587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19588 ac_sed_extra="$ac_vpsub
19589 $extrasub
19590 _ACEOF
19591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19593 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19594 s|@configure_input@|$ac_sed_conf_input|;t t
19595 s&@top_builddir@&$ac_top_builddir_sub&;t t
19596 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19597 s&@srcdir@&$ac_srcdir&;t t
19598 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19599 s&@top_srcdir@&$ac_top_srcdir&;t t
19600 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19601 s&@builddir@&$ac_builddir&;t t
19602 s&@abs_builddir@&$ac_abs_builddir&;t t
19603 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19604 $ac_datarootdir_hack
19606 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19607 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19609 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19610 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19611 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19612 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19614 which seems to be undefined. Please make sure it is defined" >&5
19615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19616 which seems to be undefined. Please make sure it is defined" >&2;}
19618 rm -f "$ac_tmp/stdin"
19619 case $ac_file in
19620 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19621 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19622 esac \
19623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19627 # CONFIG_HEADER
19629 if test x"$ac_file" != x-; then
19631 $as_echo "/* $configure_input */" \
19632 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19633 } >"$ac_tmp/config.h" \
19634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19635 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19637 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19638 else
19639 rm -f "$ac_file"
19640 mv "$ac_tmp/config.h" "$ac_file" \
19641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19643 else
19644 $as_echo "/* $configure_input */" \
19645 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19646 || as_fn_error $? "could not create -" "$LINENO" 5
19651 # CONFIG_LINK
19654 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19656 else
19657 # Prefer the file from the source tree if names are identical.
19658 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19659 ac_source=$srcdir/$ac_source
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19663 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19665 if test ! -r "$ac_source"; then
19666 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19668 rm -f "$ac_file"
19670 # Try a relative symlink, then a hard link, then a copy.
19671 case $ac_source in
19672 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19673 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19674 esac
19675 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19676 ln "$ac_source" "$ac_file" 2>/dev/null ||
19677 cp -p "$ac_source" "$ac_file" ||
19678 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19681 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19682 $as_echo "$as_me: executing $ac_file commands" >&6;}
19684 esac
19687 case $ac_file$ac_mode in
19688 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19689 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19690 "Makefile":C) wine_fn_output_makefile Makefile ;;
19691 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19693 esac
19694 done # for ac_tag
19697 as_fn_exit 0
19698 _ACEOF
19699 ac_clean_files=$ac_clean_files_save
19701 test $ac_write_fail = 0 ||
19702 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19705 # configure is writing to config.log, and then calls config.status.
19706 # config.status does its own redirection, appending to config.log.
19707 # Unfortunately, on DOS this fails, as config.log is still kept open
19708 # by configure, so config.status won't be able to write to it; its
19709 # output is simply discarded. So we exec the FD to /dev/null,
19710 # effectively closing config.log, so it can be properly (re)opened and
19711 # appended to by config.status. When coming back to configure, we
19712 # need to make the FD available again.
19713 if test "$no_create" != yes; then
19714 ac_cs_success=:
19715 ac_config_status_args=
19716 test "$silent" = yes &&
19717 ac_config_status_args="$ac_config_status_args --quiet"
19718 exec 5>/dev/null
19719 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19720 exec 5>>config.log
19721 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19722 # would make configure fail if this is the last instruction.
19723 $ac_cs_success || as_fn_exit 1
19725 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19727 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19731 if test "$no_create" = "yes"
19732 then
19733 exit 0
19736 ac_save_IFS="$IFS"
19737 if test "x$wine_notices" != x; then
19738 echo >&6
19739 IFS="|"
19740 for msg in $wine_notices; do
19741 IFS="$ac_save_IFS"
19742 if ${msg:+false} :; then :
19744 else
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19746 $as_echo "$as_me: $msg" >&6;}
19748 done
19750 IFS="|"
19751 for msg in $wine_warnings; do
19752 IFS="$ac_save_IFS"
19753 if ${msg:+false} :; then :
19755 else
19756 echo >&2
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19758 $as_echo "$as_me: WARNING: $msg" >&2;}
19760 done
19761 IFS="$ac_save_IFS"
19763 $as_echo "
19764 $as_me: Finished. Do '${ac_make}' to compile Wine.
19765 " >&6