d3d9: Use wined3d_texture_get_sub_resource_desc() in d3d9_texture_2d_GetLevelDesc().
[wine.git] / configure
blob02ba099b50329ca3535ff40d41d51db26103a6c9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.4.
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.4'
584 PACKAGE_STRING='Wine 1.9.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l2_1_0
890 enable_api_ms_win_core_file_l2_1_1
891 enable_api_ms_win_core_handle_l1_1_0
892 enable_api_ms_win_core_heap_l1_1_0
893 enable_api_ms_win_core_heap_l1_2_0
894 enable_api_ms_win_core_heap_obsolete_l1_1_0
895 enable_api_ms_win_core_interlocked_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_2_0
897 enable_api_ms_win_core_io_l1_1_1
898 enable_api_ms_win_core_kernel32_legacy_l1_1_0
899 enable_api_ms_win_core_kernel32_legacy_l1_1_1
900 enable_api_ms_win_core_libraryloader_l1_1_0
901 enable_api_ms_win_core_libraryloader_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_2_0
903 enable_api_ms_win_core_localization_l1_1_0
904 enable_api_ms_win_core_localization_l1_2_0
905 enable_api_ms_win_core_localization_l1_2_1
906 enable_api_ms_win_core_localization_obsolete_l1_1_0
907 enable_api_ms_win_core_localregistry_l1_1_0
908 enable_api_ms_win_core_memory_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_1
910 enable_api_ms_win_core_misc_l1_1_0
911 enable_api_ms_win_core_namedpipe_l1_1_0
912 enable_api_ms_win_core_namedpipe_l1_2_0
913 enable_api_ms_win_core_path_l1_1_0
914 enable_api_ms_win_core_processenvironment_l1_1_0
915 enable_api_ms_win_core_processenvironment_l1_2_0
916 enable_api_ms_win_core_processthreads_l1_1_0
917 enable_api_ms_win_core_processthreads_l1_1_1
918 enable_api_ms_win_core_processthreads_l1_1_2
919 enable_api_ms_win_core_profile_l1_1_0
920 enable_api_ms_win_core_psapi_l1_1_0
921 enable_api_ms_win_core_registry_l1_1_0
922 enable_api_ms_win_core_rtlsupport_l1_1_0
923 enable_api_ms_win_core_rtlsupport_l1_2_0
924 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
925 enable_api_ms_win_core_string_l1_1_0
926 enable_api_ms_win_core_synch_l1_1_0
927 enable_api_ms_win_core_synch_l1_2_0
928 enable_api_ms_win_core_sysinfo_l1_1_0
929 enable_api_ms_win_core_sysinfo_l1_2_0
930 enable_api_ms_win_core_sysinfo_l1_2_1
931 enable_api_ms_win_core_threadpool_l1_2_0
932 enable_api_ms_win_core_threadpool_legacy_l1_1_0
933 enable_api_ms_win_core_timezone_l1_1_0
934 enable_api_ms_win_core_url_l1_1_0
935 enable_api_ms_win_core_util_l1_1_0
936 enable_api_ms_win_core_winrt_error_l1_1_0
937 enable_api_ms_win_core_winrt_error_l1_1_1
938 enable_api_ms_win_core_winrt_l1_1_0
939 enable_api_ms_win_core_winrt_registration_l1_1_0
940 enable_api_ms_win_core_winrt_string_l1_1_0
941 enable_api_ms_win_core_wow64_l1_1_0
942 enable_api_ms_win_core_xstate_l2_1_0
943 enable_api_ms_win_crt_conio_l1_1_0
944 enable_api_ms_win_crt_convert_l1_1_0
945 enable_api_ms_win_crt_environment_l1_1_0
946 enable_api_ms_win_crt_filesystem_l1_1_0
947 enable_api_ms_win_crt_heap_l1_1_0
948 enable_api_ms_win_crt_locale_l1_1_0
949 enable_api_ms_win_crt_math_l1_1_0
950 enable_api_ms_win_crt_multibyte_l1_1_0
951 enable_api_ms_win_crt_private_l1_1_0
952 enable_api_ms_win_crt_process_l1_1_0
953 enable_api_ms_win_crt_runtime_l1_1_0
954 enable_api_ms_win_crt_stdio_l1_1_0
955 enable_api_ms_win_crt_string_l1_1_0
956 enable_api_ms_win_crt_time_l1_1_0
957 enable_api_ms_win_crt_utility_l1_1_0
958 enable_api_ms_win_downlevel_advapi32_l1_1_0
959 enable_api_ms_win_downlevel_advapi32_l2_1_0
960 enable_api_ms_win_downlevel_normaliz_l1_1_0
961 enable_api_ms_win_downlevel_ole32_l1_1_0
962 enable_api_ms_win_downlevel_shell32_l1_1_0
963 enable_api_ms_win_downlevel_shlwapi_l1_1_0
964 enable_api_ms_win_downlevel_shlwapi_l2_1_0
965 enable_api_ms_win_downlevel_user32_l1_1_0
966 enable_api_ms_win_downlevel_version_l1_1_0
967 enable_api_ms_win_eventing_classicprovider_l1_1_0
968 enable_api_ms_win_eventing_provider_l1_1_0
969 enable_api_ms_win_ntuser_dc_access_l1_1_0
970 enable_api_ms_win_security_base_l1_1_0
971 enable_api_ms_win_security_base_l1_2_0
972 enable_api_ms_win_security_lsalookup_l1_1_0
973 enable_api_ms_win_security_lsalookup_l1_1_1
974 enable_api_ms_win_security_sddl_l1_1_0
975 enable_api_ms_win_service_core_l1_1_1
976 enable_api_ms_win_service_management_l1_1_0
977 enable_api_ms_win_service_winsvc_l1_2_0
978 enable_apphelp
979 enable_appwiz_cpl
980 enable_atl
981 enable_atl100
982 enable_atl110
983 enable_atl80
984 enable_atl90
985 enable_authz
986 enable_avicap32
987 enable_avifil32
988 enable_avrt
989 enable_bcrypt
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cfgmgr32
997 enable_clusapi
998 enable_combase
999 enable_comcat
1000 enable_comctl32
1001 enable_comdlg32
1002 enable_compstui
1003 enable_comsvcs
1004 enable_connect
1005 enable_credui
1006 enable_crtdll
1007 enable_crypt32
1008 enable_cryptdlg
1009 enable_cryptdll
1010 enable_cryptext
1011 enable_cryptnet
1012 enable_cryptui
1013 enable_ctapi32
1014 enable_ctl3d32
1015 enable_d2d1
1016 enable_d3d10
1017 enable_d3d10_1
1018 enable_d3d10core
1019 enable_d3d11
1020 enable_d3d8
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_ddraw
1076 enable_ddrawex
1077 enable_devenum
1078 enable_dhcpcsvc
1079 enable_difxapi
1080 enable_dinput
1081 enable_dinput8
1082 enable_dispex
1083 enable_dmband
1084 enable_dmcompos
1085 enable_dmime
1086 enable_dmloader
1087 enable_dmscript
1088 enable_dmstyle
1089 enable_dmsynth
1090 enable_dmusic
1091 enable_dmusic32
1092 enable_dnsapi
1093 enable_dplay
1094 enable_dplayx
1095 enable_dpnaddr
1096 enable_dpnet
1097 enable_dpnhpast
1098 enable_dpnlobby
1099 enable_dpvoice
1100 enable_dpwsockx
1101 enable_drmclien
1102 enable_dsound
1103 enable_dssenh
1104 enable_dswave
1105 enable_dwmapi
1106 enable_dwrite
1107 enable_dxdiagn
1108 enable_dxgi
1109 enable_dxva2
1110 enable_esent
1111 enable_evr
1112 enable_explorerframe
1113 enable_ext_ms_win_gdi_devcaps_l1_1_0
1114 enable_faultrep
1115 enable_fltlib
1116 enable_fltmgr_sys
1117 enable_fntcache
1118 enable_fontsub
1119 enable_fusion
1120 enable_fwpuclnt
1121 enable_gameux
1122 enable_gdi32
1123 enable_gdiplus
1124 enable_glu32
1125 enable_gphoto2_ds
1126 enable_gpkcsp
1127 enable_hal
1128 enable_hhctrl_ocx
1129 enable_hid
1130 enable_hidclass_sys
1131 enable_hlink
1132 enable_hnetcfg
1133 enable_httpapi
1134 enable_iccvid
1135 enable_icmp
1136 enable_ieframe
1137 enable_imaadp32_acm
1138 enable_imagehlp
1139 enable_imm32
1140 enable_inetcomm
1141 enable_inetcpl_cpl
1142 enable_inetmib1
1143 enable_infosoft
1144 enable_initpki
1145 enable_inkobj
1146 enable_inseng
1147 enable_iphlpapi
1148 enable_irprops_cpl
1149 enable_itircl
1150 enable_itss
1151 enable_joy_cpl
1152 enable_jscript
1153 enable_jsproxy
1154 enable_kernel32
1155 enable_ksuser
1156 enable_ktmw32
1157 enable_loadperf
1158 enable_localspl
1159 enable_localui
1160 enable_lz32
1161 enable_mapi32
1162 enable_mapistub
1163 enable_mciavi32
1164 enable_mcicda
1165 enable_mciqtz32
1166 enable_mciseq
1167 enable_mciwave
1168 enable_mf
1169 enable_mfplat
1170 enable_mfreadwrite
1171 enable_mgmtapi
1172 enable_midimap
1173 enable_mlang
1174 enable_mmcndmgr
1175 enable_mmdevapi
1176 enable_mountmgr_sys
1177 enable_mpr
1178 enable_mprapi
1179 enable_msacm32_drv
1180 enable_msacm32
1181 enable_msadp32_acm
1182 enable_msasn1
1183 enable_mscat32
1184 enable_mscms
1185 enable_mscoree
1186 enable_msctf
1187 enable_msctfp
1188 enable_msdaps
1189 enable_msdelta
1190 enable_msdmo
1191 enable_msdrm
1192 enable_msftedit
1193 enable_msg711_acm
1194 enable_msgsm32_acm
1195 enable_mshtml_tlb
1196 enable_mshtml
1197 enable_msi
1198 enable_msident
1199 enable_msimg32
1200 enable_msimsg
1201 enable_msimtf
1202 enable_msisip
1203 enable_msisys_ocx
1204 enable_msls31
1205 enable_msnet32
1206 enable_mspatcha
1207 enable_msrle32
1208 enable_msscript_ocx
1209 enable_mssign32
1210 enable_mssip32
1211 enable_mstask
1212 enable_msvcirt
1213 enable_msvcm80
1214 enable_msvcm90
1215 enable_msvcp100
1216 enable_msvcp110
1217 enable_msvcp120
1218 enable_msvcp120_app
1219 enable_msvcp60
1220 enable_msvcp70
1221 enable_msvcp71
1222 enable_msvcp80
1223 enable_msvcp90
1224 enable_msvcr100
1225 enable_msvcr110
1226 enable_msvcr120
1227 enable_msvcr120_app
1228 enable_msvcr70
1229 enable_msvcr71
1230 enable_msvcr80
1231 enable_msvcr90
1232 enable_msvcrt
1233 enable_msvcrt20
1234 enable_msvcrt40
1235 enable_msvcrtd
1236 enable_msvfw32
1237 enable_msvidc32
1238 enable_mswsock
1239 enable_msxml
1240 enable_msxml2
1241 enable_msxml3
1242 enable_msxml4
1243 enable_msxml6
1244 enable_nddeapi
1245 enable_ndis_sys
1246 enable_netapi32
1247 enable_netcfgx
1248 enable_netprofm
1249 enable_newdev
1250 enable_normaliz
1251 enable_npmshtml
1252 enable_npptools
1253 enable_ntdll
1254 enable_ntdsapi
1255 enable_ntoskrnl_exe
1256 enable_ntprint
1257 enable_objsel
1258 enable_odbc32
1259 enable_odbccp32
1260 enable_odbccu32
1261 enable_ole32
1262 enable_oleacc
1263 enable_oleaut32
1264 enable_olecli32
1265 enable_oledb32
1266 enable_oledlg
1267 enable_olepro32
1268 enable_olesvr32
1269 enable_olethk32
1270 enable_openal32
1271 enable_opencl
1272 enable_opengl32
1273 enable_packager
1274 enable_pdh
1275 enable_photometadatahandler
1276 enable_pidgen
1277 enable_powrprof
1278 enable_printui
1279 enable_prntvpt
1280 enable_propsys
1281 enable_psapi
1282 enable_pstorec
1283 enable_qcap
1284 enable_qedit
1285 enable_qmgr
1286 enable_qmgrprxy
1287 enable_quartz
1288 enable_query
1289 enable_rasapi32
1290 enable_rasdlg
1291 enable_regapi
1292 enable_resutils
1293 enable_riched20
1294 enable_riched32
1295 enable_rpcrt4
1296 enable_rsabase
1297 enable_rsaenh
1298 enable_rstrtmgr
1299 enable_rtutils
1300 enable_samlib
1301 enable_sane_ds
1302 enable_scarddlg
1303 enable_sccbase
1304 enable_schannel
1305 enable_schedsvc
1306 enable_scrrun
1307 enable_scsiport_sys
1308 enable_secur32
1309 enable_security
1310 enable_sensapi
1311 enable_serialui
1312 enable_setupapi
1313 enable_sfc
1314 enable_sfc_os
1315 enable_shdoclc
1316 enable_shdocvw
1317 enable_shell32
1318 enable_shfolder
1319 enable_shlwapi
1320 enable_slbcsp
1321 enable_slc
1322 enable_snmpapi
1323 enable_softpub
1324 enable_spoolss
1325 enable_stdole2_tlb
1326 enable_stdole32_tlb
1327 enable_sti
1328 enable_svrapi
1329 enable_sxs
1330 enable_t2embed
1331 enable_tapi32
1332 enable_taskschd
1333 enable_tdi_sys
1334 enable_traffic
1335 enable_twain_32
1336 enable_ucrtbase
1337 enable_unicows
1338 enable_updspapi
1339 enable_url
1340 enable_urlmon
1341 enable_usbd_sys
1342 enable_user32
1343 enable_userenv
1344 enable_usp10
1345 enable_uxtheme
1346 enable_vbscript
1347 enable_vcomp
1348 enable_vcomp100
1349 enable_vcomp110
1350 enable_vcomp120
1351 enable_vcomp90
1352 enable_vcruntime140
1353 enable_vdmdbg
1354 enable_version
1355 enable_vssapi
1356 enable_wbemdisp
1357 enable_wbemprox
1358 enable_webservices
1359 enable_wer
1360 enable_wevtapi
1361 enable_wiaservc
1362 enable_wimgapi
1363 enable_windowscodecs
1364 enable_windowscodecsext
1365 enable_winealsa_drv
1366 enable_winecoreaudio_drv
1367 enable_wined3d
1368 enable_winegstreamer
1369 enable_winejoystick_drv
1370 enable_winemac_drv
1371 enable_winemapi
1372 enable_winemp3_acm
1373 enable_wineoss_drv
1374 enable_wineps_drv
1375 enable_winepulse_drv
1376 enable_wineqtdecoder
1377 enable_winex11_drv
1378 enable_wing32
1379 enable_winhttp
1380 enable_wininet
1381 enable_winmm
1382 enable_winnls32
1383 enable_winscard
1384 enable_winspool_drv
1385 enable_winsta
1386 enable_wintab32
1387 enable_wintrust
1388 enable_wlanapi
1389 enable_wldap32
1390 enable_wmi
1391 enable_wmiutils
1392 enable_wmp
1393 enable_wmvcore
1394 enable_wnaspi32
1395 enable_wpcap
1396 enable_ws2_32
1397 enable_wshom_ocx
1398 enable_wsnmp32
1399 enable_wsock32
1400 enable_wtsapi32
1401 enable_wuapi
1402 enable_wuaueng
1403 enable_x3daudio1_0
1404 enable_x3daudio1_1
1405 enable_x3daudio1_2
1406 enable_x3daudio1_3
1407 enable_x3daudio1_4
1408 enable_x3daudio1_5
1409 enable_x3daudio1_6
1410 enable_x3daudio1_7
1411 enable_xapofx1_1
1412 enable_xapofx1_2
1413 enable_xapofx1_3
1414 enable_xapofx1_4
1415 enable_xapofx1_5
1416 enable_xaudio2_0
1417 enable_xaudio2_1
1418 enable_xaudio2_2
1419 enable_xaudio2_3
1420 enable_xaudio2_4
1421 enable_xaudio2_5
1422 enable_xaudio2_6
1423 enable_xaudio2_7
1424 enable_xaudio2_8
1425 enable_xaudio2_9
1426 enable_xinput1_1
1427 enable_xinput1_2
1428 enable_xinput1_3
1429 enable_xinput1_4
1430 enable_xinput9_1_0
1431 enable_xmllite
1432 enable_xolehlp
1433 enable_xpsprint
1434 enable_xpssvcs
1435 enable_fonts
1436 enable_include
1437 enable_libs_port
1438 enable_libs_wine
1439 enable_libs_wpp
1440 enable_loader
1441 enable_po
1442 enable_arp
1443 enable_aspnet_regiis
1444 enable_attrib
1445 enable_cabarc
1446 enable_cacls
1447 enable_clock
1448 enable_cmd
1449 enable_conhost
1450 enable_control
1451 enable_cscript
1452 enable_dpnsvr
1453 enable_dxdiag
1454 enable_eject
1455 enable_expand
1456 enable_explorer
1457 enable_extrac32
1458 enable_findstr
1459 enable_hh
1460 enable_hostname
1461 enable_icacls
1462 enable_icinfo
1463 enable_iexplore
1464 enable_ipconfig
1465 enable_lodctr
1466 enable_mofcomp
1467 enable_mshta
1468 enable_msiexec
1469 enable_net
1470 enable_netsh
1471 enable_netstat
1472 enable_ngen
1473 enable_notepad
1474 enable_oleview
1475 enable_ping
1476 enable_plugplay
1477 enable_presentationfontcache
1478 enable_progman
1479 enable_reg
1480 enable_regasm
1481 enable_regedit
1482 enable_regsvcs
1483 enable_regsvr32
1484 enable_rpcss
1485 enable_rundll32
1486 enable_sc
1487 enable_schtasks
1488 enable_sdbinst
1489 enable_secedit
1490 enable_servicemodelreg
1491 enable_services
1492 enable_spoolsv
1493 enable_start
1494 enable_svchost
1495 enable_systeminfo
1496 enable_taskkill
1497 enable_tasklist
1498 enable_taskmgr
1499 enable_termsv
1500 enable_uninstaller
1501 enable_unlodctr
1502 enable_view
1503 enable_wevtutil
1504 enable_wineboot
1505 enable_winebrowser
1506 enable_winecfg
1507 enable_wineconsole
1508 enable_winedbg
1509 enable_winedevice
1510 enable_winefile
1511 enable_winemenubuilder
1512 enable_winemine
1513 enable_winemsibuilder
1514 enable_winepath
1515 enable_winetest
1516 enable_winhlp32
1517 enable_winver
1518 enable_wmic
1519 enable_wmplayer
1520 enable_wordpad
1521 enable_write
1522 enable_wscript
1523 enable_wusa
1524 enable_xcopy
1525 enable_server
1526 enable_tools
1528 ac_precious_vars='build_alias
1529 host_alias
1530 target_alias
1532 CFLAGS
1533 LDFLAGS
1534 LIBS
1535 CPPFLAGS
1537 CXXFLAGS
1540 XMKMF
1541 XML2_CFLAGS
1542 XML2_LIBS
1543 XSLT_CFLAGS
1544 XSLT_LIBS
1545 DBUS_CFLAGS
1546 DBUS_LIBS
1547 HAL_CFLAGS
1548 HAL_LIBS
1549 GNUTLS_CFLAGS
1550 GNUTLS_LIBS
1551 SANE_CFLAGS
1552 SANE_LIBS
1553 GPHOTO2_CFLAGS
1554 GPHOTO2_LIBS
1555 GPHOTO2_PORT_CFLAGS
1556 GPHOTO2_PORT_LIBS
1557 LCMS2_CFLAGS
1558 LCMS2_LIBS
1559 FREETYPE_CFLAGS
1560 FREETYPE_LIBS
1561 PULSE_CFLAGS
1562 PULSE_LIBS
1563 GSTREAMER_CFLAGS
1564 GSTREAMER_LIBS
1565 CAPI20_CFLAGS
1566 CAPI20_LIBS
1567 FONTCONFIG_CFLAGS
1568 FONTCONFIG_LIBS
1569 JPEG_CFLAGS
1570 JPEG_LIBS
1571 PNG_CFLAGS
1572 PNG_LIBS
1573 TIFF_CFLAGS
1574 TIFF_LIBS
1575 MPG123_CFLAGS
1576 MPG123_LIBS
1577 NETAPI_CFLAGS
1578 NETAPI_LIBS'
1581 # Initialize some variables set by options.
1582 ac_init_help=
1583 ac_init_version=false
1584 ac_unrecognized_opts=
1585 ac_unrecognized_sep=
1586 # The variables have the same names as the options, with
1587 # dashes changed to underlines.
1588 cache_file=/dev/null
1589 exec_prefix=NONE
1590 no_create=
1591 no_recursion=
1592 prefix=NONE
1593 program_prefix=NONE
1594 program_suffix=NONE
1595 program_transform_name=s,x,x,
1596 silent=
1597 site=
1598 srcdir=
1599 verbose=
1600 x_includes=NONE
1601 x_libraries=NONE
1603 # Installation directory options.
1604 # These are left unexpanded so users can "make install exec_prefix=/foo"
1605 # and all the variables that are supposed to be based on exec_prefix
1606 # by default will actually change.
1607 # Use braces instead of parens because sh, perl, etc. also accept them.
1608 # (The list follows the same order as the GNU Coding Standards.)
1609 bindir='${exec_prefix}/bin'
1610 sbindir='${exec_prefix}/sbin'
1611 libexecdir='${exec_prefix}/libexec'
1612 datarootdir='${prefix}/share'
1613 datadir='${datarootdir}'
1614 sysconfdir='${prefix}/etc'
1615 sharedstatedir='${prefix}/com'
1616 localstatedir='${prefix}/var'
1617 runstatedir='${localstatedir}/run'
1618 includedir='${prefix}/include'
1619 oldincludedir='/usr/include'
1620 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1621 infodir='${datarootdir}/info'
1622 htmldir='${docdir}'
1623 dvidir='${docdir}'
1624 pdfdir='${docdir}'
1625 psdir='${docdir}'
1626 libdir='${exec_prefix}/lib'
1627 localedir='${datarootdir}/locale'
1628 mandir='${datarootdir}/man'
1630 ac_prev=
1631 ac_dashdash=
1632 for ac_option
1634 # If the previous option needs an argument, assign it.
1635 if test -n "$ac_prev"; then
1636 eval $ac_prev=\$ac_option
1637 ac_prev=
1638 continue
1641 case $ac_option in
1642 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1643 *=) ac_optarg= ;;
1644 *) ac_optarg=yes ;;
1645 esac
1647 # Accept the important Cygnus configure options, so we can diagnose typos.
1649 case $ac_dashdash$ac_option in
1651 ac_dashdash=yes ;;
1653 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1654 ac_prev=bindir ;;
1655 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1656 bindir=$ac_optarg ;;
1658 -build | --build | --buil | --bui | --bu)
1659 ac_prev=build_alias ;;
1660 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1661 build_alias=$ac_optarg ;;
1663 -cache-file | --cache-file | --cache-fil | --cache-fi \
1664 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1665 ac_prev=cache_file ;;
1666 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1667 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1668 cache_file=$ac_optarg ;;
1670 --config-cache | -C)
1671 cache_file=config.cache ;;
1673 -datadir | --datadir | --datadi | --datad)
1674 ac_prev=datadir ;;
1675 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1676 datadir=$ac_optarg ;;
1678 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1679 | --dataroo | --dataro | --datar)
1680 ac_prev=datarootdir ;;
1681 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1682 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1683 datarootdir=$ac_optarg ;;
1685 -disable-* | --disable-*)
1686 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1687 # Reject names that are not valid shell variable names.
1688 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1689 as_fn_error $? "invalid feature name: $ac_useropt"
1690 ac_useropt_orig=$ac_useropt
1691 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1692 case $ac_user_opts in
1694 "enable_$ac_useropt"
1695 "*) ;;
1696 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1697 ac_unrecognized_sep=', ';;
1698 esac
1699 eval enable_$ac_useropt=no ;;
1701 -docdir | --docdir | --docdi | --doc | --do)
1702 ac_prev=docdir ;;
1703 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1704 docdir=$ac_optarg ;;
1706 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1707 ac_prev=dvidir ;;
1708 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1709 dvidir=$ac_optarg ;;
1711 -enable-* | --enable-*)
1712 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1713 # Reject names that are not valid shell variable names.
1714 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1715 as_fn_error $? "invalid feature name: $ac_useropt"
1716 ac_useropt_orig=$ac_useropt
1717 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1718 case $ac_user_opts in
1720 "enable_$ac_useropt"
1721 "*) ;;
1722 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1723 ac_unrecognized_sep=', ';;
1724 esac
1725 eval enable_$ac_useropt=\$ac_optarg ;;
1727 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1728 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1729 | --exec | --exe | --ex)
1730 ac_prev=exec_prefix ;;
1731 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1732 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1733 | --exec=* | --exe=* | --ex=*)
1734 exec_prefix=$ac_optarg ;;
1736 -gas | --gas | --ga | --g)
1737 # Obsolete; use --with-gas.
1738 with_gas=yes ;;
1740 -help | --help | --hel | --he | -h)
1741 ac_init_help=long ;;
1742 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1743 ac_init_help=recursive ;;
1744 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1745 ac_init_help=short ;;
1747 -host | --host | --hos | --ho)
1748 ac_prev=host_alias ;;
1749 -host=* | --host=* | --hos=* | --ho=*)
1750 host_alias=$ac_optarg ;;
1752 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1753 ac_prev=htmldir ;;
1754 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1755 | --ht=*)
1756 htmldir=$ac_optarg ;;
1758 -includedir | --includedir | --includedi | --included | --include \
1759 | --includ | --inclu | --incl | --inc)
1760 ac_prev=includedir ;;
1761 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1762 | --includ=* | --inclu=* | --incl=* | --inc=*)
1763 includedir=$ac_optarg ;;
1765 -infodir | --infodir | --infodi | --infod | --info | --inf)
1766 ac_prev=infodir ;;
1767 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1768 infodir=$ac_optarg ;;
1770 -libdir | --libdir | --libdi | --libd)
1771 ac_prev=libdir ;;
1772 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1773 libdir=$ac_optarg ;;
1775 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1776 | --libexe | --libex | --libe)
1777 ac_prev=libexecdir ;;
1778 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1779 | --libexe=* | --libex=* | --libe=*)
1780 libexecdir=$ac_optarg ;;
1782 -localedir | --localedir | --localedi | --localed | --locale)
1783 ac_prev=localedir ;;
1784 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1785 localedir=$ac_optarg ;;
1787 -localstatedir | --localstatedir | --localstatedi | --localstated \
1788 | --localstate | --localstat | --localsta | --localst | --locals)
1789 ac_prev=localstatedir ;;
1790 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1791 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1792 localstatedir=$ac_optarg ;;
1794 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1795 ac_prev=mandir ;;
1796 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1797 mandir=$ac_optarg ;;
1799 -nfp | --nfp | --nf)
1800 # Obsolete; use --without-fp.
1801 with_fp=no ;;
1803 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1804 | --no-cr | --no-c | -n)
1805 no_create=yes ;;
1807 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1808 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1809 no_recursion=yes ;;
1811 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1812 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1813 | --oldin | --oldi | --old | --ol | --o)
1814 ac_prev=oldincludedir ;;
1815 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1816 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1817 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1818 oldincludedir=$ac_optarg ;;
1820 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1821 ac_prev=prefix ;;
1822 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1823 prefix=$ac_optarg ;;
1825 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1826 | --program-pre | --program-pr | --program-p)
1827 ac_prev=program_prefix ;;
1828 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1829 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1830 program_prefix=$ac_optarg ;;
1832 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1833 | --program-suf | --program-su | --program-s)
1834 ac_prev=program_suffix ;;
1835 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1836 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1837 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1847 -program-transform-name=* | --program-transform-name=* \
1848 | --program-transform-nam=* | --program-transform-na=* \
1849 | --program-transform-n=* | --program-transform-=* \
1850 | --program-transform=* | --program-transfor=* \
1851 | --program-transfo=* | --program-transf=* \
1852 | --program-trans=* | --program-tran=* \
1853 | --progr-tra=* | --program-tr=* | --program-t=*)
1854 program_transform_name=$ac_optarg ;;
1856 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1857 ac_prev=pdfdir ;;
1858 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1859 pdfdir=$ac_optarg ;;
1861 -psdir | --psdir | --psdi | --psd | --ps)
1862 ac_prev=psdir ;;
1863 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1864 psdir=$ac_optarg ;;
1866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1867 | -silent | --silent | --silen | --sile | --sil)
1868 silent=yes ;;
1870 -runstatedir | --runstatedir | --runstatedi | --runstated \
1871 | --runstate | --runstat | --runsta | --runst | --runs \
1872 | --run | --ru | --r)
1873 ac_prev=runstatedir ;;
1874 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1875 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1876 | --run=* | --ru=* | --r=*)
1877 runstatedir=$ac_optarg ;;
1879 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1880 ac_prev=sbindir ;;
1881 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1882 | --sbi=* | --sb=*)
1883 sbindir=$ac_optarg ;;
1885 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1886 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1887 | --sharedst | --shareds | --shared | --share | --shar \
1888 | --sha | --sh)
1889 ac_prev=sharedstatedir ;;
1890 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1891 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1892 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1893 | --sha=* | --sh=*)
1894 sharedstatedir=$ac_optarg ;;
1896 -site | --site | --sit)
1897 ac_prev=site ;;
1898 -site=* | --site=* | --sit=*)
1899 site=$ac_optarg ;;
1901 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1902 ac_prev=srcdir ;;
1903 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1904 srcdir=$ac_optarg ;;
1906 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1907 | --syscon | --sysco | --sysc | --sys | --sy)
1908 ac_prev=sysconfdir ;;
1909 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1910 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1911 sysconfdir=$ac_optarg ;;
1913 -target | --target | --targe | --targ | --tar | --ta | --t)
1914 ac_prev=target_alias ;;
1915 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1916 target_alias=$ac_optarg ;;
1918 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1919 verbose=yes ;;
1921 -version | --version | --versio | --versi | --vers | -V)
1922 ac_init_version=: ;;
1924 -with-* | --with-*)
1925 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1926 # Reject names that are not valid shell variable names.
1927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1928 as_fn_error $? "invalid package name: $ac_useropt"
1929 ac_useropt_orig=$ac_useropt
1930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1931 case $ac_user_opts in
1933 "with_$ac_useropt"
1934 "*) ;;
1935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1936 ac_unrecognized_sep=', ';;
1937 esac
1938 eval with_$ac_useropt=\$ac_optarg ;;
1940 -without-* | --without-*)
1941 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1942 # Reject names that are not valid shell variable names.
1943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1944 as_fn_error $? "invalid package name: $ac_useropt"
1945 ac_useropt_orig=$ac_useropt
1946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1947 case $ac_user_opts in
1949 "with_$ac_useropt"
1950 "*) ;;
1951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1952 ac_unrecognized_sep=', ';;
1953 esac
1954 eval with_$ac_useropt=no ;;
1956 --x)
1957 # Obsolete; use --with-x.
1958 with_x=yes ;;
1960 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1961 | --x-incl | --x-inc | --x-in | --x-i)
1962 ac_prev=x_includes ;;
1963 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1964 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1965 x_includes=$ac_optarg ;;
1967 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1968 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1969 ac_prev=x_libraries ;;
1970 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1971 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1972 x_libraries=$ac_optarg ;;
1974 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1975 Try \`$0 --help' for more information"
1978 *=*)
1979 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1980 # Reject names that are not valid shell variable names.
1981 case $ac_envvar in #(
1982 '' | [0-9]* | *[!_$as_cr_alnum]* )
1983 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1984 esac
1985 eval $ac_envvar=\$ac_optarg
1986 export $ac_envvar ;;
1989 # FIXME: should be removed in autoconf 3.0.
1990 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1991 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1992 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1993 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1996 esac
1997 done
1999 if test -n "$ac_prev"; then
2000 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2001 as_fn_error $? "missing argument to $ac_option"
2004 if test -n "$ac_unrecognized_opts"; then
2005 case $enable_option_checking in
2006 no) ;;
2007 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2008 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2009 esac
2012 # Check all directory arguments for consistency.
2013 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2014 datadir sysconfdir sharedstatedir localstatedir includedir \
2015 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2016 libdir localedir mandir runstatedir
2018 eval ac_val=\$$ac_var
2019 # Remove trailing slashes.
2020 case $ac_val in
2021 */ )
2022 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2023 eval $ac_var=\$ac_val;;
2024 esac
2025 # Be sure to have absolute directory names.
2026 case $ac_val in
2027 [\\/$]* | ?:[\\/]* ) continue;;
2028 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2029 esac
2030 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2031 done
2033 # There might be people who depend on the old broken behavior: `$host'
2034 # used to hold the argument of --host etc.
2035 # FIXME: To remove some day.
2036 build=$build_alias
2037 host=$host_alias
2038 target=$target_alias
2040 # FIXME: To remove some day.
2041 if test "x$host_alias" != x; then
2042 if test "x$build_alias" = x; then
2043 cross_compiling=maybe
2044 elif test "x$build_alias" != "x$host_alias"; then
2045 cross_compiling=yes
2049 ac_tool_prefix=
2050 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2052 test "$silent" = yes && exec 6>/dev/null
2055 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2056 ac_ls_di=`ls -di .` &&
2057 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2058 as_fn_error $? "working directory cannot be determined"
2059 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2060 as_fn_error $? "pwd does not report name of working directory"
2063 # Find the source files, if location was not specified.
2064 if test -z "$srcdir"; then
2065 ac_srcdir_defaulted=yes
2066 # Try the directory containing this script, then the parent directory.
2067 ac_confdir=`$as_dirname -- "$as_myself" ||
2068 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2069 X"$as_myself" : 'X\(//\)[^/]' \| \
2070 X"$as_myself" : 'X\(//\)$' \| \
2071 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2072 $as_echo X"$as_myself" |
2073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2074 s//\1/
2077 /^X\(\/\/\)[^/].*/{
2078 s//\1/
2081 /^X\(\/\/\)$/{
2082 s//\1/
2085 /^X\(\/\).*/{
2086 s//\1/
2089 s/.*/./; q'`
2090 srcdir=$ac_confdir
2091 if test ! -r "$srcdir/$ac_unique_file"; then
2092 srcdir=..
2094 else
2095 ac_srcdir_defaulted=no
2097 if test ! -r "$srcdir/$ac_unique_file"; then
2098 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2099 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2101 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2102 ac_abs_confdir=`(
2103 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2104 pwd)`
2105 # When building in place, set srcdir=.
2106 if test "$ac_abs_confdir" = "$ac_pwd"; then
2107 srcdir=.
2109 # Remove unnecessary trailing slashes from srcdir.
2110 # Double slashes in file names in object file debugging info
2111 # mess up M-x gdb in Emacs.
2112 case $srcdir in
2113 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2114 esac
2115 for ac_var in $ac_precious_vars; do
2116 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2117 eval ac_env_${ac_var}_value=\$${ac_var}
2118 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2119 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2120 done
2123 # Report the --help message.
2125 if test "$ac_init_help" = "long"; then
2126 # Omit some internal or obsolete options to make the list less imposing.
2127 # This message is too long to be a string in the A/UX 3.1 sh.
2128 cat <<_ACEOF
2129 \`configure' configures Wine 1.9.4 to adapt to many kinds of systems.
2131 Usage: $0 [OPTION]... [VAR=VALUE]...
2133 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2134 VAR=VALUE. See below for descriptions of some of the useful variables.
2136 Defaults for the options are specified in brackets.
2138 Configuration:
2139 -h, --help display this help and exit
2140 --help=short display options specific to this package
2141 --help=recursive display the short help of all the included packages
2142 -V, --version display version information and exit
2143 -q, --quiet, --silent do not print \`checking ...' messages
2144 --cache-file=FILE cache test results in FILE [disabled]
2145 -C, --config-cache alias for \`--cache-file=config.cache'
2146 -n, --no-create do not create output files
2147 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2149 Installation directories:
2150 --prefix=PREFIX install architecture-independent files in PREFIX
2151 [$ac_default_prefix]
2152 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2153 [PREFIX]
2155 By default, \`make install' will install all the files in
2156 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2157 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2158 for instance \`--prefix=\$HOME'.
2160 For better control, use the options below.
2162 Fine tuning of the installation directories:
2163 --bindir=DIR user executables [EPREFIX/bin]
2164 --sbindir=DIR system admin executables [EPREFIX/sbin]
2165 --libexecdir=DIR program executables [EPREFIX/libexec]
2166 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2167 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2168 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2169 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2170 --libdir=DIR object code libraries [EPREFIX/lib]
2171 --includedir=DIR C header files [PREFIX/include]
2172 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2173 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2174 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2175 --infodir=DIR info documentation [DATAROOTDIR/info]
2176 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2177 --mandir=DIR man documentation [DATAROOTDIR/man]
2178 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2179 --htmldir=DIR html documentation [DOCDIR]
2180 --dvidir=DIR dvi documentation [DOCDIR]
2181 --pdfdir=DIR pdf documentation [DOCDIR]
2182 --psdir=DIR ps documentation [DOCDIR]
2183 _ACEOF
2185 cat <<\_ACEOF
2187 X features:
2188 --x-includes=DIR X include files are in DIR
2189 --x-libraries=DIR X library files are in DIR
2191 System types:
2192 --build=BUILD configure for building on BUILD [guessed]
2193 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2194 _ACEOF
2197 if test -n "$ac_init_help"; then
2198 case $ac_init_help in
2199 short | recursive ) echo "Configuration of Wine 1.9.4:";;
2200 esac
2201 cat <<\_ACEOF
2203 Optional Features:
2204 --disable-option-checking ignore unrecognized --enable/--with options
2205 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2206 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2207 --disable-win16 do not include Win16 support
2208 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2209 binaries)
2210 --disable-tests do not build the regression tests
2211 --enable-maintainer-mode
2212 enable maintainer-specific build rules
2213 --disable-largefile omit support for large files
2215 Optional Packages:
2216 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2217 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2218 --without-alsa do not use the Alsa sound support
2219 --without-capi do not use CAPI (ISDN support)
2220 --without-cms do not use CMS (color management support)
2221 --without-coreaudio do not use the CoreAudio sound support
2222 --without-cups do not use CUPS
2223 --without-curses do not use (n)curses
2224 --without-dbus do not use DBus (dynamic device support)
2225 --without-fontconfig do not use fontconfig
2226 --without-freetype do not use the FreeType library
2227 --without-gettext do not use gettext
2228 --with-gettextpo use the GetTextPO library to rebuild po files
2229 --without-gphoto do not use gphoto (Digital Camera support)
2230 --without-glu do not use the GLU library
2231 --without-gnutls do not use GnuTLS (schannel support)
2232 --without-gsm do not use libgsm (GSM 06.10 codec support)
2233 --without-gstreamer do not use GStreamer (codecs support)
2234 --without-hal do not use HAL (dynamic device support)
2235 --without-jpeg do not use JPEG
2236 --without-ldap do not use LDAP
2237 --without-mpg123 do not use the mpg123 library
2238 --without-netapi do not use the Samba NetAPI library
2239 --without-openal do not use OpenAL
2240 --without-opencl do not use OpenCL
2241 --without-opengl do not use OpenGL
2242 --without-osmesa do not use the OSMesa library
2243 --without-oss do not use the OSS sound support
2244 --without-pcap do not use the Packet Capture library
2245 --without-png do not use PNG
2246 --without-pthread do not use the pthread library
2247 --without-pulse do not use PulseAudio sound support
2248 --without-sane do not use SANE (scanner support)
2249 --without-tiff do not use TIFF
2250 --without-v4l do not use v4l1 (v4l support)
2251 --without-xcomposite do not use the Xcomposite extension
2252 --without-xcursor do not use the Xcursor extension
2253 --without-xinerama do not use Xinerama (multi-monitor support)
2254 --without-xinput do not use the Xinput extension
2255 --without-xinput2 do not use the Xinput 2 extension
2256 --without-xml do not use XML
2257 --without-xrandr do not use Xrandr (resolution changes)
2258 --without-xrender do not use the Xrender extension
2259 --without-xshape do not use the Xshape extension
2260 --without-xshm do not use XShm (shared memory extension)
2261 --without-xslt do not use XSLT
2262 --without-xxf86vm do not use XFree video mode extension
2263 --without-zlib do not use Zlib (data compression)
2264 --with-wine-tools=DIR use Wine tools from directory DIR
2265 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2266 --with-x use the X Window System
2268 Some influential environment variables:
2269 CC C compiler command
2270 CFLAGS C compiler flags
2271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2272 nonstandard directory <lib dir>
2273 LIBS libraries to pass to the linker, e.g. -l<library>
2274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2275 you have headers in a nonstandard directory <include dir>
2276 CXX C++ compiler command
2277 CXXFLAGS C++ compiler flags
2278 CPP C preprocessor
2279 XMKMF Path to xmkmf, Makefile generator for X Window System
2280 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2281 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2282 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2283 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2284 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2285 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2286 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2287 HAL_LIBS Linker flags for hal, overriding pkg-config
2288 GNUTLS_CFLAGS
2289 C compiler flags for gnutls, overriding pkg-config
2290 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2291 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2292 SANE_LIBS Linker flags for libsane, overriding pkg-config
2293 GPHOTO2_CFLAGS
2294 C compiler flags for libgphoto2, overriding pkg-config
2295 GPHOTO2_LIBS
2296 Linker flags for libgphoto2, overriding pkg-config
2297 GPHOTO2_PORT_CFLAGS
2298 C compiler flags for libgphoto2_port, overriding pkg-config
2299 GPHOTO2_PORT_LIBS
2300 Linker flags for libgphoto2_port, overriding pkg-config
2301 LCMS2_CFLAGS
2302 C compiler flags for lcms2, overriding pkg-config
2303 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2304 FREETYPE_CFLAGS
2305 C compiler flags for freetype2, overriding pkg-config
2306 FREETYPE_LIBS
2307 Linker flags for freetype2, overriding pkg-config
2308 PULSE_CFLAGS
2309 C compiler flags for libpulse, overriding pkg-config
2310 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2311 GSTREAMER_CFLAGS
2312 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2313 gstreamer-audio-1.0, overriding pkg-config
2314 GSTREAMER_LIBS
2315 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2316 gstreamer-audio-1.0, overriding pkg-config
2317 CAPI20_CFLAGS
2318 C compiler flags for capi20, overriding pkg-config
2319 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2320 FONTCONFIG_CFLAGS
2321 C compiler flags for fontconfig, overriding pkg-config
2322 FONTCONFIG_LIBS
2323 Linker flags for fontconfig, overriding pkg-config
2324 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2325 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2326 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2327 PNG_LIBS Linker flags for libpng, overriding pkg-config
2328 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2329 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2330 MPG123_CFLAGS
2331 C compiler flags for libmpg123, overriding pkg-config
2332 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2333 NETAPI_CFLAGS
2334 C compiler flags for netapi, overriding pkg-config
2335 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2337 Use these variables to override the choices made by `configure' or to help
2338 it to find libraries and programs with nonstandard names/locations.
2340 Report bugs to <wine-devel@winehq.org>.
2341 Wine home page: <http://www.winehq.org>.
2342 _ACEOF
2343 ac_status=$?
2346 if test "$ac_init_help" = "recursive"; then
2347 # If there are subdirs, report their specific --help.
2348 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2349 test -d "$ac_dir" ||
2350 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2351 continue
2352 ac_builddir=.
2354 case "$ac_dir" in
2355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2357 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2358 # A ".." for each directory in $ac_dir_suffix.
2359 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2360 case $ac_top_builddir_sub in
2361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2363 esac ;;
2364 esac
2365 ac_abs_top_builddir=$ac_pwd
2366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2367 # for backward compatibility:
2368 ac_top_builddir=$ac_top_build_prefix
2370 case $srcdir in
2371 .) # We are building in place.
2372 ac_srcdir=.
2373 ac_top_srcdir=$ac_top_builddir_sub
2374 ac_abs_top_srcdir=$ac_pwd ;;
2375 [\\/]* | ?:[\\/]* ) # Absolute name.
2376 ac_srcdir=$srcdir$ac_dir_suffix;
2377 ac_top_srcdir=$srcdir
2378 ac_abs_top_srcdir=$srcdir ;;
2379 *) # Relative name.
2380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2381 ac_top_srcdir=$ac_top_build_prefix$srcdir
2382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2383 esac
2384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2386 cd "$ac_dir" || { ac_status=$?; continue; }
2387 # Check for guested configure.
2388 if test -f "$ac_srcdir/configure.gnu"; then
2389 echo &&
2390 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2391 elif test -f "$ac_srcdir/configure"; then
2392 echo &&
2393 $SHELL "$ac_srcdir/configure" --help=recursive
2394 else
2395 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2396 fi || ac_status=$?
2397 cd "$ac_pwd" || { ac_status=$?; break; }
2398 done
2401 test -n "$ac_init_help" && exit $ac_status
2402 if $ac_init_version; then
2403 cat <<\_ACEOF
2404 Wine configure 1.9.4
2405 generated by GNU Autoconf 2.69
2407 Copyright (C) 2012 Free Software Foundation, Inc.
2408 This configure script is free software; the Free Software Foundation
2409 gives unlimited permission to copy, distribute and modify it.
2410 _ACEOF
2411 exit
2414 ## ------------------------ ##
2415 ## Autoconf initialization. ##
2416 ## ------------------------ ##
2418 # ac_fn_c_try_compile LINENO
2419 # --------------------------
2420 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2421 ac_fn_c_try_compile ()
2423 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2424 rm -f conftest.$ac_objext
2425 if { { ac_try="$ac_compile"
2426 case "(($ac_try" in
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2429 esac
2430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2431 $as_echo "$ac_try_echo"; } >&5
2432 (eval "$ac_compile") 2>conftest.err
2433 ac_status=$?
2434 if test -s conftest.err; then
2435 grep -v '^ *+' conftest.err >conftest.er1
2436 cat conftest.er1 >&5
2437 mv -f conftest.er1 conftest.err
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest.$ac_objext; then :
2444 ac_retval=0
2445 else
2446 $as_echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 ac_retval=1
2451 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452 as_fn_set_status $ac_retval
2454 } # ac_fn_c_try_compile
2456 # ac_fn_cxx_try_compile LINENO
2457 # ----------------------------
2458 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2459 ac_fn_cxx_try_compile ()
2461 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2462 rm -f conftest.$ac_objext
2463 if { { ac_try="$ac_compile"
2464 case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467 esac
2468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2469 $as_echo "$ac_try_echo"; } >&5
2470 (eval "$ac_compile") 2>conftest.err
2471 ac_status=$?
2472 if test -s conftest.err; then
2473 grep -v '^ *+' conftest.err >conftest.er1
2474 cat conftest.er1 >&5
2475 mv -f conftest.er1 conftest.err
2477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2478 test $ac_status = 0; } && {
2479 test -z "$ac_cxx_werror_flag" ||
2480 test ! -s conftest.err
2481 } && test -s conftest.$ac_objext; then :
2482 ac_retval=0
2483 else
2484 $as_echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2487 ac_retval=1
2489 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2490 as_fn_set_status $ac_retval
2492 } # ac_fn_cxx_try_compile
2494 # ac_fn_c_try_link LINENO
2495 # -----------------------
2496 # Try to link conftest.$ac_ext, and return whether this succeeded.
2497 ac_fn_c_try_link ()
2499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500 rm -f conftest.$ac_objext conftest$ac_exeext
2501 if { { ac_try="$ac_link"
2502 case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_link") 2>conftest.err
2509 ac_status=$?
2510 if test -s conftest.err; then
2511 grep -v '^ *+' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2513 mv -f conftest.er1 conftest.err
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest$ac_exeext && {
2520 test "$cross_compiling" = yes ||
2521 test -x conftest$ac_exeext
2522 }; then :
2523 ac_retval=0
2524 else
2525 $as_echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2528 ac_retval=1
2530 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2531 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2532 # interfere with the next link command; also delete a directory that is
2533 # left behind by Apple's compiler. We do this before executing the actions.
2534 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_c_try_link
2540 # ac_fn_c_try_cpp LINENO
2541 # ----------------------
2542 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2543 ac_fn_c_try_cpp ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 if { { ac_try="$ac_cpp conftest.$ac_ext"
2547 case "(($ac_try" in
2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 *) ac_try_echo=$ac_try;;
2550 esac
2551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2552 $as_echo "$ac_try_echo"; } >&5
2553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2554 ac_status=$?
2555 if test -s conftest.err; then
2556 grep -v '^ *+' conftest.err >conftest.er1
2557 cat conftest.er1 >&5
2558 mv -f conftest.er1 conftest.err
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; } > conftest.i && {
2562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2563 test ! -s conftest.err
2564 }; then :
2565 ac_retval=0
2566 else
2567 $as_echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 ac_retval=1
2572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2573 as_fn_set_status $ac_retval
2575 } # ac_fn_c_try_cpp
2577 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2578 # -------------------------------------------------------
2579 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2580 # the include files in INCLUDES and setting the cache variable VAR
2581 # accordingly.
2582 ac_fn_c_check_header_mongrel ()
2584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2585 if eval \${$3+:} false; then :
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2587 $as_echo_n "checking for $2... " >&6; }
2588 if eval \${$3+:} false; then :
2589 $as_echo_n "(cached) " >&6
2591 eval ac_res=\$$3
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2593 $as_echo "$ac_res" >&6; }
2594 else
2595 # Is the header compilable?
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2597 $as_echo_n "checking $2 usability... " >&6; }
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2601 #include <$2>
2602 _ACEOF
2603 if ac_fn_c_try_compile "$LINENO"; then :
2604 ac_header_compiler=yes
2605 else
2606 ac_header_compiler=no
2608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2610 $as_echo "$ac_header_compiler" >&6; }
2612 # Is the header present?
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2614 $as_echo_n "checking $2 presence... " >&6; }
2615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2616 /* end confdefs.h. */
2617 #include <$2>
2618 _ACEOF
2619 if ac_fn_c_try_cpp "$LINENO"; then :
2620 ac_header_preproc=yes
2621 else
2622 ac_header_preproc=no
2624 rm -f conftest.err conftest.i conftest.$ac_ext
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2626 $as_echo "$ac_header_preproc" >&6; }
2628 # So? What about this header?
2629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2630 yes:no: )
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2632 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2636 no:yes:* )
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2638 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2640 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2642 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2644 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2646 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2647 ( $as_echo "## ------------------------------------ ##
2648 ## Report this to wine-devel@winehq.org ##
2649 ## ------------------------------------ ##"
2650 ) | sed "s/^/$as_me: WARNING: /" >&2
2652 esac
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2654 $as_echo_n "checking for $2... " >&6; }
2655 if eval \${$3+:} false; then :
2656 $as_echo_n "(cached) " >&6
2657 else
2658 eval "$3=\$ac_header_compiler"
2660 eval ac_res=\$$3
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 } # ac_fn_c_check_header_mongrel
2668 # ac_fn_c_try_run LINENO
2669 # ----------------------
2670 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2671 # that executables *can* be run.
2672 ac_fn_c_try_run ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 if { { ac_try="$ac_link"
2676 case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2679 esac
2680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_link") 2>&5
2683 ac_status=$?
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2686 { { case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_try") 2>&5
2693 ac_status=$?
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; }; }; then :
2696 ac_retval=0
2697 else
2698 $as_echo "$as_me: program exited with status $ac_status" >&5
2699 $as_echo "$as_me: failed program was:" >&5
2700 sed 's/^/| /' conftest.$ac_ext >&5
2702 ac_retval=$ac_status
2704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 as_fn_set_status $ac_retval
2708 } # ac_fn_c_try_run
2710 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2711 # -------------------------------------------------------
2712 # Tests whether HEADER exists and can be compiled using the include files in
2713 # INCLUDES, setting the cache variable VAR accordingly.
2714 ac_fn_c_check_header_compile ()
2716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2718 $as_echo_n "checking for $2... " >&6; }
2719 if eval \${$3+:} false; then :
2720 $as_echo_n "(cached) " >&6
2721 else
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2725 #include <$2>
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 eval "$3=yes"
2729 else
2730 eval "$3=no"
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 eval ac_res=\$$3
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2736 $as_echo "$ac_res" >&6; }
2737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 } # ac_fn_c_check_header_compile
2741 # ac_fn_c_check_func LINENO FUNC VAR
2742 # ----------------------------------
2743 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2744 ac_fn_c_check_func ()
2746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2748 $as_echo_n "checking for $2... " >&6; }
2749 if eval \${$3+:} false; then :
2750 $as_echo_n "(cached) " >&6
2751 else
2752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2753 /* end confdefs.h. */
2754 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2756 #define $2 innocuous_$2
2758 /* System header to define __stub macros and hopefully few prototypes,
2759 which can conflict with char $2 (); below.
2760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2761 <limits.h> exists even on freestanding compilers. */
2763 #ifdef __STDC__
2764 # include <limits.h>
2765 #else
2766 # include <assert.h>
2767 #endif
2769 #undef $2
2771 /* Override any GCC internal prototype to avoid an error.
2772 Use char because int might match the return type of a GCC
2773 builtin and then its argument prototype would still apply. */
2774 #ifdef __cplusplus
2775 extern "C"
2776 #endif
2777 char $2 ();
2778 /* The GNU C library defines this for functions which it implements
2779 to always fail with ENOSYS. Some functions are actually named
2780 something starting with __ and the normal name is an alias. */
2781 #if defined __stub_$2 || defined __stub___$2
2782 choke me
2783 #endif
2786 main ()
2788 return $2 ();
2790 return 0;
2792 _ACEOF
2793 if ac_fn_c_try_link "$LINENO"; then :
2794 eval "$3=yes"
2795 else
2796 eval "$3=no"
2798 rm -f core conftest.err conftest.$ac_objext \
2799 conftest$ac_exeext conftest.$ac_ext
2801 eval ac_res=\$$3
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2803 $as_echo "$ac_res" >&6; }
2804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2806 } # ac_fn_c_check_func
2808 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2809 # ----------------------------------------------------
2810 # Tries to find if the field MEMBER exists in type AGGR, after including
2811 # INCLUDES, setting cache variable VAR accordingly.
2812 ac_fn_c_check_member ()
2814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2816 $as_echo_n "checking for $2.$3... " >&6; }
2817 if eval \${$4+:} false; then :
2818 $as_echo_n "(cached) " >&6
2819 else
2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2821 /* end confdefs.h. */
2824 main ()
2826 static $2 ac_aggr;
2827 if (ac_aggr.$3)
2828 return 0;
2830 return 0;
2832 _ACEOF
2833 if ac_fn_c_try_compile "$LINENO"; then :
2834 eval "$4=yes"
2835 else
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2840 main ()
2842 static $2 ac_aggr;
2843 if (sizeof ac_aggr.$3)
2844 return 0;
2846 return 0;
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850 eval "$4=yes"
2851 else
2852 eval "$4=no"
2854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 eval ac_res=\$$4
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2860 $as_echo "$ac_res" >&6; }
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 } # ac_fn_c_check_member
2865 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2866 # -------------------------------------------
2867 # Tests whether TYPE exists after having included INCLUDES, setting cache
2868 # variable VAR accordingly.
2869 ac_fn_c_check_type ()
2871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2873 $as_echo_n "checking for $2... " >&6; }
2874 if eval \${$3+:} false; then :
2875 $as_echo_n "(cached) " >&6
2876 else
2877 eval "$3=no"
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2882 main ()
2884 if (sizeof ($2))
2885 return 0;
2887 return 0;
2889 _ACEOF
2890 if ac_fn_c_try_compile "$LINENO"; then :
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2895 main ()
2897 if (sizeof (($2)))
2898 return 0;
2900 return 0;
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2905 else
2906 eval "$3=yes"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 eval ac_res=\$$3
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2914 $as_echo "$ac_res" >&6; }
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 } # ac_fn_c_check_type
2918 cat >config.log <<_ACEOF
2919 This file contains any messages produced by compilers while
2920 running configure, to aid debugging if configure makes a mistake.
2922 It was created by Wine $as_me 1.9.4, which was
2923 generated by GNU Autoconf 2.69. Invocation command line was
2925 $ $0 $@
2927 _ACEOF
2928 exec 5>>config.log
2930 cat <<_ASUNAME
2931 ## --------- ##
2932 ## Platform. ##
2933 ## --------- ##
2935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2952 _ASUNAME
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2957 IFS=$as_save_IFS
2958 test -z "$as_dir" && as_dir=.
2959 $as_echo "PATH: $as_dir"
2960 done
2961 IFS=$as_save_IFS
2963 } >&5
2965 cat >&5 <<_ACEOF
2968 ## ----------- ##
2969 ## Core tests. ##
2970 ## ----------- ##
2972 _ACEOF
2975 # Keep a trace of the command line.
2976 # Strip out --no-create and --no-recursion so they do not pile up.
2977 # Strip out --silent because we don't want to record it for future runs.
2978 # Also quote any args containing shell meta-characters.
2979 # Make two passes to allow for proper duplicate-argument suppression.
2980 ac_configure_args=
2981 ac_configure_args0=
2982 ac_configure_args1=
2983 ac_must_keep_next=false
2984 for ac_pass in 1 2
2986 for ac_arg
2988 case $ac_arg in
2989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2991 | -silent | --silent | --silen | --sile | --sil)
2992 continue ;;
2993 *\'*)
2994 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2995 esac
2996 case $ac_pass in
2997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2999 as_fn_append ac_configure_args1 " '$ac_arg'"
3000 if test $ac_must_keep_next = true; then
3001 ac_must_keep_next=false # Got value, back to normal.
3002 else
3003 case $ac_arg in
3004 *=* | --config-cache | -C | -disable-* | --disable-* \
3005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3007 | -with-* | --with-* | -without-* | --without-* | --x)
3008 case "$ac_configure_args0 " in
3009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3010 esac
3012 -* ) ac_must_keep_next=true ;;
3013 esac
3015 as_fn_append ac_configure_args " '$ac_arg'"
3017 esac
3018 done
3019 done
3020 { ac_configure_args0=; unset ac_configure_args0;}
3021 { ac_configure_args1=; unset ac_configure_args1;}
3023 # When interrupted or exit'd, cleanup temporary files, and complete
3024 # config.log. We remove comments because anyway the quotes in there
3025 # would cause problems or look ugly.
3026 # WARNING: Use '\'' to represent an apostrophe within the trap.
3027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3028 trap 'exit_status=$?
3029 # Save into config.log some information that might help in debugging.
3031 echo
3033 $as_echo "## ---------------- ##
3034 ## Cache variables. ##
3035 ## ---------------- ##"
3036 echo
3037 # The following way of writing the cache mishandles newlines in values,
3039 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3040 eval ac_val=\$$ac_var
3041 case $ac_val in #(
3042 *${as_nl}*)
3043 case $ac_var in #(
3044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3046 esac
3047 case $ac_var in #(
3048 _ | IFS | as_nl) ;; #(
3049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3050 *) { eval $ac_var=; unset $ac_var;} ;;
3051 esac ;;
3052 esac
3053 done
3054 (set) 2>&1 |
3055 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3056 *${as_nl}ac_space=\ *)
3057 sed -n \
3058 "s/'\''/'\''\\\\'\'''\''/g;
3059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3060 ;; #(
3062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3064 esac |
3065 sort
3067 echo
3069 $as_echo "## ----------------- ##
3070 ## Output variables. ##
3071 ## ----------------- ##"
3072 echo
3073 for ac_var in $ac_subst_vars
3075 eval ac_val=\$$ac_var
3076 case $ac_val in
3077 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3078 esac
3079 $as_echo "$ac_var='\''$ac_val'\''"
3080 done | sort
3081 echo
3083 if test -n "$ac_subst_files"; then
3084 $as_echo "## ------------------- ##
3085 ## File substitutions. ##
3086 ## ------------------- ##"
3087 echo
3088 for ac_var in $ac_subst_files
3090 eval ac_val=\$$ac_var
3091 case $ac_val in
3092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3093 esac
3094 $as_echo "$ac_var='\''$ac_val'\''"
3095 done | sort
3096 echo
3099 if test -s confdefs.h; then
3100 $as_echo "## ----------- ##
3101 ## confdefs.h. ##
3102 ## ----------- ##"
3103 echo
3104 cat confdefs.h
3105 echo
3107 test "$ac_signal" != 0 &&
3108 $as_echo "$as_me: caught signal $ac_signal"
3109 $as_echo "$as_me: exit $exit_status"
3110 } >&5
3111 rm -f core *.core core.conftest.* &&
3112 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3113 exit $exit_status
3115 for ac_signal in 1 2 13 15; do
3116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3117 done
3118 ac_signal=0
3120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3121 rm -f -r conftest* confdefs.h
3123 $as_echo "/* confdefs.h */" > confdefs.h
3125 # Predefined preprocessor variables.
3127 cat >>confdefs.h <<_ACEOF
3128 #define PACKAGE_NAME "$PACKAGE_NAME"
3129 _ACEOF
3131 cat >>confdefs.h <<_ACEOF
3132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3133 _ACEOF
3135 cat >>confdefs.h <<_ACEOF
3136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3137 _ACEOF
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE_STRING "$PACKAGE_STRING"
3141 _ACEOF
3143 cat >>confdefs.h <<_ACEOF
3144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3145 _ACEOF
3147 cat >>confdefs.h <<_ACEOF
3148 #define PACKAGE_URL "$PACKAGE_URL"
3149 _ACEOF
3152 # Let the site file select an alternate cache file if it wants to.
3153 # Prefer an explicitly selected file to automatically selected ones.
3154 ac_site_file1=NONE
3155 ac_site_file2=NONE
3156 if test -n "$CONFIG_SITE"; then
3157 # We do not want a PATH search for config.site.
3158 case $CONFIG_SITE in #((
3159 -*) ac_site_file1=./$CONFIG_SITE;;
3160 */*) ac_site_file1=$CONFIG_SITE;;
3161 *) ac_site_file1=./$CONFIG_SITE;;
3162 esac
3163 elif test "x$prefix" != xNONE; then
3164 ac_site_file1=$prefix/share/config.site
3165 ac_site_file2=$prefix/etc/config.site
3166 else
3167 ac_site_file1=$ac_default_prefix/share/config.site
3168 ac_site_file2=$ac_default_prefix/etc/config.site
3170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3172 test "x$ac_site_file" = xNONE && continue
3173 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3176 sed 's/^/| /' "$ac_site_file" >&5
3177 . "$ac_site_file" \
3178 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error $? "failed to load site script $ac_site_file
3181 See \`config.log' for more details" "$LINENO" 5; }
3183 done
3185 if test -r "$cache_file"; then
3186 # Some versions of bash will fail to source /dev/null (special files
3187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3188 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3190 $as_echo "$as_me: loading cache $cache_file" >&6;}
3191 case $cache_file in
3192 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3193 *) . "./$cache_file";;
3194 esac
3196 else
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3198 $as_echo "$as_me: creating cache $cache_file" >&6;}
3199 >$cache_file
3202 # Check that the precious variables saved in the cache have kept the same
3203 # value.
3204 ac_cache_corrupted=false
3205 for ac_var in $ac_precious_vars; do
3206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3207 eval ac_new_set=\$ac_env_${ac_var}_set
3208 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3209 eval ac_new_val=\$ac_env_${ac_var}_value
3210 case $ac_old_set,$ac_new_set in
3211 set,)
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3214 ac_cache_corrupted=: ;;
3215 ,set)
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3218 ac_cache_corrupted=: ;;
3219 ,);;
3221 if test "x$ac_old_val" != "x$ac_new_val"; then
3222 # differences in whitespace do not lead to failure.
3223 ac_old_val_w=`echo x $ac_old_val`
3224 ac_new_val_w=`echo x $ac_new_val`
3225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3228 ac_cache_corrupted=:
3229 else
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3232 eval $ac_var=\$ac_old_val
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3238 fi;;
3239 esac
3240 # Pass precious variables to config.status.
3241 if test "$ac_new_set" = set; then
3242 case $ac_new_val in
3243 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3244 *) ac_arg=$ac_var=$ac_new_val ;;
3245 esac
3246 case " $ac_configure_args " in
3247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3248 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3249 esac
3251 done
3252 if $ac_cache_corrupted; then
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3257 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3259 ## -------------------- ##
3260 ## Main body of script. ##
3261 ## -------------------- ##
3263 ac_ext=c
3264 ac_cpp='$CPP $CPPFLAGS'
3265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3271 ac_config_headers="$ac_config_headers include/config.h"
3273 ac_aux_dir=
3274 for ac_dir in tools "$srcdir"/tools; do
3275 if test -f "$ac_dir/install-sh"; then
3276 ac_aux_dir=$ac_dir
3277 ac_install_sh="$ac_aux_dir/install-sh -c"
3278 break
3279 elif test -f "$ac_dir/install.sh"; then
3280 ac_aux_dir=$ac_dir
3281 ac_install_sh="$ac_aux_dir/install.sh -c"
3282 break
3283 elif test -f "$ac_dir/shtool"; then
3284 ac_aux_dir=$ac_dir
3285 ac_install_sh="$ac_aux_dir/shtool install -c"
3286 break
3288 done
3289 if test -z "$ac_aux_dir"; then
3290 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3293 # These three variables are undocumented and unsupported,
3294 # and are intended to be withdrawn in a future Autoconf release.
3295 # They can cause serious problems if a builder's source tree is in a directory
3296 # whose full name contains unusual characters.
3297 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3298 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3299 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3303 libwine_version="1.0"
3307 # Check whether --enable-win16 was given.
3308 if test "${enable_win16+set}" = set; then :
3309 enableval=$enable_win16;
3312 # Check whether --enable-win64 was given.
3313 if test "${enable_win64+set}" = set; then :
3314 enableval=$enable_win64;
3317 # Check whether --enable-tests was given.
3318 if test "${enable_tests+set}" = set; then :
3319 enableval=$enable_tests;
3322 # Check whether --enable-maintainer-mode was given.
3323 if test "${enable_maintainer_mode+set}" = set; then :
3324 enableval=$enable_maintainer_mode;
3329 # Check whether --with-alsa was given.
3330 if test "${with_alsa+set}" = set; then :
3331 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3335 # Check whether --with-capi was given.
3336 if test "${with_capi+set}" = set; then :
3337 withval=$with_capi;
3341 # Check whether --with-cms was given.
3342 if test "${with_cms+set}" = set; then :
3343 withval=$with_cms;
3347 # Check whether --with-coreaudio was given.
3348 if test "${with_coreaudio+set}" = set; then :
3349 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3353 # Check whether --with-cups was given.
3354 if test "${with_cups+set}" = set; then :
3355 withval=$with_cups;
3359 # Check whether --with-curses was given.
3360 if test "${with_curses+set}" = set; then :
3361 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3365 # Check whether --with-dbus was given.
3366 if test "${with_dbus+set}" = set; then :
3367 withval=$with_dbus;
3371 # Check whether --with-fontconfig was given.
3372 if test "${with_fontconfig+set}" = set; then :
3373 withval=$with_fontconfig;
3377 # Check whether --with-freetype was given.
3378 if test "${with_freetype+set}" = set; then :
3379 withval=$with_freetype;
3383 # Check whether --with-gettext was given.
3384 if test "${with_gettext+set}" = set; then :
3385 withval=$with_gettext;
3389 # Check whether --with-gettextpo was given.
3390 if test "${with_gettextpo+set}" = set; then :
3391 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3395 # Check whether --with-gphoto was given.
3396 if test "${with_gphoto+set}" = set; then :
3397 withval=$with_gphoto;
3401 # Check whether --with-glu was given.
3402 if test "${with_glu+set}" = set; then :
3403 withval=$with_glu;
3407 # Check whether --with-gnutls was given.
3408 if test "${with_gnutls+set}" = set; then :
3409 withval=$with_gnutls;
3413 # Check whether --with-gsm was given.
3414 if test "${with_gsm+set}" = set; then :
3415 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3419 # Check whether --with-gstreamer was given.
3420 if test "${with_gstreamer+set}" = set; then :
3421 withval=$with_gstreamer;
3425 # Check whether --with-hal was given.
3426 if test "${with_hal+set}" = set; then :
3427 withval=$with_hal;
3431 # Check whether --with-jpeg was given.
3432 if test "${with_jpeg+set}" = set; then :
3433 withval=$with_jpeg;
3437 # Check whether --with-ldap was given.
3438 if test "${with_ldap+set}" = set; then :
3439 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3443 # Check whether --with-mpg123 was given.
3444 if test "${with_mpg123+set}" = set; then :
3445 withval=$with_mpg123;
3449 # Check whether --with-netapi was given.
3450 if test "${with_netapi+set}" = set; then :
3451 withval=$with_netapi;
3455 # Check whether --with-openal was given.
3456 if test "${with_openal+set}" = set; then :
3457 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3461 # Check whether --with-opencl was given.
3462 if test "${with_opencl+set}" = set; then :
3463 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3467 # Check whether --with-opengl was given.
3468 if test "${with_opengl+set}" = set; then :
3469 withval=$with_opengl;
3473 # Check whether --with-osmesa was given.
3474 if test "${with_osmesa+set}" = set; then :
3475 withval=$with_osmesa;
3479 # Check whether --with-oss was given.
3480 if test "${with_oss+set}" = set; then :
3481 withval=$with_oss;
3485 # Check whether --with-pcap was given.
3486 if test "${with_pcap+set}" = set; then :
3487 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3491 # Check whether --with-png was given.
3492 if test "${with_png+set}" = set; then :
3493 withval=$with_png;
3497 # Check whether --with-pthread was given.
3498 if test "${with_pthread+set}" = set; then :
3499 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3503 # Check whether --with-pulse was given.
3504 if test "${with_pulse+set}" = set; then :
3505 withval=$with_pulse;
3509 # Check whether --with-sane was given.
3510 if test "${with_sane+set}" = set; then :
3511 withval=$with_sane;
3515 # Check whether --with-tiff was given.
3516 if test "${with_tiff+set}" = set; then :
3517 withval=$with_tiff;
3521 # Check whether --with-v4l was given.
3522 if test "${with_v4l+set}" = set; then :
3523 withval=$with_v4l;
3527 # Check whether --with-xcomposite was given.
3528 if test "${with_xcomposite+set}" = set; then :
3529 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3533 # Check whether --with-xcursor was given.
3534 if test "${with_xcursor+set}" = set; then :
3535 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3539 # Check whether --with-xinerama was given.
3540 if test "${with_xinerama+set}" = set; then :
3541 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3545 # Check whether --with-xinput was given.
3546 if test "${with_xinput+set}" = set; then :
3547 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3551 # Check whether --with-xinput2 was given.
3552 if test "${with_xinput2+set}" = set; then :
3553 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3557 # Check whether --with-xml was given.
3558 if test "${with_xml+set}" = set; then :
3559 withval=$with_xml;
3563 # Check whether --with-xrandr was given.
3564 if test "${with_xrandr+set}" = set; then :
3565 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3569 # Check whether --with-xrender was given.
3570 if test "${with_xrender+set}" = set; then :
3571 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3575 # Check whether --with-xshape was given.
3576 if test "${with_xshape+set}" = set; then :
3577 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3581 # Check whether --with-xshm was given.
3582 if test "${with_xshm+set}" = set; then :
3583 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3587 # Check whether --with-xslt was given.
3588 if test "${with_xslt+set}" = set; then :
3589 withval=$with_xslt;
3593 # Check whether --with-xxf86vm was given.
3594 if test "${with_xxf86vm+set}" = set; then :
3595 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
3599 # Check whether --with-zlib was given.
3600 if test "${with_zlib+set}" = set; then :
3601 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3606 # Check whether --with-wine-tools was given.
3607 if test "${with_wine_tools+set}" = set; then :
3608 withval=$with_wine_tools;
3612 # Check whether --with-wine64 was given.
3613 if test "${with_wine64+set}" = set; then :
3614 withval=$with_wine64;
3618 # Make sure we can run config.sub.
3619 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3620 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3623 $as_echo_n "checking build system type... " >&6; }
3624 if ${ac_cv_build+:} false; then :
3625 $as_echo_n "(cached) " >&6
3626 else
3627 ac_build_alias=$build_alias
3628 test "x$ac_build_alias" = x &&
3629 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3630 test "x$ac_build_alias" = x &&
3631 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3632 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3633 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3637 $as_echo "$ac_cv_build" >&6; }
3638 case $ac_cv_build in
3639 *-*-*) ;;
3640 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3641 esac
3642 build=$ac_cv_build
3643 ac_save_IFS=$IFS; IFS='-'
3644 set x $ac_cv_build
3645 shift
3646 build_cpu=$1
3647 build_vendor=$2
3648 shift; shift
3649 # Remember, the first character of IFS is used to create $*,
3650 # except with old shells:
3651 build_os=$*
3652 IFS=$ac_save_IFS
3653 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3657 $as_echo_n "checking host system type... " >&6; }
3658 if ${ac_cv_host+:} false; then :
3659 $as_echo_n "(cached) " >&6
3660 else
3661 if test "x$host_alias" = x; then
3662 ac_cv_host=$ac_cv_build
3663 else
3664 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3665 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3670 $as_echo "$ac_cv_host" >&6; }
3671 case $ac_cv_host in
3672 *-*-*) ;;
3673 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3674 esac
3675 host=$ac_cv_host
3676 ac_save_IFS=$IFS; IFS='-'
3677 set x $ac_cv_host
3678 shift
3679 host_cpu=$1
3680 host_vendor=$2
3681 shift; shift
3682 # Remember, the first character of IFS is used to create $*,
3683 # except with old shells:
3684 host_os=$*
3685 IFS=$ac_save_IFS
3686 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3690 case "$srcdir" in
3691 .) ;;
3692 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3693 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3694 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3695 fi ;;
3696 esac
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3701 set x ${MAKE-make}
3702 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3703 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3704 $as_echo_n "(cached) " >&6
3705 else
3706 cat >conftest.make <<\_ACEOF
3707 SHELL = /bin/sh
3708 all:
3709 @echo '@@@%%%=$(MAKE)=@@@%%%'
3710 _ACEOF
3711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3713 *@@@%%%=?*=@@@%%%*)
3714 eval ac_cv_prog_make_${ac_make}_set=yes;;
3716 eval ac_cv_prog_make_${ac_make}_set=no;;
3717 esac
3718 rm -f conftest.make
3720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3723 SET_MAKE=
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 SET_MAKE="MAKE=${MAKE-make}"
3730 ac_ext=c
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if ${ac_cv_prog_CC+:} false; then :
3741 $as_echo_n "(cached) " >&6
3742 else
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3749 IFS=$as_save_IFS
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3753 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755 break 2
3757 done
3758 done
3759 IFS=$as_save_IFS
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3774 if test -z "$ac_cv_prog_CC"; then
3775 ac_ct_CC=$CC
3776 # Extract the first word of "gcc", so it can be a program name with args.
3777 set dummy gcc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CC="gcc"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3797 done
3798 done
3799 IFS=$as_save_IFS
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3812 if test "x$ac_ct_CC" = x; then
3813 CC=""
3814 else
3815 case $cross_compiling:$ac_tool_warned in
3816 yes:)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3820 esac
3821 CC=$ac_ct_CC
3823 else
3824 CC="$ac_cv_prog_CC"
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}cc; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_CC+:} false; then :
3834 $as_echo_n "(cached) " >&6
3835 else
3836 if test -n "$CC"; then
3837 ac_cv_prog_CC="$CC" # Let the user override the test.
3838 else
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 for as_dir in $PATH
3842 IFS=$as_save_IFS
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3846 ac_cv_prog_CC="${ac_tool_prefix}cc"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 break 2
3850 done
3851 done
3852 IFS=$as_save_IFS
3856 CC=$ac_cv_prog_CC
3857 if test -n "$CC"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3859 $as_echo "$CC" >&6; }
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3868 if test -z "$CC"; then
3869 # Extract the first word of "cc", so it can be a program name with args.
3870 set dummy cc; ac_word=$2
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if ${ac_cv_prog_CC+:} false; then :
3874 $as_echo_n "(cached) " >&6
3875 else
3876 if test -n "$CC"; then
3877 ac_cv_prog_CC="$CC" # Let the user override the test.
3878 else
3879 ac_prog_rejected=no
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3888 ac_prog_rejected=yes
3889 continue
3891 ac_cv_prog_CC="cc"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3897 IFS=$as_save_IFS
3899 if test $ac_prog_rejected = yes; then
3900 # We found a bogon in the path, so make sure we never use it.
3901 set dummy $ac_cv_prog_CC
3902 shift
3903 if test $# != 0; then
3904 # We chose a different compiler from the bogus one.
3905 # However, it has the same basename, so the bogon will be chosen
3906 # first if we set CC to just the basename; use the full file name.
3907 shift
3908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3913 CC=$ac_cv_prog_CC
3914 if test -n "$CC"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3916 $as_echo "$CC" >&6; }
3917 else
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3924 if test -z "$CC"; then
3925 if test -n "$ac_tool_prefix"; then
3926 for ac_prog in cl.exe
3928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$CC"; then
3936 ac_cv_prog_CC="$CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3949 done
3950 done
3951 IFS=$as_save_IFS
3955 CC=$ac_cv_prog_CC
3956 if test -n "$CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3958 $as_echo "$CC" >&6; }
3959 else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3965 test -n "$CC" && break
3966 done
3968 if test -z "$CC"; then
3969 ac_ct_CC=$CC
3970 for ac_prog in cl.exe
3972 # Extract the first word of "$ac_prog", so it can be a program name with args.
3973 set dummy $ac_prog; ac_word=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3977 $as_echo_n "(cached) " >&6
3978 else
3979 if test -n "$ac_ct_CC"; then
3980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3981 else
3982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 for as_dir in $PATH
3985 IFS=$as_save_IFS
3986 test -z "$as_dir" && as_dir=.
3987 for ac_exec_ext in '' $ac_executable_extensions; do
3988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3989 ac_cv_prog_ac_ct_CC="$ac_prog"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 break 2
3993 done
3994 done
3995 IFS=$as_save_IFS
3999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4000 if test -n "$ac_ct_CC"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4002 $as_echo "$ac_ct_CC" >&6; }
4003 else
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4009 test -n "$ac_ct_CC" && break
4010 done
4012 if test "x$ac_ct_CC" = x; then
4013 CC=""
4014 else
4015 case $cross_compiling:$ac_tool_warned in
4016 yes:)
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4019 ac_tool_warned=yes ;;
4020 esac
4021 CC=$ac_ct_CC
4028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error $? "no acceptable C compiler found in \$PATH
4031 See \`config.log' for more details" "$LINENO" 5; }
4033 # Provide some information about the compiler.
4034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4035 set X $ac_compile
4036 ac_compiler=$2
4037 for ac_option in --version -v -V -qversion; do
4038 { { ac_try="$ac_compiler $ac_option >&5"
4039 case "(($ac_try" in
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4042 esac
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4046 ac_status=$?
4047 if test -s conftest.err; then
4048 sed '10a\
4049 ... rest of stderr output deleted ...
4050 10q' conftest.err >conftest.er1
4051 cat conftest.er1 >&5
4053 rm -f conftest.er1 conftest.err
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }
4056 done
4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h. */
4062 main ()
4066 return 0;
4068 _ACEOF
4069 ac_clean_files_save=$ac_clean_files
4070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4071 # Try to create an executable without -o first, disregard a.out.
4072 # It will help us diagnose broken compilers, and finding out an intuition
4073 # of exeext.
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4075 $as_echo_n "checking whether the C compiler works... " >&6; }
4076 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4078 # The possible output files:
4079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4081 ac_rmfiles=
4082 for ac_file in $ac_files
4084 case $ac_file in
4085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4087 esac
4088 done
4089 rm -f $ac_rmfiles
4091 if { { ac_try="$ac_link_default"
4092 case "(($ac_try" in
4093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4095 esac
4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4097 $as_echo "$ac_try_echo"; } >&5
4098 (eval "$ac_link_default") 2>&5
4099 ac_status=$?
4100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4101 test $ac_status = 0; }; then :
4102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4105 # so that the user can short-circuit this test for compilers unknown to
4106 # Autoconf.
4107 for ac_file in $ac_files ''
4109 test -f "$ac_file" || continue
4110 case $ac_file in
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4113 [ab].out )
4114 # We found the default executable, but exeext='' is most
4115 # certainly right.
4116 break;;
4117 *.* )
4118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4119 then :; else
4120 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4122 # We set ac_cv_exeext here because the later test for it is not
4123 # safe: cross compilers may not add the suffix if given an `-o'
4124 # argument, so we may need to know it at that point already.
4125 # Even if this section looks crufty: it has the advantage of
4126 # actually working.
4127 break;;
4129 break;;
4130 esac
4131 done
4132 test "$ac_cv_exeext" = no && ac_cv_exeext=
4134 else
4135 ac_file=''
4137 if test -z "$ac_file"; then :
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4140 $as_echo "$as_me: failed program was:" >&5
4141 sed 's/^/| /' conftest.$ac_ext >&5
4143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4145 as_fn_error 77 "C compiler cannot create executables
4146 See \`config.log' for more details" "$LINENO" 5; }
4147 else
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4149 $as_echo "yes" >&6; }
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4152 $as_echo_n "checking for C compiler default output file name... " >&6; }
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4154 $as_echo "$ac_file" >&6; }
4155 ac_exeext=$ac_cv_exeext
4157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4158 ac_clean_files=$ac_clean_files_save
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4160 $as_echo_n "checking for suffix of executables... " >&6; }
4161 if { { ac_try="$ac_link"
4162 case "(($ac_try" in
4163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4164 *) ac_try_echo=$ac_try;;
4165 esac
4166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4167 $as_echo "$ac_try_echo"; } >&5
4168 (eval "$ac_link") 2>&5
4169 ac_status=$?
4170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4171 test $ac_status = 0; }; then :
4172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4174 # work properly (i.e., refer to `conftest.exe'), while it won't with
4175 # `rm'.
4176 for ac_file in conftest.exe conftest conftest.*; do
4177 test -f "$ac_file" || continue
4178 case $ac_file in
4179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4181 break;;
4182 * ) break;;
4183 esac
4184 done
4185 else
4186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4188 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4189 See \`config.log' for more details" "$LINENO" 5; }
4191 rm -f conftest conftest$ac_cv_exeext
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4193 $as_echo "$ac_cv_exeext" >&6; }
4195 rm -f conftest.$ac_ext
4196 EXEEXT=$ac_cv_exeext
4197 ac_exeext=$EXEEXT
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4200 #include <stdio.h>
4202 main ()
4204 FILE *f = fopen ("conftest.out", "w");
4205 return ferror (f) || fclose (f) != 0;
4208 return 0;
4210 _ACEOF
4211 ac_clean_files="$ac_clean_files conftest.out"
4212 # Check that the compiler produces executables we can run. If not, either
4213 # the compiler is broken, or we cross compile.
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4215 $as_echo_n "checking whether we are cross compiling... " >&6; }
4216 if test "$cross_compiling" != yes; then
4217 { { ac_try="$ac_link"
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_link") 2>&5
4225 ac_status=$?
4226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4227 test $ac_status = 0; }
4228 if { ac_try='./conftest$ac_cv_exeext'
4229 { { case "(($ac_try" in
4230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4231 *) ac_try_echo=$ac_try;;
4232 esac
4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4234 $as_echo "$ac_try_echo"; } >&5
4235 (eval "$ac_try") 2>&5
4236 ac_status=$?
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }; }; then
4239 cross_compiling=no
4240 else
4241 if test "$cross_compiling" = maybe; then
4242 cross_compiling=yes
4243 else
4244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error $? "cannot run C compiled programs.
4247 If you meant to cross compile, use \`--host'.
4248 See \`config.log' for more details" "$LINENO" 5; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4253 $as_echo "$cross_compiling" >&6; }
4255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4256 ac_clean_files=$ac_clean_files_save
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4258 $as_echo_n "checking for suffix of object files... " >&6; }
4259 if ${ac_cv_objext+:} false; then :
4260 $as_echo_n "(cached) " >&6
4261 else
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4266 main ()
4270 return 0;
4272 _ACEOF
4273 rm -f conftest.o conftest.obj
4274 if { { ac_try="$ac_compile"
4275 case "(($ac_try" in
4276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4278 esac
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_compile") 2>&5
4282 ac_status=$?
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }; then :
4285 for ac_file in conftest.o conftest.obj conftest.*; do
4286 test -f "$ac_file" || continue;
4287 case $ac_file in
4288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4290 break;;
4291 esac
4292 done
4293 else
4294 $as_echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4299 as_fn_error $? "cannot compute suffix of object files: cannot compile
4300 See \`config.log' for more details" "$LINENO" 5; }
4302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4305 $as_echo "$ac_cv_objext" >&6; }
4306 OBJEXT=$ac_cv_objext
4307 ac_objext=$OBJEXT
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4310 if ${ac_cv_c_compiler_gnu+:} false; then :
4311 $as_echo_n "(cached) " >&6
4312 else
4313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4314 /* end confdefs.h. */
4317 main ()
4319 #ifndef __GNUC__
4320 choke me
4321 #endif
4324 return 0;
4326 _ACEOF
4327 if ac_fn_c_try_compile "$LINENO"; then :
4328 ac_compiler_gnu=yes
4329 else
4330 ac_compiler_gnu=no
4332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4338 if test $ac_compiler_gnu = yes; then
4339 GCC=yes
4340 else
4341 GCC=
4343 ac_test_CFLAGS=${CFLAGS+set}
4344 ac_save_CFLAGS=$CFLAGS
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4347 if ${ac_cv_prog_cc_g+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 ac_save_c_werror_flag=$ac_c_werror_flag
4351 ac_c_werror_flag=yes
4352 ac_cv_prog_cc_g=no
4353 CFLAGS="-g"
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4358 main ()
4362 return 0;
4364 _ACEOF
4365 if ac_fn_c_try_compile "$LINENO"; then :
4366 ac_cv_prog_cc_g=yes
4367 else
4368 CFLAGS=""
4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4370 /* end confdefs.h. */
4373 main ()
4377 return 0;
4379 _ACEOF
4380 if ac_fn_c_try_compile "$LINENO"; then :
4382 else
4383 ac_c_werror_flag=$ac_save_c_werror_flag
4384 CFLAGS="-g"
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4389 main ()
4393 return 0;
4395 _ACEOF
4396 if ac_fn_c_try_compile "$LINENO"; then :
4397 ac_cv_prog_cc_g=yes
4399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 ac_c_werror_flag=$ac_save_c_werror_flag
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4407 $as_echo "$ac_cv_prog_cc_g" >&6; }
4408 if test "$ac_test_CFLAGS" = set; then
4409 CFLAGS=$ac_save_CFLAGS
4410 elif test $ac_cv_prog_cc_g = yes; then
4411 if test "$GCC" = yes; then
4412 CFLAGS="-g -O2"
4413 else
4414 CFLAGS="-g"
4416 else
4417 if test "$GCC" = yes; then
4418 CFLAGS="-O2"
4419 else
4420 CFLAGS=
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4425 if ${ac_cv_prog_cc_c89+:} false; then :
4426 $as_echo_n "(cached) " >&6
4427 else
4428 ac_cv_prog_cc_c89=no
4429 ac_save_CC=$CC
4430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h. */
4432 #include <stdarg.h>
4433 #include <stdio.h>
4434 struct stat;
4435 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4436 struct buf { int x; };
4437 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4438 static char *e (p, i)
4439 char **p;
4440 int i;
4442 return p[i];
4444 static char *f (char * (*g) (char **, int), char **p, ...)
4446 char *s;
4447 va_list v;
4448 va_start (v,p);
4449 s = g (p, va_arg (v,int));
4450 va_end (v);
4451 return s;
4454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4455 function prototypes and stuff, but not '\xHH' hex character constants.
4456 These don't provoke an error unfortunately, instead are silently treated
4457 as 'x'. The following induces an error, until -std is added to get
4458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4459 array size at least. It's necessary to write '\x00'==0 to get something
4460 that's true only with -std. */
4461 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4464 inside strings and character constants. */
4465 #define FOO(x) 'x'
4466 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4468 int test (int i, double x);
4469 struct s1 {int (*f) (int a);};
4470 struct s2 {int (*f) (double a);};
4471 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4472 int argc;
4473 char **argv;
4475 main ()
4477 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4479 return 0;
4481 _ACEOF
4482 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4485 CC="$ac_save_CC $ac_arg"
4486 if ac_fn_c_try_compile "$LINENO"; then :
4487 ac_cv_prog_cc_c89=$ac_arg
4489 rm -f core conftest.err conftest.$ac_objext
4490 test "x$ac_cv_prog_cc_c89" != "xno" && break
4491 done
4492 rm -f conftest.$ac_ext
4493 CC=$ac_save_CC
4496 # AC_CACHE_VAL
4497 case "x$ac_cv_prog_cc_c89" in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4500 $as_echo "none needed" >&6; } ;;
4501 xno)
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4503 $as_echo "unsupported" >&6; } ;;
4505 CC="$CC $ac_cv_prog_cc_c89"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4508 esac
4509 if test "x$ac_cv_prog_cc_c89" != xno; then :
4513 ac_ext=c
4514 ac_cpp='$CPP $CPPFLAGS'
4515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519 ac_ext=cpp
4520 ac_cpp='$CXXCPP $CPPFLAGS'
4521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4524 if test -z "$CXX"; then
4525 if test -n "$CCC"; then
4526 CXX=$CCC
4527 else
4528 if test -n "$ac_tool_prefix"; then
4529 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_CXX+:} false; then :
4536 $as_echo_n "(cached) " >&6
4537 else
4538 if test -n "$CXX"; then
4539 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4540 else
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH
4544 IFS=$as_save_IFS
4545 test -z "$as_dir" && as_dir=.
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 break 2
4552 done
4553 done
4554 IFS=$as_save_IFS
4558 CXX=$ac_cv_prog_CXX
4559 if test -n "$CXX"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4561 $as_echo "$CXX" >&6; }
4562 else
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4568 test -n "$CXX" && break
4569 done
4571 if test -z "$CXX"; then
4572 ac_ct_CXX=$CXX
4573 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4575 # Extract the first word of "$ac_prog", so it can be a program name with args.
4576 set dummy $ac_prog; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4580 $as_echo_n "(cached) " >&6
4581 else
4582 if test -n "$ac_ct_CXX"; then
4583 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4584 else
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH
4588 IFS=$as_save_IFS
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4592 ac_cv_prog_ac_ct_CXX="$ac_prog"
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 break 2
4596 done
4597 done
4598 IFS=$as_save_IFS
4602 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4603 if test -n "$ac_ct_CXX"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4605 $as_echo "$ac_ct_CXX" >&6; }
4606 else
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4612 test -n "$ac_ct_CXX" && break
4613 done
4615 if test "x$ac_ct_CXX" = x; then
4616 CXX="g++"
4617 else
4618 case $cross_compiling:$ac_tool_warned in
4619 yes:)
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4622 ac_tool_warned=yes ;;
4623 esac
4624 CXX=$ac_ct_CXX
4630 # Provide some information about the compiler.
4631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4632 set X $ac_compile
4633 ac_compiler=$2
4634 for ac_option in --version -v -V -qversion; do
4635 { { ac_try="$ac_compiler $ac_option >&5"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4641 $as_echo "$ac_try_echo"; } >&5
4642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4643 ac_status=$?
4644 if test -s conftest.err; then
4645 sed '10a\
4646 ... rest of stderr output deleted ...
4647 10q' conftest.err >conftest.er1
4648 cat conftest.er1 >&5
4650 rm -f conftest.er1 conftest.err
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }
4653 done
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4656 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4657 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4658 $as_echo_n "(cached) " >&6
4659 else
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4664 main ()
4666 #ifndef __GNUC__
4667 choke me
4668 #endif
4671 return 0;
4673 _ACEOF
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_compiler_gnu=yes
4676 else
4677 ac_compiler_gnu=no
4679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4680 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4684 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4685 if test $ac_compiler_gnu = yes; then
4686 GXX=yes
4687 else
4688 GXX=
4690 ac_test_CXXFLAGS=${CXXFLAGS+set}
4691 ac_save_CXXFLAGS=$CXXFLAGS
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4693 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4694 if ${ac_cv_prog_cxx_g+:} false; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4698 ac_cxx_werror_flag=yes
4699 ac_cv_prog_cxx_g=no
4700 CXXFLAGS="-g"
4701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4702 /* end confdefs.h. */
4705 main ()
4709 return 0;
4711 _ACEOF
4712 if ac_fn_cxx_try_compile "$LINENO"; then :
4713 ac_cv_prog_cxx_g=yes
4714 else
4715 CXXFLAGS=""
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4720 main ()
4724 return 0;
4726 _ACEOF
4727 if ac_fn_cxx_try_compile "$LINENO"; then :
4729 else
4730 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4731 CXXFLAGS="-g"
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4736 main ()
4740 return 0;
4742 _ACEOF
4743 if ac_fn_cxx_try_compile "$LINENO"; then :
4744 ac_cv_prog_cxx_g=yes
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4754 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4755 if test "$ac_test_CXXFLAGS" = set; then
4756 CXXFLAGS=$ac_save_CXXFLAGS
4757 elif test $ac_cv_prog_cxx_g = yes; then
4758 if test "$GXX" = yes; then
4759 CXXFLAGS="-g -O2"
4760 else
4761 CXXFLAGS="-g"
4763 else
4764 if test "$GXX" = yes; then
4765 CXXFLAGS="-O2"
4766 else
4767 CXXFLAGS=
4770 ac_ext=c
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776 if test -n "$ac_tool_prefix"; then
4777 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4778 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if ${ac_cv_prog_CPPBIN+:} false; then :
4782 $as_echo_n "(cached) " >&6
4783 else
4784 if test -n "$CPPBIN"; then
4785 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4786 else
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 for as_dir in $PATH
4790 IFS=$as_save_IFS
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 break 2
4798 done
4799 done
4800 IFS=$as_save_IFS
4804 CPPBIN=$ac_cv_prog_CPPBIN
4805 if test -n "$CPPBIN"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4807 $as_echo "$CPPBIN" >&6; }
4808 else
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4815 if test -z "$ac_cv_prog_CPPBIN"; then
4816 ac_ct_CPPBIN=$CPPBIN
4817 # Extract the first word of "cpp", so it can be a program name with args.
4818 set dummy cpp; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4822 $as_echo_n "(cached) " >&6
4823 else
4824 if test -n "$ac_ct_CPPBIN"; then
4825 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4826 else
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 test -z "$as_dir" && as_dir=.
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_ac_ct_CPPBIN="cpp"
4835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4845 if test -n "$ac_ct_CPPBIN"; then
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4847 $as_echo "$ac_ct_CPPBIN" >&6; }
4848 else
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 $as_echo "no" >&6; }
4853 if test "x$ac_ct_CPPBIN" = x; then
4854 CPPBIN="cpp"
4855 else
4856 case $cross_compiling:$ac_tool_warned in
4857 yes:)
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4860 ac_tool_warned=yes ;;
4861 esac
4862 CPPBIN=$ac_ct_CPPBIN
4864 else
4865 CPPBIN="$ac_cv_prog_CPPBIN"
4869 cat >>confdefs.h <<_ACEOF
4870 #define EXEEXT "$ac_exeext"
4871 _ACEOF
4873 if test -n "$ac_tool_prefix"; then
4874 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4875 set dummy ${ac_tool_prefix}ld; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_LD+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$LD"; then
4882 ac_cv_prog_LD="$LD" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_LD="${ac_tool_prefix}ld"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 LD=$ac_cv_prog_LD
4902 if test -n "$LD"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4904 $as_echo "$LD" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4912 if test -z "$ac_cv_prog_LD"; then
4913 ac_ct_LD=$LD
4914 # Extract the first word of "ld", so it can be a program name with args.
4915 set dummy ld; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$ac_ct_LD"; then
4922 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_ac_ct_LD="ld"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4937 IFS=$as_save_IFS
4941 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4942 if test -n "$ac_ct_LD"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4944 $as_echo "$ac_ct_LD" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4950 if test "x$ac_ct_LD" = x; then
4951 LD=""
4952 else
4953 case $cross_compiling:$ac_tool_warned in
4954 yes:)
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4957 ac_tool_warned=yes ;;
4958 esac
4959 LD=$ac_ct_LD
4961 else
4962 LD="$ac_cv_prog_LD"
4966 case $host in
4967 *-darwin*)
4968 with_fontconfig=${with_fontconfig:-no}
4970 *-mingw32*|*-cygwin*)
4971 enable_win16=${enable_win16:-no}
4972 CFLAGS="$CFLAGS -D_WIN32"
4974 esac
4976 case $host in
4977 x86_64*|amd64*)
4978 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4979 then
4980 CC="$CC -m32"
4981 CXX="$CXX -m32"
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4983 $as_echo_n "checking whether $CC works... " >&6; }
4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4986 /* end confdefs.h. */
4989 main ()
4993 return 0;
4995 _ACEOF
4996 if ac_fn_c_try_link "$LINENO"; then :
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4998 $as_echo "yes" >&6; }
4999 else
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5002 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5004 rm -f core conftest.err conftest.$ac_objext \
5005 conftest$ac_exeext conftest.$ac_ext
5006 host_cpu="i386"
5007 notice_platform="32-bit "
5008 TARGETFLAGS="-m32"
5010 enable_win16=${enable_win16:-yes}
5011 else
5012 if test "x${GCC}" = "xyes"
5013 then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5015 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5018 #include <stdarg.h>
5020 main ()
5022 void func(__builtin_ms_va_list *args);
5024 return 0;
5026 _ACEOF
5027 if ac_fn_c_try_compile "$LINENO"; then :
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5029 $as_echo "yes" >&6; }
5030 else
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5033 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 CC="$CC -m64"
5038 CXX="$CXX -m64"
5039 host_cpu="x86_64"
5040 notice_platform="64-bit "
5041 TARGETFLAGS="-m64"
5045 arm*)
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5047 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5050 int ac_test(int i) { return i; }
5052 main ()
5054 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5056 return 0;
5058 _ACEOF
5059 if ac_fn_c_try_link "$LINENO"; then :
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5061 $as_echo "yes" >&6; }
5062 else
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5065 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5067 rm -f core conftest.err conftest.$ac_objext \
5068 conftest$ac_exeext conftest.$ac_ext
5069 CFLAGS="$CFLAGS -marm"
5070 TARGETFLAGS="-marm"
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
6118 enable_po=${enable_po:-no}
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6123 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6124 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6125 $as_echo_n "(cached) " >&6
6126 else
6127 ac_check_lib_save_LIBS=$LIBS
6128 LIBS="-li386 $LIBS"
6129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6130 /* end confdefs.h. */
6132 /* Override any GCC internal prototype to avoid an error.
6133 Use char because int might match the return type of a GCC
6134 builtin and then its argument prototype would still apply. */
6135 #ifdef __cplusplus
6136 extern "C"
6137 #endif
6138 char i386_set_ldt ();
6140 main ()
6142 return i386_set_ldt ();
6144 return 0;
6146 _ACEOF
6147 if ac_fn_c_try_link "$LINENO"; then :
6148 ac_cv_lib_i386_i386_set_ldt=yes
6149 else
6150 ac_cv_lib_i386_i386_set_ldt=no
6152 rm -f core conftest.err conftest.$ac_objext \
6153 conftest$ac_exeext conftest.$ac_ext
6154 LIBS=$ac_check_lib_save_LIBS
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6157 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6158 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6159 cat >>confdefs.h <<_ACEOF
6160 #define HAVE_LIBI386 1
6161 _ACEOF
6163 LIBS="-li386 $LIBS"
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6168 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6169 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6170 $as_echo_n "(cached) " >&6
6171 else
6172 ac_check_lib_save_LIBS=$LIBS
6173 LIBS="-lossaudio $LIBS"
6174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h. */
6177 /* Override any GCC internal prototype to avoid an error.
6178 Use char because int might match the return type of a GCC
6179 builtin and then its argument prototype would still apply. */
6180 #ifdef __cplusplus
6181 extern "C"
6182 #endif
6183 char _oss_ioctl ();
6185 main ()
6187 return _oss_ioctl ();
6189 return 0;
6191 _ACEOF
6192 if ac_fn_c_try_link "$LINENO"; then :
6193 ac_cv_lib_ossaudio__oss_ioctl=yes
6194 else
6195 ac_cv_lib_ossaudio__oss_ioctl=no
6197 rm -f core conftest.err conftest.$ac_objext \
6198 conftest$ac_exeext conftest.$ac_ext
6199 LIBS=$ac_check_lib_save_LIBS
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6202 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6203 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6204 cat >>confdefs.h <<_ACEOF
6205 #define HAVE_LIBOSSAUDIO 1
6206 _ACEOF
6208 LIBS="-lossaudio $LIBS"
6213 OPENGL_LIBS=""
6217 # Check whether --enable-largefile was given.
6218 if test "${enable_largefile+set}" = set; then :
6219 enableval=$enable_largefile;
6222 if test "$enable_largefile" != no; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6225 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6226 if ${ac_cv_sys_largefile_CC+:} false; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 ac_cv_sys_largefile_CC=no
6230 if test "$GCC" != yes; then
6231 ac_save_CC=$CC
6232 while :; do
6233 # IRIX 6.2 and later do not support large files by default,
6234 # so use the C compiler's -n32 option if that helps.
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6237 #include <sys/types.h>
6238 /* Check that off_t can represent 2**63 - 1 correctly.
6239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6240 since some C++ compilers masquerading as C compilers
6241 incorrectly reject 9223372036854775807. */
6242 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6244 && LARGE_OFF_T % 2147483647 == 1)
6245 ? 1 : -1];
6247 main ()
6251 return 0;
6253 _ACEOF
6254 if ac_fn_c_try_compile "$LINENO"; then :
6255 break
6257 rm -f core conftest.err conftest.$ac_objext
6258 CC="$CC -n32"
6259 if ac_fn_c_try_compile "$LINENO"; then :
6260 ac_cv_sys_largefile_CC=' -n32'; break
6262 rm -f core conftest.err conftest.$ac_objext
6263 break
6264 done
6265 CC=$ac_save_CC
6266 rm -f conftest.$ac_ext
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6270 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6271 if test "$ac_cv_sys_largefile_CC" != no; then
6272 CC=$CC$ac_cv_sys_largefile_CC
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6276 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6277 if ${ac_cv_sys_file_offset_bits+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 while :; do
6281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6283 #include <sys/types.h>
6284 /* Check that off_t can represent 2**63 - 1 correctly.
6285 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6286 since some C++ compilers masquerading as C compilers
6287 incorrectly reject 9223372036854775807. */
6288 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6289 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6290 && LARGE_OFF_T % 2147483647 == 1)
6291 ? 1 : -1];
6293 main ()
6297 return 0;
6299 _ACEOF
6300 if ac_fn_c_try_compile "$LINENO"; then :
6301 ac_cv_sys_file_offset_bits=no; break
6303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h. */
6306 #define _FILE_OFFSET_BITS 64
6307 #include <sys/types.h>
6308 /* Check that off_t can represent 2**63 - 1 correctly.
6309 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6310 since some C++ compilers masquerading as C compilers
6311 incorrectly reject 9223372036854775807. */
6312 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6313 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6314 && LARGE_OFF_T % 2147483647 == 1)
6315 ? 1 : -1];
6317 main ()
6321 return 0;
6323 _ACEOF
6324 if ac_fn_c_try_compile "$LINENO"; then :
6325 ac_cv_sys_file_offset_bits=64; break
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6328 ac_cv_sys_file_offset_bits=unknown
6329 break
6330 done
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6333 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6334 case $ac_cv_sys_file_offset_bits in #(
6335 no | unknown) ;;
6337 cat >>confdefs.h <<_ACEOF
6338 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6339 _ACEOF
6341 esac
6342 rm -rf conftest*
6343 if test $ac_cv_sys_file_offset_bits = unknown; then
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6345 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6346 if ${ac_cv_sys_large_files+:} false; then :
6347 $as_echo_n "(cached) " >&6
6348 else
6349 while :; do
6350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6351 /* end confdefs.h. */
6352 #include <sys/types.h>
6353 /* Check that off_t can represent 2**63 - 1 correctly.
6354 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6355 since some C++ compilers masquerading as C compilers
6356 incorrectly reject 9223372036854775807. */
6357 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6358 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6359 && LARGE_OFF_T % 2147483647 == 1)
6360 ? 1 : -1];
6362 main ()
6366 return 0;
6368 _ACEOF
6369 if ac_fn_c_try_compile "$LINENO"; then :
6370 ac_cv_sys_large_files=no; break
6372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #define _LARGE_FILES 1
6376 #include <sys/types.h>
6377 /* Check that off_t can represent 2**63 - 1 correctly.
6378 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6379 since some C++ compilers masquerading as C compilers
6380 incorrectly reject 9223372036854775807. */
6381 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6382 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6383 && LARGE_OFF_T % 2147483647 == 1)
6384 ? 1 : -1];
6386 main ()
6390 return 0;
6392 _ACEOF
6393 if ac_fn_c_try_compile "$LINENO"; then :
6394 ac_cv_sys_large_files=1; break
6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_sys_large_files=unknown
6398 break
6399 done
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6402 $as_echo "$ac_cv_sys_large_files" >&6; }
6403 case $ac_cv_sys_large_files in #(
6404 no | unknown) ;;
6406 cat >>confdefs.h <<_ACEOF
6407 #define _LARGE_FILES $ac_cv_sys_large_files
6408 _ACEOF
6410 esac
6411 rm -rf conftest*
6418 ac_ext=c
6419 ac_cpp='$CPP $CPPFLAGS'
6420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6424 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6425 # On Suns, sometimes $CPP names a directory.
6426 if test -n "$CPP" && test -d "$CPP"; then
6427 CPP=
6429 if test -z "$CPP"; then
6430 if ${ac_cv_prog_CPP+:} false; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 # Double quotes because CPP needs to be expanded
6434 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6436 ac_preproc_ok=false
6437 for ac_c_preproc_warn_flag in '' yes
6439 # Use a header file that comes with gcc, so configuring glibc
6440 # with a fresh cross-compiler works.
6441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6442 # <limits.h> exists even on freestanding compilers.
6443 # On the NeXT, cc -E runs the code through the compiler's parser,
6444 # not just through cpp. "Syntax error" is here to catch this case.
6445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6446 /* end confdefs.h. */
6447 #ifdef __STDC__
6448 # include <limits.h>
6449 #else
6450 # include <assert.h>
6451 #endif
6452 Syntax error
6453 _ACEOF
6454 if ac_fn_c_try_cpp "$LINENO"; then :
6456 else
6457 # Broken: fails on valid input.
6458 continue
6460 rm -f conftest.err conftest.i conftest.$ac_ext
6462 # OK, works on sane cases. Now check whether nonexistent headers
6463 # can be detected and how.
6464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6465 /* end confdefs.h. */
6466 #include <ac_nonexistent.h>
6467 _ACEOF
6468 if ac_fn_c_try_cpp "$LINENO"; then :
6469 # Broken: success on invalid input.
6470 continue
6471 else
6472 # Passes both tests.
6473 ac_preproc_ok=:
6474 break
6476 rm -f conftest.err conftest.i conftest.$ac_ext
6478 done
6479 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6480 rm -f conftest.i conftest.err conftest.$ac_ext
6481 if $ac_preproc_ok; then :
6482 break
6485 done
6486 ac_cv_prog_CPP=$CPP
6489 CPP=$ac_cv_prog_CPP
6490 else
6491 ac_cv_prog_CPP=$CPP
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6494 $as_echo "$CPP" >&6; }
6495 ac_preproc_ok=false
6496 for ac_c_preproc_warn_flag in '' yes
6498 # Use a header file that comes with gcc, so configuring glibc
6499 # with a fresh cross-compiler works.
6500 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6501 # <limits.h> exists even on freestanding compilers.
6502 # On the NeXT, cc -E runs the code through the compiler's parser,
6503 # not just through cpp. "Syntax error" is here to catch this case.
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6506 #ifdef __STDC__
6507 # include <limits.h>
6508 #else
6509 # include <assert.h>
6510 #endif
6511 Syntax error
6512 _ACEOF
6513 if ac_fn_c_try_cpp "$LINENO"; then :
6515 else
6516 # Broken: fails on valid input.
6517 continue
6519 rm -f conftest.err conftest.i conftest.$ac_ext
6521 # OK, works on sane cases. Now check whether nonexistent headers
6522 # can be detected and how.
6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #include <ac_nonexistent.h>
6526 _ACEOF
6527 if ac_fn_c_try_cpp "$LINENO"; then :
6528 # Broken: success on invalid input.
6529 continue
6530 else
6531 # Passes both tests.
6532 ac_preproc_ok=:
6533 break
6535 rm -f conftest.err conftest.i conftest.$ac_ext
6537 done
6538 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6539 rm -f conftest.i conftest.err conftest.$ac_ext
6540 if $ac_preproc_ok; then :
6542 else
6543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6545 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6546 See \`config.log' for more details" "$LINENO" 5; }
6549 ac_ext=c
6550 ac_cpp='$CPP $CPPFLAGS'
6551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6557 $as_echo_n "checking for ANSI C header files... " >&6; }
6558 if ${ac_cv_header_stdc+:} false; then :
6559 $as_echo_n "(cached) " >&6
6560 else
6561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6562 /* end confdefs.h. */
6563 #include <stdlib.h>
6564 #include <stdarg.h>
6565 #include <string.h>
6566 #include <float.h>
6569 main ()
6573 return 0;
6575 _ACEOF
6576 if ac_fn_c_try_compile "$LINENO"; then :
6577 ac_cv_header_stdc=yes
6578 else
6579 ac_cv_header_stdc=no
6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6583 if test $ac_cv_header_stdc = yes; then
6584 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 #include <string.h>
6589 _ACEOF
6590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6591 $EGREP "memchr" >/dev/null 2>&1; then :
6593 else
6594 ac_cv_header_stdc=no
6596 rm -f conftest*
6600 if test $ac_cv_header_stdc = yes; then
6601 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6604 #include <stdlib.h>
6606 _ACEOF
6607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6608 $EGREP "free" >/dev/null 2>&1; then :
6610 else
6611 ac_cv_header_stdc=no
6613 rm -f conftest*
6617 if test $ac_cv_header_stdc = yes; then
6618 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6619 if test "$cross_compiling" = yes; then :
6621 else
6622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6624 #include <ctype.h>
6625 #include <stdlib.h>
6626 #if ((' ' & 0x0FF) == 0x020)
6627 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6628 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6629 #else
6630 # define ISLOWER(c) \
6631 (('a' <= (c) && (c) <= 'i') \
6632 || ('j' <= (c) && (c) <= 'r') \
6633 || ('s' <= (c) && (c) <= 'z'))
6634 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6635 #endif
6637 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6639 main ()
6641 int i;
6642 for (i = 0; i < 256; i++)
6643 if (XOR (islower (i), ISLOWER (i))
6644 || toupper (i) != TOUPPER (i))
6645 return 2;
6646 return 0;
6648 _ACEOF
6649 if ac_fn_c_try_run "$LINENO"; then :
6651 else
6652 ac_cv_header_stdc=no
6654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6655 conftest.$ac_objext conftest.beam conftest.$ac_ext
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6661 $as_echo "$ac_cv_header_stdc" >&6; }
6662 if test $ac_cv_header_stdc = yes; then
6664 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6668 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6669 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6670 inttypes.h stdint.h unistd.h
6671 do :
6672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6673 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6675 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6676 cat >>confdefs.h <<_ACEOF
6677 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6678 _ACEOF
6682 done
6685 for ac_header in \
6686 AL/al.h \
6687 ApplicationServices/ApplicationServices.h \
6688 AudioToolbox/AudioConverter.h \
6689 AudioUnit/AudioUnit.h \
6690 AudioUnit/AudioComponent.h \
6691 CL/cl.h \
6692 Carbon/Carbon.h \
6693 CommonCrypto/CommonDigest.h \
6694 CoreAudio/CoreAudio.h \
6695 CoreServices/CoreServices.h \
6696 DiskArbitration/DiskArbitration.h \
6697 IOKit/IOKitLib.h \
6698 IOKit/hid/IOHIDLib.h \
6699 OpenAL/al.h \
6700 OpenCL/opencl.h \
6701 QuickTime/ImageCompression.h \
6702 Security/Security.h \
6703 alias.h \
6704 alsa/asoundlib.h \
6705 arpa/inet.h \
6706 arpa/nameser.h \
6707 asm/types.h \
6708 asm/user.h \
6709 curses.h \
6710 direct.h \
6711 dirent.h \
6712 dlfcn.h \
6713 elf.h \
6714 float.h \
6715 fnmatch.h \
6716 getopt.h \
6717 gettext-po.h \
6718 grp.h \
6719 gsm.h \
6720 gsm/gsm.h \
6721 ieeefp.h \
6722 inet/mib2.h \
6723 io.h \
6724 kstat.h \
6725 lber.h \
6726 ldap.h \
6727 libproc.h \
6728 link.h \
6729 linux/cdrom.h \
6730 linux/compiler.h \
6731 linux/filter.h \
6732 linux/hdreg.h \
6733 linux/input.h \
6734 linux/ioctl.h \
6735 linux/joystick.h \
6736 linux/major.h \
6737 linux/param.h \
6738 linux/serial.h \
6739 linux/types.h \
6740 linux/ucdrom.h \
6741 lwp.h \
6742 mach-o/nlist.h \
6743 mach-o/loader.h \
6744 mach/mach.h \
6745 mach/machine.h \
6746 machine/cpu.h \
6747 machine/limits.h \
6748 machine/sysarch.h \
6749 mntent.h \
6750 ncurses.h \
6751 netdb.h \
6752 netinet/in.h \
6753 netinet/in_systm.h \
6754 netinet/tcp.h \
6755 netinet/tcp_fsm.h \
6756 pcap/pcap.h \
6757 poll.h \
6758 port.h \
6759 process.h \
6760 pthread.h \
6761 pwd.h \
6762 sched.h \
6763 scsi/scsi.h \
6764 scsi/scsi_ioctl.h \
6765 scsi/sg.h \
6766 stdbool.h \
6767 stdint.h \
6768 stropts.h \
6769 sys/asoundlib.h \
6770 sys/attr.h \
6771 sys/cdio.h \
6772 sys/elf32.h \
6773 sys/epoll.h \
6774 sys/event.h \
6775 sys/exec_elf.h \
6776 sys/filio.h \
6777 sys/inotify.h \
6778 sys/ioctl.h \
6779 sys/ipc.h \
6780 sys/limits.h \
6781 sys/link.h \
6782 sys/mman.h \
6783 sys/modem.h \
6784 sys/msg.h \
6785 sys/mtio.h \
6786 sys/param.h \
6787 sys/poll.h \
6788 sys/prctl.h \
6789 sys/protosw.h \
6790 sys/ptrace.h \
6791 sys/queue.h \
6792 sys/resource.h \
6793 sys/scsiio.h \
6794 sys/shm.h \
6795 sys/signal.h \
6796 sys/socket.h \
6797 sys/socketvar.h \
6798 sys/sockio.h \
6799 sys/statvfs.h \
6800 sys/strtio.h \
6801 sys/syscall.h \
6802 sys/tihdr.h \
6803 sys/time.h \
6804 sys/timeout.h \
6805 sys/times.h \
6806 sys/uio.h \
6807 sys/user.h \
6808 sys/utsname.h \
6809 sys/vm86.h \
6810 sys/vnode.h \
6811 sys/wait.h \
6812 syscall.h \
6813 termios.h \
6814 unistd.h \
6815 utime.h \
6816 valgrind/memcheck.h \
6817 valgrind/valgrind.h \
6818 zlib.h
6820 do :
6821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6822 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6823 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6824 cat >>confdefs.h <<_ACEOF
6825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 _ACEOF
6830 done
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6833 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6834 if ${ac_cv_header_stat_broken+:} false; then :
6835 $as_echo_n "(cached) " >&6
6836 else
6837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6839 #include <sys/types.h>
6840 #include <sys/stat.h>
6842 #if defined S_ISBLK && defined S_IFDIR
6843 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6844 #endif
6846 #if defined S_ISBLK && defined S_IFCHR
6847 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6848 #endif
6850 #if defined S_ISLNK && defined S_IFREG
6851 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6852 #endif
6854 #if defined S_ISSOCK && defined S_IFREG
6855 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6856 #endif
6858 _ACEOF
6859 if ac_fn_c_try_compile "$LINENO"; then :
6860 ac_cv_header_stat_broken=no
6861 else
6862 ac_cv_header_stat_broken=yes
6864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6867 $as_echo "$ac_cv_header_stat_broken" >&6; }
6868 if test $ac_cv_header_stat_broken = yes; then
6870 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6876 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6877 do :
6878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6879 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6880 #ifdef HAVE_SYS_PARAM_H
6881 # include <sys/param.h>
6882 #endif
6884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6891 done
6894 for ac_header in \
6895 netinet/ip.h \
6896 net/if.h \
6897 net/if_arp.h \
6898 net/if_dl.h \
6899 net/if_types.h \
6900 net/route.h \
6901 netinet/if_ether.h \
6902 netinet/if_inarp.h \
6903 netinet/in_pcb.h \
6904 netinet/ip_icmp.h \
6905 netinet/ip_var.h \
6906 netinet/udp.h \
6907 netipx/ipx.h \
6908 sys/un.h \
6910 do :
6911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6912 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6913 #ifdef HAVE_SYS_SOCKET_H
6914 # include <sys/socket.h>
6915 #endif
6916 #ifdef HAVE_SYS_SOCKETVAR_H
6917 # include <sys/socketvar.h>
6918 #endif
6919 #ifdef HAVE_NET_ROUTE_H
6920 # include <net/route.h>
6921 #endif
6922 #ifdef HAVE_NETINET_IN_H
6923 # include <netinet/in.h>
6924 #endif
6925 #ifdef HAVE_NETINET_IN_SYSTM_H
6926 # include <netinet/in_systm.h>
6927 #endif
6928 #ifdef HAVE_NET_IF_H
6929 # include <net/if.h>
6930 #endif
6931 #ifdef HAVE_NETINET_IP_H
6932 # include <netinet/ip.h>
6933 #endif
6935 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6936 cat >>confdefs.h <<_ACEOF
6937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6938 _ACEOF
6942 done
6945 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6946 do :
6947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6948 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6949 #ifdef HAVE_ALIAS_H
6950 # include <alias.h>
6951 #endif
6952 #ifdef HAVE_SYS_SOCKET_H
6953 # include <sys/socket.h>
6954 #endif
6955 #ifdef HAVE_SYS_SOCKETVAR_H
6956 # include <sys/socketvar.h>
6957 #endif
6958 #ifdef HAVE_SYS_TIMEOUT_H
6959 # include <sys/timeout.h>
6960 #endif
6961 #ifdef HAVE_NETINET_IN_H
6962 # include <netinet/in.h>
6963 #endif
6964 #ifdef HAVE_NETINET_IN_SYSTM_H
6965 # include <netinet/in_systm.h>
6966 #endif
6967 #ifdef HAVE_NETINET_IP_H
6968 # include <netinet/ip.h>
6969 #endif
6970 #ifdef HAVE_NETINET_IP_VAR_H
6971 # include <netinet/ip_var.h>
6972 #endif
6973 #ifdef HAVE_NETINET_IP_ICMP_H
6974 # include <netinet/ip_icmp.h>
6975 #endif
6976 #ifdef HAVE_NETINET_UDP_H
6977 # include <netinet/udp.h>
6978 #endif
6979 #ifdef HAVE_NETINET_TCP_H
6980 # include <netinet/tcp.h>
6981 #endif
6982 #ifdef HAVE_NETINET_TCP_TIMER_H
6983 #include <netinet/tcp_timer.h>
6984 #endif
6986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6987 cat >>confdefs.h <<_ACEOF
6988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6989 _ACEOF
6993 done
6996 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6997 do :
6998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7000 #ifdef HAVE_ASM_TYPES_H
7001 # include <asm/types.h>
7002 #endif
7003 #ifdef HAVE_SYS_SOCKET_H
7004 # include <sys/socket.h>
7005 #endif
7006 #ifdef HAVE_LINUX_TYPES_H
7007 # include <linux/types.h>
7008 #endif
7010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7011 cat >>confdefs.h <<_ACEOF
7012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7013 _ACEOF
7017 done
7020 for ac_header in mach-o/dyld_images.h
7021 do :
7022 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7023 # include <stdbool.h>
7024 #endif
7025 #ifdef HAVE_STDINT_H
7026 # include <stdint.h>
7027 #endif
7029 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7030 cat >>confdefs.h <<_ACEOF
7031 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7032 _ACEOF
7036 done
7039 for ac_header in resolv.h
7040 do :
7041 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7042 #ifdef HAVE_SYS_SOCKET_H
7043 # include <sys/socket.h>
7044 #endif
7045 #ifdef HAVE_NETINET_IN_H
7046 # include <netinet/in.h>
7047 #endif
7048 #ifdef HAVE_ARPA_NAMESER_H
7049 # include <arpa/nameser.h>
7050 #endif
7052 if test "x$ac_cv_header_resolv_h" = xyes; then :
7053 cat >>confdefs.h <<_ACEOF
7054 #define HAVE_RESOLV_H 1
7055 _ACEOF
7059 done
7062 for ac_header in ifaddrs.h
7063 do :
7064 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7066 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7067 cat >>confdefs.h <<_ACEOF
7068 #define HAVE_IFADDRS_H 1
7069 _ACEOF
7073 done
7076 for ac_header in sys/ucontext.h
7077 do :
7078 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7080 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7081 cat >>confdefs.h <<_ACEOF
7082 #define HAVE_SYS_UCONTEXT_H 1
7083 _ACEOF
7087 done
7090 for ac_header in sys/thr.h
7091 do :
7092 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7093 #ifdef HAVE_SYS_UCONTEXT_H
7094 #include <sys/ucontext.h>
7095 #endif
7097 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7098 cat >>confdefs.h <<_ACEOF
7099 #define HAVE_SYS_THR_H 1
7100 _ACEOF
7104 done
7107 for ac_header in pthread_np.h
7108 do :
7109 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7110 #include <pthread.h>
7111 #endif
7113 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7114 cat >>confdefs.h <<_ACEOF
7115 #define HAVE_PTHREAD_NP_H 1
7116 _ACEOF
7120 done
7123 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7124 do :
7125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7127 #include <sys/time.h>
7128 #endif
7129 #include <sys/types.h>
7130 #ifdef HAVE_ASM_TYPES_H
7131 #include <asm/types.h>
7132 #endif
7134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7135 cat >>confdefs.h <<_ACEOF
7136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7137 _ACEOF
7141 done
7144 for ac_header in libprocstat.h
7145 do :
7146 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7147 #include <sys/param.h>
7148 #endif
7149 #ifdef HAVE_SYS_QUEUE_H
7150 #include <sys/queue.h>
7151 #endif
7152 #ifdef HAVE_SYS_SOCKET_H
7153 #include <sys/socket.h>
7154 #endif
7156 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7157 cat >>confdefs.h <<_ACEOF
7158 #define HAVE_LIBPROCSTAT_H 1
7159 _ACEOF
7163 done
7167 dlldir="\${libdir}/wine"
7169 DLLFLAGS="-D_REENTRANT"
7171 LDRPATH_INSTALL=""
7173 LDRPATH_LOCAL=""
7175 LDEXECFLAGS=""
7177 LIBEXT="so"
7178 DLLEXT=".so"
7179 IMPLIBEXT="def"
7180 STATIC_IMPLIBEXT="def.a"
7181 # Extract the first word of "ldd", so it can be a program name with args.
7182 set dummy ldd; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_path_LDD+:} false; then :
7186 $as_echo_n "(cached) " >&6
7187 else
7188 case $LDD in
7189 [\\/]* | ?:[\\/]*)
7190 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 as_dummy="/sbin:/usr/sbin:$PATH"
7195 for as_dir in $as_dummy
7197 IFS=$as_save_IFS
7198 test -z "$as_dir" && as_dir=.
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7201 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7203 break 2
7205 done
7206 done
7207 IFS=$as_save_IFS
7209 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7211 esac
7213 LDD=$ac_cv_path_LDD
7214 if test -n "$LDD"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7216 $as_echo "$LDD" >&6; }
7217 else
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7223 if test -n "$ac_tool_prefix"; then
7224 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7225 set dummy ${ac_tool_prefix}otool; ac_word=$2
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 $as_echo_n "checking for $ac_word... " >&6; }
7228 if ${ac_cv_prog_OTOOL+:} false; then :
7229 $as_echo_n "(cached) " >&6
7230 else
7231 if test -n "$OTOOL"; then
7232 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7233 else
7234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7235 for as_dir in $PATH
7237 IFS=$as_save_IFS
7238 test -z "$as_dir" && as_dir=.
7239 for ac_exec_ext in '' $ac_executable_extensions; do
7240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7241 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7243 break 2
7245 done
7246 done
7247 IFS=$as_save_IFS
7251 OTOOL=$ac_cv_prog_OTOOL
7252 if test -n "$OTOOL"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7254 $as_echo "$OTOOL" >&6; }
7255 else
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7262 if test -z "$ac_cv_prog_OTOOL"; then
7263 ac_ct_OTOOL=$OTOOL
7264 # Extract the first word of "otool", so it can be a program name with args.
7265 set dummy otool; ac_word=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7269 $as_echo_n "(cached) " >&6
7270 else
7271 if test -n "$ac_ct_OTOOL"; then
7272 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7273 else
7274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 for as_dir in $PATH
7277 IFS=$as_save_IFS
7278 test -z "$as_dir" && as_dir=.
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_ac_ct_OTOOL="otool"
7282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 break 2
7285 done
7286 done
7287 IFS=$as_save_IFS
7291 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7292 if test -n "$ac_ct_OTOOL"; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7294 $as_echo "$ac_ct_OTOOL" >&6; }
7295 else
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 $as_echo "no" >&6; }
7300 if test "x$ac_ct_OTOOL" = x; then
7301 OTOOL="otool"
7302 else
7303 case $cross_compiling:$ac_tool_warned in
7304 yes:)
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7307 ac_tool_warned=yes ;;
7308 esac
7309 OTOOL=$ac_ct_OTOOL
7311 else
7312 OTOOL="$ac_cv_prog_OTOOL"
7315 if test -n "$ac_tool_prefix"; then
7316 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7317 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7319 $as_echo_n "checking for $ac_word... " >&6; }
7320 if ${ac_cv_prog_READELF+:} false; then :
7321 $as_echo_n "(cached) " >&6
7322 else
7323 if test -n "$READELF"; then
7324 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7325 else
7326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7327 for as_dir in $PATH
7329 IFS=$as_save_IFS
7330 test -z "$as_dir" && as_dir=.
7331 for ac_exec_ext in '' $ac_executable_extensions; do
7332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7333 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7335 break 2
7337 done
7338 done
7339 IFS=$as_save_IFS
7343 READELF=$ac_cv_prog_READELF
7344 if test -n "$READELF"; then
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7346 $as_echo "$READELF" >&6; }
7347 else
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 $as_echo "no" >&6; }
7354 if test -z "$ac_cv_prog_READELF"; then
7355 ac_ct_READELF=$READELF
7356 # Extract the first word of "readelf", so it can be a program name with args.
7357 set dummy readelf; ac_word=$2
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 $as_echo_n "checking for $ac_word... " >&6; }
7360 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7361 $as_echo_n "(cached) " >&6
7362 else
7363 if test -n "$ac_ct_READELF"; then
7364 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7369 IFS=$as_save_IFS
7370 test -z "$as_dir" && as_dir=.
7371 for ac_exec_ext in '' $ac_executable_extensions; do
7372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7373 ac_cv_prog_ac_ct_READELF="readelf"
7374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 break 2
7377 done
7378 done
7379 IFS=$as_save_IFS
7383 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7384 if test -n "$ac_ct_READELF"; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7386 $as_echo "$ac_ct_READELF" >&6; }
7387 else
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7389 $as_echo "no" >&6; }
7392 if test "x$ac_ct_READELF" = x; then
7393 READELF="true"
7394 else
7395 case $cross_compiling:$ac_tool_warned in
7396 yes:)
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7399 ac_tool_warned=yes ;;
7400 esac
7401 READELF=$ac_ct_READELF
7403 else
7404 READELF="$ac_cv_prog_READELF"
7407 wine_rules_file=conf$$rules.make
7408 rm -f $wine_rules_file
7409 SUBDIRS=""
7411 DISABLED_SUBDIRS=""
7413 CONFIGURE_TARGETS=""
7415 ALL_TEST_RESOURCES=""
7418 wine_fn_append_file ()
7420 as_fn_append $1 " \\$as_nl $2"
7423 wine_fn_append_rule ()
7425 $as_echo "$1" >>$wine_rules_file
7428 wine_fn_has_flag ()
7430 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7433 wine_fn_all_rules ()
7435 wine_fn_append_file SUBDIRS $ac_dir
7436 wine_fn_append_rule \
7437 "all: $ac_dir
7438 .PHONY: $ac_dir
7439 $ac_dir: dummy
7440 @cd $ac_dir && \$(MAKE)"
7443 wine_fn_install_rules ()
7445 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7447 wine_fn_append_rule \
7448 ".PHONY: $ac_dir/install $ac_dir/uninstall
7449 $ac_dir/install:: $ac_dir
7450 @cd $ac_dir && \$(MAKE) install
7451 $ac_dir/uninstall::
7452 @cd $ac_dir && \$(MAKE) uninstall
7453 install:: $ac_dir/install
7454 __uninstall__: $ac_dir/uninstall"
7456 if wine_fn_has_flag install-lib
7457 then
7458 wine_fn_append_rule \
7459 ".PHONY: $ac_dir/install-lib
7460 $ac_dir/install-lib:: $ac_dir
7461 @cd $ac_dir && \$(MAKE) install-lib
7462 install-lib:: $ac_dir/install-lib"
7465 if wine_fn_has_flag install-dev
7466 then
7467 wine_fn_append_rule \
7468 ".PHONY: $ac_dir/install-dev
7469 $ac_dir/install-dev:: $ac_dir
7470 @cd $ac_dir && \$(MAKE) install-dev
7471 install-dev:: $ac_dir/install-dev"
7475 wine_fn_clean_rules ()
7477 ac_clean=$@
7479 if wine_fn_has_flag clean
7480 then
7481 wine_fn_append_rule \
7482 "$ac_dir/clean: dummy
7483 @cd $ac_dir && \$(MAKE) clean"
7484 else
7485 wine_fn_append_rule \
7486 "$ac_dir/clean: dummy
7487 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7489 wine_fn_append_rule \
7490 "__clean__: $ac_dir/clean
7491 .PHONY: $ac_dir/clean"
7494 wine_fn_disabled_rules ()
7496 ac_clean=$@
7498 wine_fn_append_file SUBDIRS $ac_dir
7499 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7500 wine_fn_append_rule \
7501 "__clean__: $ac_dir/clean
7502 .PHONY: $ac_dir/clean
7503 $ac_dir/clean: dummy
7504 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7507 wine_fn_config_makefile ()
7509 ac_dir=$1
7510 ac_enable=$2
7511 ac_flags=$3
7513 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7514 wine_fn_disabled_rules; return
7516 wine_fn_all_rules
7517 wine_fn_install_rules
7518 wine_fn_clean_rules
7521 wine_fn_config_lib ()
7523 ac_name=$1
7524 ac_flags=$2
7525 ac_dir=dlls/$ac_name
7526 ac_deps="include"
7528 if test "x$enable_tools" = xno; then :
7530 else
7531 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7533 wine_fn_all_rules
7534 wine_fn_clean_rules
7536 wine_fn_append_rule \
7537 ".PHONY: $ac_dir/install $ac_dir/uninstall
7538 $ac_dir/install:: $ac_dir
7539 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7540 $ac_dir/uninstall::
7541 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7542 install install-dev:: $ac_dir/install
7543 __uninstall__: $ac_dir/uninstall
7544 __builddeps__: $ac_dir
7545 $ac_dir: $ac_deps"
7548 wine_fn_config_dll ()
7550 ac_name=$1
7551 ac_dir=dlls/$ac_name
7552 ac_enable=$2
7553 ac_flags=$3
7554 ac_implib=${4:-$ac_name}
7555 ac_file=$ac_dir/lib$ac_implib
7556 ac_dll=$ac_name
7557 ac_deps="include"
7558 ac_implibflags=""
7560 if test "x$enable_tools" = xno; then :
7562 else
7563 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7565 case $ac_name in
7566 *16) ac_implibflags=" -m16" ;;
7567 *.*) ;;
7568 *) ac_dll=$ac_dll.dll ;;
7569 esac
7571 ac_clean=
7572 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7573 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7575 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7576 if test "$ac_enable" != enable_win16
7577 then
7578 wine_fn_clean_rules $ac_clean
7579 wine_fn_append_file SUBDIRS $ac_dir
7580 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7581 else
7582 wine_fn_disabled_rules $ac_clean
7583 return
7585 else
7586 wine_fn_all_rules
7587 wine_fn_clean_rules $ac_clean
7588 wine_fn_append_rule \
7589 "$ac_dir: __builddeps__
7590 manpages htmlpages sgmlpages xmlpages::
7591 @cd $ac_dir && \$(MAKE) \$@
7592 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7593 install install-lib:: $ac_dir/install-lib
7594 __uninstall__: $ac_dir/uninstall"
7595 if test -n "$DLLEXT"
7596 then
7597 wine_fn_append_rule \
7598 "$ac_dir/install-lib:: $ac_dir
7599 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7600 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7601 $ac_dir/uninstall::
7602 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7603 else
7604 wine_fn_append_rule \
7605 "$ac_dir/install-lib:: $ac_dir
7606 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7607 $ac_dir/uninstall::
7608 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7612 if wine_fn_has_flag staticimplib
7613 then
7614 wine_fn_append_rule \
7615 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7616 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7617 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7618 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7619 $ac_file.$STATIC_IMPLIBEXT: dummy
7620 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7621 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7622 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7623 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7624 $ac_dir/uninstall::
7625 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7626 install install-dev:: $ac_dir/install-dev
7627 __uninstall__: $ac_dir/uninstall"
7629 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7630 then
7631 wine_fn_append_rule \
7632 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7633 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7634 $ac_dir/uninstall::
7635 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7638 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7639 then
7640 wine_fn_append_rule \
7641 "__builddeps__: $ac_file.cross.a
7642 $ac_file.cross.a: dummy
7643 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7646 elif wine_fn_has_flag implib
7647 then
7648 wine_fn_append_rule \
7649 "__builddeps__: $ac_file.$IMPLIBEXT
7650 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7651 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7652 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7653 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7654 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7655 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7656 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 $ac_dir/uninstall::
7658 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7659 install install-dev:: $ac_dir/install-dev
7660 __uninstall__: $ac_dir/uninstall"
7661 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7662 then
7663 wine_fn_append_rule \
7664 "__builddeps__: $ac_file.cross.a
7665 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7666 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7671 wine_fn_config_program ()
7673 ac_name=$1
7674 ac_dir=programs/$ac_name
7675 ac_enable=$2
7676 ac_flags=$3
7677 ac_program=$ac_name
7679 case $ac_name in
7680 *.*) ;;
7681 *) ac_program=$ac_program.exe ;;
7682 esac
7684 ac_clean=
7685 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7686 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7688 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7689 wine_fn_disabled_rules $ac_clean; return
7692 wine_fn_all_rules
7693 wine_fn_clean_rules $ac_clean
7694 wine_fn_append_rule "$ac_dir: __builddeps__"
7696 wine_fn_has_flag install || return
7697 wine_fn_append_rule \
7698 ".PHONY: $ac_dir/install $ac_dir/uninstall
7699 install install-lib:: $ac_dir/install
7700 __uninstall__: $ac_dir/uninstall"
7702 if test -n "$DLLEXT"
7703 then
7704 wine_fn_append_rule \
7705 "$ac_dir/install:: $ac_dir
7706 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7707 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7708 $ac_dir/uninstall::
7709 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7711 if test -z "$with_wine64" && wine_fn_has_flag installbin
7712 then
7713 wine_fn_append_rule \
7714 "$ac_dir/install:: __tooldeps__
7715 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7716 $ac_dir/uninstall::
7717 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7719 else
7720 wine_fn_append_rule \
7721 "$ac_dir/install:: $ac_dir
7722 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7723 $ac_dir/uninstall::
7724 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7727 if test -z "$with_wine64" && wine_fn_has_flag manpage
7728 then
7729 wine_fn_append_rule \
7730 "$ac_dir/install:: $ac_dir
7731 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7732 $ac_dir/uninstall::
7733 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7737 wine_fn_config_test ()
7739 ac_dir=$1
7740 ac_name=$2
7741 ac_flags=$3
7743 ac_clean=
7744 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7745 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7747 if test "x$enable_tests" = xno; then :
7748 wine_fn_disabled_rules $ac_clean; return
7751 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7752 wine_fn_all_rules
7753 wine_fn_clean_rules $ac_clean
7755 wine_fn_append_rule \
7756 "$ac_dir: __builddeps__
7757 programs/winetest: $ac_dir
7758 check test: $ac_dir/test
7759 .PHONY: $ac_dir/test
7760 $ac_dir/test: dummy
7761 @cd $ac_dir && \$(MAKE) test
7762 testclean::
7763 \$(RM) $ac_dir/*.ok"
7765 if test -n "$CROSSTARGET"
7766 then
7767 wine_fn_append_rule \
7768 "crosstest: $ac_dir/crosstest
7769 .PHONY: $ac_dir/crosstest
7770 $ac_dir/crosstest: __builddeps__ dummy
7771 @cd $ac_dir && \$(MAKE) crosstest"
7775 wine_fn_config_tool ()
7777 ac_dir=$1
7778 ac_flags=$2
7779 if test "x$enable_tools" = xno; then :
7780 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7783 wine_fn_all_rules
7784 wine_fn_install_rules
7785 wine_fn_clean_rules
7787 wine_fn_append_rule "__tooldeps__: $ac_dir"
7788 wine_fn_append_rule "$ac_dir: libs/port"
7789 case $ac_dir in
7790 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7791 esac
7794 wine_fn_config_symlink ()
7796 ac_linkdir=
7797 if test "x$1" = "x-d"
7798 then
7799 ac_linkdir=$2
7800 shift; shift
7802 ac_links=$@
7803 wine_fn_append_rule \
7804 "$ac_links:
7805 @./config.status \$@"
7806 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7807 test -n "$ac_linkdir" || return
7808 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7811 wine_binary="wine"
7812 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7813 WINELOADER_PROGRAMS="$wine_binary"
7815 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7817 case $host_os in
7818 cygwin*|mingw32*)
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7821 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_DLLTOOL+:} false; then :
7825 $as_echo_n "(cached) " >&6
7826 else
7827 if test -n "$DLLTOOL"; then
7828 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7829 else
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 for as_dir in $PATH
7833 IFS=$as_save_IFS
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 break 2
7841 done
7842 done
7843 IFS=$as_save_IFS
7847 DLLTOOL=$ac_cv_prog_DLLTOOL
7848 if test -n "$DLLTOOL"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7850 $as_echo "$DLLTOOL" >&6; }
7851 else
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7858 if test -z "$ac_cv_prog_DLLTOOL"; then
7859 ac_ct_DLLTOOL=$DLLTOOL
7860 # Extract the first word of "dlltool", so it can be a program name with args.
7861 set dummy dlltool; ac_word=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863 $as_echo_n "checking for $ac_word... " >&6; }
7864 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7865 $as_echo_n "(cached) " >&6
7866 else
7867 if test -n "$ac_ct_DLLTOOL"; then
7868 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7869 else
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 for as_dir in $PATH
7873 IFS=$as_save_IFS
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7877 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 break 2
7881 done
7882 done
7883 IFS=$as_save_IFS
7887 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7888 if test -n "$ac_ct_DLLTOOL"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7890 $as_echo "$ac_ct_DLLTOOL" >&6; }
7891 else
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893 $as_echo "no" >&6; }
7896 if test "x$ac_ct_DLLTOOL" = x; then
7897 DLLTOOL="false"
7898 else
7899 case $cross_compiling:$ac_tool_warned in
7900 yes:)
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7903 ac_tool_warned=yes ;;
7904 esac
7905 DLLTOOL=$ac_ct_DLLTOOL
7907 else
7908 DLLTOOL="$ac_cv_prog_DLLTOOL"
7911 LIBEXT="dll"
7912 DLLEXT=""
7913 IMPLIBEXT="a"
7914 STATIC_IMPLIBEXT="a"
7915 enable_iphlpapi=${enable_iphlpapi:-no}
7916 enable_kernel32=${enable_kernel32:-no}
7917 enable_msvcrt=${enable_msvcrt:-no}
7918 enable_ntdll=${enable_ntdll:-no}
7919 enable_ws2_32=${enable_ws2_32:-no}
7920 enable_loader=${enable_loader:-no}
7921 enable_server=${enable_server:-no}
7922 with_x=${with_x:-no}
7923 with_pthread=${with_pthread:-no}
7925 crtlibs=""
7926 case $host_os in
7927 mingw32*)
7928 crtlibs="-lmsvcrt"
7929 SOCKET_LIBS="-lws2_32"
7931 esac
7933 LIBWINE_SHAREDLIB="libwine.dll"
7935 LIBWINE_IMPORTLIB="libwine.a"
7937 LIBWINE_INSTALL_LIB="libwine.dll"
7939 LIBWINE_INSTALL_DEV="libwine.a"
7941 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7943 LIBWINE_DEPENDS="wine.def"
7947 darwin*|macosx*)
7948 for ac_header in libunwind.h
7949 do :
7950 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7952 cat >>confdefs.h <<_ACEOF
7953 #define HAVE_LIBUNWIND_H 1
7954 _ACEOF
7958 done
7960 LIBEXT="dylib"
7961 DLLFLAGS="$DLLFLAGS -fPIC"
7962 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7963 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7964 COREFOUNDATION_LIBS="-framework CoreFoundation"
7966 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7968 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7970 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7972 CORESERVICES_LIBS="-framework CoreServices"
7974 APPKIT_LIBS="-framework AppKit"
7976 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7978 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7979 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 ac_wine_try_cflags_saved=$CFLAGS
7983 CFLAGS="$CFLAGS -Wl,-no_pie"
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7985 /* end confdefs.h. */
7986 int main(int argc, char **argv) { return 0; }
7987 _ACEOF
7988 if ac_fn_c_try_link "$LINENO"; then :
7989 ac_cv_cflags__Wl__no_pie=yes
7990 else
7991 ac_cv_cflags__Wl__no_pie=no
7993 rm -f core conftest.err conftest.$ac_objext \
7994 conftest$ac_exeext conftest.$ac_ext
7995 CFLAGS=$ac_wine_try_cflags_saved
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7998 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7999 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8000 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8002 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8003 then
8004 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8007 if test "$ac_cv_header_Security_Security_h" = "yes"
8008 then
8009 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8011 ac_save_LIBS="$LIBS"
8012 LIBS="$LIBS $SECURITY_LIBS"
8013 for ac_func in SSLCopyPeerCertificates
8014 do :
8015 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8016 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8019 _ACEOF
8022 done
8024 LIBS="$ac_save_LIBS"
8025 with_gnutls=${with_gnutls:-no}
8027 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8028 then
8029 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8030 then
8031 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8033 else
8034 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8037 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8038 ac_save_LIBS="$LIBS"
8039 LIBS="$LIBS $COREAUDIO_LIBS"
8040 for ac_func in AUGraphAddNode
8041 do :
8042 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8043 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8044 cat >>confdefs.h <<_ACEOF
8045 #define HAVE_AUGRAPHADDNODE 1
8046 _ACEOF
8049 done
8051 LIBS="$ac_save_LIBS"
8053 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8054 then
8055 OPENAL_LIBS="-framework OpenAL"
8058 cat >>confdefs.h <<_ACEOF
8059 #define HAVE_OPENAL 1
8060 _ACEOF
8062 ac_cv_lib_openal=yes
8064 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8065 then
8066 OPENCL_LIBS="-framework OpenCL"
8068 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8070 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8071 then
8072 ac_save_LIBS="$LIBS"
8073 LIBS="$LIBS $IOKIT_LIBS"
8074 for ac_func in IOHIDManagerCreate
8075 do :
8076 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8077 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8078 cat >>confdefs.h <<_ACEOF
8079 #define HAVE_IOHIDMANAGERCREATE 1
8080 _ACEOF
8083 done
8085 LIBS="$ac_save_LIBS"
8087 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8088 then
8089 ac_save_LIBS="$LIBS"
8090 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8092 $as_echo_n "checking for the QuickTime framework... " >&6; }
8093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h. */
8095 #include <QuickTime/ImageCompression.h>
8097 main ()
8099 CodecManagerVersion(NULL);
8101 return 0;
8103 _ACEOF
8104 if ac_fn_c_try_link "$LINENO"; then :
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8106 $as_echo "yes" >&6; }
8107 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8109 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8110 else
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8113 ac_cv_header_QuickTime_ImageCompression_h=no
8115 rm -f core conftest.err conftest.$ac_objext \
8116 conftest$ac_exeext conftest.$ac_ext
8117 LIBS="$ac_save_LIBS"
8119 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8120 then
8121 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8123 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8124 then
8125 CARBON_LIBS="-framework Carbon"
8129 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8130 then
8131 ac_save_LIBS="$LIBS"
8132 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8133 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8134 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8135 enable_winemac_drv=${enable_winemac_drv:-yes}
8138 LIBS="$ac_save_LIBS"
8141 if test "x$enable_win16" = "xyes"
8142 then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8144 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8145 if test "$cross_compiling" = yes; then :
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8147 $as_echo "cross-compiling, assuming yes" >&6; }
8148 else
8149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8151 asm(".text\n"
8152 "bad:\tnop;nop\n"
8153 "good:\tnop;nop\n\t"
8154 ".globl _testfunc\n"
8155 "_testfunc:\tcallw good");
8156 extern void testfunc();
8158 main ()
8160 unsigned short *p = (unsigned short *)testfunc;
8161 return p[0] != 0xe866 || p[1] != 0xfffa
8163 return 0;
8165 _ACEOF
8166 if ac_fn_c_try_run "$LINENO"; then :
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8168 $as_echo "yes" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8172 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
8174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8175 conftest.$ac_objext conftest.beam conftest.$ac_ext
8180 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8182 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8184 LIBWINE_INSTALL_DEV="libwine.dylib"
8186 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8188 WINELOADER_DEPENDS="wine_info.plist"
8192 linux-android*)
8193 DLLFLAGS="$DLLFLAGS -fPIC"
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8195 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8196 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 ac_wine_try_cflags_saved=$CFLAGS
8200 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8203 int main(int argc, char **argv) { return 0; }
8204 _ACEOF
8205 if ac_fn_c_try_link "$LINENO"; then :
8206 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8207 else
8208 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8210 rm -f core conftest.err conftest.$ac_objext \
8211 conftest$ac_exeext conftest.$ac_ext
8212 CFLAGS=$ac_wine_try_cflags_saved
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8215 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8216 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8217 LDEXECFLAGS="-Wl,--export-dynamic"
8219 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8221 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8222 if eval \${$as_ac_var+:} false; then :
8223 $as_echo_n "(cached) " >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8229 int main(int argc, char **argv) { return 0; }
8230 _ACEOF
8231 if ac_fn_c_try_link "$LINENO"; then :
8232 eval "$as_ac_var=yes"
8233 else
8234 eval "$as_ac_var=no"
8236 rm -f core conftest.err conftest.$ac_objext \
8237 conftest$ac_exeext conftest.$ac_ext
8238 CFLAGS=$ac_wine_try_cflags_saved
8240 eval ac_res=\$$as_ac_var
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8242 $as_echo "$ac_res" >&6; }
8243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8244 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8245 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8246 else
8247 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8249 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8250 if eval \${$as_ac_var+:} false; then :
8251 $as_echo_n "(cached) " >&6
8252 else
8253 ac_wine_try_cflags_saved=$CFLAGS
8254 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8257 int main(int argc, char **argv) { return 0; }
8258 _ACEOF
8259 if ac_fn_c_try_link "$LINENO"; then :
8260 eval "$as_ac_var=yes"
8261 else
8262 eval "$as_ac_var=no"
8264 rm -f core conftest.err conftest.$ac_objext \
8265 conftest$ac_exeext conftest.$ac_ext
8266 CFLAGS=$ac_wine_try_cflags_saved
8268 eval ac_res=\$$as_ac_var
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8270 $as_echo "$ac_res" >&6; }
8271 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8272 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8273 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8278 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8279 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8280 $as_echo_n "(cached) " >&6
8281 else
8282 ac_wine_try_cflags_saved=$CFLAGS
8283 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8285 /* end confdefs.h. */
8286 int main(int argc, char **argv) { return 0; }
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 ac_cv_cflags__Wl___enable_new_dtags=yes
8290 else
8291 ac_cv_cflags__Wl___enable_new_dtags=no
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 CFLAGS=$ac_wine_try_cflags_saved
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8298 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8299 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8300 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8303 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8304 if ${ac_cv_cflags__Wl__pie+:} false; then :
8305 $as_echo_n "(cached) " >&6
8306 else
8307 ac_wine_try_cflags_saved=$CFLAGS
8308 CFLAGS="$CFLAGS -Wl,-pie"
8309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8310 /* end confdefs.h. */
8311 int main(int argc, char **argv) { return 0; }
8312 _ACEOF
8313 if ac_fn_c_try_link "$LINENO"; then :
8314 ac_cv_cflags__Wl__pie=yes
8315 else
8316 ac_cv_cflags__Wl__pie=no
8318 rm -f core conftest.err conftest.$ac_objext \
8319 conftest$ac_exeext conftest.$ac_ext
8320 CFLAGS=$ac_wine_try_cflags_saved
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8323 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8324 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8325 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8328 LIBWINE_SHAREDLIB="libwine.so"
8330 LIBWINE_INSTALL_LIB="libwine.so"
8332 LIBWINE_LDFLAGS="-shared"
8337 DLLFLAGS="$DLLFLAGS -fPIC"
8338 LDEXECFLAGS=""
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8340 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8341 if ${ac_cv_c_dll_gnuelf+:} false; then :
8342 $as_echo_n "(cached) " >&6
8343 else
8344 ac_wine_try_cflags_saved=$CFLAGS
8345 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8347 /* end confdefs.h. */
8348 void myfunc() {}
8349 _ACEOF
8350 if ac_fn_c_try_link "$LINENO"; then :
8351 ac_cv_c_dll_gnuelf="yes"
8352 else
8353 ac_cv_c_dll_gnuelf="no"
8355 rm -f core conftest.err conftest.$ac_objext \
8356 conftest$ac_exeext conftest.$ac_ext
8357 CFLAGS=$ac_wine_try_cflags_saved
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8360 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8361 if test "$ac_cv_c_dll_gnuelf" = "yes"
8362 then
8363 LIBWINE_LDFLAGS="-shared"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8365 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8366 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8367 $as_echo_n "(cached) " >&6
8368 else
8369 ac_wine_try_cflags_saved=$CFLAGS
8370 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8372 /* end confdefs.h. */
8373 int main(int argc, char **argv) { return 0; }
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8377 else
8378 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8380 rm -f core conftest.err conftest.$ac_objext \
8381 conftest$ac_exeext conftest.$ac_ext
8382 CFLAGS=$ac_wine_try_cflags_saved
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8385 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8386 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8387 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8390 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8391 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8392 $as_echo_n "(cached) " >&6
8393 else
8394 ac_wine_try_cflags_saved=$CFLAGS
8395 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8398 int main(int argc, char **argv) { return 0; }
8399 _ACEOF
8400 if ac_fn_c_try_link "$LINENO"; then :
8401 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8402 else
8403 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8405 rm -f core conftest.err conftest.$ac_objext \
8406 conftest$ac_exeext conftest.$ac_ext
8407 CFLAGS=$ac_wine_try_cflags_saved
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8410 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8411 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8412 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8416 echo '{ global: *; };' >conftest.map
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8418 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8419 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 int main(int argc, char **argv) { return 0; }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8430 else
8431 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8438 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8439 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8440 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8442 rm -f conftest.map
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8446 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8457 else
8458 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8467 LDEXECFLAGS="-Wl,--export-dynamic"
8470 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8472 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8473 if eval \${$as_ac_var+:} false; then :
8474 $as_echo_n "(cached) " >&6
8475 else
8476 ac_wine_try_cflags_saved=$CFLAGS
8477 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479 /* end confdefs.h. */
8480 int main(int argc, char **argv) { return 0; }
8481 _ACEOF
8482 if ac_fn_c_try_link "$LINENO"; then :
8483 eval "$as_ac_var=yes"
8484 else
8485 eval "$as_ac_var=no"
8487 rm -f core conftest.err conftest.$ac_objext \
8488 conftest$ac_exeext conftest.$ac_ext
8489 CFLAGS=$ac_wine_try_cflags_saved
8491 eval ac_res=\$$as_ac_var
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8493 $as_echo "$ac_res" >&6; }
8494 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8495 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8496 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8497 else
8498 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8501 if eval \${$as_ac_var+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 eval "$as_ac_var=yes"
8512 else
8513 eval "$as_ac_var=no"
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 eval ac_res=\$$as_ac_var
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8521 $as_echo "$ac_res" >&6; }
8522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8523 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8524 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8529 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8530 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8531 $as_echo_n "(cached) " >&6
8532 else
8533 ac_wine_try_cflags_saved=$CFLAGS
8534 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 int main(int argc, char **argv) { return 0; }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540 ac_cv_cflags__Wl___enable_new_dtags=yes
8541 else
8542 ac_cv_cflags__Wl___enable_new_dtags=no
8544 rm -f core conftest.err conftest.$ac_objext \
8545 conftest$ac_exeext conftest.$ac_ext
8546 CFLAGS=$ac_wine_try_cflags_saved
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8549 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8550 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8551 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8554 case $host_cpu in
8555 *i[3456789]86* | x86_64)
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8557 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8558 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 ac_wine_try_cflags_saved=$CFLAGS
8562 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 int main(int argc, char **argv) { return 0; }
8566 _ACEOF
8567 if ac_fn_c_try_link "$LINENO"; then :
8568 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8569 else
8570 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 CFLAGS=$ac_wine_try_cflags_saved
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8577 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8578 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8579 case $host_os in
8580 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8581 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8582 esac
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8586 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8587 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8593 /* end confdefs.h. */
8594 int main(int argc, char **argv) { return 0; }
8595 _ACEOF
8596 if ac_fn_c_try_link "$LINENO"; then :
8597 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8598 else
8599 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 CFLAGS=$ac_wine_try_cflags_saved
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8606 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8607 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8609 else
8610 # Extract the first word of "prelink", so it can be a program name with args.
8611 set dummy prelink; ac_word=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8613 $as_echo_n "checking for $ac_word... " >&6; }
8614 if ${ac_cv_path_PRELINK+:} false; then :
8615 $as_echo_n "(cached) " >&6
8616 else
8617 case $PRELINK in
8618 [\\/]* | ?:[\\/]*)
8619 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8623 for as_dir in /sbin /usr/sbin $PATH
8625 IFS=$as_save_IFS
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8629 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8631 break 2
8633 done
8634 done
8635 IFS=$as_save_IFS
8637 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8639 esac
8641 PRELINK=$ac_cv_path_PRELINK
8642 if test -n "$PRELINK"; then
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8644 $as_echo "$PRELINK" >&6; }
8645 else
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647 $as_echo "no" >&6; }
8651 if test "x$PRELINK" = xfalse
8652 then
8653 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8657 esac
8659 else
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8661 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8662 if ${ac_cv_c_dll_unixware+:} false; then :
8663 $as_echo_n "(cached) " >&6
8664 else
8665 ac_wine_try_cflags_saved=$CFLAGS
8666 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8668 /* end confdefs.h. */
8669 void myfunc() {}
8670 _ACEOF
8671 if ac_fn_c_try_link "$LINENO"; then :
8672 ac_cv_c_dll_unixware="yes"
8673 else
8674 ac_cv_c_dll_unixware="no"
8676 rm -f core conftest.err conftest.$ac_objext \
8677 conftest$ac_exeext conftest.$ac_ext
8678 CFLAGS=$ac_wine_try_cflags_saved
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8681 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8682 if test "$ac_cv_c_dll_unixware" = "yes"
8683 then
8684 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8687 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8689 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8691 LIBWINE_INSTALL_DEV="libwine.so"
8693 LIBWINE_DEPENDS="wine.map"
8696 esac
8698 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8699 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8700 enable_winemac_drv=${enable_winemac_drv:-no}
8701 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8703 CROSSTARGET=""
8705 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8706 then
8707 case "$host_cpu" in
8708 arm*)
8709 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8710 i[3456789]86*)
8711 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
8712 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8713 mingw32-gcc" ;;
8714 x86_64)
8715 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
8716 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8718 ac_prefix_list="" ;;
8719 esac
8720 for ac_prog in $ac_prefix_list
8722 # Extract the first word of "$ac_prog", so it can be a program name with args.
8723 set dummy $ac_prog; ac_word=$2
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8725 $as_echo_n "checking for $ac_word... " >&6; }
8726 if ${ac_cv_prog_CROSSCC+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 if test -n "$CROSSCC"; then
8730 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8731 else
8732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8733 for as_dir in $PATH
8735 IFS=$as_save_IFS
8736 test -z "$as_dir" && as_dir=.
8737 for ac_exec_ext in '' $ac_executable_extensions; do
8738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8739 ac_cv_prog_CROSSCC="$ac_prog"
8740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 break 2
8743 done
8744 done
8745 IFS=$as_save_IFS
8749 CROSSCC=$ac_cv_prog_CROSSCC
8750 if test -n "$CROSSCC"; then
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8752 $as_echo "$CROSSCC" >&6; }
8753 else
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8755 $as_echo "no" >&6; }
8759 test -n "$CROSSCC" && break
8760 done
8761 test -n "$CROSSCC" || CROSSCC="false"
8763 if test "$CROSSCC" != "false"
8764 then
8765 ac_save_CC="$CC"
8766 CC="$CROSSCC"
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8768 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8773 main ()
8777 return 0;
8779 _ACEOF
8780 if ac_fn_c_try_compile "$LINENO"; then :
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8782 $as_echo "yes" >&6; }
8783 set x $CROSSCC
8784 shift
8785 while test $# -ge 1
8787 case "$1" in
8788 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8789 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8790 esac
8791 shift
8792 done
8793 else
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8798 CC="$ac_save_CC"
8803 if test "$ac_cv_header_pthread_h" = "yes"
8804 then
8805 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8806 if test "x$ac_cv_func_pthread_create" = xyes; then :
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8810 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8811 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_check_lib_save_LIBS=$LIBS
8815 LIBS="-lpthread $LIBS"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8819 /* Override any GCC internal prototype to avoid an error.
8820 Use char because int might match the return type of a GCC
8821 builtin and then its argument prototype would still apply. */
8822 #ifdef __cplusplus
8823 extern "C"
8824 #endif
8825 char pthread_create ();
8827 main ()
8829 return pthread_create ();
8831 return 0;
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835 ac_cv_lib_pthread_pthread_create=yes
8836 else
8837 ac_cv_lib_pthread_pthread_create=no
8839 rm -f core conftest.err conftest.$ac_objext \
8840 conftest$ac_exeext conftest.$ac_ext
8841 LIBS=$ac_check_lib_save_LIBS
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8844 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8845 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8846 PTHREAD_LIBS="-lpthread"
8853 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8854 case "x$with_pthread" in
8855 xno) ;;
8856 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8857 Wine cannot support threads without libpthread.
8858 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8859 esac
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8865 $as_echo_n "checking for X... " >&6; }
8868 # Check whether --with-x was given.
8869 if test "${with_x+set}" = set; then :
8870 withval=$with_x;
8873 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8874 if test "x$with_x" = xno; then
8875 # The user explicitly disabled X.
8876 have_x=disabled
8877 else
8878 case $x_includes,$x_libraries in #(
8879 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8880 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8881 $as_echo_n "(cached) " >&6
8882 else
8883 # One or both of the vars are not set, and there is no cached value.
8884 ac_x_includes=no ac_x_libraries=no
8885 rm -f -r conftest.dir
8886 if mkdir conftest.dir; then
8887 cd conftest.dir
8888 cat >Imakefile <<'_ACEOF'
8889 incroot:
8890 @echo incroot='${INCROOT}'
8891 usrlibdir:
8892 @echo usrlibdir='${USRLIBDIR}'
8893 libdir:
8894 @echo libdir='${LIBDIR}'
8895 _ACEOF
8896 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8897 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8898 for ac_var in incroot usrlibdir libdir; do
8899 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8900 done
8901 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8902 for ac_extension in a so sl dylib la dll; do
8903 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8904 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8905 ac_im_usrlibdir=$ac_im_libdir; break
8907 done
8908 # Screen out bogus values from the imake configuration. They are
8909 # bogus both because they are the default anyway, and because
8910 # using them would break gcc on systems where it needs fixed includes.
8911 case $ac_im_incroot in
8912 /usr/include) ac_x_includes= ;;
8913 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8914 esac
8915 case $ac_im_usrlibdir in
8916 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8917 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8918 esac
8920 cd ..
8921 rm -f -r conftest.dir
8924 # Standard set of common directories for X headers.
8925 # Check X11 before X11Rn because it is often a symlink to the current release.
8926 ac_x_header_dirs='
8927 /usr/X11/include
8928 /usr/X11R7/include
8929 /usr/X11R6/include
8930 /usr/X11R5/include
8931 /usr/X11R4/include
8933 /usr/include/X11
8934 /usr/include/X11R7
8935 /usr/include/X11R6
8936 /usr/include/X11R5
8937 /usr/include/X11R4
8939 /usr/local/X11/include
8940 /usr/local/X11R7/include
8941 /usr/local/X11R6/include
8942 /usr/local/X11R5/include
8943 /usr/local/X11R4/include
8945 /usr/local/include/X11
8946 /usr/local/include/X11R7
8947 /usr/local/include/X11R6
8948 /usr/local/include/X11R5
8949 /usr/local/include/X11R4
8951 /usr/X386/include
8952 /usr/x386/include
8953 /usr/XFree86/include/X11
8955 /usr/include
8956 /usr/local/include
8957 /usr/unsupported/include
8958 /usr/athena/include
8959 /usr/local/x11r5/include
8960 /usr/lpp/Xamples/include
8962 /usr/openwin/include
8963 /usr/openwin/share/include'
8965 if test "$ac_x_includes" = no; then
8966 # Guess where to find include files, by looking for Xlib.h.
8967 # First, try using that file with no special directory specified.
8968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8969 /* end confdefs.h. */
8970 #include <X11/Xlib.h>
8971 _ACEOF
8972 if ac_fn_c_try_cpp "$LINENO"; then :
8973 # We can compile using X headers with no special include directory.
8974 ac_x_includes=
8975 else
8976 for ac_dir in $ac_x_header_dirs; do
8977 if test -r "$ac_dir/X11/Xlib.h"; then
8978 ac_x_includes=$ac_dir
8979 break
8981 done
8983 rm -f conftest.err conftest.i conftest.$ac_ext
8984 fi # $ac_x_includes = no
8986 if test "$ac_x_libraries" = no; then
8987 # Check for the libraries.
8988 # See if we find them without any special options.
8989 # Don't add to $LIBS permanently.
8990 ac_save_LIBS=$LIBS
8991 LIBS="-lX11 $LIBS"
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8994 #include <X11/Xlib.h>
8996 main ()
8998 XrmInitialize ()
9000 return 0;
9002 _ACEOF
9003 if ac_fn_c_try_link "$LINENO"; then :
9004 LIBS=$ac_save_LIBS
9005 # We can link X programs with no special library path.
9006 ac_x_libraries=
9007 else
9008 LIBS=$ac_save_LIBS
9009 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9011 # Don't even attempt the hair of trying to link an X program!
9012 for ac_extension in a so sl dylib la dll; do
9013 if test -r "$ac_dir/libX11.$ac_extension"; then
9014 ac_x_libraries=$ac_dir
9015 break 2
9017 done
9018 done
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 fi # $ac_x_libraries = no
9024 case $ac_x_includes,$ac_x_libraries in #(
9025 no,* | *,no | *\'*)
9026 # Didn't find X, or a directory has "'" in its name.
9027 ac_cv_have_x="have_x=no";; #(
9029 # Record where we found X for the cache.
9030 ac_cv_have_x="have_x=yes\
9031 ac_x_includes='$ac_x_includes'\
9032 ac_x_libraries='$ac_x_libraries'"
9033 esac
9035 ;; #(
9036 *) have_x=yes;;
9037 esac
9038 eval "$ac_cv_have_x"
9039 fi # $with_x != no
9041 if test "$have_x" != yes; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9043 $as_echo "$have_x" >&6; }
9044 no_x=yes
9045 else
9046 # If each of the values was on the command line, it overrides each guess.
9047 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9048 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9049 # Update the cache value to reflect the command line values.
9050 ac_cv_have_x="have_x=yes\
9051 ac_x_includes='$x_includes'\
9052 ac_x_libraries='$x_libraries'"
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9054 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9057 if test "$no_x" = yes; then
9058 # Not all programs may use this symbol, but it does not hurt to define it.
9060 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9062 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9063 else
9064 if test -n "$x_includes"; then
9065 X_CFLAGS="$X_CFLAGS -I$x_includes"
9068 # It would also be nice to do this for all -L options, not just this one.
9069 if test -n "$x_libraries"; then
9070 X_LIBS="$X_LIBS -L$x_libraries"
9071 # For Solaris; some versions of Sun CC require a space after -R and
9072 # others require no space. Words are not sufficient . . . .
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9074 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9075 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9076 ac_xsave_c_werror_flag=$ac_c_werror_flag
9077 ac_c_werror_flag=yes
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9082 main ()
9086 return 0;
9088 _ACEOF
9089 if ac_fn_c_try_link "$LINENO"; then :
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9091 $as_echo "no" >&6; }
9092 X_LIBS="$X_LIBS -R$x_libraries"
9093 else
9094 LIBS="$ac_xsave_LIBS -R $x_libraries"
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9099 main ()
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_link "$LINENO"; then :
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9108 $as_echo "yes" >&6; }
9109 X_LIBS="$X_LIBS -R $x_libraries"
9110 else
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9112 $as_echo "neither works" >&6; }
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9117 rm -f core conftest.err conftest.$ac_objext \
9118 conftest$ac_exeext conftest.$ac_ext
9119 ac_c_werror_flag=$ac_xsave_c_werror_flag
9120 LIBS=$ac_xsave_LIBS
9123 # Check for system-dependent libraries X programs must link with.
9124 # Do this before checking for the system-independent R6 libraries
9125 # (-lICE), since we may need -lsocket or whatever for X linking.
9127 if test "$ISC" = yes; then
9128 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9129 else
9130 # Martyn Johnson says this is needed for Ultrix, if the X
9131 # libraries were built with DECnet support. And Karl Berry says
9132 # the Alpha needs dnet_stub (dnet does not exist).
9133 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9137 /* Override any GCC internal prototype to avoid an error.
9138 Use char because int might match the return type of a GCC
9139 builtin and then its argument prototype would still apply. */
9140 #ifdef __cplusplus
9141 extern "C"
9142 #endif
9143 char XOpenDisplay ();
9145 main ()
9147 return XOpenDisplay ();
9149 return 0;
9151 _ACEOF
9152 if ac_fn_c_try_link "$LINENO"; then :
9154 else
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9156 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9157 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 ac_check_lib_save_LIBS=$LIBS
9161 LIBS="-ldnet $LIBS"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9165 /* Override any GCC internal prototype to avoid an error.
9166 Use char because int might match the return type of a GCC
9167 builtin and then its argument prototype would still apply. */
9168 #ifdef __cplusplus
9169 extern "C"
9170 #endif
9171 char dnet_ntoa ();
9173 main ()
9175 return dnet_ntoa ();
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 ac_cv_lib_dnet_dnet_ntoa=yes
9182 else
9183 ac_cv_lib_dnet_dnet_ntoa=no
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 LIBS=$ac_check_lib_save_LIBS
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9190 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9191 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9192 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9195 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9197 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9198 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9199 $as_echo_n "(cached) " >&6
9200 else
9201 ac_check_lib_save_LIBS=$LIBS
9202 LIBS="-ldnet_stub $LIBS"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9206 /* Override any GCC internal prototype to avoid an error.
9207 Use char because int might match the return type of a GCC
9208 builtin and then its argument prototype would still apply. */
9209 #ifdef __cplusplus
9210 extern "C"
9211 #endif
9212 char dnet_ntoa ();
9214 main ()
9216 return dnet_ntoa ();
9218 return 0;
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9223 else
9224 ac_cv_lib_dnet_stub_dnet_ntoa=no
9226 rm -f core conftest.err conftest.$ac_objext \
9227 conftest$ac_exeext conftest.$ac_ext
9228 LIBS=$ac_check_lib_save_LIBS
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9231 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9232 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9233 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9238 rm -f core conftest.err conftest.$ac_objext \
9239 conftest$ac_exeext conftest.$ac_ext
9240 LIBS="$ac_xsave_LIBS"
9242 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9243 # to get the SysV transport functions.
9244 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9245 # needs -lnsl.
9246 # The nsl library prevents programs from opening the X display
9247 # on Irix 5.2, according to T.E. Dickey.
9248 # The functions gethostbyname, getservbyname, and inet_addr are
9249 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9250 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9251 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9255 if test $ac_cv_func_gethostbyname = no; then
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9257 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9258 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-lnsl $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 gethostbyname ();
9274 main ()
9276 return gethostbyname ();
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 ac_cv_lib_nsl_gethostbyname=yes
9283 else
9284 ac_cv_lib_nsl_gethostbyname=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_nsl_gethostbyname" >&5
9291 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9292 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9293 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9296 if test $ac_cv_lib_nsl_gethostbyname = no; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9298 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9299 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_check_lib_save_LIBS=$LIBS
9303 LIBS="-lbsd $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9310 #ifdef __cplusplus
9311 extern "C"
9312 #endif
9313 char gethostbyname ();
9315 main ()
9317 return gethostbyname ();
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_lib_bsd_gethostbyname=yes
9324 else
9325 ac_cv_lib_bsd_gethostbyname=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9332 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9333 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9334 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9340 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9341 # socket/setsockopt and other routines are undefined under SCO ODT
9342 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9343 # on later versions), says Simon Leinen: it contains gethostby*
9344 # variants that don't use the name server (or something). -lsocket
9345 # must be given before -lnsl if both are needed. We assume that
9346 # if connect needs -lnsl, so does gethostbyname.
9347 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9348 if test "x$ac_cv_func_connect" = xyes; then :
9352 if test $ac_cv_func_connect = no; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9354 $as_echo_n "checking for connect in -lsocket... " >&6; }
9355 if ${ac_cv_lib_socket_connect+:} false; then :
9356 $as_echo_n "(cached) " >&6
9357 else
9358 ac_check_lib_save_LIBS=$LIBS
9359 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9363 /* Override any GCC internal prototype to avoid an error.
9364 Use char because int might match the return type of a GCC
9365 builtin and then its argument prototype would still apply. */
9366 #ifdef __cplusplus
9367 extern "C"
9368 #endif
9369 char connect ();
9371 main ()
9373 return connect ();
9375 return 0;
9377 _ACEOF
9378 if ac_fn_c_try_link "$LINENO"; then :
9379 ac_cv_lib_socket_connect=yes
9380 else
9381 ac_cv_lib_socket_connect=no
9383 rm -f core conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9385 LIBS=$ac_check_lib_save_LIBS
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9388 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9389 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9390 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9395 # Guillermo Gomez says -lposix is necessary on A/UX.
9396 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9397 if test "x$ac_cv_func_remove" = xyes; then :
9401 if test $ac_cv_func_remove = no; then
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9403 $as_echo_n "checking for remove in -lposix... " >&6; }
9404 if ${ac_cv_lib_posix_remove+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lposix $LIBS"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9412 /* Override any GCC internal prototype to avoid an error.
9413 Use char because int might match the return type of a GCC
9414 builtin and then its argument prototype would still apply. */
9415 #ifdef __cplusplus
9416 extern "C"
9417 #endif
9418 char remove ();
9420 main ()
9422 return remove ();
9424 return 0;
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428 ac_cv_lib_posix_remove=yes
9429 else
9430 ac_cv_lib_posix_remove=no
9432 rm -f core conftest.err conftest.$ac_objext \
9433 conftest$ac_exeext conftest.$ac_ext
9434 LIBS=$ac_check_lib_save_LIBS
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9437 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9438 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9439 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9444 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9445 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9446 if test "x$ac_cv_func_shmat" = xyes; then :
9450 if test $ac_cv_func_shmat = no; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9452 $as_echo_n "checking for shmat in -lipc... " >&6; }
9453 if ${ac_cv_lib_ipc_shmat+:} false; then :
9454 $as_echo_n "(cached) " >&6
9455 else
9456 ac_check_lib_save_LIBS=$LIBS
9457 LIBS="-lipc $LIBS"
9458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9464 #ifdef __cplusplus
9465 extern "C"
9466 #endif
9467 char shmat ();
9469 main ()
9471 return shmat ();
9473 return 0;
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 ac_cv_lib_ipc_shmat=yes
9478 else
9479 ac_cv_lib_ipc_shmat=no
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_lib_save_LIBS
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9486 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9487 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9488 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9494 # Check for libraries that X11R6 Xt/Xaw programs need.
9495 ac_save_LDFLAGS=$LDFLAGS
9496 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9497 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9498 # check for ICE first), but we must link in the order -lSM -lICE or
9499 # we get undefined symbols. So assume we have SM if we have ICE.
9500 # These have to be linked with before -lX11, unlike the other
9501 # libraries we check for below, so use a different variable.
9502 # John Interrante, Karl Berry
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9504 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9505 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9516 #ifdef __cplusplus
9517 extern "C"
9518 #endif
9519 char IceConnectionNumber ();
9521 main ()
9523 return IceConnectionNumber ();
9525 return 0;
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_lib_ICE_IceConnectionNumber=yes
9530 else
9531 ac_cv_lib_ICE_IceConnectionNumber=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 LIBS=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9538 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9539 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9540 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9543 LDFLAGS=$ac_save_LDFLAGS
9548 if test "$have_x" = "yes"
9549 then
9550 ac_save_CPPFLAGS="$CPPFLAGS"
9551 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9554 $as_echo_n "checking for -lX11... " >&6; }
9555 if ${ac_cv_lib_soname_X11+:} false; then :
9556 $as_echo_n "(cached) " >&6
9557 else
9558 ac_check_soname_save_LIBS=$LIBS
9559 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9566 #ifdef __cplusplus
9567 extern "C"
9568 #endif
9569 char XCreateWindow ();
9571 main ()
9573 return XCreateWindow ();
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 case "$LIBEXT" in
9580 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9581 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'` ;;
9582 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9583 if ${ac_cv_lib_soname_X11:+false} :; then :
9584 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9585 fi ;;
9586 esac
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 LIBS=$ac_check_soname_save_LIBS
9592 if ${ac_cv_lib_soname_X11:+false} :; then :
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9594 $as_echo "not found" >&6; }
9596 else
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9598 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9600 cat >>confdefs.h <<_ACEOF
9601 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9602 _ACEOF
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9607 $as_echo_n "checking for -lXext... " >&6; }
9608 if ${ac_cv_lib_soname_Xext+:} false; then :
9609 $as_echo_n "(cached) " >&6
9610 else
9611 ac_check_soname_save_LIBS=$LIBS
9612 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9614 /* end confdefs.h. */
9616 /* Override any GCC internal prototype to avoid an error.
9617 Use char because int might match the return type of a GCC
9618 builtin and then its argument prototype would still apply. */
9619 #ifdef __cplusplus
9620 extern "C"
9621 #endif
9622 char XextCreateExtension ();
9624 main ()
9626 return XextCreateExtension ();
9628 return 0;
9630 _ACEOF
9631 if ac_fn_c_try_link "$LINENO"; then :
9632 case "$LIBEXT" in
9633 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9634 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'` ;;
9635 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9636 if ${ac_cv_lib_soname_Xext:+false} :; then :
9637 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9638 fi ;;
9639 esac
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LIBS=$ac_check_soname_save_LIBS
9645 if ${ac_cv_lib_soname_Xext:+false} :; then :
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9647 $as_echo "not found" >&6; }
9649 else
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9651 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9653 cat >>confdefs.h <<_ACEOF
9654 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9655 _ACEOF
9657 X_LIBS="$X_LIBS -lXext"
9659 X_LIBS="$X_LIBS -lX11"
9661 for ac_header in X11/Xlib.h \
9662 X11/XKBlib.h \
9663 X11/Xutil.h \
9664 X11/Xcursor/Xcursor.h \
9665 X11/extensions/shape.h \
9666 X11/extensions/XInput.h \
9667 X11/extensions/XInput2.h \
9668 X11/extensions/XShm.h \
9669 X11/extensions/Xcomposite.h \
9670 X11/extensions/Xinerama.h \
9671 X11/extensions/Xrandr.h \
9672 X11/extensions/Xrender.h \
9673 X11/extensions/xf86vmode.h \
9674 X11/extensions/xf86vmproto.h
9675 do :
9676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9677 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9678 # include <X11/Xlib.h>
9679 #endif
9680 #ifdef HAVE_X11_XUTIL_H
9681 # include <X11/Xutil.h>
9682 #endif
9684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9685 cat >>confdefs.h <<_ACEOF
9686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9687 _ACEOF
9691 done
9694 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9695 then
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9697 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9698 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9699 $as_echo_n "(cached) " >&6
9700 else
9701 ac_check_lib_save_LIBS=$LIBS
9702 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9706 /* Override any GCC internal prototype to avoid an error.
9707 Use char because int might match the return type of a GCC
9708 builtin and then its argument prototype would still apply. */
9709 #ifdef __cplusplus
9710 extern "C"
9711 #endif
9712 char XkbQueryExtension ();
9714 main ()
9716 return XkbQueryExtension ();
9718 return 0;
9720 _ACEOF
9721 if ac_fn_c_try_link "$LINENO"; then :
9722 ac_cv_lib_X11_XkbQueryExtension=yes
9723 else
9724 ac_cv_lib_X11_XkbQueryExtension=no
9726 rm -f core conftest.err conftest.$ac_objext \
9727 conftest$ac_exeext conftest.$ac_ext
9728 LIBS=$ac_check_lib_save_LIBS
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9731 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9732 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9734 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9740 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9741 then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9743 $as_echo_n "checking for -lXcursor... " >&6; }
9744 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 ac_check_soname_save_LIBS=$LIBS
9748 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9752 /* Override any GCC internal prototype to avoid an error.
9753 Use char because int might match the return type of a GCC
9754 builtin and then its argument prototype would still apply. */
9755 #ifdef __cplusplus
9756 extern "C"
9757 #endif
9758 char XcursorImageLoadCursor ();
9760 main ()
9762 return XcursorImageLoadCursor ();
9764 return 0;
9766 _ACEOF
9767 if ac_fn_c_try_link "$LINENO"; then :
9768 case "$LIBEXT" in
9769 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9770 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'` ;;
9771 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9772 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9773 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9774 fi ;;
9775 esac
9777 rm -f core conftest.err conftest.$ac_objext \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9783 $as_echo "not found" >&6; }
9785 else
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9787 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9791 _ACEOF
9796 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9797 case "x$with_xcursor" in
9798 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9799 xno) ;;
9800 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9801 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9802 esac
9806 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9807 then
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9809 $as_echo_n "checking for -lXi... " >&6; }
9810 if ${ac_cv_lib_soname_Xi+:} false; then :
9811 $as_echo_n "(cached) " >&6
9812 else
9813 ac_check_soname_save_LIBS=$LIBS
9814 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9818 /* Override any GCC internal prototype to avoid an error.
9819 Use char because int might match the return type of a GCC
9820 builtin and then its argument prototype would still apply. */
9821 #ifdef __cplusplus
9822 extern "C"
9823 #endif
9824 char XOpenDevice ();
9826 main ()
9828 return XOpenDevice ();
9830 return 0;
9832 _ACEOF
9833 if ac_fn_c_try_link "$LINENO"; then :
9834 case "$LIBEXT" in
9835 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9836 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'` ;;
9837 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9838 if ${ac_cv_lib_soname_Xi:+false} :; then :
9839 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9840 fi ;;
9841 esac
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 LIBS=$ac_check_soname_save_LIBS
9847 if ${ac_cv_lib_soname_Xi:+false} :; then :
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9849 $as_echo "not found" >&6; }
9851 else
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9853 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9855 cat >>confdefs.h <<_ACEOF
9856 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9857 _ACEOF
9862 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9863 case "x$with_xinput" in
9864 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9865 xno) ;;
9866 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9867 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9868 esac
9872 if test "x$ac_cv_lib_soname_Xi" != x
9873 then
9874 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9875 case "x$with_xinput2" in
9876 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9877 xno) ;;
9878 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9879 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9880 esac
9885 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9886 then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9888 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9889 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9890 $as_echo_n "(cached) " >&6
9891 else
9892 ac_check_lib_save_LIBS=$LIBS
9893 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9900 #ifdef __cplusplus
9901 extern "C"
9902 #endif
9903 char XShmQueryExtension ();
9905 main ()
9907 return XShmQueryExtension ();
9909 return 0;
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_lib_Xext_XShmQueryExtension=yes
9914 else
9915 ac_cv_lib_Xext_XShmQueryExtension=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 LIBS=$ac_check_lib_save_LIBS
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9922 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9923 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9925 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9930 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9931 case "x$with_xshm" in
9932 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9933 xno) ;;
9934 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9935 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9936 esac
9940 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9941 then
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9943 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9944 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9945 $as_echo_n "(cached) " >&6
9946 else
9947 ac_check_lib_save_LIBS=$LIBS
9948 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9952 /* Override any GCC internal prototype to avoid an error.
9953 Use char because int might match the return type of a GCC
9954 builtin and then its argument prototype would still apply. */
9955 #ifdef __cplusplus
9956 extern "C"
9957 #endif
9958 char XShapeQueryExtension ();
9960 main ()
9962 return XShapeQueryExtension ();
9964 return 0;
9966 _ACEOF
9967 if ac_fn_c_try_link "$LINENO"; then :
9968 ac_cv_lib_Xext_XShapeQueryExtension=yes
9969 else
9970 ac_cv_lib_Xext_XShapeQueryExtension=no
9972 rm -f core conftest.err conftest.$ac_objext \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_lib_save_LIBS
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9977 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9978 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9980 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9985 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9986 case "x$with_xshape" in
9987 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9988 xno) ;;
9989 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9990 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9991 esac
9995 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9996 then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9998 $as_echo_n "checking for -lXxf86vm... " >&6; }
9999 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10000 $as_echo_n "(cached) " >&6
10001 else
10002 ac_check_soname_save_LIBS=$LIBS
10003 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10010 #ifdef __cplusplus
10011 extern "C"
10012 #endif
10013 char XF86VidModeQueryExtension ();
10015 main ()
10017 return XF86VidModeQueryExtension ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"; then :
10023 case "$LIBEXT" in
10024 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10025 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'` ;;
10026 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10027 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10028 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10029 fi ;;
10030 esac
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 LIBS=$ac_check_soname_save_LIBS
10036 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10038 $as_echo "not found" >&6; }
10040 else
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10042 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10044 cat >>confdefs.h <<_ACEOF
10045 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10046 _ACEOF
10051 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10052 case "x$with_xxf86vm" in
10053 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10054 xno) ;;
10055 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10056 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10057 esac
10061 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10062 then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10064 $as_echo_n "checking for -lXrender... " >&6; }
10065 if ${ac_cv_lib_soname_Xrender+:} false; then :
10066 $as_echo_n "(cached) " >&6
10067 else
10068 ac_check_soname_save_LIBS=$LIBS
10069 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071 /* end confdefs.h. */
10073 /* Override any GCC internal prototype to avoid an error.
10074 Use char because int might match the return type of a GCC
10075 builtin and then its argument prototype would still apply. */
10076 #ifdef __cplusplus
10077 extern "C"
10078 #endif
10079 char XRenderQueryExtension ();
10081 main ()
10083 return XRenderQueryExtension ();
10085 return 0;
10087 _ACEOF
10088 if ac_fn_c_try_link "$LINENO"; then :
10089 case "$LIBEXT" in
10090 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10091 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'` ;;
10092 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10093 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10094 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10095 fi ;;
10096 esac
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 LIBS=$ac_check_soname_save_LIBS
10102 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10104 $as_echo "not found" >&6; }
10106 else
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10108 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10110 cat >>confdefs.h <<_ACEOF
10111 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10112 _ACEOF
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10115 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10116 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_check_lib_save_LIBS=$LIBS
10120 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10124 /* Override any GCC internal prototype to avoid an error.
10125 Use char because int might match the return type of a GCC
10126 builtin and then its argument prototype would still apply. */
10127 #ifdef __cplusplus
10128 extern "C"
10129 #endif
10130 char XRenderSetPictureTransform ();
10132 main ()
10134 return XRenderSetPictureTransform ();
10136 return 0;
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"; then :
10140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10141 else
10142 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10144 rm -f core conftest.err conftest.$ac_objext \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_lib_save_LIBS
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10149 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10150 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10152 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10157 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10158 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10159 $as_echo_n "(cached) " >&6
10160 else
10161 ac_check_lib_save_LIBS=$LIBS
10162 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10166 /* Override any GCC internal prototype to avoid an error.
10167 Use char because int might match the return type of a GCC
10168 builtin and then its argument prototype would still apply. */
10169 #ifdef __cplusplus
10170 extern "C"
10171 #endif
10172 char XRenderCreateLinearGradient ();
10174 main ()
10176 return XRenderCreateLinearGradient ();
10178 return 0;
10180 _ACEOF
10181 if ac_fn_c_try_link "$LINENO"; then :
10182 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10183 else
10184 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10186 rm -f core conftest.err conftest.$ac_objext \
10187 conftest$ac_exeext conftest.$ac_ext
10188 LIBS=$ac_check_lib_save_LIBS
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10191 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10192 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10194 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10201 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10202 case "x$with_xrender" in
10203 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10204 xno) ;;
10205 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10206 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10207 esac
10211 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10212 then
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 #include <X11/Xlib.h>
10216 #include <X11/extensions/Xrandr.h>
10218 main ()
10220 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10222 return 0;
10224 _ACEOF
10225 if ac_fn_c_try_compile "$LINENO"; then :
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10227 $as_echo_n "checking for -lXrandr... " >&6; }
10228 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10229 $as_echo_n "(cached) " >&6
10230 else
10231 ac_check_soname_save_LIBS=$LIBS
10232 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10234 /* end confdefs.h. */
10236 /* Override any GCC internal prototype to avoid an error.
10237 Use char because int might match the return type of a GCC
10238 builtin and then its argument prototype would still apply. */
10239 #ifdef __cplusplus
10240 extern "C"
10241 #endif
10242 char XRRQueryExtension ();
10244 main ()
10246 return XRRQueryExtension ();
10248 return 0;
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 case "$LIBEXT" in
10253 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10254 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'` ;;
10255 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10256 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10257 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10258 fi ;;
10259 esac
10261 rm -f core conftest.err conftest.$ac_objext \
10262 conftest$ac_exeext conftest.$ac_ext
10263 LIBS=$ac_check_soname_save_LIBS
10265 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10267 $as_echo "not found" >&6; }
10269 else
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10271 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10273 cat >>confdefs.h <<_ACEOF
10274 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10275 _ACEOF
10277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10279 #include <X11/Xlib.h>
10280 #include <X11/extensions/Xrandr.h>
10282 main ()
10284 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10286 return 0;
10288 _ACEOF
10289 if ac_fn_c_try_compile "$LINENO"; then :
10291 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10299 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10300 case "x$with_xrandr" in
10301 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10302 xno) ;;
10303 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10304 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10305 esac
10309 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10310 then
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 #include <X11/Xlib.h>
10314 #include <X11/extensions/Xinerama.h>
10316 main ()
10318 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10320 return 0;
10322 _ACEOF
10323 if ac_fn_c_try_compile "$LINENO"; then :
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10325 $as_echo_n "checking for -lXinerama... " >&6; }
10326 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10327 $as_echo_n "(cached) " >&6
10328 else
10329 ac_check_soname_save_LIBS=$LIBS
10330 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 /* end confdefs.h. */
10334 /* Override any GCC internal prototype to avoid an error.
10335 Use char because int might match the return type of a GCC
10336 builtin and then its argument prototype would still apply. */
10337 #ifdef __cplusplus
10338 extern "C"
10339 #endif
10340 char XineramaQueryScreens ();
10342 main ()
10344 return XineramaQueryScreens ();
10346 return 0;
10348 _ACEOF
10349 if ac_fn_c_try_link "$LINENO"; then :
10350 case "$LIBEXT" in
10351 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10352 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'` ;;
10353 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10354 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10355 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10356 fi ;;
10357 esac
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 LIBS=$ac_check_soname_save_LIBS
10363 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10365 $as_echo "not found" >&6; }
10367 else
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10369 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10371 cat >>confdefs.h <<_ACEOF
10372 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10373 _ACEOF
10378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10380 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10381 case "x$with_xinerama" in
10382 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10385 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10386 esac
10390 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10391 then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10393 $as_echo_n "checking for -lXcomposite... " >&6; }
10394 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_soname_save_LIBS=$LIBS
10398 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char XCompositeRedirectWindow ();
10410 main ()
10412 return XCompositeRedirectWindow ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 case "$LIBEXT" in
10419 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10423 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 fi ;;
10425 esac
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10435 else
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10437 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10439 cat >>confdefs.h <<_ACEOF
10440 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10441 _ACEOF
10446 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10447 case "x$with_xcomposite" in
10448 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10449 xno) ;;
10450 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10451 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10452 esac
10456 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10457 #include <X11/Xlib.h>
10458 #endif
10460 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10462 cat >>confdefs.h <<_ACEOF
10463 #define HAVE_XICCALLBACK_CALLBACK 1
10464 _ACEOF
10468 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10469 #include <X11/Xlib.h>
10470 #endif
10472 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10474 cat >>confdefs.h <<_ACEOF
10475 #define HAVE_XEVENT_XCOOKIE 1
10476 _ACEOF
10483 opengl_msg=""
10484 if test "x$with_opengl" != "xno"
10485 then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10487 $as_echo_n "checking for -lGL... " >&6; }
10488 if ${ac_cv_lib_soname_GL+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_check_soname_save_LIBS=$LIBS
10492 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10496 /* Override any GCC internal prototype to avoid an error.
10497 Use char because int might match the return type of a GCC
10498 builtin and then its argument prototype would still apply. */
10499 #ifdef __cplusplus
10500 extern "C"
10501 #endif
10502 char glXCreateContext ();
10504 main ()
10506 return glXCreateContext ();
10508 return 0;
10510 _ACEOF
10511 if ac_fn_c_try_link "$LINENO"; then :
10512 case "$LIBEXT" in
10513 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10514 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'` ;;
10515 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10516 if ${ac_cv_lib_soname_GL:+false} :; then :
10517 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10518 fi ;;
10519 esac
10521 rm -f core conftest.err conftest.$ac_objext \
10522 conftest$ac_exeext conftest.$ac_ext
10523 LIBS=$ac_check_soname_save_LIBS
10525 if ${ac_cv_lib_soname_GL:+false} :; then :
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10527 $as_echo "not found" >&6; }
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10529 $as_echo_n "checking for -lGL... " >&6; }
10530 if ${ac_cv_lib_soname_GL+:} false; then :
10531 $as_echo_n "(cached) " >&6
10532 else
10533 ac_check_soname_save_LIBS=$LIBS
10534 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"
10535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10541 #ifdef __cplusplus
10542 extern "C"
10543 #endif
10544 char glXCreateContext ();
10546 main ()
10548 return glXCreateContext ();
10550 return 0;
10552 _ACEOF
10553 if ac_fn_c_try_link "$LINENO"; then :
10554 case "$LIBEXT" in
10555 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10556 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'` ;;
10557 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10558 if ${ac_cv_lib_soname_GL:+false} :; then :
10559 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10560 fi ;;
10561 esac
10563 rm -f core conftest.err conftest.$ac_objext \
10564 conftest$ac_exeext conftest.$ac_ext
10565 LIBS=$ac_check_soname_save_LIBS
10567 if ${ac_cv_lib_soname_GL:+false} :; then :
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10569 $as_echo "not found" >&6; }
10570 if test -f /usr/X11R6/lib/libGL.a
10571 then
10572 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10573 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10574 else
10575 opengl_msg="No OpenGL library found on this system."
10577 else
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10579 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10581 cat >>confdefs.h <<_ACEOF
10582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10583 _ACEOF
10585 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"
10587 else
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10589 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10591 cat >>confdefs.h <<_ACEOF
10592 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10593 _ACEOF
10595 OPENGL_LIBS="-lGL"
10597 if test "x$with_glu" != "xno"
10598 then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10600 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10601 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10602 $as_echo_n "(cached) " >&6
10603 else
10604 ac_check_lib_save_LIBS=$LIBS
10605 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10612 #ifdef __cplusplus
10613 extern "C"
10614 #endif
10615 char gluLookAt ();
10617 main ()
10619 return gluLookAt ();
10621 return 0;
10623 _ACEOF
10624 if ac_fn_c_try_link "$LINENO"; then :
10625 ac_cv_lib_GLU_gluLookAt=yes
10626 else
10627 ac_cv_lib_GLU_gluLookAt=no
10629 rm -f core conftest.err conftest.$ac_objext \
10630 conftest$ac_exeext conftest.$ac_ext
10631 LIBS=$ac_check_lib_save_LIBS
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10634 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10635 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10639 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10640 case "x$with_glu" in
10641 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10642 xno) ;;
10643 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10644 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10645 esac
10650 if test "x$with_osmesa" != "xno"
10651 then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10653 $as_echo_n "checking for -lOSMesa... " >&6; }
10654 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10655 $as_echo_n "(cached) " >&6
10656 else
10657 ac_check_soname_save_LIBS=$LIBS
10658 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10660 /* end confdefs.h. */
10662 /* Override any GCC internal prototype to avoid an error.
10663 Use char because int might match the return type of a GCC
10664 builtin and then its argument prototype would still apply. */
10665 #ifdef __cplusplus
10666 extern "C"
10667 #endif
10668 char glAccum ();
10670 main ()
10672 return glAccum ();
10674 return 0;
10676 _ACEOF
10677 if ac_fn_c_try_link "$LINENO"; then :
10678 case "$LIBEXT" in
10679 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10680 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'` ;;
10681 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10682 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10683 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10684 fi ;;
10685 esac
10687 rm -f core conftest.err conftest.$ac_objext \
10688 conftest$ac_exeext conftest.$ac_ext
10689 LIBS=$ac_check_soname_save_LIBS
10691 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10693 $as_echo "not found" >&6; }
10695 else
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10697 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10699 cat >>confdefs.h <<_ACEOF
10700 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10701 _ACEOF
10705 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10706 case "x$with_osmesa" in
10707 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10708 xno) ;;
10709 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10710 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10711 esac
10716 if test -n "$opengl_msg"; then :
10717 case "x$with_opengl" in
10718 x) as_fn_append wine_warnings "|$opengl_msg
10719 OpenGL and Direct3D won't be supported." ;;
10720 xno) ;;
10721 *) as_fn_error $? "$opengl_msg
10722 OpenGL and Direct3D won't be supported.
10723 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10724 esac
10728 CPPFLAGS="$ac_save_CPPFLAGS"
10729 else
10730 X_CFLAGS=""
10731 X_LIBS=""
10733 if test "x$X_LIBS" = "x"; then :
10734 case "x$with_x" in
10735 xno) ;;
10736 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10737 without X support, which probably isn't what you want. You will need
10738 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10739 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10740 esac
10741 enable_winex11_drv=${enable_winex11_drv:-no}
10744 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10746 if test "$ac_cv_header_CL_cl_h" = "yes"
10747 then
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10749 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10750 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10751 $as_echo_n "(cached) " >&6
10752 else
10753 ac_check_lib_save_LIBS=$LIBS
10754 LIBS="-lOpenCL $LIBS"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10758 /* Override any GCC internal prototype to avoid an error.
10759 Use char because int might match the return type of a GCC
10760 builtin and then its argument prototype would still apply. */
10761 #ifdef __cplusplus
10762 extern "C"
10763 #endif
10764 char clGetPlatformInfo ();
10766 main ()
10768 return clGetPlatformInfo ();
10770 return 0;
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"; then :
10774 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10775 else
10776 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10778 rm -f core conftest.err conftest.$ac_objext \
10779 conftest$ac_exeext conftest.$ac_ext
10780 LIBS=$ac_check_lib_save_LIBS
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10783 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10784 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10785 OPENCL_LIBS="-lOpenCL"
10790 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10791 case "x$with_opencl" in
10792 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10793 xno) ;;
10794 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10795 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10796 esac
10797 enable_opencl=${enable_opencl:-no}
10800 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10801 then
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10803 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10804 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-lpcap $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char pcap_create ();
10820 main ()
10822 return pcap_create ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 ac_cv_lib_pcap_pcap_create=yes
10829 else
10830 ac_cv_lib_pcap_pcap_create=no
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_lib_save_LIBS
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10837 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10838 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10839 PCAP_LIBS="-lpcap"
10844 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10845 case "x$with_pcap" in
10846 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10849 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10850 esac
10851 enable_wpcap=${enable_wpcap:-no}
10855 if test "x$with_xml" != "xno"
10856 then
10857 if ${XML2_CFLAGS:+false} :; then :
10858 if ${PKG_CONFIG+:} false; then :
10859 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10862 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10863 if ${XML2_LIBS:+false} :; then :
10864 if ${PKG_CONFIG+:} false; then :
10865 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10868 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10869 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10870 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10871 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10872 ac_save_CPPFLAGS=$CPPFLAGS
10873 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10874 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10875 do :
10876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10877 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10878 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10879 cat >>confdefs.h <<_ACEOF
10880 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10881 _ACEOF
10885 done
10887 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"
10888 then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10890 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10891 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-lxml2 $XML2_LIBS $LIBS"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 char xmlParseMemory ();
10907 main ()
10909 return xmlParseMemory ();
10911 return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 ac_cv_lib_xml2_xmlParseMemory=yes
10916 else
10917 ac_cv_lib_xml2_xmlParseMemory=no
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10924 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10925 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10927 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10929 else
10930 XML2_LIBS=""
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10934 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10935 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10936 $as_echo_n "(cached) " >&6
10937 else
10938 ac_check_lib_save_LIBS=$LIBS
10939 LIBS="-lxml2 $XML2_LIBS $LIBS"
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char xmlReadMemory ();
10951 main ()
10953 return xmlReadMemory ();
10955 return 0;
10957 _ACEOF
10958 if ac_fn_c_try_link "$LINENO"; then :
10959 ac_cv_lib_xml2_xmlReadMemory=yes
10960 else
10961 ac_cv_lib_xml2_xmlReadMemory=no
10963 rm -f core conftest.err conftest.$ac_objext \
10964 conftest$ac_exeext conftest.$ac_ext
10965 LIBS=$ac_check_lib_save_LIBS
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10968 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10969 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10971 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10976 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10977 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10978 $as_echo_n "(cached) " >&6
10979 else
10980 ac_check_lib_save_LIBS=$LIBS
10981 LIBS="-lxml2 $XML2_LIBS $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10985 /* Override any GCC internal prototype to avoid an error.
10986 Use char because int might match the return type of a GCC
10987 builtin and then its argument prototype would still apply. */
10988 #ifdef __cplusplus
10989 extern "C"
10990 #endif
10991 char xmlNewDocPI ();
10993 main ()
10995 return xmlNewDocPI ();
10997 return 0;
10999 _ACEOF
11000 if ac_fn_c_try_link "$LINENO"; then :
11001 ac_cv_lib_xml2_xmlNewDocPI=yes
11002 else
11003 ac_cv_lib_xml2_xmlNewDocPI=no
11005 rm -f core conftest.err conftest.$ac_objext \
11006 conftest$ac_exeext conftest.$ac_ext
11007 LIBS=$ac_check_lib_save_LIBS
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11010 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11011 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11013 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11018 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11019 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-lxml2 $XML2_LIBS $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char xmlSchemaSetParserStructuredErrors ();
11035 main ()
11037 return xmlSchemaSetParserStructuredErrors ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11044 else
11045 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11052 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11053 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11055 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11060 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11061 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11062 $as_echo_n "(cached) " >&6
11063 else
11064 ac_check_lib_save_LIBS=$LIBS
11065 LIBS="-lxml2 $XML2_LIBS $LIBS"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11072 #ifdef __cplusplus
11073 extern "C"
11074 #endif
11075 char xmlSchemaSetValidStructuredErrors ();
11077 main ()
11079 return xmlSchemaSetValidStructuredErrors ();
11081 return 0;
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"; then :
11085 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11086 else
11087 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 LIBS=$ac_check_lib_save_LIBS
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11094 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11095 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11097 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11102 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11103 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11104 $as_echo_n "(cached) " >&6
11105 else
11106 ac_check_lib_save_LIBS=$LIBS
11107 LIBS="-lxml2 $XML2_LIBS $LIBS"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char xmlFirstElementChild ();
11119 main ()
11121 return xmlFirstElementChild ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11127 ac_cv_lib_xml2_xmlFirstElementChild=yes
11128 else
11129 ac_cv_lib_xml2_xmlFirstElementChild=no
11131 rm -f core conftest.err conftest.$ac_objext \
11132 conftest$ac_exeext conftest.$ac_ext
11133 LIBS=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11136 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11137 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11139 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11143 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11145 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11147 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11151 else
11152 XML2_CFLAGS=""
11153 XML2_LIBS=""
11155 CPPFLAGS=$ac_save_CPPFLAGS
11156 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11157 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11160 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11161 case "x$with_xml" in
11162 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11163 xno) ;;
11164 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11165 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11166 esac
11170 if test "x$with_xslt" != "xno"
11171 then
11172 if ${XSLT_CFLAGS:+false} :; then :
11173 if ${PKG_CONFIG+:} false; then :
11174 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11177 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11178 if ${XSLT_LIBS:+false} :; then :
11179 if ${PKG_CONFIG+:} false; then :
11180 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11183 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11184 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11185 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11186 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11187 ac_save_CPPFLAGS=$CPPFLAGS
11188 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11189 for ac_header in libxslt/pattern.h libxslt/transform.h
11190 do :
11191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11192 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11193 # include <libxslt/pattern.h>
11194 #endif
11196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11197 cat >>confdefs.h <<_ACEOF
11198 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11199 _ACEOF
11203 done
11205 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11206 then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11208 $as_echo_n "checking for -lxslt... " >&6; }
11209 if ${ac_cv_lib_soname_xslt+:} false; then :
11210 $as_echo_n "(cached) " >&6
11211 else
11212 ac_check_soname_save_LIBS=$LIBS
11213 LIBS="-lxslt $XSLT_LIBS $LIBS"
11214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215 /* end confdefs.h. */
11217 /* Override any GCC internal prototype to avoid an error.
11218 Use char because int might match the return type of a GCC
11219 builtin and then its argument prototype would still apply. */
11220 #ifdef __cplusplus
11221 extern "C"
11222 #endif
11223 char xsltCompilePattern ();
11225 main ()
11227 return xsltCompilePattern ();
11229 return 0;
11231 _ACEOF
11232 if ac_fn_c_try_link "$LINENO"; then :
11233 case "$LIBEXT" in
11234 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11235 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'` ;;
11236 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11237 if ${ac_cv_lib_soname_xslt:+false} :; then :
11238 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11239 fi ;;
11240 esac
11242 rm -f core conftest.err conftest.$ac_objext \
11243 conftest$ac_exeext conftest.$ac_ext
11244 LIBS=$ac_check_soname_save_LIBS
11246 if ${ac_cv_lib_soname_xslt:+false} :; then :
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11248 $as_echo "not found" >&6; }
11250 else
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11252 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11254 cat >>confdefs.h <<_ACEOF
11255 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11256 _ACEOF
11260 else
11261 XSLT_CFLAGS=""
11263 CPPFLAGS=$ac_save_CPPFLAGS
11264 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11265 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11268 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11269 case "x$with_xslt" in
11270 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11271 xno) ;;
11272 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11273 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11274 esac
11278 if test "x$with_dbus" != "xno"
11279 then
11280 if ${DBUS_CFLAGS:+false} :; then :
11281 if ${PKG_CONFIG+:} false; then :
11282 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11286 if ${DBUS_LIBS:+false} :; then :
11287 if ${PKG_CONFIG+:} false; then :
11288 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11293 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11294 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11295 ac_save_CPPFLAGS=$CPPFLAGS
11296 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11297 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11298 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11300 $as_echo_n "checking for -ldbus-1... " >&6; }
11301 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11302 $as_echo_n "(cached) " >&6
11303 else
11304 ac_check_soname_save_LIBS=$LIBS
11305 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11307 /* end confdefs.h. */
11309 /* Override any GCC internal prototype to avoid an error.
11310 Use char because int might match the return type of a GCC
11311 builtin and then its argument prototype would still apply. */
11312 #ifdef __cplusplus
11313 extern "C"
11314 #endif
11315 char dbus_connection_close ();
11317 main ()
11319 return dbus_connection_close ();
11321 return 0;
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"; then :
11325 case "$LIBEXT" in
11326 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11327 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'` ;;
11328 *) 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'`
11329 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11330 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11331 fi ;;
11332 esac
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11341 DBUS_CFLAGS=""
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11344 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11348 _ACEOF
11352 else
11353 DBUS_CFLAGS=""
11357 CPPFLAGS=$ac_save_CPPFLAGS
11358 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11359 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11362 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11363 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11364 case "x$with_dbus" in
11365 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11366 xno) ;;
11367 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11368 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11369 esac
11373 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11374 then
11375 if ${HAL_CFLAGS:+false} :; then :
11376 if ${PKG_CONFIG+:} false; then :
11377 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11381 if ${HAL_LIBS:+false} :; then :
11382 if ${PKG_CONFIG+:} false; then :
11383 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11387 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11388 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11389 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11390 ac_save_CPPFLAGS=$CPPFLAGS
11391 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11392 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11393 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11395 $as_echo_n "checking for -lhal... " >&6; }
11396 if ${ac_cv_lib_soname_hal+:} false; then :
11397 $as_echo_n "(cached) " >&6
11398 else
11399 ac_check_soname_save_LIBS=$LIBS
11400 LIBS="-lhal $HAL_LIBS $LIBS"
11401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11407 #ifdef __cplusplus
11408 extern "C"
11409 #endif
11410 char libhal_ctx_new ();
11412 main ()
11414 return libhal_ctx_new ();
11416 return 0;
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"; then :
11420 case "$LIBEXT" in
11421 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11422 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'` ;;
11423 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11424 if ${ac_cv_lib_soname_hal:+false} :; then :
11425 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11426 fi ;;
11427 esac
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_soname_save_LIBS
11433 if ${ac_cv_lib_soname_hal:+false} :; then :
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11435 $as_echo "not found" >&6; }
11436 HAL_CFLAGS=""
11437 else
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11439 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11441 cat >>confdefs.h <<_ACEOF
11442 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11443 _ACEOF
11447 else
11448 HAL_CFLAGS=""
11452 CPPFLAGS=$ac_save_CPPFLAGS
11453 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11454 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11456 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11457 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11458 case "x$with_hal" in
11459 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11460 xno) ;;
11461 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11462 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11463 esac
11468 if test "x$with_gnutls" != "xno"
11469 then
11470 if ${GNUTLS_CFLAGS:+false} :; then :
11471 if ${PKG_CONFIG+:} false; then :
11472 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11476 if ${GNUTLS_LIBS:+false} :; then :
11477 if ${PKG_CONFIG+:} false; then :
11478 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11483 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11484 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11485 ac_save_CPPFLAGS=$CPPFLAGS
11486 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11487 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11488 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491 #include <gnutls/gnutls.h>
11492 #include <gnutls/crypto.h>
11494 main ()
11496 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_compile "$LINENO"; then :
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11503 $as_echo_n "checking for -lgnutls... " >&6; }
11504 if ${ac_cv_lib_soname_gnutls+:} false; then :
11505 $as_echo_n "(cached) " >&6
11506 else
11507 ac_check_soname_save_LIBS=$LIBS
11508 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 char gnutls_global_init ();
11520 main ()
11522 return gnutls_global_init ();
11524 return 0;
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"; then :
11528 case "$LIBEXT" in
11529 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11530 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'` ;;
11531 *) 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'`
11532 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11533 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'`
11534 fi ;;
11535 esac
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LIBS=$ac_check_soname_save_LIBS
11541 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11543 $as_echo "not found" >&6; }
11544 GNUTLS_CFLAGS=""
11545 else
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11547 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11549 cat >>confdefs.h <<_ACEOF
11550 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11551 _ACEOF
11555 ac_wine_check_funcs_save_LIBS="$LIBS"
11556 LIBS="$LIBS $GNUTLS_LIBS"
11557 for ac_func in gnutls_hash
11558 do :
11559 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11560 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11561 cat >>confdefs.h <<_ACEOF
11562 #define HAVE_GNUTLS_HASH 1
11563 _ACEOF
11565 else
11566 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11568 done
11570 LIBS="$ac_wine_check_funcs_save_LIBS"
11572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11573 else
11574 GNUTLS_CFLAGS=""
11578 CPPFLAGS=$ac_save_CPPFLAGS
11579 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11580 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11583 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11584 case "x$with_gnutls" in
11585 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11586 xno) ;;
11587 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11588 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11589 esac
11593 CURSES_LIBS=""
11594 if test "$ac_cv_header_ncurses_h" = "yes"
11595 then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11597 $as_echo_n "checking for -lncurses... " >&6; }
11598 if ${ac_cv_lib_soname_ncurses+:} false; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 ac_check_soname_save_LIBS=$LIBS
11602 LIBS="-lncurses $LIBS"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char waddch ();
11614 main ()
11616 return waddch ();
11618 return 0;
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"; then :
11622 case "$LIBEXT" in
11623 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11624 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'` ;;
11625 *) 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'`
11626 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11627 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11628 fi ;;
11629 esac
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_soname_save_LIBS
11635 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11637 $as_echo "not found" >&6; }
11639 else
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11641 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11643 cat >>confdefs.h <<_ACEOF
11644 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11645 _ACEOF
11647 CURSES_LIBS="-lncurses"
11649 elif test "$ac_cv_header_curses_h" = "yes"
11650 then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11652 $as_echo_n "checking for -lcurses... " >&6; }
11653 if ${ac_cv_lib_soname_curses+:} false; then :
11654 $as_echo_n "(cached) " >&6
11655 else
11656 ac_check_soname_save_LIBS=$LIBS
11657 LIBS="-lcurses $LIBS"
11658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11659 /* end confdefs.h. */
11661 /* Override any GCC internal prototype to avoid an error.
11662 Use char because int might match the return type of a GCC
11663 builtin and then its argument prototype would still apply. */
11664 #ifdef __cplusplus
11665 extern "C"
11666 #endif
11667 char waddch ();
11669 main ()
11671 return waddch ();
11673 return 0;
11675 _ACEOF
11676 if ac_fn_c_try_link "$LINENO"; then :
11677 case "$LIBEXT" in
11678 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11679 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'` ;;
11680 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11681 if ${ac_cv_lib_soname_curses:+false} :; then :
11682 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11683 fi ;;
11684 esac
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_soname_save_LIBS
11690 if ${ac_cv_lib_soname_curses:+false} :; then :
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11692 $as_echo "not found" >&6; }
11694 else
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11696 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11698 cat >>confdefs.h <<_ACEOF
11699 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11700 _ACEOF
11702 CURSES_LIBS="-lcurses"
11705 ac_save_LIBS="$LIBS"
11706 LIBS="$LIBS $CURSES_LIBS"
11707 for ac_func in mousemask
11708 do :
11709 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11710 if test "x$ac_cv_func_mousemask" = xyes; then :
11711 cat >>confdefs.h <<_ACEOF
11712 #define HAVE_MOUSEMASK 1
11713 _ACEOF
11716 done
11718 LIBS="$ac_save_LIBS"
11719 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11720 case "x$with_curses" in
11721 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11722 xno) ;;
11723 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11724 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11725 esac
11729 if test "x$with_sane" != "xno"
11730 then
11731 if ${SANE_CFLAGS:+false} :; then :
11732 if ${PKG_CONFIG+:} false; then :
11733 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11736 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11737 if ${SANE_LIBS:+false} :; then :
11738 if ${PKG_CONFIG+:} false; then :
11739 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11742 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11744 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11745 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11746 ac_save_CPPFLAGS=$CPPFLAGS
11747 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11748 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11749 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11751 $as_echo_n "checking for -lsane... " >&6; }
11752 if ${ac_cv_lib_soname_sane+:} false; then :
11753 $as_echo_n "(cached) " >&6
11754 else
11755 ac_check_soname_save_LIBS=$LIBS
11756 LIBS="-lsane $SANE_LIBS $LIBS"
11757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11758 /* end confdefs.h. */
11760 /* Override any GCC internal prototype to avoid an error.
11761 Use char because int might match the return type of a GCC
11762 builtin and then its argument prototype would still apply. */
11763 #ifdef __cplusplus
11764 extern "C"
11765 #endif
11766 char sane_init ();
11768 main ()
11770 return sane_init ();
11772 return 0;
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"; then :
11776 case "$LIBEXT" in
11777 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11778 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'` ;;
11779 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11780 if ${ac_cv_lib_soname_sane:+false} :; then :
11781 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11782 fi ;;
11783 esac
11785 rm -f core conftest.err conftest.$ac_objext \
11786 conftest$ac_exeext conftest.$ac_ext
11787 LIBS=$ac_check_soname_save_LIBS
11789 if ${ac_cv_lib_soname_sane:+false} :; then :
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11791 $as_echo "not found" >&6; }
11792 SANE_CFLAGS=""
11793 else
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11795 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11797 cat >>confdefs.h <<_ACEOF
11798 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11799 _ACEOF
11803 else
11804 SANE_CFLAGS=""
11808 CPPFLAGS=$ac_save_CPPFLAGS
11809 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11810 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11813 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11814 case "x$with_sane" in
11815 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11816 xno) ;;
11817 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11818 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11819 esac
11823 if test "x$with_v4l" != "xno"
11824 then
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11826 $as_echo_n "checking for -lv4l1... " >&6; }
11827 if ${ac_cv_lib_soname_v4l1+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_soname_save_LIBS=$LIBS
11831 LIBS="-lv4l1 $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char v4l1_open ();
11843 main ()
11845 return v4l1_open ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 case "$LIBEXT" in
11852 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11853 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'` ;;
11854 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11855 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11856 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 fi ;;
11858 esac
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_soname_save_LIBS
11864 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11866 $as_echo "not found" >&6; }
11868 else
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11870 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11872 cat >>confdefs.h <<_ACEOF
11873 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11874 _ACEOF
11879 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11880 case "x$with_v4l" in
11881 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11882 xno) ;;
11883 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11884 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11885 esac
11889 if test "x$with_gphoto" != "xno"
11890 then
11891 if ${GPHOTO2_CFLAGS:+false} :; then :
11892 if ${PKG_CONFIG+:} false; then :
11893 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11896 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11897 if ${GPHOTO2_LIBS:+false} :; then :
11898 if ${PKG_CONFIG+:} false; then :
11899 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11902 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11903 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11904 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11905 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11906 ac_save_CPPFLAGS=$CPPFLAGS
11907 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11908 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11909 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11911 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11912 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11913 $as_echo_n "(cached) " >&6
11914 else
11915 ac_check_lib_save_LIBS=$LIBS
11916 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11920 /* Override any GCC internal prototype to avoid an error.
11921 Use char because int might match the return type of a GCC
11922 builtin and then its argument prototype would still apply. */
11923 #ifdef __cplusplus
11924 extern "C"
11925 #endif
11926 char gp_camera_new ();
11928 main ()
11930 return gp_camera_new ();
11932 return 0;
11934 _ACEOF
11935 if ac_fn_c_try_link "$LINENO"; then :
11936 ac_cv_lib_gphoto2_gp_camera_new=yes
11937 else
11938 ac_cv_lib_gphoto2_gp_camera_new=no
11940 rm -f core conftest.err conftest.$ac_objext \
11941 conftest$ac_exeext conftest.$ac_ext
11942 LIBS=$ac_check_lib_save_LIBS
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11945 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11946 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11948 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11950 else
11951 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11954 else
11955 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11959 CPPFLAGS=$ac_save_CPPFLAGS
11960 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11961 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11963 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11964 if ${PKG_CONFIG+:} false; then :
11965 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11968 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11969 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11970 if ${PKG_CONFIG+:} false; then :
11971 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11974 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11975 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11976 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11978 ac_save_CPPFLAGS=$CPPFLAGS
11979 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11980 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11981 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11983 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11984 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_lib_save_LIBS=$LIBS
11988 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char gp_port_info_list_new ();
12000 main ()
12002 return gp_port_info_list_new ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12009 else
12010 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_lib_save_LIBS
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12017 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12018 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12020 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12022 else
12023 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12026 else
12027 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12031 CPPFLAGS=$ac_save_CPPFLAGS
12032 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12033 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12036 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12037 case "x$with_gphoto" in
12038 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12041 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12042 esac
12045 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12046 case "x$with_gphoto" in
12047 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12048 xno) ;;
12049 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12050 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12051 esac
12056 if test "$ac_cv_header_resolv_h" = "yes"
12057 then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12059 $as_echo_n "checking for resolver library... " >&6; }
12060 if ${ac_cv_have_resolv+:} false; then :
12061 $as_echo_n "(cached) " >&6
12062 else
12063 ac_save_LIBS="$LIBS"
12064 for lib in '' -lresolv
12066 LIBS="$lib $ac_save_LIBS"
12067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 #ifdef HAVE_NETINET_IN_H
12070 #include <netinet/in.h>
12071 #endif
12072 #include <resolv.h>
12074 main ()
12076 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12078 return 0;
12080 _ACEOF
12081 if ac_fn_c_try_link "$LINENO"; then :
12082 ac_cv_have_resolv=${lib:-"none required"}
12083 else
12084 ac_cv_have_resolv="not found"
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 test "x$ac_cv_have_resolv" = "xnot found" || break
12089 done
12090 LIBS="$ac_save_LIBS"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12093 $as_echo "$ac_cv_have_resolv" >&6; }
12095 case "$ac_cv_have_resolv" in
12096 "not found") ;;
12097 "none required")
12099 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12102 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12104 RESOLV_LIBS=$ac_cv_have_resolv
12106 esac
12109 if test "x$with_cms" != "xno"
12110 then
12111 if ${LCMS2_CFLAGS:+false} :; then :
12112 if ${PKG_CONFIG+:} false; then :
12113 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12117 if ${LCMS2_LIBS:+false} :; then :
12118 if ${PKG_CONFIG+:} false; then :
12119 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12123 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12124 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12125 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12126 ac_save_CPPFLAGS=$CPPFLAGS
12127 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12128 for ac_header in lcms2.h
12129 do :
12130 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12131 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12132 cat >>confdefs.h <<_ACEOF
12133 #define HAVE_LCMS2_H 1
12134 _ACEOF
12138 done
12140 if test "$ac_cv_header_lcms2_h" = "yes"
12141 then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12143 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12144 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12145 $as_echo_n "(cached) " >&6
12146 else
12147 ac_check_lib_save_LIBS=$LIBS
12148 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12152 /* Override any GCC internal prototype to avoid an error.
12153 Use char because int might match the return type of a GCC
12154 builtin and then its argument prototype would still apply. */
12155 #ifdef __cplusplus
12156 extern "C"
12157 #endif
12158 char cmsOpenProfileFromFile ();
12160 main ()
12162 return cmsOpenProfileFromFile ();
12164 return 0;
12166 _ACEOF
12167 if ac_fn_c_try_link "$LINENO"; then :
12168 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12169 else
12170 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12172 rm -f core conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12177 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12178 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12180 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12182 else
12183 LCMS2_LIBS=""
12186 else
12187 LCMS2_CFLAGS=""
12188 LCMS2_LIBS=""
12190 CPPFLAGS=$ac_save_CPPFLAGS
12191 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12192 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12195 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12196 case "x$with_cms" in
12197 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12198 xno) ;;
12199 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12200 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12201 esac
12205 if test "x$with_freetype" != "xno"
12206 then
12207 if ${FREETYPE_CFLAGS:+false} :; then :
12208 if ${PKG_CONFIG+:} false; then :
12209 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12212 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12213 if ${FREETYPE_LIBS:+false} :; then :
12214 if ${PKG_CONFIG+:} false; then :
12215 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12218 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12219 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12220 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12221 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12222 ac_save_CPPFLAGS=$CPPFLAGS
12223 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12224 for ac_header in ft2build.h
12225 do :
12226 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12227 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12228 cat >>confdefs.h <<_ACEOF
12229 #define HAVE_FT2BUILD_H 1
12230 _ACEOF
12234 done
12236 if test "$ac_cv_header_ft2build_h" = "yes"
12237 then
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12239 $as_echo_n "checking for -lfreetype... " >&6; }
12240 if ${ac_cv_lib_soname_freetype+:} false; then :
12241 $as_echo_n "(cached) " >&6
12242 else
12243 ac_check_soname_save_LIBS=$LIBS
12244 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246 /* end confdefs.h. */
12248 /* Override any GCC internal prototype to avoid an error.
12249 Use char because int might match the return type of a GCC
12250 builtin and then its argument prototype would still apply. */
12251 #ifdef __cplusplus
12252 extern "C"
12253 #endif
12254 char FT_Init_FreeType ();
12256 main ()
12258 return FT_Init_FreeType ();
12260 return 0;
12262 _ACEOF
12263 if ac_fn_c_try_link "$LINENO"; then :
12264 case "$LIBEXT" in
12265 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12266 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'` ;;
12267 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12268 if ${ac_cv_lib_soname_freetype:+false} :; then :
12269 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12270 fi ;;
12271 esac
12273 rm -f core conftest.err conftest.$ac_objext \
12274 conftest$ac_exeext conftest.$ac_ext
12275 LIBS=$ac_check_soname_save_LIBS
12277 if ${ac_cv_lib_soname_freetype:+false} :; then :
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12279 $as_echo "not found" >&6; }
12280 FREETYPE_LIBS=""
12281 else
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12283 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12285 cat >>confdefs.h <<_ACEOF
12286 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12287 _ACEOF
12290 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12292 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12293 #include FT_MODULE_H
12295 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12297 cat >>confdefs.h <<_ACEOF
12298 #define HAVE_FT_TRUETYPEENGINETYPE 1
12299 _ACEOF
12305 else
12306 FREETYPE_CFLAGS=""
12307 FREETYPE_LIBS=""
12309 CPPFLAGS=$ac_save_CPPFLAGS
12310 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12311 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12314 if test "x$ac_cv_lib_soname_freetype" = x; then :
12315 case "x$with_freetype" in
12316 xno) ;;
12317 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12318 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12319 esac
12320 enable_fonts=${enable_fonts:-no}
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12324 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12325 if ${ac_cv_c_ppdev+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12330 #ifdef HAVE_SYS_IOCTL_H
12331 # include <sys/ioctl.h>
12332 #endif
12333 #include <linux/ppdev.h>
12335 main ()
12337 ioctl (1,PPCLAIM,0)
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_compile "$LINENO"; then :
12343 ac_cv_c_ppdev="yes"
12344 else
12345 ac_cv_c_ppdev="no"
12347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12350 $as_echo "$ac_cv_c_ppdev" >&6; }
12351 if test "$ac_cv_c_ppdev" = "yes"
12352 then
12354 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12358 ac_wine_check_funcs_save_LIBS="$LIBS"
12359 LIBS="$LIBS $PTHREAD_LIBS"
12360 for ac_func in \
12361 pthread_attr_get_np \
12362 pthread_getattr_np \
12363 pthread_getthreadid_np \
12364 pthread_get_stackaddr_np \
12365 pthread_get_stacksize_np
12366 do :
12367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12369 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12370 cat >>confdefs.h <<_ACEOF
12371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12372 _ACEOF
12375 done
12377 LIBS="$ac_wine_check_funcs_save_LIBS"
12379 if test "$ac_cv_header_zlib_h" = "yes"
12380 then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12382 $as_echo_n "checking for inflate in -lz... " >&6; }
12383 if ${ac_cv_lib_z_inflate+:} false; then :
12384 $as_echo_n "(cached) " >&6
12385 else
12386 ac_check_lib_save_LIBS=$LIBS
12387 LIBS="-lz $LIBS"
12388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char inflate ();
12399 main ()
12401 return inflate ();
12403 return 0;
12405 _ACEOF
12406 if ac_fn_c_try_link "$LINENO"; then :
12407 ac_cv_lib_z_inflate=yes
12408 else
12409 ac_cv_lib_z_inflate=no
12411 rm -f core conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12413 LIBS=$ac_check_lib_save_LIBS
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12416 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12417 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12419 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12421 Z_LIBS="-lz"
12426 if test "x$Z_LIBS" = "x"; then :
12427 case "x$with_zlib" in
12428 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12429 xno) ;;
12430 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12431 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12432 esac
12436 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12437 then
12438 if test "$ac_cv_header_gettext_po_h" = "yes"
12439 then
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12441 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12442 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 ac_check_lib_save_LIBS=$LIBS
12446 LIBS="-lgettextpo $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char po_message_msgctxt ();
12458 main ()
12460 return po_message_msgctxt ();
12462 return 0;
12464 _ACEOF
12465 if ac_fn_c_try_link "$LINENO"; then :
12466 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12467 else
12468 ac_cv_lib_gettextpo_po_message_msgctxt=no
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12475 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12476 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12478 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12480 GETTEXTPO_LIBS="-lgettextpo"
12485 if test "x$GETTEXTPO_LIBS" = "x"; then :
12486 case "x$with_gettextpo" in
12487 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12488 xno) ;;
12489 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12490 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12491 esac
12494 if test "$srcdir" != .; then :
12495 case "x$with_gettextpo" in
12496 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12497 xno) ;;
12498 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12500 esac
12505 if test "x$with_pulse" != "xno";
12506 then
12507 if ${PULSE_CFLAGS:+false} :; then :
12508 if ${PKG_CONFIG+:} false; then :
12509 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12513 if ${PULSE_LIBS:+false} :; then :
12514 if ${PKG_CONFIG+:} false; then :
12515 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12520 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12521 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12522 ac_save_CPPFLAGS=$CPPFLAGS
12523 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12524 for ac_header in pulse/pulseaudio.h
12525 do :
12526 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12527 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12528 cat >>confdefs.h <<_ACEOF
12529 #define HAVE_PULSE_PULSEAUDIO_H 1
12530 _ACEOF
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12532 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12533 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 ac_check_lib_save_LIBS=$LIBS
12537 LIBS="-lpulse $PULSE_LIBS $LIBS"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12541 /* Override any GCC internal prototype to avoid an error.
12542 Use char because int might match the return type of a GCC
12543 builtin and then its argument prototype would still apply. */
12544 #ifdef __cplusplus
12545 extern "C"
12546 #endif
12547 char pa_stream_is_corked ();
12549 main ()
12551 return pa_stream_is_corked ();
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_link "$LINENO"; then :
12557 ac_cv_lib_pulse_pa_stream_is_corked=yes
12558 else
12559 ac_cv_lib_pulse_pa_stream_is_corked=no
12561 rm -f core conftest.err conftest.$ac_objext \
12562 conftest$ac_exeext conftest.$ac_ext
12563 LIBS=$ac_check_lib_save_LIBS
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12566 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12567 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12569 else
12570 PULSE_LIBS=""
12573 else
12574 PULSE_LIBS=""
12577 done
12579 CPPFLAGS=$ac_save_CPPFLAGS
12580 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12581 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12584 if test -z "$PULSE_LIBS"; then :
12585 case "x$with_pulse" in
12586 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12587 xno) ;;
12588 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12589 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12590 esac
12591 enable_winepulse_drv=${enable_winepulse_drv:-no}
12594 if test "x$with_gstreamer" != "xno"
12595 then
12596 if ${GSTREAMER_CFLAGS:+false} :; then :
12597 if ${PKG_CONFIG+:} false; then :
12598 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12602 if ${GSTREAMER_LIBS:+false} :; then :
12603 if ${PKG_CONFIG+:} false; then :
12604 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12609 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12610 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12611 ac_save_CPPFLAGS=$CPPFLAGS
12612 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12613 ac_gst_incl=""
12614 for i in $GSTREAMER_CFLAGS
12616 case "$i" in
12617 -I*) ac_gst_incl="$ac_gst_incl $i";;
12618 esac
12619 done
12620 GSTREAMER_CFLAGS=$ac_gst_incl
12621 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12622 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12623 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12625 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12628 #include <gst/gst.h>
12630 main ()
12632 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12634 return 0;
12636 _ACEOF
12637 if ac_fn_c_try_compile "$LINENO"; then :
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12639 $as_echo "yes" >&6; }
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12641 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12642 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12643 $as_echo_n "(cached) " >&6
12644 else
12645 ac_check_lib_save_LIBS=$LIBS
12646 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12648 /* end confdefs.h. */
12650 /* Override any GCC internal prototype to avoid an error.
12651 Use char because int might match the return type of a GCC
12652 builtin and then its argument prototype would still apply. */
12653 #ifdef __cplusplus
12654 extern "C"
12655 #endif
12656 char gst_pad_new ();
12658 main ()
12660 return gst_pad_new ();
12662 return 0;
12664 _ACEOF
12665 if ac_fn_c_try_link "$LINENO"; then :
12666 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12667 else
12668 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12670 rm -f core conftest.err conftest.$ac_objext \
12671 conftest$ac_exeext conftest.$ac_ext
12672 LIBS=$ac_check_lib_save_LIBS
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12675 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12676 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12680 else
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12682 $as_echo "no" >&6; }
12683 ac_glib2_broken=yes
12684 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12690 CPPFLAGS=$ac_save_CPPFLAGS
12691 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12692 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12695 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 :
12696 case "x$with_gstreamer" in
12697 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12698 xno) ;;
12699 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12700 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12701 esac
12704 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12706 ALSA_LIBS=""
12708 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12709 then
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12711 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12712 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12713 $as_echo_n "(cached) " >&6
12714 else
12715 ac_check_lib_save_LIBS=$LIBS
12716 LIBS="-lasound $LIBS"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12723 #ifdef __cplusplus
12724 extern "C"
12725 #endif
12726 char snd_pcm_hw_params_get_access_mask ();
12728 main ()
12730 return snd_pcm_hw_params_get_access_mask ();
12732 return 0;
12734 _ACEOF
12735 if ac_fn_c_try_link "$LINENO"; then :
12736 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12737 else
12738 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12740 rm -f core conftest.err conftest.$ac_objext \
12741 conftest$ac_exeext conftest.$ac_ext
12742 LIBS=$ac_check_lib_save_LIBS
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12745 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12746 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12749 #ifdef HAVE_ALSA_ASOUNDLIB_H
12750 #include <alsa/asoundlib.h>
12751 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12752 #include <sys/asoundlib.h>
12753 #endif
12755 main ()
12757 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_compile "$LINENO"; then :
12763 ALSA_LIBS="-lasound"
12765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12769 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12771 if test "x$with_oss" != xno
12772 then
12773 ac_save_CPPFLAGS="$CPPFLAGS"
12774 if test -f /etc/oss.conf
12775 then
12776 . /etc/oss.conf
12778 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12779 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12780 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12781 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12782 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12784 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12786 cat >>confdefs.h <<_ACEOF
12787 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12788 _ACEOF
12790 OSS4_CFLAGS="$ac_oss_incl"
12797 CPPFLAGS="$ac_save_CPPFLAGS"
12799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12800 case "x$with_oss" in
12801 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12802 xno) ;;
12803 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12804 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12805 esac
12806 enable_wineoss_drv=${enable_wineoss_drv:-no}
12809 if test "x$with_capi" != "xno"
12810 then
12811 if ${CAPI20_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12817 if ${CAPI20_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12824 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12828 for ac_header in capi20.h linux/capi.h
12829 do :
12830 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12831 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12833 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12834 cat >>confdefs.h <<_ACEOF
12835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12836 _ACEOF
12840 done
12842 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12843 then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12845 $as_echo_n "checking for -lcapi20... " >&6; }
12846 if ${ac_cv_lib_soname_capi20+:} false; then :
12847 $as_echo_n "(cached) " >&6
12848 else
12849 ac_check_soname_save_LIBS=$LIBS
12850 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h. */
12854 /* Override any GCC internal prototype to avoid an error.
12855 Use char because int might match the return type of a GCC
12856 builtin and then its argument prototype would still apply. */
12857 #ifdef __cplusplus
12858 extern "C"
12859 #endif
12860 char capi20_register ();
12862 main ()
12864 return capi20_register ();
12866 return 0;
12868 _ACEOF
12869 if ac_fn_c_try_link "$LINENO"; then :
12870 case "$LIBEXT" in
12871 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12872 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'` ;;
12873 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12874 if ${ac_cv_lib_soname_capi20:+false} :; then :
12875 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12876 fi ;;
12877 esac
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_soname_save_LIBS
12883 if ${ac_cv_lib_soname_capi20:+false} :; then :
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12885 $as_echo "not found" >&6; }
12887 else
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12889 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12891 cat >>confdefs.h <<_ACEOF
12892 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12893 _ACEOF
12898 CPPFLAGS=$ac_save_CPPFLAGS
12899 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12900 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12903 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12904 case "x$with_capi" in
12905 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12906 xno) ;;
12907 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12908 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12909 esac
12913 CUPS_CFLAGS=""
12915 if test "x$with_cups" != "xno"
12916 then
12917 ac_save_CPPFLAGS="$CPPFLAGS"
12918 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12919 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12920 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12921 for ac_header in cups/cups.h
12922 do :
12923 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12924 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12925 cat >>confdefs.h <<_ACEOF
12926 #define HAVE_CUPS_CUPS_H 1
12927 _ACEOF
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12929 $as_echo_n "checking for -lcups... " >&6; }
12930 if ${ac_cv_lib_soname_cups+:} false; then :
12931 $as_echo_n "(cached) " >&6
12932 else
12933 ac_check_soname_save_LIBS=$LIBS
12934 LIBS="-lcups $ac_cups_libs $LIBS"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 /* Override any GCC internal prototype to avoid an error.
12939 Use char because int might match the return type of a GCC
12940 builtin and then its argument prototype would still apply. */
12941 #ifdef __cplusplus
12942 extern "C"
12943 #endif
12944 char cupsGetDefault ();
12946 main ()
12948 return cupsGetDefault ();
12950 return 0;
12952 _ACEOF
12953 if ac_fn_c_try_link "$LINENO"; then :
12954 case "$LIBEXT" in
12955 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12956 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'` ;;
12957 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12958 if ${ac_cv_lib_soname_cups:+false} :; then :
12959 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12960 fi ;;
12961 esac
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965 LIBS=$ac_check_soname_save_LIBS
12967 if ${ac_cv_lib_soname_cups:+false} :; then :
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12969 $as_echo "not found" >&6; }
12971 else
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12973 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12975 cat >>confdefs.h <<_ACEOF
12976 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12977 _ACEOF
12979 CUPS_CFLAGS="$ac_cups_cflags"
12983 done
12985 CPPFLAGS="$ac_save_CPPFLAGS"
12987 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12988 case "x$with_cups" in
12989 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12990 xno) ;;
12991 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12992 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12993 esac
12997 if test "x$with_fontconfig" != "xno"
12998 then
12999 if ${FONTCONFIG_CFLAGS:+false} :; then :
13000 if ${PKG_CONFIG+:} false; then :
13001 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13004 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13005 if ${FONTCONFIG_LIBS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13010 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13012 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13013 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13014 ac_save_CPPFLAGS=$CPPFLAGS
13015 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13016 for ac_header in fontconfig/fontconfig.h
13017 do :
13018 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13020 cat >>confdefs.h <<_ACEOF
13021 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13022 _ACEOF
13026 done
13028 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13029 then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13031 $as_echo_n "checking for -lfontconfig... " >&6; }
13032 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13033 $as_echo_n "(cached) " >&6
13034 else
13035 ac_check_soname_save_LIBS=$LIBS
13036 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13040 /* Override any GCC internal prototype to avoid an error.
13041 Use char because int might match the return type of a GCC
13042 builtin and then its argument prototype would still apply. */
13043 #ifdef __cplusplus
13044 extern "C"
13045 #endif
13046 char FcInit ();
13048 main ()
13050 return FcInit ();
13052 return 0;
13054 _ACEOF
13055 if ac_fn_c_try_link "$LINENO"; then :
13056 case "$LIBEXT" in
13057 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13058 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'` ;;
13059 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13060 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13061 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13062 fi ;;
13063 esac
13065 rm -f core conftest.err conftest.$ac_objext \
13066 conftest$ac_exeext conftest.$ac_ext
13067 LIBS=$ac_check_soname_save_LIBS
13069 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13071 $as_echo "not found" >&6; }
13072 FONTCONFIG_CFLAGS=""
13073 else
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13075 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13077 cat >>confdefs.h <<_ACEOF
13078 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13079 _ACEOF
13083 else
13084 FONTCONFIG_CFLAGS=""
13086 CPPFLAGS=$ac_save_CPPFLAGS
13087 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13088 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13091 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13092 case "x$with_fontconfig" in
13093 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13094 xno) ;;
13095 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13096 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13097 esac
13101 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13102 then
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13104 $as_echo_n "checking for -lgsm... " >&6; }
13105 if ${ac_cv_lib_soname_gsm+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_check_soname_save_LIBS=$LIBS
13109 LIBS="-lgsm $LIBS"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 #endif
13119 char gsm_create ();
13121 main ()
13123 return gsm_create ();
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_link "$LINENO"; then :
13129 case "$LIBEXT" in
13130 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13131 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'` ;;
13132 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13133 if ${ac_cv_lib_soname_gsm:+false} :; then :
13134 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13135 fi ;;
13136 esac
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_soname_save_LIBS
13142 if ${ac_cv_lib_soname_gsm:+false} :; then :
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13144 $as_echo "not found" >&6; }
13146 else
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13148 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13150 cat >>confdefs.h <<_ACEOF
13151 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13152 _ACEOF
13157 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13158 case "x$with_gsm" in
13159 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13160 xno) ;;
13161 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13162 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13163 esac
13167 if test "x$with_jpeg" != "xno"
13168 then
13169 if ${JPEG_CFLAGS:+false} :; then :
13170 if ${PKG_CONFIG+:} false; then :
13171 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13175 if ${JPEG_LIBS:+false} :; then :
13176 if ${PKG_CONFIG+:} false; then :
13177 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13182 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13183 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13184 ac_save_CPPFLAGS=$CPPFLAGS
13185 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13186 for ac_header in jpeglib.h
13187 do :
13188 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13189 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13190 cat >>confdefs.h <<_ACEOF
13191 #define HAVE_JPEGLIB_H 1
13192 _ACEOF
13196 done
13198 if test "$ac_cv_header_jpeglib_h" = "yes"
13199 then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13201 $as_echo_n "checking for -ljpeg... " >&6; }
13202 if ${ac_cv_lib_soname_jpeg+:} false; then :
13203 $as_echo_n "(cached) " >&6
13204 else
13205 ac_check_soname_save_LIBS=$LIBS
13206 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13208 /* end confdefs.h. */
13210 /* Override any GCC internal prototype to avoid an error.
13211 Use char because int might match the return type of a GCC
13212 builtin and then its argument prototype would still apply. */
13213 #ifdef __cplusplus
13214 extern "C"
13215 #endif
13216 char jpeg_start_decompress ();
13218 main ()
13220 return jpeg_start_decompress ();
13222 return 0;
13224 _ACEOF
13225 if ac_fn_c_try_link "$LINENO"; then :
13226 case "$LIBEXT" in
13227 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13228 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'` ;;
13229 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13230 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13231 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13232 fi ;;
13233 esac
13235 rm -f core conftest.err conftest.$ac_objext \
13236 conftest$ac_exeext conftest.$ac_ext
13237 LIBS=$ac_check_soname_save_LIBS
13239 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13241 $as_echo "not found" >&6; }
13242 JPEG_CFLAGS=""
13243 else
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13245 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13247 cat >>confdefs.h <<_ACEOF
13248 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13249 _ACEOF
13253 else
13254 JPEG_CFLAGS=""
13256 CPPFLAGS=$ac_save_CPPFLAGS
13257 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13258 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13261 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13262 case "x$with_jpeg" in
13263 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13264 xno) ;;
13265 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13266 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13267 esac
13271 if test "x$with_png" != "xno"
13272 then
13273 if ${PNG_CFLAGS:+false} :; then :
13274 if ${PKG_CONFIG+:} false; then :
13275 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13278 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13279 if ${PNG_LIBS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13284 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13286 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13287 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13288 ac_save_CPPFLAGS=$CPPFLAGS
13289 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13290 for ac_header in png.h
13291 do :
13292 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13293 if test "x$ac_cv_header_png_h" = xyes; then :
13294 cat >>confdefs.h <<_ACEOF
13295 #define HAVE_PNG_H 1
13296 _ACEOF
13300 done
13302 if test "$ac_cv_header_png_h" = "yes"
13303 then
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13305 $as_echo_n "checking for -lpng... " >&6; }
13306 if ${ac_cv_lib_soname_png+:} false; then :
13307 $as_echo_n "(cached) " >&6
13308 else
13309 ac_check_soname_save_LIBS=$LIBS
13310 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13317 #ifdef __cplusplus
13318 extern "C"
13319 #endif
13320 char png_create_read_struct ();
13322 main ()
13324 return png_create_read_struct ();
13326 return 0;
13328 _ACEOF
13329 if ac_fn_c_try_link "$LINENO"; then :
13330 case "$LIBEXT" in
13331 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13332 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'` ;;
13333 *) 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'`
13334 if ${ac_cv_lib_soname_png:+false} :; then :
13335 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13336 fi ;;
13337 esac
13339 rm -f core conftest.err conftest.$ac_objext \
13340 conftest$ac_exeext conftest.$ac_ext
13341 LIBS=$ac_check_soname_save_LIBS
13343 if ${ac_cv_lib_soname_png:+false} :; then :
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13345 $as_echo "not found" >&6; }
13346 PNG_CFLAGS=""
13347 else
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13349 $as_echo "$ac_cv_lib_soname_png" >&6; }
13351 cat >>confdefs.h <<_ACEOF
13352 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13353 _ACEOF
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13357 #include <png.h>
13359 main ()
13361 typeof(png_set_expand_gray_1_2_4_to_8) *p
13363 return 0;
13365 _ACEOF
13366 if ac_fn_c_try_compile "$LINENO"; then :
13368 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13373 else
13374 PNG_CFLAGS=""
13376 CPPFLAGS=$ac_save_CPPFLAGS
13377 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13378 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13381 if test "x$ac_cv_lib_soname_png" = "x"; then :
13382 case "x$with_png" in
13383 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13384 xno) ;;
13385 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13386 This is an error since --with-png was requested." "$LINENO" 5 ;;
13387 esac
13391 if test "x$with_tiff" != "xno"
13392 then
13393 if ${TIFF_CFLAGS:+false} :; then :
13394 if ${PKG_CONFIG+:} false; then :
13395 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13399 if ${TIFF_LIBS:+false} :; then :
13400 if ${PKG_CONFIG+:} false; then :
13401 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13406 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13407 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13408 ac_save_CPPFLAGS=$CPPFLAGS
13409 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13410 for ac_header in tiffio.h
13411 do :
13412 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13413 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13414 cat >>confdefs.h <<_ACEOF
13415 #define HAVE_TIFFIO_H 1
13416 _ACEOF
13420 done
13422 if test "$ac_cv_header_tiffio_h" = "yes"
13423 then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13425 $as_echo_n "checking for -ltiff... " >&6; }
13426 if ${ac_cv_lib_soname_tiff+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428 else
13429 ac_check_soname_save_LIBS=$LIBS
13430 LIBS="-ltiff $TIFF_LIBS $LIBS"
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13437 #ifdef __cplusplus
13438 extern "C"
13439 #endif
13440 char TIFFClientOpen ();
13442 main ()
13444 return TIFFClientOpen ();
13446 return 0;
13448 _ACEOF
13449 if ac_fn_c_try_link "$LINENO"; then :
13450 case "$LIBEXT" in
13451 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13452 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'` ;;
13453 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13454 if ${ac_cv_lib_soname_tiff:+false} :; then :
13455 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13456 fi ;;
13457 esac
13459 rm -f core conftest.err conftest.$ac_objext \
13460 conftest$ac_exeext conftest.$ac_ext
13461 LIBS=$ac_check_soname_save_LIBS
13463 if ${ac_cv_lib_soname_tiff:+false} :; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13465 $as_echo "not found" >&6; }
13467 else
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13469 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13471 cat >>confdefs.h <<_ACEOF
13472 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13473 _ACEOF
13478 CPPFLAGS=$ac_save_CPPFLAGS
13479 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13480 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13483 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13484 case "x$with_tiff" in
13485 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13486 xno) ;;
13487 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13488 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13489 esac
13493 if test "x$with_mpg123" != "xno"
13494 then
13495 if ${MPG123_CFLAGS:+false} :; then :
13496 if ${PKG_CONFIG+:} false; then :
13497 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13501 if ${MPG123_LIBS:+false} :; then :
13502 if ${PKG_CONFIG+:} false; then :
13503 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13507 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13508 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13509 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13510 ac_save_CPPFLAGS=$CPPFLAGS
13511 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13512 for ac_header in mpg123.h
13513 do :
13514 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13516 cat >>confdefs.h <<_ACEOF
13517 #define HAVE_MPG123_H 1
13518 _ACEOF
13522 done
13524 if test "$ac_cv_header_mpg123_h" = "yes"
13525 then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13527 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13528 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13529 $as_echo_n "(cached) " >&6
13530 else
13531 ac_check_lib_save_LIBS=$LIBS
13532 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13534 /* end confdefs.h. */
13536 /* Override any GCC internal prototype to avoid an error.
13537 Use char because int might match the return type of a GCC
13538 builtin and then its argument prototype would still apply. */
13539 #ifdef __cplusplus
13540 extern "C"
13541 #endif
13542 char mpg123_feed ();
13544 main ()
13546 return mpg123_feed ();
13548 return 0;
13550 _ACEOF
13551 if ac_fn_c_try_link "$LINENO"; then :
13552 ac_cv_lib_mpg123_mpg123_feed=yes
13553 else
13554 ac_cv_lib_mpg123_mpg123_feed=no
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 LIBS=$ac_check_lib_save_LIBS
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13561 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13562 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13564 else
13565 MPG123_LIBS=""
13568 else
13569 MPG123_CFLAGS=""
13570 MPG123_LIBS=""
13572 CPPFLAGS=$ac_save_CPPFLAGS
13573 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13574 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13577 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13578 case "x$with_mpg123" in
13579 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13580 xno) ;;
13581 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13582 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13583 esac
13584 enable_winemp3_acm=${enable_winemp3_acm:-no}
13587 if test "$ac_cv_header_AL_al_h" = "yes"
13588 then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13590 $as_echo_n "checking for -lopenal... " >&6; }
13591 if ${ac_cv_lib_soname_openal+:} false; then :
13592 $as_echo_n "(cached) " >&6
13593 else
13594 ac_check_soname_save_LIBS=$LIBS
13595 LIBS="-lopenal $LIBS"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13599 /* Override any GCC internal prototype to avoid an error.
13600 Use char because int might match the return type of a GCC
13601 builtin and then its argument prototype would still apply. */
13602 #ifdef __cplusplus
13603 extern "C"
13604 #endif
13605 char alGetSource3i ();
13607 main ()
13609 return alGetSource3i ();
13611 return 0;
13613 _ACEOF
13614 if ac_fn_c_try_link "$LINENO"; then :
13615 case "$LIBEXT" in
13616 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13617 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'` ;;
13618 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13619 if ${ac_cv_lib_soname_openal:+false} :; then :
13620 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13621 fi ;;
13622 esac
13624 rm -f core conftest.err conftest.$ac_objext \
13625 conftest$ac_exeext conftest.$ac_ext
13626 LIBS=$ac_check_soname_save_LIBS
13628 if ${ac_cv_lib_soname_openal:+false} :; then :
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13630 $as_echo "not found" >&6; }
13632 else
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13634 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13636 cat >>confdefs.h <<_ACEOF
13637 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13638 _ACEOF
13640 OPENAL_LIBS="-lopenal"
13642 ac_cv_lib_openal=yes
13644 cat >>confdefs.h <<_ACEOF
13645 #define HAVE_OPENAL 1
13646 _ACEOF
13650 if test "x$ac_cv_lib_openal" != xyes; then :
13651 case "x$with_openal" in
13652 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13653 xno) ;;
13654 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13655 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13656 esac
13657 enable_openal32=${enable_openal32:-no}
13660 if test "x$ac_cv_lib_openal" = xyes
13661 then
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13663 $as_echo_n "checking for openal-soft... " >&6; }
13664 if ${ac_cv_have_openalsoft+:} false; then :
13665 $as_echo_n "(cached) " >&6
13666 else
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669 #include <AL/al.h>
13670 #include <AL/alc.h>
13671 #include <AL/alext.h>
13672 LPALCRENDERSAMPLESSOFT x;
13674 main ()
13678 return 0;
13680 _ACEOF
13681 if ac_fn_c_try_compile "$LINENO"; then :
13682 ac_cv_have_openalsoft=yes
13683 else
13684 ac_cv_have_openalsoft=no
13686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13689 $as_echo "$ac_cv_have_openalsoft" >&6; }
13691 if test "x$ac_cv_have_openalsoft" != xyes
13692 then
13693 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13694 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13695 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13696 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13697 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13698 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13699 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13700 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13701 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13702 enable_xapofx1_1=${enable_xapofx1_1:-no}
13703 enable_xapofx1_2=${enable_xapofx1_2:-no}
13704 enable_xapofx1_3=${enable_xapofx1_3:-no}
13705 enable_xapofx1_4=${enable_xapofx1_4:-no}
13706 enable_xapofx1_5=${enable_xapofx1_5:-no}
13707 enable_xaudio2_0=${enable_xaudio2_0:-no}
13708 enable_xaudio2_1=${enable_xaudio2_1:-no}
13709 enable_xaudio2_2=${enable_xaudio2_2:-no}
13710 enable_xaudio2_3=${enable_xaudio2_3:-no}
13711 enable_xaudio2_4=${enable_xaudio2_4:-no}
13712 enable_xaudio2_5=${enable_xaudio2_5:-no}
13713 enable_xaudio2_6=${enable_xaudio2_6:-no}
13714 enable_xaudio2_7=${enable_xaudio2_7:-no}
13715 enable_xaudio2_8=${enable_xaudio2_8:-no}
13716 enable_xaudio2_9=${enable_xaudio2_9:-no}
13719 if test "$ac_cv_header_kstat_h" = "yes"
13720 then
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13722 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13723 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13724 $as_echo_n "(cached) " >&6
13725 else
13726 ac_check_lib_save_LIBS=$LIBS
13727 LIBS="-lkstat $LIBS"
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13731 /* Override any GCC internal prototype to avoid an error.
13732 Use char because int might match the return type of a GCC
13733 builtin and then its argument prototype would still apply. */
13734 #ifdef __cplusplus
13735 extern "C"
13736 #endif
13737 char kstat_open ();
13739 main ()
13741 return kstat_open ();
13743 return 0;
13745 _ACEOF
13746 if ac_fn_c_try_link "$LINENO"; then :
13747 ac_cv_lib_kstat_kstat_open=yes
13748 else
13749 ac_cv_lib_kstat_kstat_open=no
13751 rm -f core conftest.err conftest.$ac_objext \
13752 conftest$ac_exeext conftest.$ac_ext
13753 LIBS=$ac_check_lib_save_LIBS
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13756 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13757 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13759 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13761 KSTAT_LIBS="-lkstat"
13767 if test "$ac_cv_header_libprocstat_h" = "yes"
13768 then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13770 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13771 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 ac_check_lib_save_LIBS=$LIBS
13775 LIBS="-lprocstat $LIBS"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char procstat_open_sysctl ();
13787 main ()
13789 return procstat_open_sysctl ();
13791 return 0;
13793 _ACEOF
13794 if ac_fn_c_try_link "$LINENO"; then :
13795 ac_cv_lib_procstat_procstat_open_sysctl=yes
13796 else
13797 ac_cv_lib_procstat_procstat_open_sysctl=no
13799 rm -f core conftest.err conftest.$ac_objext \
13800 conftest$ac_exeext conftest.$ac_ext
13801 LIBS=$ac_check_lib_save_LIBS
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13804 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13805 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13807 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13809 PROCSTAT_LIBS="-lprocstat"
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13816 $as_echo_n "checking for -lodbc... " >&6; }
13817 if ${ac_cv_lib_soname_odbc+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_soname_save_LIBS=$LIBS
13821 LIBS="-lodbc $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char SQLConnect ();
13833 main ()
13835 return SQLConnect ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 case "$LIBEXT" in
13842 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13843 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'` ;;
13844 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13845 if ${ac_cv_lib_soname_odbc:+false} :; then :
13846 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13847 fi ;;
13848 esac
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 LIBS=$ac_check_soname_save_LIBS
13854 if ${ac_cv_lib_soname_odbc:+false} :; then :
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13856 $as_echo "not found" >&6; }
13857 cat >>confdefs.h <<_ACEOF
13858 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13859 _ACEOF
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13863 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13867 _ACEOF
13872 if test "x$with_netapi" != "xno"
13873 then
13874 if ${NETAPI_CFLAGS:+false} :; then :
13875 if ${PKG_CONFIG+:} false; then :
13876 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13880 if ${NETAPI_LIBS:+false} :; then :
13881 if ${PKG_CONFIG+:} false; then :
13882 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13887 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13888 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13889 ac_save_CPPFLAGS=$CPPFLAGS
13890 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13892 $as_echo_n "checking for -lnetapi... " >&6; }
13893 if ${ac_cv_lib_soname_netapi+:} false; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 ac_check_soname_save_LIBS=$LIBS
13897 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 #ifdef __cplusplus
13905 extern "C"
13906 #endif
13907 char libnetapi_init ();
13909 main ()
13911 return libnetapi_init ();
13913 return 0;
13915 _ACEOF
13916 if ac_fn_c_try_link "$LINENO"; then :
13917 case "$LIBEXT" in
13918 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13919 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'` ;;
13920 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13921 if ${ac_cv_lib_soname_netapi:+false} :; then :
13922 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13923 fi ;;
13924 esac
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_soname_save_LIBS
13930 if ${ac_cv_lib_soname_netapi:+false} :; then :
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13932 $as_echo "not found" >&6; }
13933 cat >>confdefs.h <<_ACEOF
13934 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13935 _ACEOF
13937 else
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13939 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13941 cat >>confdefs.h <<_ACEOF
13942 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13943 _ACEOF
13947 CPPFLAGS=$ac_save_CPPFLAGS
13948 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13949 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13953 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13954 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13955 then
13956 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13960 EXTRACFLAGS=""
13962 if test "x${GCC}" = "xyes"
13963 then
13964 EXTRACFLAGS="-Wall -pipe"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13967 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13968 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13969 $as_echo_n "(cached) " >&6
13970 else
13971 if test "$cross_compiling" = yes; then :
13972 ac_cv_c_gcc_strength_bug="no"
13973 else
13974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13975 /* end confdefs.h. */
13976 int L[4] = {0,1,2,3};
13978 main ()
13980 static int Array[3];
13981 unsigned int B = 3;
13982 int i;
13983 for(i=0; i<B; i++) Array[i] = i - 3;
13984 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13985 L[i] = 4;
13986 return (Array[1] != -2 || L[2] != 3)
13988 return 0;
13990 _ACEOF
13991 if ac_fn_c_try_run "$LINENO"; then :
13992 ac_cv_c_gcc_strength_bug="no"
13993 else
13994 ac_cv_c_gcc_strength_bug="yes"
13996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13997 conftest.$ac_objext conftest.beam conftest.$ac_ext
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14002 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14003 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14004 then
14005 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14009 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14010 if ${ac_cv_cflags__fno_builtin+:} false; then :
14011 $as_echo_n "(cached) " >&6
14012 else
14013 ac_wine_try_cflags_saved=$CFLAGS
14014 CFLAGS="$CFLAGS -fno-builtin"
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14017 int main(int argc, char **argv) { return 0; }
14018 _ACEOF
14019 if ac_fn_c_try_link "$LINENO"; then :
14020 ac_cv_cflags__fno_builtin=yes
14021 else
14022 ac_cv_cflags__fno_builtin=no
14024 rm -f core conftest.err conftest.$ac_objext \
14025 conftest$ac_exeext conftest.$ac_ext
14026 CFLAGS=$ac_wine_try_cflags_saved
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14029 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14030 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14031 BUILTINFLAG="-fno-builtin"
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14035 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14036 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14037 $as_echo_n "(cached) " >&6
14038 else
14039 ac_wine_try_cflags_saved=$CFLAGS
14040 CFLAGS="$CFLAGS -fno-strict-aliasing"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 int main(int argc, char **argv) { return 0; }
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_cflags__fno_strict_aliasing=yes
14047 else
14048 ac_cv_cflags__fno_strict_aliasing=no
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 CFLAGS=$ac_wine_try_cflags_saved
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14055 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14056 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14057 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14060 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14061 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14062 $as_echo_n "(cached) " >&6
14063 else
14064 ac_wine_try_cflags_saved=$CFLAGS
14065 CFLAGS="$CFLAGS -fexcess-precision=standard"
14066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14067 /* end confdefs.h. */
14068 int main(int argc, char **argv) { return 0; }
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 ac_cv_cflags__fexcess_precision_standard=yes
14072 else
14073 ac_cv_cflags__fexcess_precision_standard=no
14075 rm -f core conftest.err conftest.$ac_objext \
14076 conftest$ac_exeext conftest.$ac_ext
14077 CFLAGS=$ac_wine_try_cflags_saved
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14080 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14081 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14082 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14085 saved_CFLAGS=$CFLAGS
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14087 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14088 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14089 $as_echo_n "(cached) " >&6
14090 else
14091 ac_wine_try_cflags_saved=$CFLAGS
14092 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14094 /* end confdefs.h. */
14095 int main(int argc, char **argv) { return 0; }
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"; then :
14098 ac_cv_cflags__Werror_unknown_warning_option=yes
14099 else
14100 ac_cv_cflags__Werror_unknown_warning_option=no
14102 rm -f core conftest.err conftest.$ac_objext \
14103 conftest$ac_exeext conftest.$ac_ext
14104 CFLAGS=$ac_wine_try_cflags_saved
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14107 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14108 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14109 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14112 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14113 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 ac_wine_try_cflags_saved=$CFLAGS
14117 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14120 int main(int argc, char **argv) { return 0; }
14121 _ACEOF
14122 if ac_fn_c_try_link "$LINENO"; then :
14123 ac_cv_cflags__Wdeclaration_after_statement=yes
14124 else
14125 ac_cv_cflags__Wdeclaration_after_statement=no
14127 rm -f core conftest.err conftest.$ac_objext \
14128 conftest$ac_exeext conftest.$ac_ext
14129 CFLAGS=$ac_wine_try_cflags_saved
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14132 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14133 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14134 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14137 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14138 if ${ac_cv_cflags__Wempty_body+:} false; then :
14139 $as_echo_n "(cached) " >&6
14140 else
14141 ac_wine_try_cflags_saved=$CFLAGS
14142 CFLAGS="$CFLAGS -Wempty-body"
14143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14144 /* end confdefs.h. */
14145 int main(int argc, char **argv) { return 0; }
14146 _ACEOF
14147 if ac_fn_c_try_link "$LINENO"; then :
14148 ac_cv_cflags__Wempty_body=yes
14149 else
14150 ac_cv_cflags__Wempty_body=no
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 CFLAGS=$ac_wine_try_cflags_saved
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14157 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14158 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14159 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14162 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14163 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14164 $as_echo_n "(cached) " >&6
14165 else
14166 ac_wine_try_cflags_saved=$CFLAGS
14167 CFLAGS="$CFLAGS -Wignored-qualifiers"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14170 int main(int argc, char **argv) { return 0; }
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 ac_cv_cflags__Wignored_qualifiers=yes
14174 else
14175 ac_cv_cflags__Wignored_qualifiers=no
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 CFLAGS=$ac_wine_try_cflags_saved
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14182 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14183 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14184 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14187 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14188 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14189 $as_echo_n "(cached) " >&6
14190 else
14191 ac_wine_try_cflags_saved=$CFLAGS
14192 CFLAGS="$CFLAGS -Wshift-overflow=2"
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 int main(int argc, char **argv) { return 0; }
14196 _ACEOF
14197 if ac_fn_c_try_link "$LINENO"; then :
14198 ac_cv_cflags__Wshift_overflow_2=yes
14199 else
14200 ac_cv_cflags__Wshift_overflow_2=no
14202 rm -f core conftest.err conftest.$ac_objext \
14203 conftest$ac_exeext conftest.$ac_ext
14204 CFLAGS=$ac_wine_try_cflags_saved
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14207 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14208 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14209 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14212 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14213 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14214 $as_echo_n "(cached) " >&6
14215 else
14216 ac_wine_try_cflags_saved=$CFLAGS
14217 CFLAGS="$CFLAGS -Wstrict-prototypes"
14218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 /* end confdefs.h. */
14220 int main(int argc, char **argv) { return 0; }
14221 _ACEOF
14222 if ac_fn_c_try_link "$LINENO"; then :
14223 ac_cv_cflags__Wstrict_prototypes=yes
14224 else
14225 ac_cv_cflags__Wstrict_prototypes=no
14227 rm -f core conftest.err conftest.$ac_objext \
14228 conftest$ac_exeext conftest.$ac_ext
14229 CFLAGS=$ac_wine_try_cflags_saved
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14232 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14233 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14234 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14237 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14238 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14239 $as_echo_n "(cached) " >&6
14240 else
14241 ac_wine_try_cflags_saved=$CFLAGS
14242 CFLAGS="$CFLAGS -Wtype-limits"
14243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14245 int main(int argc, char **argv) { return 0; }
14246 _ACEOF
14247 if ac_fn_c_try_link "$LINENO"; then :
14248 ac_cv_cflags__Wtype_limits=yes
14249 else
14250 ac_cv_cflags__Wtype_limits=no
14252 rm -f core conftest.err conftest.$ac_objext \
14253 conftest$ac_exeext conftest.$ac_ext
14254 CFLAGS=$ac_wine_try_cflags_saved
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14257 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14258 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14259 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14262 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14263 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14264 $as_echo_n "(cached) " >&6
14265 else
14266 ac_wine_try_cflags_saved=$CFLAGS
14267 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14269 /* end confdefs.h. */
14270 int main(int argc, char **argv) { return 0; }
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_cflags__Wunused_but_set_parameter=yes
14274 else
14275 ac_cv_cflags__Wunused_but_set_parameter=no
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 CFLAGS=$ac_wine_try_cflags_saved
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14282 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14283 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14284 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14287 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14288 if ${ac_cv_cflags__Wvla+:} false; then :
14289 $as_echo_n "(cached) " >&6
14290 else
14291 ac_wine_try_cflags_saved=$CFLAGS
14292 CFLAGS="$CFLAGS -Wvla"
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14295 int main(int argc, char **argv) { return 0; }
14296 _ACEOF
14297 if ac_fn_c_try_link "$LINENO"; then :
14298 ac_cv_cflags__Wvla=yes
14299 else
14300 ac_cv_cflags__Wvla=no
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14304 CFLAGS=$ac_wine_try_cflags_saved
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14307 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14308 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14309 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14312 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14313 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14314 $as_echo_n "(cached) " >&6
14315 else
14316 ac_wine_try_cflags_saved=$CFLAGS
14317 CFLAGS="$CFLAGS -Wwrite-strings"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 int main(int argc, char **argv) { return 0; }
14321 _ACEOF
14322 if ac_fn_c_try_link "$LINENO"; then :
14323 ac_cv_cflags__Wwrite_strings=yes
14324 else
14325 ac_cv_cflags__Wwrite_strings=no
14327 rm -f core conftest.err conftest.$ac_objext \
14328 conftest$ac_exeext conftest.$ac_ext
14329 CFLAGS=$ac_wine_try_cflags_saved
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14332 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14333 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14334 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14338 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14339 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_wine_try_cflags_saved=$CFLAGS
14343 CFLAGS="$CFLAGS -Wpointer-arith"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 int main(int argc, char **argv) { return 0; }
14347 _ACEOF
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_cflags__Wpointer_arith=yes
14350 else
14351 ac_cv_cflags__Wpointer_arith=no
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14355 CFLAGS=$ac_wine_try_cflags_saved
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14358 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14359 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14360 saved_string_h_CFLAGS=$CFLAGS
14361 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14363 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14364 if ${ac_cv_c_string_h_warnings+:} false; then :
14365 $as_echo_n "(cached) " >&6
14366 else
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14369 #include <string.h>
14371 main ()
14375 return 0;
14377 _ACEOF
14378 if ac_fn_c_try_compile "$LINENO"; then :
14379 ac_cv_c_string_h_warnings=no
14380 else
14381 ac_cv_c_string_h_warnings=yes
14383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14386 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14387 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14388 CFLAGS=$saved_string_h_CFLAGS
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14392 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14393 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14394 $as_echo_n "(cached) " >&6
14395 else
14396 ac_wine_try_cflags_saved=$CFLAGS
14397 CFLAGS="$CFLAGS -Wlogical-op"
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 /* end confdefs.h. */
14400 int main(int argc, char **argv) { return 0; }
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_cflags__Wlogical_op=yes
14404 else
14405 ac_cv_cflags__Wlogical_op=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 CFLAGS=$ac_wine_try_cflags_saved
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14412 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14413 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14414 saved_string_h_CFLAGS=$CFLAGS
14415 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14417 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14418 if ${ac_cv_c_logicalop_noisy+:} false; then :
14419 $as_echo_n "(cached) " >&6
14420 else
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14423 #include <string.h>
14424 char*f(const char *h,char n) {return strchr(h,n);}
14426 main ()
14430 return 0;
14432 _ACEOF
14433 if ac_fn_c_try_compile "$LINENO"; then :
14434 ac_cv_c_logicalop_noisy=no
14435 else
14436 ac_cv_c_logicalop_noisy=yes
14438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14441 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14442 CFLAGS=$saved_string_h_CFLAGS
14443 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14446 CFLAGS=$saved_CFLAGS
14448 for ac_flag in $CFLAGS; do
14449 case $ac_flag in
14450 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14451 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14452 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14453 $as_echo_n "(cached) " >&6
14454 else
14455 ac_wine_try_cflags_saved=$CFLAGS
14456 CFLAGS="$CFLAGS -gdwarf-2"
14457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14458 /* end confdefs.h. */
14459 int main(int argc, char **argv) { return 0; }
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 ac_cv_cflags__gdwarf_2=yes
14463 else
14464 ac_cv_cflags__gdwarf_2=no
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 CFLAGS=$ac_wine_try_cflags_saved
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14471 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14472 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14473 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14476 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14477 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14478 $as_echo_n "(cached) " >&6
14479 else
14480 ac_wine_try_cflags_saved=$CFLAGS
14481 CFLAGS="$CFLAGS -gstrict-dwarf"
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14484 int main(int argc, char **argv) { return 0; }
14485 _ACEOF
14486 if ac_fn_c_try_link "$LINENO"; then :
14487 ac_cv_cflags__gstrict_dwarf=yes
14488 else
14489 ac_cv_cflags__gstrict_dwarf=no
14491 rm -f core conftest.err conftest.$ac_objext \
14492 conftest$ac_exeext conftest.$ac_ext
14493 CFLAGS=$ac_wine_try_cflags_saved
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14496 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14497 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14498 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14499 fi ;;
14500 esac
14501 done
14503 case $host_cpu in
14504 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14505 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14506 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14507 $as_echo_n "(cached) " >&6
14508 else
14509 ac_wine_try_cflags_saved=$CFLAGS
14510 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14512 /* end confdefs.h. */
14513 int main(int argc, char **argv) { return 0; }
14514 _ACEOF
14515 if ac_fn_c_try_link "$LINENO"; then :
14516 ac_cv_cflags__fno_omit_frame_pointer=yes
14517 else
14518 ac_cv_cflags__fno_omit_frame_pointer=no
14520 rm -f core conftest.err conftest.$ac_objext \
14521 conftest$ac_exeext conftest.$ac_ext
14522 CFLAGS=$ac_wine_try_cflags_saved
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14525 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14526 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14527 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14528 fi ;;
14529 esac
14531 case $host in
14532 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14533 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14534 if ${ac_cv_cflags__Wno_format+:} false; then :
14535 $as_echo_n "(cached) " >&6
14536 else
14537 ac_wine_try_cflags_saved=$CFLAGS
14538 CFLAGS="$CFLAGS -Wno-format"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541 int main(int argc, char **argv) { return 0; }
14542 _ACEOF
14543 if ac_fn_c_try_link "$LINENO"; then :
14544 ac_cv_cflags__Wno_format=yes
14545 else
14546 ac_cv_cflags__Wno_format=no
14548 rm -f core conftest.err conftest.$ac_objext \
14549 conftest$ac_exeext conftest.$ac_ext
14550 CFLAGS=$ac_wine_try_cflags_saved
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14553 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14554 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14555 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14556 fi ;;
14557 esac
14559 if test "x$enable_maintainer_mode" = "xyes"
14560 then
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14562 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14563 if ${ac_cv_cflags__Werror+:} false; then :
14564 $as_echo_n "(cached) " >&6
14565 else
14566 ac_wine_try_cflags_saved=$CFLAGS
14567 CFLAGS="$CFLAGS -Werror"
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14570 int main(int argc, char **argv) { return 0; }
14571 _ACEOF
14572 if ac_fn_c_try_link "$LINENO"; then :
14573 ac_cv_cflags__Werror=yes
14574 else
14575 ac_cv_cflags__Werror=no
14577 rm -f core conftest.err conftest.$ac_objext \
14578 conftest$ac_exeext conftest.$ac_ext
14579 CFLAGS=$ac_wine_try_cflags_saved
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14582 $as_echo "$ac_cv_cflags__Werror" >&6; }
14583 if test "x$ac_cv_cflags__Werror" = xyes; then :
14584 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14588 saved_CFLAGS="$CFLAGS"
14589 CFLAGS="$CFLAGS -Werror"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14591 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14592 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14596 /* end confdefs.h. */
14597 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14599 main ()
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_compile "$LINENO"; then :
14607 ac_cv_have_ms_hook_prologue="yes"
14608 else
14609 ac_cv_have_ms_hook_prologue="no"
14611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14614 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14615 CFLAGS="$saved_CFLAGS"
14616 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14617 then
14619 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14621 else
14622 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14629 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14630 if ${ac_cv_c_fortify_enabled+:} false; then :
14631 $as_echo_n "(cached) " >&6
14632 else
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 #include <string.h>
14637 main ()
14639 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14640 #error Fortify enabled
14641 #endif
14643 return 0;
14645 _ACEOF
14646 if ac_fn_c_try_compile "$LINENO"; then :
14647 ac_cv_c_fortify_enabled=no
14648 else
14649 ac_cv_c_fortify_enabled=yes
14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14654 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14655 if test "$ac_cv_c_fortify_enabled" = yes
14656 then
14657 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14662 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14663 if ${ac_cv_c_extern_prefix+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 extern int ac_test;
14670 main ()
14672 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 ac_cv_c_extern_prefix="yes"
14679 else
14680 ac_cv_c_extern_prefix="no"
14682 rm -f core conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14686 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14688 case $host_cpu in
14689 *i[3456789]86*)
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14691 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14692 if ${ac_cv_c_stdcall_suffix+:} false; then :
14693 $as_echo_n "(cached) " >&6
14694 else
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14697 #ifndef _MSC_VER
14698 #define __stdcall __attribute__((__stdcall__))
14699 #endif
14700 int __stdcall ac_test(int i) { return i; }
14702 main ()
14704 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14706 return 0;
14708 _ACEOF
14709 if ac_fn_c_try_link "$LINENO"; then :
14710 ac_cv_c_stdcall_suffix="yes"
14711 else
14712 ac_cv_c_stdcall_suffix="no"
14714 rm -f core conftest.err conftest.$ac_objext \
14715 conftest$ac_exeext conftest.$ac_ext
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14718 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14719 *) ac_cv_c_stdcall_suffix="no" ;;
14720 esac
14723 if test "$ac_cv_c_extern_prefix" = "yes"
14724 then
14725 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14727 asm_name_prefix="_"
14728 else
14729 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14731 asm_name_prefix=""
14735 if test "$ac_cv_c_stdcall_suffix" = "yes"
14736 then
14737 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14739 else
14740 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14746 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14747 if ${ac_cv_asm_func_def+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14754 main ()
14756 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_asm_func_def=".def"
14763 else
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14768 main ()
14770 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14772 return 0;
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"; then :
14776 ac_cv_asm_func_def=".type @function"
14777 else
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14782 main ()
14784 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14786 return 0;
14788 _ACEOF
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_asm_func_def=".type 2"
14791 else
14792 ac_cv_asm_func_def="unknown"
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext conftest.$ac_ext
14800 rm -f core conftest.err conftest.$ac_objext \
14801 conftest$ac_exeext conftest.$ac_ext
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14804 $as_echo "$ac_cv_asm_func_def" >&6; }
14807 case "$ac_cv_asm_func_def" in
14808 ".def")
14809 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14811 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14812 ".type @function")
14813 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14815 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14816 ".type 2")
14817 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14819 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14821 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14823 asm_func_header="" ;;
14824 esac
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14827 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14828 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14829 $as_echo_n "(cached) " >&6
14830 else
14831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14832 /* end confdefs.h. */
14833 asm(".text\n\t.long 0");
14835 main ()
14839 return 0;
14841 _ACEOF
14842 if ac_fn_c_try_compile "$LINENO"; then :
14843 ac_cv_c_asm_outside_funcs="yes"
14844 else
14845 ac_cv_c_asm_outside_funcs="no"
14847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14850 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14853 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14854 if ${ac_cv_c_dot_previous+:} false; then :
14855 $as_echo_n "(cached) " >&6
14856 else
14857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14858 /* end confdefs.h. */
14861 main ()
14863 asm(".text\nac_test:\t.long 0\n\t.previous");
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_link "$LINENO"; then :
14869 ac_cv_c_dot_previous="yes"
14870 else
14871 ac_cv_c_dot_previous="no"
14873 rm -f core conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14877 $as_echo "$ac_cv_c_dot_previous" >&6; }
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14880 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14881 if ${ac_cv_c_cfi_support+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14886 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14888 main ()
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_compile "$LINENO"; then :
14896 ac_cv_c_cfi_support="yes"
14897 else
14898 ac_cv_c_cfi_support="no"
14900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14903 $as_echo "$ac_cv_c_cfi_support" >&6; }
14905 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14906 asm_func_trailer=""
14907 if test "$ac_cv_c_dot_previous" = "yes"
14908 then
14909 asm_func_trailer="\\n\\t.previous"
14911 if test "$ac_cv_c_cfi_support" = "yes"
14912 then
14913 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14914 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14916 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14918 UNWINDFLAGS=-fasynchronous-unwind-tables
14920 else
14921 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14923 if test "x$enable_win64" = "xyes"
14924 then
14925 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14929 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14932 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14933 then
14934 cat >>confdefs.h <<_ACEOF
14935 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14936 _ACEOF
14938 else
14939 cat >>confdefs.h <<_ACEOF
14940 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14941 _ACEOF
14945 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14948 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14952 case $build_os in
14953 cygwin*|mingw32*) TOOLSEXT=".exe"
14955 esac
14957 case $host_os in
14958 linux-android*) ;;
14959 linux*)
14960 case $host_cpu in
14961 *i[3456789]86*|x86_64*)
14962 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14963 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14965 esac
14967 esac
14970 ac_save_CFLAGS="$CFLAGS"
14971 CFLAGS="$CFLAGS $BUILTINFLAG"
14972 for ac_func in \
14973 __res_get_state \
14974 __res_getservers \
14975 _finite \
14976 _isnan \
14977 _pclose \
14978 _popen \
14979 _snprintf \
14980 _spawnvp \
14981 _strdup \
14982 _stricmp \
14983 _strnicmp \
14984 _strtoi64 \
14985 _strtoui64 \
14986 _vsnprintf \
14987 asctime_r \
14988 chsize \
14989 dlopen \
14990 epoll_create \
14991 ffs \
14992 finitef \
14993 fnmatch \
14994 fork \
14995 fpclass \
14996 fstatfs \
14997 fstatvfs \
14998 ftruncate \
14999 futimens \
15000 futimes \
15001 futimesat \
15002 getattrlist \
15003 getdirentries \
15004 getopt_long_only \
15005 getpwuid \
15006 gettimeofday \
15007 getuid \
15008 if_nameindex \
15009 isnanf \
15010 kqueue \
15011 lstat \
15012 memmove \
15013 mmap \
15014 pclose \
15015 pipe2 \
15016 poll \
15017 popen \
15018 port_create \
15019 prctl \
15020 pread \
15021 proc_pidinfo \
15022 pwrite \
15023 readdir \
15024 readlink \
15025 sched_yield \
15026 select \
15027 setproctitle \
15028 setprogname \
15029 setrlimit \
15030 settimeofday \
15031 sigaltstack \
15032 sigprocmask \
15033 snprintf \
15034 statfs \
15035 statvfs \
15036 strcasecmp \
15037 strdup \
15038 strerror \
15039 strncasecmp \
15040 strtold \
15041 strtoll \
15042 strtoull \
15043 symlink \
15044 tcdrain \
15045 thr_kill2 \
15046 timegm \
15047 usleep \
15048 vsnprintf
15050 do :
15051 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15052 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15053 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15054 cat >>confdefs.h <<_ACEOF
15055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15056 _ACEOF
15059 done
15061 CFLAGS="$ac_save_CFLAGS"
15063 if test "$ac_cv_func_dlopen" = no
15064 then
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15067 if ${ac_cv_lib_dl_dlopen+:} false; then :
15068 $as_echo_n "(cached) " >&6
15069 else
15070 ac_check_lib_save_LIBS=$LIBS
15071 LIBS="-ldl $LIBS"
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15075 /* Override any GCC internal prototype to avoid an error.
15076 Use char because int might match the return type of a GCC
15077 builtin and then its argument prototype would still apply. */
15078 #ifdef __cplusplus
15079 extern "C"
15080 #endif
15081 char dlopen ();
15083 main ()
15085 return dlopen ();
15087 return 0;
15089 _ACEOF
15090 if ac_fn_c_try_link "$LINENO"; then :
15091 ac_cv_lib_dl_dlopen=yes
15092 else
15093 ac_cv_lib_dl_dlopen=no
15095 rm -f core conftest.err conftest.$ac_objext \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_lib_save_LIBS
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15101 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15102 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15103 DL_LIBS="-ldl"
15108 ac_wine_check_funcs_save_LIBS="$LIBS"
15109 LIBS="$LIBS $DL_LIBS"
15110 for ac_func in dladdr
15111 do :
15112 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15113 if test "x$ac_cv_func_dladdr" = xyes; then :
15114 cat >>confdefs.h <<_ACEOF
15115 #define HAVE_DLADDR 1
15116 _ACEOF
15119 done
15121 LIBS="$ac_wine_check_funcs_save_LIBS"
15123 if test "$ac_cv_func_poll" = no
15124 then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15126 $as_echo_n "checking for poll in -lpoll... " >&6; }
15127 if ${ac_cv_lib_poll_poll+:} false; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_check_lib_save_LIBS=$LIBS
15131 LIBS="-lpoll $LIBS"
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15138 #ifdef __cplusplus
15139 extern "C"
15140 #endif
15141 char poll ();
15143 main ()
15145 return poll ();
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_link "$LINENO"; then :
15151 ac_cv_lib_poll_poll=yes
15152 else
15153 ac_cv_lib_poll_poll=no
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LIBS=$ac_check_lib_save_LIBS
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15160 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15161 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15162 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15163 POLL_LIBS="-lpoll"
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15170 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15171 if ${ac_cv_search_gethostbyname+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_func_search_save_LIBS=$LIBS
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15178 /* Override any GCC internal prototype to avoid an error.
15179 Use char because int might match the return type of a GCC
15180 builtin and then its argument prototype would still apply. */
15181 #ifdef __cplusplus
15182 extern "C"
15183 #endif
15184 char gethostbyname ();
15186 main ()
15188 return gethostbyname ();
15190 return 0;
15192 _ACEOF
15193 for ac_lib in '' nsl; do
15194 if test -z "$ac_lib"; then
15195 ac_res="none required"
15196 else
15197 ac_res=-l$ac_lib
15198 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15200 if ac_fn_c_try_link "$LINENO"; then :
15201 ac_cv_search_gethostbyname=$ac_res
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext
15205 if ${ac_cv_search_gethostbyname+:} false; then :
15206 break
15208 done
15209 if ${ac_cv_search_gethostbyname+:} false; then :
15211 else
15212 ac_cv_search_gethostbyname=no
15214 rm conftest.$ac_ext
15215 LIBS=$ac_func_search_save_LIBS
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15218 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15219 ac_res=$ac_cv_search_gethostbyname
15220 if test "$ac_res" != no; then :
15221 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15227 $as_echo_n "checking for library containing connect... " >&6; }
15228 if ${ac_cv_search_connect+:} false; then :
15229 $as_echo_n "(cached) " >&6
15230 else
15231 ac_func_search_save_LIBS=$LIBS
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 #ifdef __cplusplus
15239 extern "C"
15240 #endif
15241 char connect ();
15243 main ()
15245 return connect ();
15247 return 0;
15249 _ACEOF
15250 for ac_lib in '' socket; do
15251 if test -z "$ac_lib"; then
15252 ac_res="none required"
15253 else
15254 ac_res=-l$ac_lib
15255 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15257 if ac_fn_c_try_link "$LINENO"; then :
15258 ac_cv_search_connect=$ac_res
15260 rm -f core conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext
15262 if ${ac_cv_search_connect+:} false; then :
15263 break
15265 done
15266 if ${ac_cv_search_connect+:} false; then :
15268 else
15269 ac_cv_search_connect=no
15271 rm conftest.$ac_ext
15272 LIBS=$ac_func_search_save_LIBS
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15275 $as_echo "$ac_cv_search_connect" >&6; }
15276 ac_res=$ac_cv_search_connect
15277 if test "$ac_res" != no; then :
15278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15284 $as_echo_n "checking for library containing inet_aton... " >&6; }
15285 if ${ac_cv_search_inet_aton+:} false; then :
15286 $as_echo_n "(cached) " >&6
15287 else
15288 ac_func_search_save_LIBS=$LIBS
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15292 /* Override any GCC internal prototype to avoid an error.
15293 Use char because int might match the return type of a GCC
15294 builtin and then its argument prototype would still apply. */
15295 #ifdef __cplusplus
15296 extern "C"
15297 #endif
15298 char inet_aton ();
15300 main ()
15302 return inet_aton ();
15304 return 0;
15306 _ACEOF
15307 for ac_lib in '' resolv; do
15308 if test -z "$ac_lib"; then
15309 ac_res="none required"
15310 else
15311 ac_res=-l$ac_lib
15312 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 ac_cv_search_inet_aton=$ac_res
15317 rm -f core conftest.err conftest.$ac_objext \
15318 conftest$ac_exeext
15319 if ${ac_cv_search_inet_aton+:} false; then :
15320 break
15322 done
15323 if ${ac_cv_search_inet_aton+:} false; then :
15325 else
15326 ac_cv_search_inet_aton=no
15328 rm conftest.$ac_ext
15329 LIBS=$ac_func_search_save_LIBS
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15332 $as_echo "$ac_cv_search_inet_aton" >&6; }
15333 ac_res=$ac_cv_search_inet_aton
15334 if test "$ac_res" != no; then :
15335 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15340 for ac_func in \
15341 getaddrinfo \
15342 getnameinfo \
15343 getnetbyname \
15344 getprotobyname \
15345 getprotobynumber \
15346 getservbyport \
15347 inet_addr \
15348 inet_network \
15349 inet_ntop \
15350 inet_pton \
15351 sendmsg \
15352 socketpair \
15354 do :
15355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15357 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15358 cat >>confdefs.h <<_ACEOF
15359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15360 _ACEOF
15363 done
15366 ac_save_LIBS=$LIBS
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15368 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15369 if ${ac_cv_search_clock_gettime+:} false; then :
15370 $as_echo_n "(cached) " >&6
15371 else
15372 ac_func_search_save_LIBS=$LIBS
15373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15374 /* end confdefs.h. */
15376 /* Override any GCC internal prototype to avoid an error.
15377 Use char because int might match the return type of a GCC
15378 builtin and then its argument prototype would still apply. */
15379 #ifdef __cplusplus
15380 extern "C"
15381 #endif
15382 char clock_gettime ();
15384 main ()
15386 return clock_gettime ();
15388 return 0;
15390 _ACEOF
15391 for ac_lib in '' rt; do
15392 if test -z "$ac_lib"; then
15393 ac_res="none required"
15394 else
15395 ac_res=-l$ac_lib
15396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15398 if ac_fn_c_try_link "$LINENO"; then :
15399 ac_cv_search_clock_gettime=$ac_res
15401 rm -f core conftest.err conftest.$ac_objext \
15402 conftest$ac_exeext
15403 if ${ac_cv_search_clock_gettime+:} false; then :
15404 break
15406 done
15407 if ${ac_cv_search_clock_gettime+:} false; then :
15409 else
15410 ac_cv_search_clock_gettime=no
15412 rm conftest.$ac_ext
15413 LIBS=$ac_func_search_save_LIBS
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15416 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15417 ac_res=$ac_cv_search_clock_gettime
15418 if test "$ac_res" != no; then :
15419 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15421 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15423 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15427 LIBS=$ac_save_LIBS
15429 LDAP_LIBS=""
15431 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15432 then
15433 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15435 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15437 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15438 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15439 $as_echo_n "(cached) " >&6
15440 else
15441 ac_check_lib_save_LIBS=$LIBS
15442 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */
15446 /* Override any GCC internal prototype to avoid an error.
15447 Use char because int might match the return type of a GCC
15448 builtin and then its argument prototype would still apply. */
15449 #ifdef __cplusplus
15450 extern "C"
15451 #endif
15452 char ldap_initialize ();
15454 main ()
15456 return ldap_initialize ();
15458 return 0;
15460 _ACEOF
15461 if ac_fn_c_try_link "$LINENO"; then :
15462 ac_cv_lib_ldap_r_ldap_initialize=yes
15463 else
15464 ac_cv_lib_ldap_r_ldap_initialize=no
15466 rm -f core conftest.err conftest.$ac_objext \
15467 conftest$ac_exeext conftest.$ac_ext
15468 LIBS=$ac_check_lib_save_LIBS
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15471 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15472 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15474 $as_echo_n "checking for ber_init in -llber... " >&6; }
15475 if ${ac_cv_lib_lber_ber_init+:} false; then :
15476 $as_echo_n "(cached) " >&6
15477 else
15478 ac_check_lib_save_LIBS=$LIBS
15479 LIBS="-llber $PTHREAD_LIBS $LIBS"
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15483 /* Override any GCC internal prototype to avoid an error.
15484 Use char because int might match the return type of a GCC
15485 builtin and then its argument prototype would still apply. */
15486 #ifdef __cplusplus
15487 extern "C"
15488 #endif
15489 char ber_init ();
15491 main ()
15493 return ber_init ();
15495 return 0;
15497 _ACEOF
15498 if ac_fn_c_try_link "$LINENO"; then :
15499 ac_cv_lib_lber_ber_init=yes
15500 else
15501 ac_cv_lib_lber_ber_init=no
15503 rm -f core conftest.err conftest.$ac_objext \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_lib_save_LIBS
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15508 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15509 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15511 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15513 LDAP_LIBS="-lldap_r -llber"
15520 ac_wine_check_funcs_save_LIBS="$LIBS"
15521 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15522 for ac_func in \
15523 ldap_count_references \
15524 ldap_first_reference \
15525 ldap_next_reference \
15526 ldap_parse_reference \
15527 ldap_parse_sort_control \
15528 ldap_parse_sortresponse_control \
15529 ldap_parse_vlv_control \
15530 ldap_parse_vlvresponse_control
15531 do :
15532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15535 cat >>confdefs.h <<_ACEOF
15536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15537 _ACEOF
15540 done
15542 LIBS="$ac_wine_check_funcs_save_LIBS"
15544 if test "x$LDAP_LIBS" = "x"; then :
15545 case "x$with_ldap" in
15546 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15547 xno) ;;
15548 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15549 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15550 esac
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15555 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15556 if ${wine_cv_one_arg_mkdir+:} false; then :
15557 $as_echo_n "(cached) " >&6
15558 else
15559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15560 /* end confdefs.h. */
15561 #include <sys/stat.h>
15563 main ()
15565 mkdir("foo");
15567 return 0;
15569 _ACEOF
15570 if ac_fn_c_try_compile "$LINENO"; then :
15571 wine_cv_one_arg_mkdir=yes
15572 else
15573 wine_cv_one_arg_mkdir=no
15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15578 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15579 if test "$wine_cv_one_arg_mkdir" = "yes"
15580 then
15582 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15587 $as_echo_n "checking for sched_setaffinity... " >&6; }
15588 if ${wine_cv_have_sched_setaffinity+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15593 #define _GNU_SOURCE
15594 #include <sched.h>
15596 main ()
15598 sched_setaffinity(0, 0, 0);
15600 return 0;
15602 _ACEOF
15603 if ac_fn_c_try_link "$LINENO"; then :
15604 wine_cv_have_sched_setaffinity=yes
15605 else
15606 wine_cv_have_sched_setaffinity=no
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15612 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15613 if test "$wine_cv_have_sched_setaffinity" = "yes"
15614 then
15616 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15621 $as_echo_n "checking for fallocate... " >&6; }
15622 if ${wine_cv_have_fallocate+:} false; then :
15623 $as_echo_n "(cached) " >&6
15624 else
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 #define _GNU_SOURCE
15628 #include <fcntl.h>
15630 main ()
15632 fallocate(-1, 0, 0, 0);
15634 return 0;
15636 _ACEOF
15637 if ac_fn_c_try_link "$LINENO"; then :
15638 wine_cv_have_fallocate=yes
15639 else
15640 wine_cv_have_fallocate=no
15642 rm -f core conftest.err conftest.$ac_objext \
15643 conftest$ac_exeext conftest.$ac_ext
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15646 $as_echo "$wine_cv_have_fallocate" >&6; }
15647 if test "$wine_cv_have_fallocate" = "yes"
15648 then
15650 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15656 $as_echo_n "checking for inline... " >&6; }
15657 if ${ac_cv_c_inline+:} false; then :
15658 $as_echo_n "(cached) " >&6
15659 else
15660 ac_cv_c_inline=no
15661 for ac_kw in inline __inline__ __inline; do
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15664 #ifndef __cplusplus
15665 typedef int foo_t;
15666 static $ac_kw foo_t static_foo () {return 0; }
15667 $ac_kw foo_t foo () {return 0; }
15668 #endif
15670 _ACEOF
15671 if ac_fn_c_try_compile "$LINENO"; then :
15672 ac_cv_c_inline=$ac_kw
15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15675 test "$ac_cv_c_inline" != no && break
15676 done
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15680 $as_echo "$ac_cv_c_inline" >&6; }
15682 case $ac_cv_c_inline in
15683 inline | yes) ;;
15685 case $ac_cv_c_inline in
15686 no) ac_val=;;
15687 *) ac_val=$ac_cv_c_inline;;
15688 esac
15689 cat >>confdefs.h <<_ACEOF
15690 #ifndef __cplusplus
15691 #define inline $ac_val
15692 #endif
15693 _ACEOF
15695 esac
15697 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15698 if test "x$ac_cv_type_mode_t" = xyes; then :
15700 cat >>confdefs.h <<_ACEOF
15701 #define HAVE_MODE_T 1
15702 _ACEOF
15706 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15707 if test "x$ac_cv_type_off_t" = xyes; then :
15709 cat >>confdefs.h <<_ACEOF
15710 #define HAVE_OFF_T 1
15711 _ACEOF
15715 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15716 if test "x$ac_cv_type_pid_t" = xyes; then :
15718 cat >>confdefs.h <<_ACEOF
15719 #define HAVE_PID_T 1
15720 _ACEOF
15724 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15725 if test "x$ac_cv_type_size_t" = xyes; then :
15727 cat >>confdefs.h <<_ACEOF
15728 #define HAVE_SIZE_T 1
15729 _ACEOF
15733 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15734 if test "x$ac_cv_type_ssize_t" = xyes; then :
15736 cat >>confdefs.h <<_ACEOF
15737 #define HAVE_SSIZE_T 1
15738 _ACEOF
15742 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15743 if test "x$ac_cv_type_long_long" = xyes; then :
15745 cat >>confdefs.h <<_ACEOF
15746 #define HAVE_LONG_LONG 1
15747 _ACEOF
15751 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15752 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15754 cat >>confdefs.h <<_ACEOF
15755 #define HAVE_FSBLKCNT_T 1
15756 _ACEOF
15760 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15761 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define HAVE_FSFILCNT_T 1
15765 _ACEOF
15770 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15771 #include <signal.h>
15773 if test "x$ac_cv_type_sigset_t" = xyes; then :
15775 cat >>confdefs.h <<_ACEOF
15776 #define HAVE_SIGSET_T 1
15777 _ACEOF
15782 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15784 if test "x$ac_cv_type_request_sense" = xyes; then :
15786 cat >>confdefs.h <<_ACEOF
15787 #define HAVE_REQUEST_SENSE 1
15788 _ACEOF
15794 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15795 #ifdef HAVE_SYS_SOCKET_H
15796 #include <sys/socket.h>
15797 #endif
15798 #ifdef HAVE_SYS_SOCKETVAR_H
15799 #include <sys/socketvar.h>
15800 #endif
15801 #ifdef HAVE_NET_ROUTE_H
15802 #include <net/route.h>
15803 #endif
15804 #ifdef HAVE_NETINET_IN_H
15805 #include <netinet/in.h>
15806 #endif
15807 #ifdef HAVE_NETINET_IN_SYSTM_H
15808 #include <netinet/in_systm.h>
15809 #endif
15810 #ifdef HAVE_NETINET_IP_H
15811 #include <netinet/ip.h>
15812 #endif
15813 #ifdef HAVE_NETINET_IN_PCB_H
15814 #include <netinet/in_pcb.h>
15815 #endif
15817 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15819 cat >>confdefs.h <<_ACEOF
15820 #define HAVE_STRUCT_XINPGEN 1
15821 _ACEOF
15827 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15828 #include <link.h>
15829 #endif
15830 #ifdef HAVE_SYS_LINK_H
15831 #include <sys/link.h>
15832 #endif
15834 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15836 cat >>confdefs.h <<_ACEOF
15837 #define HAVE_STRUCT_R_DEBUG 1
15838 _ACEOF
15842 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15843 #include <link.h>
15844 #endif
15845 #ifdef HAVE_SYS_LINK_H
15846 #include <sys/link.h>
15847 #endif
15849 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_STRUCT_LINK_MAP 1
15853 _ACEOF
15859 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15860 #include <linux/input.h>
15861 #endif
15863 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15865 cat >>confdefs.h <<_ACEOF
15866 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15867 _ACEOF
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15874 $as_echo_n "checking for sigaddset... " >&6; }
15875 if ${wine_cv_have_sigaddset+:} false; then :
15876 $as_echo_n "(cached) " >&6
15877 else
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #include <signal.h>
15882 main ()
15884 sigset_t set; sigaddset(&set,SIGTERM);
15886 return 0;
15888 _ACEOF
15889 if ac_fn_c_try_link "$LINENO"; then :
15890 wine_cv_have_sigaddset=yes
15891 else
15892 wine_cv_have_sigaddset=no
15894 rm -f core conftest.err conftest.$ac_objext \
15895 conftest$ac_exeext conftest.$ac_ext
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15898 $as_echo "$wine_cv_have_sigaddset" >&6; }
15899 if test "$wine_cv_have_sigaddset" = "yes"
15900 then
15902 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15908 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15909 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15910 $as_echo_n "(cached) " >&6
15911 else
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15914 #include <netdb.h>
15916 main ()
15919 char *name=0;
15920 struct hostent he;
15921 struct hostent *result;
15922 char *buf=0;
15923 int bufsize=0;
15924 int errnr;
15925 char *addr=0;
15926 int addrlen=0;
15927 int addrtype=0;
15928 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15929 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15932 return 0;
15934 _ACEOF
15935 if ac_fn_c_try_link "$LINENO"; then :
15936 wine_cv_linux_gethostbyname_r_6=yes
15937 else
15938 wine_cv_linux_gethostbyname_r_6=no
15941 rm -f core conftest.err conftest.$ac_objext \
15942 conftest$ac_exeext conftest.$ac_ext
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15946 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15947 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15948 then
15950 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15954 if test "$ac_cv_header_linux_joystick_h" = "yes"
15955 then
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15957 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15958 if ${wine_cv_linux_joystick_22_api+:} false; then :
15959 $as_echo_n "(cached) " >&6
15960 else
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15964 #include <sys/ioctl.h>
15965 #include <sys/types.h>
15966 #include <linux/joystick.h>
15968 struct js_event blub;
15969 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15970 #error "no 2.2 header"
15971 #endif
15974 main ()
15976 /*empty*/
15978 return 0;
15980 _ACEOF
15981 if ac_fn_c_try_compile "$LINENO"; then :
15982 wine_cv_linux_joystick_22_api=yes
15983 else
15984 wine_cv_linux_joystick_22_api=no
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15990 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15991 if test "$wine_cv_linux_joystick_22_api" = "yes"
15992 then
15994 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16000 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16001 #ifdef HAVE_SYS_PARAM_H
16002 # include <sys/param.h>
16003 #endif
16004 #ifdef HAVE_SYS_MOUNT_H
16005 # include <sys/mount.h>
16006 #endif
16007 #ifdef HAVE_SYS_VFS_H
16008 # include <sys/vfs.h>
16009 #endif
16010 #ifdef HAVE_SYS_STATFS_H
16011 # include <sys/statfs.h>
16012 #endif
16014 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16016 cat >>confdefs.h <<_ACEOF
16017 #define HAVE_STRUCT_STATFS_F_BFREE 1
16018 _ACEOF
16022 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16023 #ifdef HAVE_SYS_PARAM_H
16024 # include <sys/param.h>
16025 #endif
16026 #ifdef HAVE_SYS_MOUNT_H
16027 # include <sys/mount.h>
16028 #endif
16029 #ifdef HAVE_SYS_VFS_H
16030 # include <sys/vfs.h>
16031 #endif
16032 #ifdef HAVE_SYS_STATFS_H
16033 # include <sys/statfs.h>
16034 #endif
16036 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16038 cat >>confdefs.h <<_ACEOF
16039 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16040 _ACEOF
16044 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16045 #ifdef HAVE_SYS_PARAM_H
16046 # include <sys/param.h>
16047 #endif
16048 #ifdef HAVE_SYS_MOUNT_H
16049 # include <sys/mount.h>
16050 #endif
16051 #ifdef HAVE_SYS_VFS_H
16052 # include <sys/vfs.h>
16053 #endif
16054 #ifdef HAVE_SYS_STATFS_H
16055 # include <sys/statfs.h>
16056 #endif
16058 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16060 cat >>confdefs.h <<_ACEOF
16061 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16062 _ACEOF
16066 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16067 #ifdef HAVE_SYS_PARAM_H
16068 # include <sys/param.h>
16069 #endif
16070 #ifdef HAVE_SYS_MOUNT_H
16071 # include <sys/mount.h>
16072 #endif
16073 #ifdef HAVE_SYS_VFS_H
16074 # include <sys/vfs.h>
16075 #endif
16076 #ifdef HAVE_SYS_STATFS_H
16077 # include <sys/statfs.h>
16078 #endif
16080 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_STRUCT_STATFS_F_FFREE 1
16084 _ACEOF
16088 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16089 #ifdef HAVE_SYS_PARAM_H
16090 # include <sys/param.h>
16091 #endif
16092 #ifdef HAVE_SYS_MOUNT_H
16093 # include <sys/mount.h>
16094 #endif
16095 #ifdef HAVE_SYS_VFS_H
16096 # include <sys/vfs.h>
16097 #endif
16098 #ifdef HAVE_SYS_STATFS_H
16099 # include <sys/statfs.h>
16100 #endif
16102 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16106 _ACEOF
16110 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16111 #ifdef HAVE_SYS_PARAM_H
16112 # include <sys/param.h>
16113 #endif
16114 #ifdef HAVE_SYS_MOUNT_H
16115 # include <sys/mount.h>
16116 #endif
16117 #ifdef HAVE_SYS_VFS_H
16118 # include <sys/vfs.h>
16119 #endif
16120 #ifdef HAVE_SYS_STATFS_H
16121 # include <sys/statfs.h>
16122 #endif
16124 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16128 _ACEOF
16134 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16135 #include <sys/statvfs.h>
16136 #endif
16138 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16142 _ACEOF
16148 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16149 #include <dirent.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16156 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_SOCKET_H
16164 # include <sys/socket.h>
16165 #endif
16166 #ifdef HAVE_SYS_UN_H
16167 # include <sys/un.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16174 _ACEOF
16178 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_SOCKET_H
16180 # include <sys/socket.h>
16181 #endif
16182 #ifdef HAVE_SYS_UN_H
16183 # include <sys/un.h>
16184 #endif
16186 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16190 _ACEOF
16194 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16195 #ifdef HAVE_SYS_SOCKET_H
16196 # include <sys/socket.h>
16197 #endif
16198 #ifdef HAVE_SYS_UN_H
16199 # include <sys/un.h>
16200 #endif
16202 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16206 _ACEOF
16212 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16213 #ifdef HAVE_SCSI_SG_H
16214 #include <scsi/sg.h>
16215 #endif
16217 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16219 cat >>confdefs.h <<_ACEOF
16220 #define HAVE_SCSIREQ_T_CMD 1
16221 _ACEOF
16225 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>
16226 #ifdef HAVE_SCSI_SG_H
16227 #include <scsi/sg.h>
16228 #endif
16230 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16234 _ACEOF
16240 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16242 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_SIGINFO_T_SI_FD 1
16246 _ACEOF
16252 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16253 #ifdef HAVE_SYS_MTIO_H
16254 #include <sys/mtio.h>
16255 #endif
16257 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16261 _ACEOF
16265 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16266 #ifdef HAVE_SYS_MTIO_H
16267 #include <sys/mtio.h>
16268 #endif
16270 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16274 _ACEOF
16278 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16279 #ifdef HAVE_SYS_MTIO_H
16280 #include <sys/mtio.h>
16281 #endif
16283 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16287 _ACEOF
16293 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16294 #include <getopt.h>
16295 #endif
16297 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16299 cat >>confdefs.h <<_ACEOF
16300 #define HAVE_STRUCT_OPTION_NAME 1
16301 _ACEOF
16307 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16308 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16312 _ACEOF
16316 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16317 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_STRUCT_STAT_ST_MTIM 1
16321 _ACEOF
16325 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16326 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16330 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16335 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_STRUCT_STAT_ST_CTIM 1
16339 _ACEOF
16343 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16344 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16348 _ACEOF
16352 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16353 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_STRUCT_STAT_ST_ATIM 1
16357 _ACEOF
16361 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16362 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16364 cat >>confdefs.h <<_ACEOF
16365 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16366 _ACEOF
16370 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16371 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16375 _ACEOF
16379 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16380 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16382 cat >>confdefs.h <<_ACEOF
16383 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16384 _ACEOF
16388 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16389 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16393 _ACEOF
16397 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16398 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16402 _ACEOF
16406 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16407 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16411 _ACEOF
16417 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
16418 #include <sys/types.h>
16419 #endif
16420 #ifdef HAVE_NETINET_IN_H
16421 #include <netinet/in.h>
16422 #endif
16424 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16428 _ACEOF
16434 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16435 #include <resolv.h>
16436 #endif
16438 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT___RES_STATE 1
16442 _ACEOF
16448 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
16449 #include <resolv.h>
16450 #endif
16452 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16456 _ACEOF
16462 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16463 #include <sys/types.h>
16464 #endif
16465 #ifdef HAVE_NETINET_IN_H
16466 # include <netinet/in.h>
16467 #endif
16468 #ifdef HAVE_ARPA_NAMESER_H
16469 # include <arpa/nameser.h>
16470 #endif
16472 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_NS_MSG__MSG_PTR 1
16476 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16483 #include <sys/types.h>
16484 #endif
16485 #ifdef HAVE_NETINET_IP_H
16486 #include <netinet/ip.h>
16487 #endif
16488 #ifdef HAVE_NETINET_IP_ICMP_H
16489 #include <netinet/ip_icmp.h>
16490 #endif
16491 #ifdef HAVE_NETINET_ICMP_VAR_H
16492 #include <netinet/icmp_var.h>
16493 #endif
16495 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16499 _ACEOF
16505 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16506 #include <sys/types.h>
16507 #endif
16508 #ifdef HAVE_ALIAS_H
16509 #include <alias.h>
16510 #endif
16511 #ifdef HAVE_SYS_SOCKET_H
16512 #include <sys/socket.h>
16513 #endif
16514 #ifdef HAVE_SYS_SOCKETVAR_H
16515 #include <sys/socketvar.h>
16516 #endif
16517 #ifdef HAVE_SYS_TIMEOUT_H
16518 #include <sys/timeout.h>
16519 #endif
16520 #ifdef HAVE_NETINET_IN_H
16521 #include <netinet/in.h>
16522 #endif
16523 #ifdef HAVE_NETINET_IN_SYSTM_H
16524 #include <netinet/in_systm.h>
16525 #endif
16526 #ifdef HAVE_NETINET_IP_H
16527 #include <netinet/ip.h>
16528 #endif
16529 #ifdef HAVE_NETINET_IP_VAR_H
16530 #include <netinet/ip_var.h>
16531 #endif
16532 #ifdef HAVE_NETINET_IP_ICMP_H
16533 #include <netinet/ip_icmp.h>
16534 #endif
16535 #ifdef HAVE_NETINET_ICMP_VAR_H
16536 #include <netinet/icmp_var.h>
16537 #endif
16539 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16543 _ACEOF
16549 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16550 #include <sys/types.h>
16551 #endif
16552 #ifdef HAVE_SYS_SOCKETVAR_H
16553 #include <sys/socketvar.h>
16554 #endif
16555 #ifdef HAVE_NETINET_IN_H
16556 #include <netinet/in.h>
16557 #endif
16558 #ifdef HAVE_NETINET_IP_VAR_H
16559 #include <netinet/ip_var.h>
16560 #endif
16562 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16564 cat >>confdefs.h <<_ACEOF
16565 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16566 _ACEOF
16572 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
16573 #include <netinet/ip_var.h>
16574 #endif
16576 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16580 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16587 #include <sys/types.h>
16588 #endif
16589 #ifdef HAVE_SYS_SOCKETVAR_H
16590 #include <sys/socketvar.h>
16591 #endif
16592 #ifdef HAVE_NETINET_IN_H
16593 #include <netinet/in.h>
16594 #endif
16595 #ifdef HAVE_NETINET_TCP_H
16596 #include <netinet/tcp.h>
16597 #endif
16598 #ifdef HAVE_NETINET_TCP_VAR_H
16599 #include <netinet/tcp_var.h>
16600 #endif
16602 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16604 cat >>confdefs.h <<_ACEOF
16605 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16606 _ACEOF
16612 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
16613 #include <netinet/tcp_var.h>
16614 #endif
16616 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16618 cat >>confdefs.h <<_ACEOF
16619 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16620 _ACEOF
16626 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16627 #include <sys/types.h>
16628 #endif
16629 #ifdef HAVE_NETINET_IN_H
16630 #include <netinet/in.h>
16631 #endif
16632 #ifdef HAVE_NETINET_IP_VAR_H
16633 #include <netinet/ip_var.h>
16634 #endif
16635 #ifdef HAVE_NETINET_UDP_H
16636 #include <netinet/udp.h>
16637 #endif
16638 #ifdef HAVE_NETINET_UDP_VAR_H
16639 #include <netinet/udp_var.h>
16640 #endif
16642 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16646 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16653 #include <sys/types.h>
16654 #endif
16655 #ifdef HAVE_NET_IF_H
16656 # include <net/if.h>
16657 #endif
16659 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16661 cat >>confdefs.h <<_ACEOF
16662 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16663 _ACEOF
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16670 $as_echo_n "checking for timezone variable... " >&6; }
16671 if ${ac_cv_have_timezone+:} false; then :
16672 $as_echo_n "(cached) " >&6
16673 else
16674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16675 /* end confdefs.h. */
16676 #include <time.h>
16678 main ()
16680 timezone = 1
16682 return 0;
16684 _ACEOF
16685 if ac_fn_c_try_link "$LINENO"; then :
16686 ac_cv_have_timezone="yes"
16687 else
16688 ac_cv_have_timezone="no"
16690 rm -f core conftest.err conftest.$ac_objext \
16691 conftest$ac_exeext conftest.$ac_ext
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16694 $as_echo "$ac_cv_have_timezone" >&6; }
16695 if test "$ac_cv_have_timezone" = "yes"
16696 then
16698 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16702 $as_echo_n "checking for daylight variable... " >&6; }
16703 if ${ac_cv_have_daylight+:} false; then :
16704 $as_echo_n "(cached) " >&6
16705 else
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #include <time.h>
16710 main ()
16712 daylight = 1
16714 return 0;
16716 _ACEOF
16717 if ac_fn_c_try_link "$LINENO"; then :
16718 ac_cv_have_daylight="yes"
16719 else
16720 ac_cv_have_daylight="no"
16722 rm -f core conftest.err conftest.$ac_objext \
16723 conftest$ac_exeext conftest.$ac_ext
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16726 $as_echo "$ac_cv_have_daylight" >&6; }
16727 if test "$ac_cv_have_daylight" = "yes"
16728 then
16730 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16734 ac_save_LIBS="$LIBS"
16735 LIBS="$LIBS -lm"
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16737 $as_echo_n "checking for isfinite... " >&6; }
16738 if ${ac_cv_have_isfinite+:} false; then :
16739 $as_echo_n "(cached) " >&6
16740 else
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16743 #define _GNU_SOURCE
16744 #include <math.h>
16746 main ()
16748 float f = 0.0; return isfinite(f)
16750 return 0;
16752 _ACEOF
16753 if ac_fn_c_try_link "$LINENO"; then :
16754 ac_cv_have_isfinite="yes"
16755 else
16756 ac_cv_have_isfinite="no"
16758 rm -f core conftest.err conftest.$ac_objext \
16759 conftest$ac_exeext conftest.$ac_ext
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16762 $as_echo "$ac_cv_have_isfinite" >&6; }
16763 if test "$ac_cv_have_isfinite" = "yes"
16764 then
16766 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16771 $as_echo_n "checking for isinf... " >&6; }
16772 if ${ac_cv_have_isinf+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16777 #include <math.h>
16779 main ()
16781 float f = 0.0; return isinf(f)
16783 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"; then :
16787 ac_cv_have_isinf="yes"
16788 else
16789 ac_cv_have_isinf="no"
16791 rm -f core conftest.err conftest.$ac_objext \
16792 conftest$ac_exeext conftest.$ac_ext
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16795 $as_echo "$ac_cv_have_isinf" >&6; }
16796 if test "$ac_cv_have_isinf" = "yes"
16797 then
16799 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16804 $as_echo_n "checking for isnan... " >&6; }
16805 if ${ac_cv_have_isnan+:} false; then :
16806 $as_echo_n "(cached) " >&6
16807 else
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <math.h>
16812 main ()
16814 float f = 0.0; return isnan(f)
16816 return 0;
16818 _ACEOF
16819 if ac_fn_c_try_link "$LINENO"; then :
16820 ac_cv_have_isnan="yes"
16821 else
16822 ac_cv_have_isnan="no"
16824 rm -f core conftest.err conftest.$ac_objext \
16825 conftest$ac_exeext conftest.$ac_ext
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16828 $as_echo "$ac_cv_have_isnan" >&6; }
16829 if test "$ac_cv_have_isnan" = "yes"
16830 then
16832 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16836 for ac_func in \
16837 cbrt \
16838 cbrtf \
16839 erf \
16840 erff \
16841 exp2 \
16842 exp2f \
16843 llrint \
16844 llrintf \
16845 llround \
16846 llroundf \
16847 log2 \
16848 log2f \
16849 lrint \
16850 lrintf \
16851 lround \
16852 lroundf \
16853 rint \
16854 rintf \
16855 round \
16856 roundf \
16857 trunc \
16858 truncf
16860 do :
16861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16863 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16864 cat >>confdefs.h <<_ACEOF
16865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16866 _ACEOF
16869 done
16871 LIBS="$ac_save_LIBS"
16873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16874 $as_echo_n "checking for __builtin_clz... " >&6; }
16875 if ${ac_cv_have___builtin_clz+:} false; then :
16876 $as_echo_n "(cached) " >&6
16877 else
16878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16879 /* end confdefs.h. */
16882 main ()
16884 return __builtin_clz(1)
16886 return 0;
16888 _ACEOF
16889 if ac_fn_c_try_link "$LINENO"; then :
16890 ac_cv_have___builtin_clz="yes"
16891 else
16892 ac_cv_have___builtin_clz="no"
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16898 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16899 if test "$ac_cv_have___builtin_clz" = "yes"
16900 then
16902 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16907 $as_echo_n "checking for __builtin_popcount... " >&6; }
16908 if ${ac_cv_have___builtin_popcount+:} false; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16912 /* end confdefs.h. */
16915 main ()
16917 return __builtin_popcount(1)
16919 return 0;
16921 _ACEOF
16922 if ac_fn_c_try_link "$LINENO"; then :
16923 ac_cv_have___builtin_popcount="yes"
16924 else
16925 ac_cv_have___builtin_popcount="no"
16927 rm -f core conftest.err conftest.$ac_objext \
16928 conftest$ac_exeext conftest.$ac_ext
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16931 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16932 if test "$ac_cv_have___builtin_popcount" = "yes"
16933 then
16935 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16940 case $host_cpu in
16941 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16942 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16943 if ${ac_cv_cpp_def___i386__+:} false; then :
16944 $as_echo_n "(cached) " >&6
16945 else
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 #ifndef __i386__
16950 #endif
16951 _ACEOF
16952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16953 $EGREP "yes" >/dev/null 2>&1; then :
16954 ac_cv_cpp_def___i386__=yes
16955 else
16956 ac_cv_cpp_def___i386__=no
16958 rm -f conftest*
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16962 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16963 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16964 CFLAGS="$CFLAGS -D__i386__"
16965 LINTFLAGS="$LINTFLAGS -D__i386__"
16966 fi ;;
16967 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16968 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16969 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16970 $as_echo_n "(cached) " >&6
16971 else
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #ifndef __x86_64__
16976 #endif
16977 _ACEOF
16978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16979 $EGREP "yes" >/dev/null 2>&1; then :
16980 ac_cv_cpp_def___x86_64__=yes
16981 else
16982 ac_cv_cpp_def___x86_64__=no
16984 rm -f conftest*
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16988 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16989 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16990 CFLAGS="$CFLAGS -D__x86_64__"
16991 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16992 fi ;;
16993 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16994 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16995 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16996 $as_echo_n "(cached) " >&6
16997 else
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 #ifndef __sparc64__
17002 #endif
17003 _ACEOF
17004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17005 $EGREP "yes" >/dev/null 2>&1; then :
17006 ac_cv_cpp_def___sparc64__=yes
17007 else
17008 ac_cv_cpp_def___sparc64__=no
17010 rm -f conftest*
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17014 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17015 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17016 CFLAGS="$CFLAGS -D__sparc64__"
17017 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17018 fi ;;
17019 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17020 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17021 if ${ac_cv_cpp_def___sparc__+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #ifndef __sparc__
17028 #endif
17029 _ACEOF
17030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17031 $EGREP "yes" >/dev/null 2>&1; then :
17032 ac_cv_cpp_def___sparc__=yes
17033 else
17034 ac_cv_cpp_def___sparc__=no
17036 rm -f conftest*
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17040 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17041 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17042 CFLAGS="$CFLAGS -D__sparc__"
17043 LINTFLAGS="$LINTFLAGS -D__sparc__"
17044 fi ;;
17045 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17046 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17047 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17048 $as_echo_n "(cached) " >&6
17049 else
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17051 /* end confdefs.h. */
17052 #ifndef __powerpc64__
17054 #endif
17055 _ACEOF
17056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17057 $EGREP "yes" >/dev/null 2>&1; then :
17058 ac_cv_cpp_def___powerpc64__=yes
17059 else
17060 ac_cv_cpp_def___powerpc64__=no
17062 rm -f conftest*
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17066 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17067 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17068 CFLAGS="$CFLAGS -D__powerpc64__"
17069 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17070 fi ;;
17071 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17072 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17073 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #ifndef __powerpc__
17080 #endif
17081 _ACEOF
17082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17083 $EGREP "yes" >/dev/null 2>&1; then :
17084 ac_cv_cpp_def___powerpc__=yes
17085 else
17086 ac_cv_cpp_def___powerpc__=no
17088 rm -f conftest*
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17092 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17093 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17094 CFLAGS="$CFLAGS -D__powerpc__"
17095 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17096 fi ;;
17097 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17098 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17099 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #ifndef __aarch64__
17106 #endif
17107 _ACEOF
17108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17109 $EGREP "yes" >/dev/null 2>&1; then :
17110 ac_cv_cpp_def___aarch64__=yes
17111 else
17112 ac_cv_cpp_def___aarch64__=no
17114 rm -f conftest*
17117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17118 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17119 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17120 CFLAGS="$CFLAGS -D__aarch64__"
17121 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17122 fi ;;
17123 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17124 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17125 if ${ac_cv_cpp_def___arm__+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 #ifndef __arm__
17132 #endif
17133 _ACEOF
17134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17135 $EGREP "yes" >/dev/null 2>&1; then :
17136 ac_cv_cpp_def___arm__=yes
17137 else
17138 ac_cv_cpp_def___arm__=no
17140 rm -f conftest*
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17144 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17145 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17146 CFLAGS="$CFLAGS -D__arm__"
17147 LINTFLAGS="$LINTFLAGS -D__arm__"
17148 fi ;;
17149 esac
17151 case $host_vendor in
17152 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17153 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17154 if ${ac_cv_cpp_def___sun__+:} false; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 #ifndef __sun__
17161 #endif
17162 _ACEOF
17163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17164 $EGREP "yes" >/dev/null 2>&1; then :
17165 ac_cv_cpp_def___sun__=yes
17166 else
17167 ac_cv_cpp_def___sun__=no
17169 rm -f conftest*
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17173 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17174 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17175 CFLAGS="$CFLAGS -D__sun__"
17176 LINTFLAGS="$LINTFLAGS -D__sun__"
17177 fi ;;
17178 esac
17184 ac_config_commands="$ac_config_commands include/stamp-h"
17186 $as_echo_n "creating Makefile rules..." >&6
17188 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17189 SOCKET_LIBS = $SOCKET_LIBS
17190 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17191 IOKIT_LIBS = $IOKIT_LIBS
17192 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17193 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17194 CORESERVICES_LIBS = $CORESERVICES_LIBS
17195 APPKIT_LIBS = $APPKIT_LIBS
17196 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17197 SECURITY_LIBS = $SECURITY_LIBS
17198 COREAUDIO_LIBS = $COREAUDIO_LIBS
17199 OPENAL_LIBS = $OPENAL_LIBS
17200 OPENCL_LIBS = $OPENCL_LIBS
17201 QUICKTIME_LIBS = $QUICKTIME_LIBS
17202 CARBON_LIBS = $CARBON_LIBS
17203 PTHREAD_LIBS = $PTHREAD_LIBS
17204 X_CFLAGS = $X_CFLAGS
17205 X_PRE_LIBS = $X_PRE_LIBS
17206 X_LIBS = $X_LIBS
17207 X_EXTRA_LIBS = $X_EXTRA_LIBS
17208 PCAP_LIBS = $PCAP_LIBS
17209 XML2_CFLAGS = $XML2_CFLAGS
17210 XML2_LIBS = $XML2_LIBS
17211 XSLT_CFLAGS = $XSLT_CFLAGS
17212 XSLT_LIBS = $XSLT_LIBS
17213 DBUS_CFLAGS = $DBUS_CFLAGS
17214 DBUS_LIBS = $DBUS_LIBS
17215 HAL_CFLAGS = $HAL_CFLAGS
17216 HAL_LIBS = $HAL_LIBS
17217 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17218 GNUTLS_LIBS = $GNUTLS_LIBS
17219 SANE_CFLAGS = $SANE_CFLAGS
17220 SANE_LIBS = $SANE_LIBS
17221 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17222 GPHOTO2_LIBS = $GPHOTO2_LIBS
17223 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17224 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17225 RESOLV_LIBS = $RESOLV_LIBS
17226 LCMS2_CFLAGS = $LCMS2_CFLAGS
17227 LCMS2_LIBS = $LCMS2_LIBS
17228 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17229 FREETYPE_LIBS = $FREETYPE_LIBS
17230 Z_LIBS = $Z_LIBS
17231 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17232 PULSE_CFLAGS = $PULSE_CFLAGS
17233 PULSE_LIBS = $PULSE_LIBS
17234 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17235 GSTREAMER_LIBS = $GSTREAMER_LIBS
17236 ALSA_LIBS = $ALSA_LIBS
17237 OSS4_CFLAGS = $OSS4_CFLAGS
17238 CAPI20_CFLAGS = $CAPI20_CFLAGS
17239 CAPI20_LIBS = $CAPI20_LIBS
17240 CUPS_CFLAGS = $CUPS_CFLAGS
17241 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17242 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17243 JPEG_CFLAGS = $JPEG_CFLAGS
17244 JPEG_LIBS = $JPEG_LIBS
17245 PNG_CFLAGS = $PNG_CFLAGS
17246 PNG_LIBS = $PNG_LIBS
17247 TIFF_CFLAGS = $TIFF_CFLAGS
17248 TIFF_LIBS = $TIFF_LIBS
17249 MPG123_CFLAGS = $MPG123_CFLAGS
17250 MPG123_LIBS = $MPG123_LIBS
17251 KSTAT_LIBS = $KSTAT_LIBS
17252 PROCSTAT_LIBS = $PROCSTAT_LIBS
17253 NETAPI_CFLAGS = $NETAPI_CFLAGS
17254 NETAPI_LIBS = $NETAPI_LIBS
17255 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17256 DL_LIBS = $DL_LIBS
17257 POLL_LIBS = $POLL_LIBS
17258 RT_LIBS = $RT_LIBS
17259 LDAP_LIBS = $LDAP_LIBS
17264 wine_fn_append_rule "
17265 # Rules automatically generated by configure
17267 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17269 .INIT: Makefile
17270 .MAKEFILEDEPS:
17271 all: Makefile
17272 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17273 @./config.status Make.tmp Makefile
17274 depend: \$(MAKEDEP) dummy
17275 \$(MAKEDEP)"
17277 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17278 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17280 if test "x$enable_fonts" != xno; then
17281 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17282 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17283 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17284 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17285 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17286 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17288 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17289 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17290 ac_config_links="$ac_config_links wine:tools/winewrapper"
17291 wine_fn_config_symlink wine
17292 if test "x$enable_win64" != xno; then
17293 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17294 wine_fn_config_symlink wine64
17297 wine_fn_config_dll acledit enable_acledit
17298 wine_fn_config_dll aclui enable_aclui implib
17299 wine_fn_config_dll activeds enable_activeds implib
17300 wine_fn_config_dll actxprxy enable_actxprxy clean
17301 wine_fn_config_lib adsiid
17302 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17303 wine_fn_config_test dlls/advapi32/tests advapi32_test
17304 wine_fn_config_dll advpack enable_advpack implib
17305 wine_fn_config_test dlls/advpack/tests advpack_test
17306 wine_fn_config_dll amstream enable_amstream clean
17307 wine_fn_config_test dlls/amstream/tests amstream_test
17308 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17310 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17313 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17315 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17316 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17318 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17319 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17321 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17323 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17324 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17325 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17328 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17331 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17332 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17334 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17336 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17337 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17339 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17340 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17342 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17344 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17346 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17347 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17349 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17350 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17352 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17353 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17358 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17360 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17362 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17364 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17365 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17366 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17372 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17373 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17376 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17377 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17378 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17379 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17380 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17381 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17384 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17387 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17388 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17389 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17390 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17392 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17393 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17394 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17395 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17396 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17397 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17398 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17399 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17400 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17401 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17402 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17403 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17404 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17405 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17406 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17407 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17408 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17409 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17410 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17411 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17412 wine_fn_config_dll apphelp enable_apphelp
17413 wine_fn_config_test dlls/apphelp/tests apphelp_test
17414 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17415 wine_fn_config_dll atl enable_atl clean,implib
17416 wine_fn_config_test dlls/atl/tests atl_test
17417 wine_fn_config_dll atl100 enable_atl100 clean,implib
17418 wine_fn_config_test dlls/atl100/tests atl100_test
17419 wine_fn_config_dll atl110 enable_atl110 clean
17420 wine_fn_config_dll atl80 enable_atl80 clean,implib
17421 wine_fn_config_test dlls/atl80/tests atl80_test
17422 wine_fn_config_dll atl90 enable_atl90 clean
17423 wine_fn_config_dll authz enable_authz
17424 wine_fn_config_dll avicap32 enable_avicap32 implib
17425 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17426 wine_fn_config_test dlls/avifil32/tests avifil32_test
17427 wine_fn_config_dll avifile.dll16 enable_win16
17428 wine_fn_config_dll avrt enable_avrt implib
17429 wine_fn_config_dll bcrypt enable_bcrypt implib
17430 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17431 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17432 wine_fn_config_dll browseui enable_browseui clean
17433 wine_fn_config_test dlls/browseui/tests browseui_test
17434 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17435 wine_fn_config_dll cabinet enable_cabinet implib
17436 wine_fn_config_test dlls/cabinet/tests cabinet_test
17437 wine_fn_config_dll capi2032 enable_capi2032 implib
17438 wine_fn_config_dll cards enable_cards implib
17439 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17440 wine_fn_config_dll clusapi enable_clusapi implib
17441 wine_fn_config_dll combase enable_combase
17442 wine_fn_config_test dlls/combase/tests combase_test
17443 wine_fn_config_dll comcat enable_comcat
17444 wine_fn_config_test dlls/comcat/tests comcat_test
17445 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17446 wine_fn_config_test dlls/comctl32/tests comctl32_test
17447 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17448 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17449 wine_fn_config_dll comm.drv16 enable_win16
17450 wine_fn_config_dll commdlg.dll16 enable_win16
17451 wine_fn_config_dll compobj.dll16 enable_win16
17452 wine_fn_config_dll compstui enable_compstui implib
17453 wine_fn_config_dll comsvcs enable_comsvcs implib
17454 wine_fn_config_dll connect enable_connect
17455 wine_fn_config_dll credui enable_credui clean,implib
17456 wine_fn_config_test dlls/credui/tests credui_test
17457 wine_fn_config_dll crtdll enable_crtdll implib
17458 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17459 wine_fn_config_test dlls/crypt32/tests crypt32_test
17460 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17461 wine_fn_config_dll cryptdll enable_cryptdll implib
17462 wine_fn_config_dll cryptext enable_cryptext
17463 wine_fn_config_dll cryptnet enable_cryptnet implib
17464 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17465 wine_fn_config_dll cryptui enable_cryptui clean,implib
17466 wine_fn_config_test dlls/cryptui/tests cryptui_test
17467 wine_fn_config_dll ctapi32 enable_ctapi32
17468 wine_fn_config_dll ctl3d.dll16 enable_win16
17469 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17470 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17471 wine_fn_config_dll d2d1 enable_d2d1 implib
17472 wine_fn_config_test dlls/d2d1/tests d2d1_test
17473 wine_fn_config_dll d3d10 enable_d3d10 implib
17474 wine_fn_config_test dlls/d3d10/tests d3d10_test
17475 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17476 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17477 wine_fn_config_dll d3d10core enable_d3d10core implib
17478 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17479 wine_fn_config_dll d3d11 enable_d3d11 implib
17480 wine_fn_config_test dlls/d3d11/tests d3d11_test
17481 wine_fn_config_dll d3d8 enable_d3d8 implib
17482 wine_fn_config_test dlls/d3d8/tests d3d8_test
17483 wine_fn_config_dll d3d9 enable_d3d9 implib
17484 wine_fn_config_test dlls/d3d9/tests d3d9_test
17485 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17486 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17487 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17488 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17489 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17490 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17491 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17492 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17493 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17494 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17495 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17496 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17497 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17498 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17499 wine_fn_config_dll d3dim enable_d3dim implib
17500 wine_fn_config_dll d3drm enable_d3drm implib
17501 wine_fn_config_test dlls/d3drm/tests d3drm_test
17502 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17503 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17504 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17505 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17506 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17507 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17508 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17509 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17510 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17511 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17512 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17513 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17514 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17515 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17516 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17517 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17518 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17519 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17520 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17521 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17522 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17523 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17524 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17525 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17526 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17527 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17528 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17529 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17530 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17531 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17532 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17533 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17534 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17535 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17536 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17537 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17538 wine_fn_config_dll davclnt enable_davclnt
17539 wine_fn_config_dll dbgeng enable_dbgeng implib
17540 wine_fn_config_dll dbghelp enable_dbghelp implib
17541 wine_fn_config_dll dciman32 enable_dciman32 implib
17542 wine_fn_config_dll ddeml.dll16 enable_win16
17543 wine_fn_config_dll ddraw enable_ddraw clean,implib
17544 wine_fn_config_test dlls/ddraw/tests ddraw_test
17545 wine_fn_config_dll ddrawex enable_ddrawex clean
17546 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17547 wine_fn_config_dll devenum enable_devenum clean
17548 wine_fn_config_test dlls/devenum/tests devenum_test
17549 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17550 wine_fn_config_dll difxapi enable_difxapi
17551 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17552 wine_fn_config_test dlls/dinput/tests dinput_test
17553 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17554 wine_fn_config_test dlls/dinput8/tests dinput8_test
17555 wine_fn_config_dll dispdib.dll16 enable_win16
17556 wine_fn_config_dll dispex enable_dispex clean
17557 wine_fn_config_test dlls/dispex/tests dispex_test
17558 wine_fn_config_dll display.drv16 enable_win16
17559 wine_fn_config_dll dmband enable_dmband clean
17560 wine_fn_config_test dlls/dmband/tests dmband_test
17561 wine_fn_config_dll dmcompos enable_dmcompos clean
17562 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17563 wine_fn_config_dll dmime enable_dmime clean
17564 wine_fn_config_test dlls/dmime/tests dmime_test
17565 wine_fn_config_dll dmloader enable_dmloader clean
17566 wine_fn_config_test dlls/dmloader/tests dmloader_test
17567 wine_fn_config_dll dmscript enable_dmscript clean
17568 wine_fn_config_test dlls/dmscript/tests dmscript_test
17569 wine_fn_config_dll dmstyle enable_dmstyle clean
17570 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17571 wine_fn_config_dll dmsynth enable_dmsynth clean
17572 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17573 wine_fn_config_dll dmusic enable_dmusic clean
17574 wine_fn_config_test dlls/dmusic/tests dmusic_test
17575 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17576 wine_fn_config_dll dnsapi enable_dnsapi implib
17577 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17578 wine_fn_config_dll dplay enable_dplay implib
17579 wine_fn_config_dll dplayx enable_dplayx clean,implib
17580 wine_fn_config_test dlls/dplayx/tests dplayx_test
17581 wine_fn_config_dll dpnaddr enable_dpnaddr
17582 wine_fn_config_dll dpnet enable_dpnet clean,implib
17583 wine_fn_config_test dlls/dpnet/tests dpnet_test
17584 wine_fn_config_dll dpnhpast enable_dpnhpast
17585 wine_fn_config_dll dpnlobby enable_dpnlobby
17586 wine_fn_config_dll dpvoice enable_dpvoice clean
17587 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17588 wine_fn_config_dll dpwsockx enable_dpwsockx
17589 wine_fn_config_dll drmclien enable_drmclien
17590 wine_fn_config_dll dsound enable_dsound clean,implib
17591 wine_fn_config_test dlls/dsound/tests dsound_test
17592 wine_fn_config_dll dssenh enable_dssenh
17593 wine_fn_config_test dlls/dssenh/tests dssenh_test
17594 wine_fn_config_dll dswave enable_dswave clean
17595 wine_fn_config_test dlls/dswave/tests dswave_test
17596 wine_fn_config_dll dwmapi enable_dwmapi implib
17597 wine_fn_config_dll dwrite enable_dwrite implib
17598 wine_fn_config_test dlls/dwrite/tests dwrite_test
17599 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17600 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17601 wine_fn_config_lib dxerr8
17602 wine_fn_config_lib dxerr9
17603 wine_fn_config_dll dxgi enable_dxgi implib
17604 wine_fn_config_test dlls/dxgi/tests dxgi_test
17605 wine_fn_config_lib dxguid
17606 wine_fn_config_dll dxva2 enable_dxva2
17607 wine_fn_config_dll esent enable_esent
17608 wine_fn_config_dll evr enable_evr
17609 wine_fn_config_dll explorerframe enable_explorerframe clean
17610 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17611 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17612 wine_fn_config_dll faultrep enable_faultrep implib
17613 wine_fn_config_test dlls/faultrep/tests faultrep_test
17614 wine_fn_config_dll fltlib enable_fltlib
17615 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17616 wine_fn_config_dll fntcache enable_fntcache
17617 wine_fn_config_dll fontsub enable_fontsub
17618 wine_fn_config_dll fusion enable_fusion
17619 wine_fn_config_test dlls/fusion/tests fusion_test
17620 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17621 wine_fn_config_dll gameux enable_gameux clean
17622 wine_fn_config_test dlls/gameux/tests gameux_test
17623 wine_fn_config_dll gdi.exe16 enable_win16
17624 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17625 wine_fn_config_test dlls/gdi32/tests gdi32_test
17626 wine_fn_config_dll gdiplus enable_gdiplus implib
17627 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17628 wine_fn_config_dll glu32 enable_glu32 implib
17629 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17630 wine_fn_config_dll gpkcsp enable_gpkcsp
17631 wine_fn_config_dll hal enable_hal
17632 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17633 wine_fn_config_dll hid enable_hid implib
17634 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17635 wine_fn_config_dll hlink enable_hlink clean,implib
17636 wine_fn_config_test dlls/hlink/tests hlink_test
17637 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17638 wine_fn_config_dll httpapi enable_httpapi
17639 wine_fn_config_dll iccvid enable_iccvid clean
17640 wine_fn_config_dll icmp enable_icmp
17641 wine_fn_config_dll ieframe enable_ieframe clean,implib
17642 wine_fn_config_test dlls/ieframe/tests ieframe_test
17643 wine_fn_config_dll ifsmgr.vxd enable_win16
17644 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17645 wine_fn_config_dll imagehlp enable_imagehlp implib
17646 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17647 wine_fn_config_dll imm.dll16 enable_win16
17648 wine_fn_config_dll imm32 enable_imm32 implib
17649 wine_fn_config_test dlls/imm32/tests imm32_test
17650 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17651 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17652 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17653 wine_fn_config_dll inetmib1 enable_inetmib1
17654 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17655 wine_fn_config_dll infosoft enable_infosoft clean
17656 wine_fn_config_test dlls/infosoft/tests infosoft_test
17657 wine_fn_config_dll initpki enable_initpki
17658 wine_fn_config_dll inkobj enable_inkobj
17659 wine_fn_config_dll inseng enable_inseng clean
17660 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17661 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17662 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17663 wine_fn_config_dll itircl enable_itircl
17664 wine_fn_config_dll itss enable_itss clean
17665 wine_fn_config_test dlls/itss/tests itss_test
17666 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17667 wine_fn_config_dll jscript enable_jscript clean
17668 wine_fn_config_test dlls/jscript/tests jscript_test
17669 wine_fn_config_dll jsproxy enable_jsproxy implib
17670 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17671 wine_fn_config_test dlls/kernel32/tests kernel32_test
17672 wine_fn_config_dll keyboard.drv16 enable_win16
17673 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17674 wine_fn_config_dll ksuser enable_ksuser
17675 wine_fn_config_dll ktmw32 enable_ktmw32
17676 wine_fn_config_dll loadperf enable_loadperf implib
17677 wine_fn_config_dll localspl enable_localspl clean
17678 wine_fn_config_test dlls/localspl/tests localspl_test
17679 wine_fn_config_dll localui enable_localui clean
17680 wine_fn_config_test dlls/localui/tests localui_test
17681 wine_fn_config_dll lz32 enable_lz32 implib
17682 wine_fn_config_test dlls/lz32/tests lz32_test
17683 wine_fn_config_dll lzexpand.dll16 enable_win16
17684 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17685 wine_fn_config_test dlls/mapi32/tests mapi32_test
17686 wine_fn_config_dll mapistub enable_mapistub
17687 wine_fn_config_dll mciavi32 enable_mciavi32
17688 wine_fn_config_dll mcicda enable_mcicda
17689 wine_fn_config_dll mciqtz32 enable_mciqtz32
17690 wine_fn_config_dll mciseq enable_mciseq
17691 wine_fn_config_dll mciwave enable_mciwave
17692 wine_fn_config_dll mf enable_mf
17693 wine_fn_config_dll mfplat enable_mfplat
17694 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17695 wine_fn_config_dll mgmtapi enable_mgmtapi
17696 wine_fn_config_dll midimap enable_midimap
17697 wine_fn_config_dll mlang enable_mlang clean,implib
17698 wine_fn_config_test dlls/mlang/tests mlang_test
17699 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17700 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17701 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17702 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17703 wine_fn_config_dll mmdevldr.vxd enable_win16
17704 wine_fn_config_dll mmsystem.dll16 enable_win16
17705 wine_fn_config_dll monodebg.vxd enable_win16
17706 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17707 wine_fn_config_dll mouse.drv16 enable_win16
17708 wine_fn_config_dll mpr enable_mpr clean,implib
17709 wine_fn_config_test dlls/mpr/tests mpr_test
17710 wine_fn_config_dll mprapi enable_mprapi implib
17711 wine_fn_config_dll msacm.dll16 enable_win16
17712 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17713 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17714 wine_fn_config_test dlls/msacm32/tests msacm32_test
17715 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17716 wine_fn_config_dll msasn1 enable_msasn1 implib
17717 wine_fn_config_dll mscat32 enable_mscat32
17718 wine_fn_config_dll mscms enable_mscms implib
17719 wine_fn_config_test dlls/mscms/tests mscms_test
17720 wine_fn_config_dll mscoree enable_mscoree clean
17721 wine_fn_config_test dlls/mscoree/tests mscoree_test
17722 wine_fn_config_dll msctf enable_msctf clean
17723 wine_fn_config_test dlls/msctf/tests msctf_test
17724 wine_fn_config_dll msctfp enable_msctfp clean
17725 wine_fn_config_dll msdaps enable_msdaps clean
17726 wine_fn_config_dll msdelta enable_msdelta
17727 wine_fn_config_dll msdmo enable_msdmo implib
17728 wine_fn_config_test dlls/msdmo/tests msdmo_test
17729 wine_fn_config_dll msdrm enable_msdrm
17730 wine_fn_config_dll msftedit enable_msftedit
17731 wine_fn_config_dll msg711.acm enable_msg711_acm
17732 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17733 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17734 wine_fn_config_dll mshtml enable_mshtml clean,implib
17735 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17736 wine_fn_config_dll msi enable_msi clean,implib
17737 wine_fn_config_test dlls/msi/tests msi_test
17738 wine_fn_config_dll msident enable_msident clean
17739 wine_fn_config_dll msimg32 enable_msimg32 implib
17740 wine_fn_config_dll msimsg enable_msimsg
17741 wine_fn_config_dll msimtf enable_msimtf clean
17742 wine_fn_config_dll msisip enable_msisip
17743 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17744 wine_fn_config_dll msls31 enable_msls31
17745 wine_fn_config_dll msnet32 enable_msnet32
17746 wine_fn_config_dll mspatcha enable_mspatcha implib
17747 wine_fn_config_dll msrle32 enable_msrle32 clean
17748 wine_fn_config_test dlls/msrle32/tests msrle32_test
17749 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17750 wine_fn_config_dll mssign32 enable_mssign32
17751 wine_fn_config_dll mssip32 enable_mssip32
17752 wine_fn_config_dll mstask enable_mstask clean
17753 wine_fn_config_test dlls/mstask/tests mstask_test
17754 wine_fn_config_dll msvcirt enable_msvcirt
17755 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17756 wine_fn_config_dll msvcm80 enable_msvcm80
17757 wine_fn_config_dll msvcm90 enable_msvcm90
17758 wine_fn_config_dll msvcp100 enable_msvcp100
17759 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17760 wine_fn_config_dll msvcp110 enable_msvcp110
17761 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17762 wine_fn_config_dll msvcp120 enable_msvcp120
17763 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17764 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17765 wine_fn_config_dll msvcp60 enable_msvcp60
17766 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17767 wine_fn_config_dll msvcp70 enable_msvcp70
17768 wine_fn_config_dll msvcp71 enable_msvcp71
17769 wine_fn_config_dll msvcp80 enable_msvcp80
17770 wine_fn_config_dll msvcp90 enable_msvcp90
17771 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17772 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17773 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17774 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17775 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17776 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17777 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17778 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17779 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17780 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17781 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17782 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17783 wine_fn_config_dll msvcrt enable_msvcrt implib
17784 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17785 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17786 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17787 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17788 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17789 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17790 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17791 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17792 wine_fn_config_dll msvideo.dll16 enable_win16
17793 wine_fn_config_dll mswsock enable_mswsock implib
17794 wine_fn_config_dll msxml enable_msxml clean
17795 wine_fn_config_dll msxml2 enable_msxml2 clean
17796 wine_fn_config_dll msxml3 enable_msxml3 clean
17797 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17798 wine_fn_config_dll msxml4 enable_msxml4 clean
17799 wine_fn_config_dll msxml6 enable_msxml6 clean
17800 wine_fn_config_dll nddeapi enable_nddeapi implib
17801 wine_fn_config_dll ndis.sys enable_ndis_sys
17802 wine_fn_config_dll netapi32 enable_netapi32 implib
17803 wine_fn_config_test dlls/netapi32/tests netapi32_test
17804 wine_fn_config_dll netcfgx enable_netcfgx clean
17805 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17806 wine_fn_config_dll netprofm enable_netprofm clean
17807 wine_fn_config_test dlls/netprofm/tests netprofm_test
17808 wine_fn_config_dll newdev enable_newdev implib
17809 wine_fn_config_dll normaliz enable_normaliz implib
17810 wine_fn_config_dll npmshtml enable_npmshtml
17811 wine_fn_config_dll npptools enable_npptools
17812 wine_fn_config_dll ntdll enable_ntdll implib
17813 wine_fn_config_test dlls/ntdll/tests ntdll_test
17814 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17815 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17816 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17817 wine_fn_config_dll ntprint enable_ntprint
17818 wine_fn_config_test dlls/ntprint/tests ntprint_test
17819 wine_fn_config_dll objsel enable_objsel clean
17820 wine_fn_config_dll odbc32 enable_odbc32 implib
17821 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17822 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17823 wine_fn_config_dll odbccu32 enable_odbccu32
17824 wine_fn_config_dll ole2.dll16 enable_win16
17825 wine_fn_config_dll ole2conv.dll16 enable_win16
17826 wine_fn_config_dll ole2disp.dll16 enable_win16
17827 wine_fn_config_dll ole2nls.dll16 enable_win16
17828 wine_fn_config_dll ole2prox.dll16 enable_win16
17829 wine_fn_config_dll ole2thk.dll16 enable_win16
17830 wine_fn_config_dll ole32 enable_ole32 clean,implib
17831 wine_fn_config_test dlls/ole32/tests ole32_test
17832 wine_fn_config_dll oleacc enable_oleacc clean,implib
17833 wine_fn_config_test dlls/oleacc/tests oleacc_test
17834 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17835 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17836 wine_fn_config_dll olecli.dll16 enable_win16
17837 wine_fn_config_dll olecli32 enable_olecli32 implib
17838 wine_fn_config_dll oledb32 enable_oledb32 clean
17839 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17840 wine_fn_config_dll oledlg enable_oledlg clean,implib
17841 wine_fn_config_test dlls/oledlg/tests oledlg_test
17842 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17843 wine_fn_config_dll olesvr.dll16 enable_win16
17844 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17845 wine_fn_config_dll olethk32 enable_olethk32
17846 wine_fn_config_dll openal32 enable_openal32
17847 wine_fn_config_dll opencl enable_opencl
17848 wine_fn_config_dll opengl32 enable_opengl32 implib
17849 wine_fn_config_test dlls/opengl32/tests opengl32_test
17850 wine_fn_config_dll packager enable_packager clean
17851 wine_fn_config_test dlls/packager/tests packager_test
17852 wine_fn_config_dll pdh enable_pdh implib
17853 wine_fn_config_test dlls/pdh/tests pdh_test
17854 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17855 wine_fn_config_dll pidgen enable_pidgen
17856 wine_fn_config_dll powrprof enable_powrprof implib
17857 wine_fn_config_dll printui enable_printui
17858 wine_fn_config_dll prntvpt enable_prntvpt
17859 wine_fn_config_dll propsys enable_propsys clean,implib
17860 wine_fn_config_test dlls/propsys/tests propsys_test
17861 wine_fn_config_dll psapi enable_psapi implib
17862 wine_fn_config_test dlls/psapi/tests psapi_test
17863 wine_fn_config_dll pstorec enable_pstorec clean
17864 wine_fn_config_dll qcap enable_qcap
17865 wine_fn_config_test dlls/qcap/tests qcap_test
17866 wine_fn_config_dll qedit enable_qedit clean
17867 wine_fn_config_test dlls/qedit/tests qedit_test
17868 wine_fn_config_dll qmgr enable_qmgr clean
17869 wine_fn_config_test dlls/qmgr/tests qmgr_test
17870 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17871 wine_fn_config_dll quartz enable_quartz clean,implib
17872 wine_fn_config_test dlls/quartz/tests quartz_test clean
17873 wine_fn_config_dll query enable_query
17874 wine_fn_config_dll rasapi16.dll16 enable_win16
17875 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17876 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17877 wine_fn_config_dll rasdlg enable_rasdlg implib
17878 wine_fn_config_dll regapi enable_regapi
17879 wine_fn_config_dll resutils enable_resutils implib
17880 wine_fn_config_dll riched20 enable_riched20 clean,implib
17881 wine_fn_config_test dlls/riched20/tests riched20_test
17882 wine_fn_config_dll riched32 enable_riched32
17883 wine_fn_config_test dlls/riched32/tests riched32_test
17884 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17885 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17886 wine_fn_config_dll rsabase enable_rsabase
17887 wine_fn_config_dll rsaenh enable_rsaenh implib
17888 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17889 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17890 wine_fn_config_dll rtutils enable_rtutils implib
17891 wine_fn_config_dll samlib enable_samlib
17892 wine_fn_config_dll sane.ds enable_sane_ds clean
17893 wine_fn_config_dll scarddlg enable_scarddlg
17894 wine_fn_config_dll sccbase enable_sccbase
17895 wine_fn_config_dll schannel enable_schannel
17896 wine_fn_config_test dlls/schannel/tests schannel_test
17897 wine_fn_config_dll schedsvc enable_schedsvc clean
17898 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17899 wine_fn_config_dll scrrun enable_scrrun clean
17900 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17901 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17902 wine_fn_config_dll secur32 enable_secur32 implib
17903 wine_fn_config_test dlls/secur32/tests secur32_test
17904 wine_fn_config_dll security enable_security
17905 wine_fn_config_dll sensapi enable_sensapi implib
17906 wine_fn_config_dll serialui enable_serialui clean,implib
17907 wine_fn_config_test dlls/serialui/tests serialui_test
17908 wine_fn_config_dll setupapi enable_setupapi clean,implib
17909 wine_fn_config_test dlls/setupapi/tests setupapi_test
17910 wine_fn_config_dll setupx.dll16 enable_win16
17911 wine_fn_config_dll sfc enable_sfc implib
17912 wine_fn_config_dll sfc_os enable_sfc_os implib
17913 wine_fn_config_dll shdoclc enable_shdoclc clean
17914 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17915 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17916 wine_fn_config_dll shell.dll16 enable_win16
17917 wine_fn_config_dll shell32 enable_shell32 clean,implib
17918 wine_fn_config_test dlls/shell32/tests shell32_test
17919 wine_fn_config_dll shfolder enable_shfolder implib
17920 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17921 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17922 wine_fn_config_dll slbcsp enable_slbcsp
17923 wine_fn_config_dll slc enable_slc implib
17924 wine_fn_config_test dlls/slc/tests slc_test
17925 wine_fn_config_dll snmpapi enable_snmpapi implib
17926 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17927 wine_fn_config_dll softpub enable_softpub
17928 wine_fn_config_dll sound.drv16 enable_win16
17929 wine_fn_config_dll spoolss enable_spoolss implib
17930 wine_fn_config_test dlls/spoolss/tests spoolss_test
17931 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17932 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17933 wine_fn_config_dll sti enable_sti clean,implib
17934 wine_fn_config_test dlls/sti/tests sti_test
17935 wine_fn_config_dll storage.dll16 enable_win16
17936 wine_fn_config_dll stress.dll16 enable_win16
17937 wine_fn_config_lib strmbase
17938 wine_fn_config_lib strmiids
17939 wine_fn_config_dll svrapi enable_svrapi
17940 wine_fn_config_dll sxs enable_sxs implib
17941 wine_fn_config_test dlls/sxs/tests sxs_test
17942 wine_fn_config_dll system.drv16 enable_win16
17943 wine_fn_config_dll t2embed enable_t2embed
17944 wine_fn_config_dll tapi32 enable_tapi32 implib
17945 wine_fn_config_dll taskschd enable_taskschd clean
17946 wine_fn_config_test dlls/taskschd/tests taskschd_test
17947 wine_fn_config_dll tdi.sys enable_tdi_sys
17948 wine_fn_config_dll toolhelp.dll16 enable_win16
17949 wine_fn_config_dll traffic enable_traffic
17950 wine_fn_config_dll twain.dll16 enable_win16
17951 wine_fn_config_dll twain_32 enable_twain_32
17952 wine_fn_config_test dlls/twain_32/tests twain_32_test
17953 wine_fn_config_dll typelib.dll16 enable_win16
17954 wine_fn_config_dll ucrtbase enable_ucrtbase
17955 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17956 wine_fn_config_dll unicows enable_unicows implib
17957 wine_fn_config_dll updspapi enable_updspapi
17958 wine_fn_config_dll url enable_url implib
17959 wine_fn_config_dll urlmon enable_urlmon clean,implib
17960 wine_fn_config_test dlls/urlmon/tests urlmon_test
17961 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17962 wine_fn_config_dll user.exe16 enable_win16
17963 wine_fn_config_dll user32 enable_user32 clean,implib
17964 wine_fn_config_test dlls/user32/tests user32_test
17965 wine_fn_config_dll userenv enable_userenv implib
17966 wine_fn_config_test dlls/userenv/tests userenv_test
17967 wine_fn_config_dll usp10 enable_usp10 implib
17968 wine_fn_config_test dlls/usp10/tests usp10_test
17969 wine_fn_config_lib uuid
17970 wine_fn_config_dll uxtheme enable_uxtheme implib
17971 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17972 wine_fn_config_dll vbscript enable_vbscript clean
17973 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17974 wine_fn_config_dll vcomp enable_vcomp
17975 wine_fn_config_test dlls/vcomp/tests vcomp_test
17976 wine_fn_config_dll vcomp100 enable_vcomp100
17977 wine_fn_config_dll vcomp110 enable_vcomp110
17978 wine_fn_config_dll vcomp120 enable_vcomp120
17979 wine_fn_config_dll vcomp90 enable_vcomp90
17980 wine_fn_config_dll vcruntime140 enable_vcruntime140
17981 wine_fn_config_dll vdhcp.vxd enable_win16
17982 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17983 wine_fn_config_dll ver.dll16 enable_win16
17984 wine_fn_config_dll version enable_version implib
17985 wine_fn_config_test dlls/version/tests version_test
17986 wine_fn_config_dll vmm.vxd enable_win16
17987 wine_fn_config_dll vnbt.vxd enable_win16
17988 wine_fn_config_dll vnetbios.vxd enable_win16
17989 wine_fn_config_dll vssapi enable_vssapi
17990 wine_fn_config_dll vtdapi.vxd enable_win16
17991 wine_fn_config_dll vwin32.vxd enable_win16
17992 wine_fn_config_dll w32skrnl enable_win16
17993 wine_fn_config_dll w32sys.dll16 enable_win16
17994 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17995 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17996 wine_fn_config_dll wbemprox enable_wbemprox clean
17997 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17998 wine_fn_config_dll webservices enable_webservices implib
17999 wine_fn_config_test dlls/webservices/tests webservices_test
18000 wine_fn_config_dll wer enable_wer implib
18001 wine_fn_config_test dlls/wer/tests wer_test
18002 wine_fn_config_dll wevtapi enable_wevtapi
18003 wine_fn_config_dll wiaservc enable_wiaservc clean
18004 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18005 wine_fn_config_dll wimgapi enable_wimgapi
18006 wine_fn_config_dll win32s16.dll16 enable_win16
18007 wine_fn_config_dll win87em.dll16 enable_win16
18008 wine_fn_config_dll winaspi.dll16 enable_win16
18009 wine_fn_config_dll windebug.dll16 enable_win16
18010 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18011 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18012 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18013 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18014 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18015 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18016 wine_fn_config_lib winecrt0
18017 wine_fn_config_dll wined3d enable_wined3d implib
18018 wine_fn_config_dll winegstreamer enable_winegstreamer
18019 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18020 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18021 wine_fn_config_dll winemapi enable_winemapi
18022 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18023 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18024 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18025 wine_fn_config_dll wineps16.drv16 enable_win16
18026 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18027 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18028 wine_fn_config_dll winex11.drv enable_winex11_drv
18029 wine_fn_config_dll wing.dll16 enable_win16
18030 wine_fn_config_dll wing32 enable_wing32
18031 wine_fn_config_dll winhttp enable_winhttp clean,implib
18032 wine_fn_config_test dlls/winhttp/tests winhttp_test
18033 wine_fn_config_dll wininet enable_wininet clean,implib
18034 wine_fn_config_test dlls/wininet/tests wininet_test
18035 wine_fn_config_dll winmm enable_winmm clean,implib
18036 wine_fn_config_test dlls/winmm/tests winmm_test
18037 wine_fn_config_dll winnls.dll16 enable_win16
18038 wine_fn_config_dll winnls32 enable_winnls32 implib
18039 wine_fn_config_dll winscard enable_winscard implib
18040 wine_fn_config_dll winsock.dll16 enable_win16
18041 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18042 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18043 wine_fn_config_dll winsta enable_winsta
18044 wine_fn_config_dll wintab.dll16 enable_win16
18045 wine_fn_config_dll wintab32 enable_wintab32 implib
18046 wine_fn_config_test dlls/wintab32/tests wintab32_test
18047 wine_fn_config_dll wintrust enable_wintrust implib
18048 wine_fn_config_test dlls/wintrust/tests wintrust_test
18049 wine_fn_config_dll wlanapi enable_wlanapi
18050 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18051 wine_fn_config_test dlls/wldap32/tests wldap32_test
18052 wine_fn_config_dll wmi enable_wmi
18053 wine_fn_config_dll wmiutils enable_wmiutils clean
18054 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18055 wine_fn_config_dll wmp enable_wmp clean
18056 wine_fn_config_test dlls/wmp/tests wmp_test
18057 wine_fn_config_dll wmvcore enable_wmvcore
18058 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18059 wine_fn_config_dll wow32 enable_win16 implib
18060 wine_fn_config_dll wpcap enable_wpcap
18061 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18062 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18063 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18064 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18065 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18066 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18067 wine_fn_config_dll wsock32 enable_wsock32 implib
18068 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18069 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18070 wine_fn_config_dll wuapi enable_wuapi clean
18071 wine_fn_config_dll wuaueng enable_wuaueng
18072 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18073 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18074 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18075 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18076 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18077 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18078 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18079 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18080 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18081 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18082 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18083 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18084 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18085 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18086 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18087 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18088 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18089 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18090 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18091 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18092 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18093 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18094 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18095 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18096 wine_fn_config_dll xinput1_1 enable_xinput1_1
18097 wine_fn_config_dll xinput1_2 enable_xinput1_2
18098 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18099 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18100 wine_fn_config_dll xinput1_4 enable_xinput1_4
18101 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18102 wine_fn_config_dll xmllite enable_xmllite implib
18103 wine_fn_config_test dlls/xmllite/tests xmllite_test
18104 wine_fn_config_dll xolehlp enable_xolehlp
18105 wine_fn_config_dll xpsprint enable_xpsprint
18106 wine_fn_config_dll xpssvcs enable_xpssvcs
18107 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18108 wine_fn_config_makefile include enable_include clean,install-dev
18109 wine_fn_config_makefile libs/port enable_libs_port
18110 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18111 wine_fn_config_makefile libs/wpp enable_libs_wpp
18112 wine_fn_config_makefile loader enable_loader clean,install-lib
18113 wine_fn_config_makefile po enable_po clean
18114 wine_fn_config_program arp enable_arp install
18115 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18116 wine_fn_config_program attrib enable_attrib clean,install
18117 wine_fn_config_program cabarc enable_cabarc install
18118 wine_fn_config_program cacls enable_cacls install
18119 wine_fn_config_program clock enable_clock clean,install
18120 wine_fn_config_program cmd enable_cmd clean,install
18121 wine_fn_config_test programs/cmd/tests cmd.exe_test
18122 wine_fn_config_program conhost enable_conhost install
18123 wine_fn_config_program control enable_control install
18124 wine_fn_config_program cscript enable_cscript clean,install
18125 wine_fn_config_program dpnsvr enable_dpnsvr install
18126 wine_fn_config_program dxdiag enable_dxdiag clean,install
18127 wine_fn_config_program eject enable_eject install
18128 wine_fn_config_program expand enable_expand install
18129 wine_fn_config_program explorer enable_explorer clean,install
18130 wine_fn_config_program extrac32 enable_extrac32 install
18131 wine_fn_config_program findstr enable_findstr install
18132 wine_fn_config_program hh enable_hh install
18133 wine_fn_config_program hostname enable_hostname clean,install
18134 wine_fn_config_program icacls enable_icacls install
18135 wine_fn_config_program icinfo enable_icinfo install
18136 wine_fn_config_program iexplore enable_iexplore install
18137 wine_fn_config_program ipconfig enable_ipconfig clean,install
18138 wine_fn_config_program lodctr enable_lodctr install
18139 wine_fn_config_program mofcomp enable_mofcomp install
18140 wine_fn_config_program mshta enable_mshta install
18141 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18142 wine_fn_config_program net enable_net clean,install
18143 wine_fn_config_program netsh enable_netsh install
18144 wine_fn_config_program netstat enable_netstat clean,install
18145 wine_fn_config_program ngen enable_ngen install
18146 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18147 wine_fn_config_program oleview enable_oleview clean,install
18148 wine_fn_config_program ping enable_ping install
18149 wine_fn_config_program plugplay enable_plugplay install
18150 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18151 wine_fn_config_program progman enable_progman clean,install
18152 wine_fn_config_program reg enable_reg clean,install
18153 wine_fn_config_test programs/reg/tests reg.exe_test
18154 wine_fn_config_program regasm enable_regasm install
18155 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18156 wine_fn_config_test programs/regedit/tests regedit.exe_test
18157 wine_fn_config_program regsvcs enable_regsvcs install
18158 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18159 wine_fn_config_program rpcss enable_rpcss clean,install
18160 wine_fn_config_program rundll.exe16 enable_win16 install
18161 wine_fn_config_program rundll32 enable_rundll32 install
18162 wine_fn_config_program sc enable_sc install
18163 wine_fn_config_program schtasks enable_schtasks install
18164 wine_fn_config_program sdbinst enable_sdbinst install
18165 wine_fn_config_program secedit enable_secedit install
18166 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18167 wine_fn_config_program services enable_services clean,install
18168 wine_fn_config_test programs/services/tests services.exe_test
18169 wine_fn_config_program spoolsv enable_spoolsv install
18170 wine_fn_config_program start enable_start clean,install
18171 wine_fn_config_program svchost enable_svchost install
18172 wine_fn_config_program systeminfo enable_systeminfo install
18173 wine_fn_config_program taskkill enable_taskkill clean,install
18174 wine_fn_config_program tasklist enable_tasklist install
18175 wine_fn_config_program taskmgr enable_taskmgr clean,install
18176 wine_fn_config_program termsv enable_termsv install
18177 wine_fn_config_program uninstaller enable_uninstaller clean,install
18178 wine_fn_config_program unlodctr enable_unlodctr install
18179 wine_fn_config_program view enable_view clean,install
18180 wine_fn_config_program wevtutil enable_wevtutil install
18181 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18182 wine_fn_config_program winebrowser enable_winebrowser install
18183 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18184 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18185 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18186 wine_fn_config_program winedevice enable_winedevice install
18187 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18188 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18189 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18190 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18191 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18192 wine_fn_config_program winetest enable_winetest clean
18193 wine_fn_config_program winevdm enable_win16 install
18194 wine_fn_config_program winhelp.exe16 enable_win16 install
18195 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18196 wine_fn_config_program winoldap.mod16 enable_win16 install
18197 wine_fn_config_program winver enable_winver install
18198 wine_fn_config_program wmic enable_wmic clean,install
18199 wine_fn_config_program wmplayer enable_wmplayer install
18200 wine_fn_config_program wordpad enable_wordpad clean,install
18201 wine_fn_config_program write enable_write clean,install
18202 wine_fn_config_program wscript enable_wscript clean,install
18203 wine_fn_config_test programs/wscript/tests wscript.exe_test
18204 wine_fn_config_program wusa enable_wusa install
18205 wine_fn_config_program xcopy enable_xcopy clean,install
18206 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18207 wine_fn_config_makefile server enable_server clean,install-lib
18208 wine_fn_config_tool tools clean
18209 wine_fn_config_tool tools/sfnt2fon clean
18210 wine_fn_config_tool tools/widl clean,install-dev
18211 wine_fn_config_tool tools/winebuild clean,install-dev
18212 wine_fn_config_tool tools/winedump clean,install-dev
18213 wine_fn_config_tool tools/winegcc clean,install-dev
18214 wine_fn_config_tool tools/winemaker clean,install-dev
18215 wine_fn_config_tool tools/wmc clean,install-dev
18216 wine_fn_config_tool tools/wrc clean,install-dev
18219 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18220 wine_fn_append_file CONFIGURE_TARGETS "tags"
18221 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18222 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18223 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18224 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18225 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18226 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18228 if test "x$enable_tools" != xno
18229 then
18230 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18231 ac_config_commands="$ac_config_commands tools/makedep"
18235 ac_config_commands="$ac_config_commands Makefile"
18238 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18242 if test "x$enable_maintainer_mode" = xyes
18243 then
18244 wine_fn_append_rule "configure: configure.ac aclocal.m4
18245 autoconf --warnings=all
18246 include/config.h.in: include/stamp-h.in
18247 include/stamp-h.in: configure.ac aclocal.m4
18248 autoheader --warnings=all
18249 @echo timestamp > \$@"
18252 if test "x$enable_tools" != xno
18253 then
18254 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18255 @./config.status tools/makedep
18256 Makefile: tools/makedep$ac_exeext"
18257 else
18258 wine_fn_append_rule "\$(MAKEDEP):
18259 @echo \"You need to run make in $TOOLSDIR first\" && false"
18262 if test -n "$with_wine64"
18263 then
18264 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18265 fonts server tools:
18266 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18267 $with_wine64/loader/wine:
18268 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18269 $with_wine64/loader/wine-preloader:
18270 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18271 clean::
18272 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18273 else
18274 WINELOADER_INSTALL="wine.inf"
18276 wine_fn_append_rule "install install-lib::
18277 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18278 uninstall::
18279 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18280 case $host_os in
18281 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18282 *) wine_fn_append_rule "install install-lib::
18283 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18284 uninstall::
18285 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18286 esac
18289 $as_echo " done" >&6
18290 cat >confcache <<\_ACEOF
18291 # This file is a shell script that caches the results of configure
18292 # tests run on this system so they can be shared between configure
18293 # scripts and configure runs, see configure's option --config-cache.
18294 # It is not useful on other systems. If it contains results you don't
18295 # want to keep, you may remove or edit it.
18297 # config.status only pays attention to the cache file if you give it
18298 # the --recheck option to rerun configure.
18300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18302 # following values.
18304 _ACEOF
18306 # The following way of writing the cache mishandles newlines in values,
18307 # but we know of no workaround that is simple, portable, and efficient.
18308 # So, we kill variables containing newlines.
18309 # Ultrix sh set writes to stderr and can't be redirected directly,
18310 # and sets the high bit in the cache file unless we assign to the vars.
18312 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18313 eval ac_val=\$$ac_var
18314 case $ac_val in #(
18315 *${as_nl}*)
18316 case $ac_var in #(
18317 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18318 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18319 esac
18320 case $ac_var in #(
18321 _ | IFS | as_nl) ;; #(
18322 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18323 *) { eval $ac_var=; unset $ac_var;} ;;
18324 esac ;;
18325 esac
18326 done
18328 (set) 2>&1 |
18329 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18330 *${as_nl}ac_space=\ *)
18331 # `set' does not quote correctly, so add quotes: double-quote
18332 # substitution turns \\\\ into \\, and sed turns \\ into \.
18333 sed -n \
18334 "s/'/'\\\\''/g;
18335 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18336 ;; #(
18338 # `set' quotes correctly as required by POSIX, so do not add quotes.
18339 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18341 esac |
18342 sort
18344 sed '
18345 /^ac_cv_env_/b end
18346 t clear
18347 :clear
18348 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18349 t end
18350 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18351 :end' >>confcache
18352 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18353 if test -w "$cache_file"; then
18354 if test "x$cache_file" != "x/dev/null"; then
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18356 $as_echo "$as_me: updating cache $cache_file" >&6;}
18357 if test ! -f "$cache_file" || test -h "$cache_file"; then
18358 cat confcache >"$cache_file"
18359 else
18360 case $cache_file in #(
18361 */* | ?:*)
18362 mv -f confcache "$cache_file"$$ &&
18363 mv -f "$cache_file"$$ "$cache_file" ;; #(
18365 mv -f confcache "$cache_file" ;;
18366 esac
18369 else
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18371 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18374 rm -f confcache
18376 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18377 # Let make expand exec_prefix.
18378 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18380 DEFS=-DHAVE_CONFIG_H
18382 ac_libobjs=
18383 ac_ltlibobjs=
18385 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18386 # 1. Remove the extension, and $U if already installed.
18387 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18388 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18389 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18390 # will be set to the directory where LIBOBJS objects are built.
18391 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18392 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18393 done
18394 LIBOBJS=$ac_libobjs
18396 LTLIBOBJS=$ac_ltlibobjs
18400 : "${CONFIG_STATUS=./config.status}"
18401 ac_write_fail=0
18402 ac_clean_files_save=$ac_clean_files
18403 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18405 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18406 as_write_fail=0
18407 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18408 #! $SHELL
18409 # Generated by $as_me.
18410 # Run this file to recreate the current configuration.
18411 # Compiler output produced by configure, useful for debugging
18412 # configure, is in config.log if it exists.
18414 debug=false
18415 ac_cs_recheck=false
18416 ac_cs_silent=false
18418 SHELL=\${CONFIG_SHELL-$SHELL}
18419 export SHELL
18420 _ASEOF
18421 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18422 ## -------------------- ##
18423 ## M4sh Initialization. ##
18424 ## -------------------- ##
18426 # Be more Bourne compatible
18427 DUALCASE=1; export DUALCASE # for MKS sh
18428 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18429 emulate sh
18430 NULLCMD=:
18431 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18432 # is contrary to our usage. Disable this feature.
18433 alias -g '${1+"$@"}'='"$@"'
18434 setopt NO_GLOB_SUBST
18435 else
18436 case `(set -o) 2>/dev/null` in #(
18437 *posix*) :
18438 set -o posix ;; #(
18439 *) :
18441 esac
18445 as_nl='
18447 export as_nl
18448 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18449 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18452 # Prefer a ksh shell builtin over an external printf program on Solaris,
18453 # but without wasting forks for bash or zsh.
18454 if test -z "$BASH_VERSION$ZSH_VERSION" \
18455 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18456 as_echo='print -r --'
18457 as_echo_n='print -rn --'
18458 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18459 as_echo='printf %s\n'
18460 as_echo_n='printf %s'
18461 else
18462 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18463 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18464 as_echo_n='/usr/ucb/echo -n'
18465 else
18466 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18467 as_echo_n_body='eval
18468 arg=$1;
18469 case $arg in #(
18470 *"$as_nl"*)
18471 expr "X$arg" : "X\\(.*\\)$as_nl";
18472 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18473 esac;
18474 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18476 export as_echo_n_body
18477 as_echo_n='sh -c $as_echo_n_body as_echo'
18479 export as_echo_body
18480 as_echo='sh -c $as_echo_body as_echo'
18483 # The user is always right.
18484 if test "${PATH_SEPARATOR+set}" != set; then
18485 PATH_SEPARATOR=:
18486 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18487 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18488 PATH_SEPARATOR=';'
18493 # IFS
18494 # We need space, tab and new line, in precisely that order. Quoting is
18495 # there to prevent editors from complaining about space-tab.
18496 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18497 # splitting by setting IFS to empty value.)
18498 IFS=" "" $as_nl"
18500 # Find who we are. Look in the path if we contain no directory separator.
18501 as_myself=
18502 case $0 in #((
18503 *[\\/]* ) as_myself=$0 ;;
18504 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18505 for as_dir in $PATH
18507 IFS=$as_save_IFS
18508 test -z "$as_dir" && as_dir=.
18509 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18510 done
18511 IFS=$as_save_IFS
18514 esac
18515 # We did not find ourselves, most probably we were run as `sh COMMAND'
18516 # in which case we are not to be found in the path.
18517 if test "x$as_myself" = x; then
18518 as_myself=$0
18520 if test ! -f "$as_myself"; then
18521 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18522 exit 1
18525 # Unset variables that we do not need and which cause bugs (e.g. in
18526 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18527 # suppresses any "Segmentation fault" message there. '((' could
18528 # trigger a bug in pdksh 5.2.14.
18529 for as_var in BASH_ENV ENV MAIL MAILPATH
18530 do eval test x\${$as_var+set} = xset \
18531 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18532 done
18533 PS1='$ '
18534 PS2='> '
18535 PS4='+ '
18537 # NLS nuisances.
18538 LC_ALL=C
18539 export LC_ALL
18540 LANGUAGE=C
18541 export LANGUAGE
18543 # CDPATH.
18544 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18547 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18548 # ----------------------------------------
18549 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18550 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18551 # script with STATUS, using 1 if that was 0.
18552 as_fn_error ()
18554 as_status=$1; test $as_status -eq 0 && as_status=1
18555 if test "$4"; then
18556 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18557 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18559 $as_echo "$as_me: error: $2" >&2
18560 as_fn_exit $as_status
18561 } # as_fn_error
18564 # as_fn_set_status STATUS
18565 # -----------------------
18566 # Set $? to STATUS, without forking.
18567 as_fn_set_status ()
18569 return $1
18570 } # as_fn_set_status
18572 # as_fn_exit STATUS
18573 # -----------------
18574 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18575 as_fn_exit ()
18577 set +e
18578 as_fn_set_status $1
18579 exit $1
18580 } # as_fn_exit
18582 # as_fn_unset VAR
18583 # ---------------
18584 # Portably unset VAR.
18585 as_fn_unset ()
18587 { eval $1=; unset $1;}
18589 as_unset=as_fn_unset
18590 # as_fn_append VAR VALUE
18591 # ----------------------
18592 # Append the text in VALUE to the end of the definition contained in VAR. Take
18593 # advantage of any shell optimizations that allow amortized linear growth over
18594 # repeated appends, instead of the typical quadratic growth present in naive
18595 # implementations.
18596 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18597 eval 'as_fn_append ()
18599 eval $1+=\$2
18601 else
18602 as_fn_append ()
18604 eval $1=\$$1\$2
18606 fi # as_fn_append
18608 # as_fn_arith ARG...
18609 # ------------------
18610 # Perform arithmetic evaluation on the ARGs, and store the result in the
18611 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18612 # must be portable across $(()) and expr.
18613 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18614 eval 'as_fn_arith ()
18616 as_val=$(( $* ))
18618 else
18619 as_fn_arith ()
18621 as_val=`expr "$@" || test $? -eq 1`
18623 fi # as_fn_arith
18626 if expr a : '\(a\)' >/dev/null 2>&1 &&
18627 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18628 as_expr=expr
18629 else
18630 as_expr=false
18633 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18634 as_basename=basename
18635 else
18636 as_basename=false
18639 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18640 as_dirname=dirname
18641 else
18642 as_dirname=false
18645 as_me=`$as_basename -- "$0" ||
18646 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18647 X"$0" : 'X\(//\)$' \| \
18648 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18649 $as_echo X/"$0" |
18650 sed '/^.*\/\([^/][^/]*\)\/*$/{
18651 s//\1/
18654 /^X\/\(\/\/\)$/{
18655 s//\1/
18658 /^X\/\(\/\).*/{
18659 s//\1/
18662 s/.*/./; q'`
18664 # Avoid depending upon Character Ranges.
18665 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18666 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18667 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18668 as_cr_digits='0123456789'
18669 as_cr_alnum=$as_cr_Letters$as_cr_digits
18671 ECHO_C= ECHO_N= ECHO_T=
18672 case `echo -n x` in #(((((
18673 -n*)
18674 case `echo 'xy\c'` in
18675 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18676 xy) ECHO_C='\c';;
18677 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18678 ECHO_T=' ';;
18679 esac;;
18681 ECHO_N='-n';;
18682 esac
18684 rm -f conf$$ conf$$.exe conf$$.file
18685 if test -d conf$$.dir; then
18686 rm -f conf$$.dir/conf$$.file
18687 else
18688 rm -f conf$$.dir
18689 mkdir conf$$.dir 2>/dev/null
18691 if (echo >conf$$.file) 2>/dev/null; then
18692 if ln -s conf$$.file conf$$ 2>/dev/null; then
18693 as_ln_s='ln -s'
18694 # ... but there are two gotchas:
18695 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18696 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18697 # In both cases, we have to default to `cp -pR'.
18698 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18699 as_ln_s='cp -pR'
18700 elif ln conf$$.file conf$$ 2>/dev/null; then
18701 as_ln_s=ln
18702 else
18703 as_ln_s='cp -pR'
18705 else
18706 as_ln_s='cp -pR'
18708 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18709 rmdir conf$$.dir 2>/dev/null
18712 # as_fn_mkdir_p
18713 # -------------
18714 # Create "$as_dir" as a directory, including parents if necessary.
18715 as_fn_mkdir_p ()
18718 case $as_dir in #(
18719 -*) as_dir=./$as_dir;;
18720 esac
18721 test -d "$as_dir" || eval $as_mkdir_p || {
18722 as_dirs=
18723 while :; do
18724 case $as_dir in #(
18725 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18726 *) as_qdir=$as_dir;;
18727 esac
18728 as_dirs="'$as_qdir' $as_dirs"
18729 as_dir=`$as_dirname -- "$as_dir" ||
18730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18731 X"$as_dir" : 'X\(//\)[^/]' \| \
18732 X"$as_dir" : 'X\(//\)$' \| \
18733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18734 $as_echo X"$as_dir" |
18735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18736 s//\1/
18739 /^X\(\/\/\)[^/].*/{
18740 s//\1/
18743 /^X\(\/\/\)$/{
18744 s//\1/
18747 /^X\(\/\).*/{
18748 s//\1/
18751 s/.*/./; q'`
18752 test -d "$as_dir" && break
18753 done
18754 test -z "$as_dirs" || eval "mkdir $as_dirs"
18755 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18758 } # as_fn_mkdir_p
18759 if mkdir -p . 2>/dev/null; then
18760 as_mkdir_p='mkdir -p "$as_dir"'
18761 else
18762 test -d ./-p && rmdir ./-p
18763 as_mkdir_p=false
18767 # as_fn_executable_p FILE
18768 # -----------------------
18769 # Test if FILE is an executable regular file.
18770 as_fn_executable_p ()
18772 test -f "$1" && test -x "$1"
18773 } # as_fn_executable_p
18774 as_test_x='test -x'
18775 as_executable_p=as_fn_executable_p
18777 # Sed expression to map a string onto a valid CPP name.
18778 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18780 # Sed expression to map a string onto a valid variable name.
18781 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18784 exec 6>&1
18785 ## ----------------------------------- ##
18786 ## Main body of $CONFIG_STATUS script. ##
18787 ## ----------------------------------- ##
18788 _ASEOF
18789 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18792 # Save the log message, to keep $0 and so on meaningful, and to
18793 # report actual input values of CONFIG_FILES etc. instead of their
18794 # values after options handling.
18795 ac_log="
18796 This file was extended by Wine $as_me 1.9.4, which was
18797 generated by GNU Autoconf 2.69. Invocation command line was
18799 CONFIG_FILES = $CONFIG_FILES
18800 CONFIG_HEADERS = $CONFIG_HEADERS
18801 CONFIG_LINKS = $CONFIG_LINKS
18802 CONFIG_COMMANDS = $CONFIG_COMMANDS
18803 $ $0 $@
18805 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18808 _ACEOF
18810 case $ac_config_files in *"
18811 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18812 esac
18814 case $ac_config_headers in *"
18815 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18816 esac
18819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18820 # Files that config.status was made for.
18821 config_files="$ac_config_files"
18822 config_headers="$ac_config_headers"
18823 config_links="$ac_config_links"
18824 config_commands="$ac_config_commands"
18826 _ACEOF
18828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18829 ac_cs_usage="\
18830 \`$as_me' instantiates files and other configuration actions
18831 from templates according to the current configuration. Unless the files
18832 and actions are specified as TAGs, all are instantiated by default.
18834 Usage: $0 [OPTION]... [TAG]...
18836 -h, --help print this help, then exit
18837 -V, --version print version number and configuration settings, then exit
18838 --config print configuration, then exit
18839 -q, --quiet, --silent
18840 do not print progress messages
18841 -d, --debug don't remove temporary files
18842 --recheck update $as_me by reconfiguring in the same conditions
18843 --file=FILE[:TEMPLATE]
18844 instantiate the configuration file FILE
18845 --header=FILE[:TEMPLATE]
18846 instantiate the configuration header FILE
18848 Configuration files:
18849 $config_files
18851 Configuration headers:
18852 $config_headers
18854 Configuration links:
18855 $config_links
18857 Configuration commands:
18858 $config_commands
18860 Report bugs to <wine-devel@winehq.org>.
18861 Wine home page: <http://www.winehq.org>."
18863 _ACEOF
18864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18865 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18866 ac_cs_version="\\
18867 Wine config.status 1.9.4
18868 configured by $0, generated by GNU Autoconf 2.69,
18869 with options \\"\$ac_cs_config\\"
18871 Copyright (C) 2012 Free Software Foundation, Inc.
18872 This config.status script is free software; the Free Software Foundation
18873 gives unlimited permission to copy, distribute and modify it."
18875 ac_pwd='$ac_pwd'
18876 srcdir='$srcdir'
18877 test -n "\$AWK" || AWK=awk
18878 _ACEOF
18880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18881 # The default lists apply if the user does not specify any file.
18882 ac_need_defaults=:
18883 while test $# != 0
18885 case $1 in
18886 --*=?*)
18887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18888 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18889 ac_shift=:
18891 --*=)
18892 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18893 ac_optarg=
18894 ac_shift=:
18897 ac_option=$1
18898 ac_optarg=$2
18899 ac_shift=shift
18901 esac
18903 case $ac_option in
18904 # Handling of the options.
18905 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18906 ac_cs_recheck=: ;;
18907 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18908 $as_echo "$ac_cs_version"; exit ;;
18909 --config | --confi | --conf | --con | --co | --c )
18910 $as_echo "$ac_cs_config"; exit ;;
18911 --debug | --debu | --deb | --de | --d | -d )
18912 debug=: ;;
18913 --file | --fil | --fi | --f )
18914 $ac_shift
18915 case $ac_optarg in
18916 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18917 '') as_fn_error $? "missing file argument" ;;
18918 esac
18919 as_fn_append CONFIG_FILES " '$ac_optarg'"
18920 ac_need_defaults=false;;
18921 --header | --heade | --head | --hea )
18922 $ac_shift
18923 case $ac_optarg in
18924 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18925 esac
18926 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18927 ac_need_defaults=false;;
18928 --he | --h)
18929 # Conflict between --help and --header
18930 as_fn_error $? "ambiguous option: \`$1'
18931 Try \`$0 --help' for more information.";;
18932 --help | --hel | -h )
18933 $as_echo "$ac_cs_usage"; exit ;;
18934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18935 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18936 ac_cs_silent=: ;;
18938 # This is an error.
18939 -*) as_fn_error $? "unrecognized option: \`$1'
18940 Try \`$0 --help' for more information." ;;
18942 *) as_fn_append ac_config_targets " $1"
18943 ac_need_defaults=false ;;
18945 esac
18946 shift
18947 done
18949 ac_configure_extra_args=
18951 if $ac_cs_silent; then
18952 exec 6>/dev/null
18953 ac_configure_extra_args="$ac_configure_extra_args --silent"
18956 _ACEOF
18957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18958 if \$ac_cs_recheck; then
18959 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18960 shift
18961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18962 CONFIG_SHELL='$SHELL'
18963 export CONFIG_SHELL
18964 exec "\$@"
18967 _ACEOF
18968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18969 exec 5>>config.log
18971 echo
18972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18973 ## Running $as_me. ##
18974 _ASBOX
18975 $as_echo "$ac_log"
18976 } >&5
18978 _ACEOF
18979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18981 # INIT-COMMANDS
18983 wine_fn_output_makedep ()
18985 as_dir=tools; as_fn_mkdir_p
18986 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18988 wine_fn_output_makefile ()
18990 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
18991 `cat $wine_rules_file`
18992 _WINE_EOF
18993 as_fn_error $? "could not create Makefile" "$LINENO" 5
18996 _ACEOF
18998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19000 # Handling of arguments.
19001 for ac_config_target in $ac_config_targets
19003 case $ac_config_target in
19004 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19005 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19006 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19007 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19008 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19009 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19010 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19011 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19012 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19013 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19014 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19015 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19016 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19018 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19019 esac
19020 done
19023 # If the user did not use the arguments to specify the items to instantiate,
19024 # then the envvar interface is used. Set only those that are not.
19025 # We use the long form for the default assignment because of an extremely
19026 # bizarre bug on SunOS 4.1.3.
19027 if $ac_need_defaults; then
19028 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19029 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19030 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19031 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19034 # Have a temporary directory for convenience. Make it in the build tree
19035 # simply because there is no reason against having it here, and in addition,
19036 # creating and moving files from /tmp can sometimes cause problems.
19037 # Hook for its removal unless debugging.
19038 # Note that there is a small window in which the directory will not be cleaned:
19039 # after its creation but before its name has been assigned to `$tmp'.
19040 $debug ||
19042 tmp= ac_tmp=
19043 trap 'exit_status=$?
19044 : "${ac_tmp:=$tmp}"
19045 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19047 trap 'as_fn_exit 1' 1 2 13 15
19049 # Create a (secure) tmp directory for tmp files.
19052 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19053 test -d "$tmp"
19054 } ||
19056 tmp=./conf$$-$RANDOM
19057 (umask 077 && mkdir "$tmp")
19058 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19059 ac_tmp=$tmp
19061 # Set up the scripts for CONFIG_FILES section.
19062 # No need to generate them if there are no CONFIG_FILES.
19063 # This happens for instance with `./config.status config.h'.
19064 if test -n "$CONFIG_FILES"; then
19067 ac_cr=`echo X | tr X '\015'`
19068 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19069 # But we know of no other shell where ac_cr would be empty at this
19070 # point, so we can use a bashism as a fallback.
19071 if test "x$ac_cr" = x; then
19072 eval ac_cr=\$\'\\r\'
19074 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19075 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19076 ac_cs_awk_cr='\\r'
19077 else
19078 ac_cs_awk_cr=$ac_cr
19081 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19082 _ACEOF
19086 echo "cat >conf$$subs.awk <<_ACEOF" &&
19087 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19088 echo "_ACEOF"
19089 } >conf$$subs.sh ||
19090 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19091 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19092 ac_delim='%!_!# '
19093 for ac_last_try in false false false false false :; do
19094 . ./conf$$subs.sh ||
19095 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19097 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19098 if test $ac_delim_n = $ac_delim_num; then
19099 break
19100 elif $ac_last_try; then
19101 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19102 else
19103 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19105 done
19106 rm -f conf$$subs.sh
19108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19109 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19110 _ACEOF
19111 sed -n '
19113 s/^/S["/; s/!.*/"]=/
19116 s/^[^!]*!//
19117 :repl
19118 t repl
19119 s/'"$ac_delim"'$//
19120 t delim
19123 s/\(.\{148\}\)..*/\1/
19124 t more1
19125 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19128 b repl
19129 :more1
19130 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19133 s/.\{148\}//
19134 t nl
19135 :delim
19137 s/\(.\{148\}\)..*/\1/
19138 t more2
19139 s/["\\]/\\&/g; s/^/"/; s/$/"/
19142 :more2
19143 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19146 s/.\{148\}//
19147 t delim
19148 ' <conf$$subs.awk | sed '
19149 /^[^""]/{
19151 s/\n//
19153 ' >>$CONFIG_STATUS || ac_write_fail=1
19154 rm -f conf$$subs.awk
19155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19156 _ACAWK
19157 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19158 for (key in S) S_is_set[key] = 1
19159 FS = "\a"
19163 line = $ 0
19164 nfields = split(line, field, "@")
19165 substed = 0
19166 len = length(field[1])
19167 for (i = 2; i < nfields; i++) {
19168 key = field[i]
19169 keylen = length(key)
19170 if (S_is_set[key]) {
19171 value = S[key]
19172 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19173 len += length(value) + length(field[++i])
19174 substed = 1
19175 } else
19176 len += 1 + keylen
19179 print line
19182 _ACAWK
19183 _ACEOF
19184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19185 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19186 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19187 else
19189 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19190 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19191 _ACEOF
19193 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19194 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19195 # trailing colons and then remove the whole line if VPATH becomes empty
19196 # (actually we leave an empty line to preserve line numbers).
19197 if test "x$srcdir" = x.; then
19198 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19200 s///
19201 s/^/:/
19202 s/[ ]*$/:/
19203 s/:\$(srcdir):/:/g
19204 s/:\${srcdir}:/:/g
19205 s/:@srcdir@:/:/g
19206 s/^:*//
19207 s/:*$//
19209 s/\(=[ ]*\).*/\1/
19211 s/\n//
19212 s/^[^=]*=[ ]*$//
19216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19217 fi # test -n "$CONFIG_FILES"
19219 # Set up the scripts for CONFIG_HEADERS section.
19220 # No need to generate them if there are no CONFIG_HEADERS.
19221 # This happens for instance with `./config.status Makefile'.
19222 if test -n "$CONFIG_HEADERS"; then
19223 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19224 BEGIN {
19225 _ACEOF
19227 # Transform confdefs.h into an awk script `defines.awk', embedded as
19228 # here-document in config.status, that substitutes the proper values into
19229 # config.h.in to produce config.h.
19231 # Create a delimiter string that does not exist in confdefs.h, to ease
19232 # handling of long lines.
19233 ac_delim='%!_!# '
19234 for ac_last_try in false false :; do
19235 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19236 if test -z "$ac_tt"; then
19237 break
19238 elif $ac_last_try; then
19239 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19240 else
19241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19243 done
19245 # For the awk script, D is an array of macro values keyed by name,
19246 # likewise P contains macro parameters if any. Preserve backslash
19247 # newline sequences.
19249 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19250 sed -n '
19251 s/.\{148\}/&'"$ac_delim"'/g
19252 t rset
19253 :rset
19254 s/^[ ]*#[ ]*define[ ][ ]*/ /
19255 t def
19257 :def
19258 s/\\$//
19259 t bsnl
19260 s/["\\]/\\&/g
19261 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19262 D["\1"]=" \3"/p
19263 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19265 :bsnl
19266 s/["\\]/\\&/g
19267 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19268 D["\1"]=" \3\\\\\\n"\\/p
19269 t cont
19270 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19271 t cont
19273 :cont
19275 s/.\{148\}/&'"$ac_delim"'/g
19276 t clear
19277 :clear
19278 s/\\$//
19279 t bsnlc
19280 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19282 :bsnlc
19283 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19284 b cont
19285 ' <confdefs.h | sed '
19286 s/'"$ac_delim"'/"\\\
19287 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19290 for (key in D) D_is_set[key] = 1
19291 FS = "\a"
19293 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19294 line = \$ 0
19295 split(line, arg, " ")
19296 if (arg[1] == "#") {
19297 defundef = arg[2]
19298 mac1 = arg[3]
19299 } else {
19300 defundef = substr(arg[1], 2)
19301 mac1 = arg[2]
19303 split(mac1, mac2, "(") #)
19304 macro = mac2[1]
19305 prefix = substr(line, 1, index(line, defundef) - 1)
19306 if (D_is_set[macro]) {
19307 # Preserve the white space surrounding the "#".
19308 print prefix "define", macro P[macro] D[macro]
19309 next
19310 } else {
19311 # Replace #undef with comments. This is necessary, for example,
19312 # in the case of _POSIX_SOURCE, which is predefined and required
19313 # on some systems where configure will not decide to define it.
19314 if (defundef == "undef") {
19315 print "/*", prefix defundef, macro, "*/"
19316 next
19320 { print }
19321 _ACAWK
19322 _ACEOF
19323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19324 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19325 fi # test -n "$CONFIG_HEADERS"
19328 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19329 shift
19330 for ac_tag
19332 case $ac_tag in
19333 :[FHLC]) ac_mode=$ac_tag; continue;;
19334 esac
19335 case $ac_mode$ac_tag in
19336 :[FHL]*:*);;
19337 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19338 :[FH]-) ac_tag=-:-;;
19339 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19340 esac
19341 ac_save_IFS=$IFS
19342 IFS=:
19343 set x $ac_tag
19344 IFS=$ac_save_IFS
19345 shift
19346 ac_file=$1
19347 shift
19349 case $ac_mode in
19350 :L) ac_source=$1;;
19351 :[FH])
19352 ac_file_inputs=
19353 for ac_f
19355 case $ac_f in
19356 -) ac_f="$ac_tmp/stdin";;
19357 *) # Look for the file first in the build tree, then in the source tree
19358 # (if the path is not absolute). The absolute path cannot be DOS-style,
19359 # because $ac_f cannot contain `:'.
19360 test -f "$ac_f" ||
19361 case $ac_f in
19362 [\\/$]*) false;;
19363 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19364 esac ||
19365 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19366 esac
19367 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19368 as_fn_append ac_file_inputs " '$ac_f'"
19369 done
19371 # Let's still pretend it is `configure' which instantiates (i.e., don't
19372 # use $as_me), people would be surprised to read:
19373 # /* config.h. Generated by config.status. */
19374 configure_input='Generated from '`
19375 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19376 `' by configure.'
19377 if test x"$ac_file" != x-; then
19378 configure_input="$ac_file. $configure_input"
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19380 $as_echo "$as_me: creating $ac_file" >&6;}
19382 # Neutralize special characters interpreted by sed in replacement strings.
19383 case $configure_input in #(
19384 *\&* | *\|* | *\\* )
19385 ac_sed_conf_input=`$as_echo "$configure_input" |
19386 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19387 *) ac_sed_conf_input=$configure_input;;
19388 esac
19390 case $ac_tag in
19391 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19393 esac
19395 esac
19397 ac_dir=`$as_dirname -- "$ac_file" ||
19398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19399 X"$ac_file" : 'X\(//\)[^/]' \| \
19400 X"$ac_file" : 'X\(//\)$' \| \
19401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19402 $as_echo X"$ac_file" |
19403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19404 s//\1/
19407 /^X\(\/\/\)[^/].*/{
19408 s//\1/
19411 /^X\(\/\/\)$/{
19412 s//\1/
19415 /^X\(\/\).*/{
19416 s//\1/
19419 s/.*/./; q'`
19420 as_dir="$ac_dir"; as_fn_mkdir_p
19421 ac_builddir=.
19423 case "$ac_dir" in
19424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19426 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19427 # A ".." for each directory in $ac_dir_suffix.
19428 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19429 case $ac_top_builddir_sub in
19430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19432 esac ;;
19433 esac
19434 ac_abs_top_builddir=$ac_pwd
19435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19436 # for backward compatibility:
19437 ac_top_builddir=$ac_top_build_prefix
19439 case $srcdir in
19440 .) # We are building in place.
19441 ac_srcdir=.
19442 ac_top_srcdir=$ac_top_builddir_sub
19443 ac_abs_top_srcdir=$ac_pwd ;;
19444 [\\/]* | ?:[\\/]* ) # Absolute name.
19445 ac_srcdir=$srcdir$ac_dir_suffix;
19446 ac_top_srcdir=$srcdir
19447 ac_abs_top_srcdir=$srcdir ;;
19448 *) # Relative name.
19449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19450 ac_top_srcdir=$ac_top_build_prefix$srcdir
19451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19452 esac
19453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19456 case $ac_mode in
19459 # CONFIG_FILE
19462 _ACEOF
19464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19465 # If the template does not know about datarootdir, expand it.
19466 # FIXME: This hack should be removed a few years after 2.60.
19467 ac_datarootdir_hack=; ac_datarootdir_seen=
19468 ac_sed_dataroot='
19469 /datarootdir/ {
19473 /@datadir@/p
19474 /@docdir@/p
19475 /@infodir@/p
19476 /@localedir@/p
19477 /@mandir@/p'
19478 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19479 *datarootdir*) ac_datarootdir_seen=yes;;
19480 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19482 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19483 _ACEOF
19484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19485 ac_datarootdir_hack='
19486 s&@datadir@&$datadir&g
19487 s&@docdir@&$docdir&g
19488 s&@infodir@&$infodir&g
19489 s&@localedir@&$localedir&g
19490 s&@mandir@&$mandir&g
19491 s&\\\${datarootdir}&$datarootdir&g' ;;
19492 esac
19493 _ACEOF
19495 # Neutralize VPATH when `$srcdir' = `.'.
19496 # Shell code in configure.ac might set extrasub.
19497 # FIXME: do we really want to maintain this feature?
19498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19499 ac_sed_extra="$ac_vpsub
19500 $extrasub
19501 _ACEOF
19502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19504 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19505 s|@configure_input@|$ac_sed_conf_input|;t t
19506 s&@top_builddir@&$ac_top_builddir_sub&;t t
19507 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19508 s&@srcdir@&$ac_srcdir&;t t
19509 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19510 s&@top_srcdir@&$ac_top_srcdir&;t t
19511 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19512 s&@builddir@&$ac_builddir&;t t
19513 s&@abs_builddir@&$ac_abs_builddir&;t t
19514 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19515 $ac_datarootdir_hack
19517 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19518 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19520 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19521 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19522 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19523 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19525 which seems to be undefined. Please make sure it is defined" >&5
19526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19527 which seems to be undefined. Please make sure it is defined" >&2;}
19529 rm -f "$ac_tmp/stdin"
19530 case $ac_file in
19531 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19532 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19533 esac \
19534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19538 # CONFIG_HEADER
19540 if test x"$ac_file" != x-; then
19542 $as_echo "/* $configure_input */" \
19543 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19544 } >"$ac_tmp/config.h" \
19545 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19546 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19548 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19549 else
19550 rm -f "$ac_file"
19551 mv "$ac_tmp/config.h" "$ac_file" \
19552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19554 else
19555 $as_echo "/* $configure_input */" \
19556 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19557 || as_fn_error $? "could not create -" "$LINENO" 5
19562 # CONFIG_LINK
19565 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19567 else
19568 # Prefer the file from the source tree if names are identical.
19569 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19570 ac_source=$srcdir/$ac_source
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19574 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19576 if test ! -r "$ac_source"; then
19577 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19579 rm -f "$ac_file"
19581 # Try a relative symlink, then a hard link, then a copy.
19582 case $ac_source in
19583 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19584 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19585 esac
19586 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19587 ln "$ac_source" "$ac_file" 2>/dev/null ||
19588 cp -p "$ac_source" "$ac_file" ||
19589 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19592 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19593 $as_echo "$as_me: executing $ac_file commands" >&6;}
19595 esac
19598 case $ac_file$ac_mode in
19599 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19600 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19601 "Makefile":C) wine_fn_output_makefile Makefile ;;
19603 esac
19604 done # for ac_tag
19607 as_fn_exit 0
19608 _ACEOF
19609 ac_clean_files=$ac_clean_files_save
19611 test $ac_write_fail = 0 ||
19612 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19615 # configure is writing to config.log, and then calls config.status.
19616 # config.status does its own redirection, appending to config.log.
19617 # Unfortunately, on DOS this fails, as config.log is still kept open
19618 # by configure, so config.status won't be able to write to it; its
19619 # output is simply discarded. So we exec the FD to /dev/null,
19620 # effectively closing config.log, so it can be properly (re)opened and
19621 # appended to by config.status. When coming back to configure, we
19622 # need to make the FD available again.
19623 if test "$no_create" != yes; then
19624 ac_cs_success=:
19625 ac_config_status_args=
19626 test "$silent" = yes &&
19627 ac_config_status_args="$ac_config_status_args --quiet"
19628 exec 5>/dev/null
19629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19630 exec 5>>config.log
19631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19632 # would make configure fail if this is the last instruction.
19633 $ac_cs_success || as_fn_exit 1
19635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19637 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19641 if test "$no_create" = "yes"
19642 then
19643 exit 0
19646 ac_save_IFS="$IFS"
19647 if test "x$wine_notices" != x; then
19648 echo >&6
19649 IFS="|"
19650 for msg in $wine_notices; do
19651 IFS="$ac_save_IFS"
19652 if ${msg:+false} :; then :
19654 else
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19656 $as_echo "$as_me: $msg" >&6;}
19658 done
19660 IFS="|"
19661 for msg in $wine_warnings; do
19662 IFS="$ac_save_IFS"
19663 if ${msg:+false} :; then :
19665 else
19666 echo >&2
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19668 $as_echo "$as_me: WARNING: $msg" >&2;}
19670 done
19671 IFS="$ac_save_IFS"
19673 $as_echo "
19674 $as_me: Finished. Do '${ac_make}' to compile Wine.
19675 " >&6